From 86301d3c3dbc234e21a75fed833272c2b28f49f0 Mon Sep 17 00:00:00 2001 From: korevaarzer Date: Mon, 2 Feb 2026 14:49:14 +0100 Subject: [PATCH 1/3] Add insu_k to dicts in constants.py --- src/geoloop/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/geoloop/constants.py b/src/geoloop/constants.py index 827212e..e3f7752 100644 --- a/src/geoloop/constants.py +++ b/src/geoloop/constants.py @@ -32,6 +32,7 @@ units_dict = { "k_s_res": "W/mK", "fluid_percent": "%", "insu_z": "m", + "insu_k": "W/mK", "insu_dr": "%", "k_g_res": "W/mK", } @@ -70,6 +71,7 @@ format_dict = { "k_s_res": "$k_{s-res}$", "fluid_percent": "$fluid_{percent}$", "insu_z": "$insu_{z}$", + "insu_k": "$insu_{k}$", "insu_dr": "$insu_{dr}$", "k_g_res": "$k_{g-res}$", } -- GitLab From b5c4c104b12712cb7f3b01fc803751edc94ee549 Mon Sep 17 00:00:00 2001 From: korevaarzer Date: Mon, 2 Feb 2026 15:00:00 +0100 Subject: [PATCH 2/3] Add unit definition and datafile convention to docs of heat load module --- docs/manual/loadflow_configuration.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/manual/loadflow_configuration.md b/docs/manual/loadflow_configuration.md index 79df1f4..4f25eca 100644 --- a/docs/manual/loadflow_configuration.md +++ b/docs/manual/loadflow_configuration.md @@ -28,13 +28,13 @@ with the following input parameters: ### Configuration Parameters for the Heat Load -| Parameter | Description | Unit | Type | Remark | -|-----------------|-----------------------------------------------------------------------|------|--------|-----------------------------------------------------------------------------------------------------------------------------| -| lp_type | Type of heat load profile | - | sting | Options: BERNIER; CONSTANT; VARIABLE; FROMFILE | -| lp_inputdir | Path to folder containing the heat load source file | — | string | - | -| lp_outdir | Path to output directory for generated profiles and figures | — | string | Creates folder if not existing | -| lp_filename | Name of the input file containing the heat load data | — | string | Optional; only used if `lp_type` is FROMFILE | -| lp_inputcolumn | Name of the column in the input file that contains the heat load data | - | string | Optional; only used if `lp_type` is FROMFILE | +| Parameter | Description | Unit | Type | Remark | +|-----------------|-----------------------------------------------------------------------|------|--------|-------------------------------------------------------------------------------------------------------------------------------| +| lp_type | Type of heat load profile | - | sting | Options: BERNIER; CONSTANT; VARIABLE; FROMFILE | +| lp_inputdir | Path to folder containing the heat load source file | — | string | - | +| lp_outdir | Path to output directory for generated profiles and figures | — | string | Creates folder if not existing | +| lp_filename | Name of the input CSV file containing the heat load data | — | string | The fourth row in the file must contain the column names; Optional; only used if `lp_type` is FROMFILE | +| lp_inputcolumn | Name of the column in the input file that contains the heat load data | - | string | Heat load data in unit kW; Optional; only used if `lp_type` is FROMFILE | | lp_smoothing | Type of smoothing applied to the load data | — | string | Options: D (daily), M (monthly), Y (yearly). Optional; only used if `lp_type` is FROMFILE | | lp_scale | Scaling factor applied to the load values | — | scalar | Scaling factor for the load profile. Optional; only used if `lp_type` is FROMFILE | | lp_minscaleflow | Minimum scaling factor for flow | - | scalar | To avoid very lowe flowrates affecting numerical performance. Optional; only used if `lp_type` is FROMFILE or VARIABLE | @@ -86,6 +86,10 @@ The column with heat load or flow rate data is defined in the `**_inpucolumn` pa For a variable flow rate, an example of such a file is provided in the `input` subdirectory of the working directory of the example from a [BHE with a daily-variable flow rate profile](../examples/variable_flow_rate/variable_flow_rate.md) +> **_NOTE:_** The heat load in the CSV datafile has unit kW and the first four rows in the datafile are considered header lines; +> make sure the column names are defines in row 4. + + > The simulation internally operates on a uniform time array, which is generated based on the parameters `nyear` and `nled` > in the main simulation configuration. Both heat load and flow rate profiles are interpolated or indexed to match this simulation time array. -- GitLab From 22473eff987b44edbfd99ad98fa98e86fb902e3a Mon Sep 17 00:00:00 2001 From: korevaarzer Date: Mon, 2 Feb 2026 15:01:11 +0100 Subject: [PATCH 3/3] Increment package version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e6c14bb..02d7864 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "geoloop" -version = "1.0.3" +version = "1.0.4" description = "This is a Python package for simulation of (deep) vertical Borehole Heat Exchanger (BHE) systems" authors = [ { name = "Zanne Korevaar", email = "zanne.korevaar@tno.nl" }, -- GitLab