Skip to main content

Downhole heat exchanger simulation

Project description

DHE (Downhole Heat Exchanger)

This project was partially founded by s3 GmbH (formerly Sustainable System Solutions) and is based on the publications [^hu-eWs1-sb], [^hu-eWs2-sb].

[^hu-eWs1-sb]: Berechnungsmodul für Erdwärmesonden

[^hu-eWs2-sb]: Erweiterung des Programms EWSfür Erdwärmesondenfelder

Installation

Build

Dependencies: rust / cargo, maturin

cd dhe_o3
maturin build --release
cd -

pip

pip install [--user] target/wheels/dhe-<version>

Run

To run the GUI:

dhe

Run the CLI:

dhe-cli -o <out> <project>

This will generate the file <out> (a csv file). See Section Output. <project> is supposed to be a project file (json format).

GUI

In the tab "Load", under "csv file", choose a load profile. This must be a ";" separated csv file with exactly two columns, without header.

  • Column 1: Time [sec]
  • Column 2: Power [W]

The time column has not to be equispaced - the program interpolates.

Example:

0;500
604800;500
1209600;500
1814400;500
2419200;500
3024000;500
3628800;458
4233600;458
4838400;458
5443200;458
6048000;375
6652800;375
7257600;375
7862400;375
8467200;292

Output

Output is a csv file with hourly values. Columns

  1. Time [sec],
  2. T_sink: Temperature of brine flowing into the exchanger [°C]
  3. T_source: Temperature of brine flowing out of the exchanger [°C]

... Temperatures of the cylinder of soil around the bore hole (Index 1: axial, index 2: radial)

Bibliography

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dhe-0.3.0.tar.gz (117.4 kB view hashes)

Uploaded Source

Built Distributions

dhe-0.3.0-cp39-cp39-manylinux2010_x86_64.whl (301.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

dhe-0.3.0-cp38-none-win_amd64.whl (240.5 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

dhe-0.3.0-cp38-cp38-manylinux2010_x86_64.whl (301.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

dhe-0.3.0-cp37-cp37m-manylinux2010_x86_64.whl (301.3 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

dhe-0.3.0-cp36-cp36m-manylinux2010_x86_64.whl (301.4 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page