main_single_run_sim API Reference
geoloop.bin.SingleRunSim.main_single_run_sim
Execute a complete SingleRun borehole heat exchanger (BHE) simulation, including optional optimization, result saving, and visualization.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_file_path
|
Path | str
|
The path to the |
required |
Workflow
- Parse and load the configuration file.
- Apply optional lithology-to-conductivity preprocessing.
- Optionally perform flow-rate or parameter optimization.
- Initialize a
SingleRunsimulation from the config. - Execute the simulation.
- Save results into structured output directories.
- Generate visualizations:
- Pipe cross-section
- Borefield layout (for PYGFIELD)
- Optional T-field (for FINVOL)
Returns:
| Type | Description |
|---|---|
None
|
The function writes outputs to disk and prints status information. |