How bykvad/pythermonet works
pythermonet is a Python toolkit for thermal-network engineering, particularly dimensioning and thermal analysis of ground-source heat-exchanger systems. Its main design flow represents project inputs and heat-pump loads, dimensions the hydraulic network, sizes borehole or horizontal ground fields, and estimates distribution-pipe thermal effects. The graph preserves BHE/HHE sizing, g-function support, input readers, and the shared physical models. Several connections are based on SOURCE INDEX references rather than inspected call sites; those edges indicate dependencies, not a verified execution sequence.
Main entry points: bhe_workflow.py BHE workflow · hhe_workflow.py HHE workflow · borehole_length.py Borehole sizing · ground_field.py Ground-field sizing
Components 32
Project inputs
- Project readers
src/pythermonet/input/read_project_inputs.py - Topology readers
src/pythermonet/input/read_topology.py - Dimensioned topology
src/pythermonet/input/read_dimensioned_topology.py - Load reader
src/pythermonet/input/read_aggregated_load.py - Heat-pump reader
src/pythermonet/input/read_heat_pumps.py
Network domain
- Ground loads
src/pythermonet/components/ground_loads.py - Heat pumps
src/pythermonet/components/heat_pump.py - Distribution network
src/pythermonet/components/distribution_network.py - Pipe infrastructure
src/pythermonet/components/pipe_infrastructure.py - Borehole field
src/pythermonet/components/vhe_field.py - Materials and fluids
src/pythermonet/core/material.py - Pipe segments
src/pythermonet/core/pipe_segment.py - Soil properties
src/pythermonet/core/soil.py
Dimensioning
- BHE workflow
src/pythermonet/dimensioning/BHE/bhe_workflow.py - HHE workflow
src/pythermonet/dimensioning/HHE/hhe_workflow.py - Borehole sizing
src/pythermonet/dimensioning/BHE/borehole_length.py - Ground-field sizing
src/pythermonet/dimensioning/ground_field.py - Hydraulic sizing
src/pythermonet/dimensioning/hydraulic_dimensioning.py - Hydraulic results
src/pythermonet/dimensioning/hydraulic_result.py
Physics and simulation
- G-function service
src/pythermonet/gfunctions/service.py - G-function models
src/pythermonet/gfunctions/models.py - pygfunction adapter
src/pythermonet/gfunctions/pygfunction_impl.py - Borehole resistance
src/pythermonet/physics/bhe_resistance.py - Hydraulic physics
src/pythermonet/physics/hydraulics.py - System g-functions
src/pythermonet/system/gfunctions.py - HHE g-function
src/pythermonet/simulation/HHE/gfunction.py - HHE aggregation
src/pythermonet/simulation/HHE/aggregation.py - HHE heat transfer
src/pythermonet/simulation/HHE/heat_transfer.py - Pipe thermal model
src/pythermonet/simulation/distribution_pipe_thermal_model.py - Pipe thermal runner
src/pythermonet/simulation/run_distribution_pipe_thermal_model.py - Thermal resistances
src/pythermonet/physics/thermal_resistances.py - Thermal sources
src/pythermonet/physics/sources.py
Connections 44
- Heat-pump reader → Heat pumps: reads
src/pythermonet/input/read_heat_pumps.py - Dimensioned topology → Distribution network: builds
src/pythermonet/input/read_dimensioned_topology.py - Dimensioned topology → Pipe infrastructure: uses
src/pythermonet/input/read_dimensioned_topology.py - Dimensioned topology → Hydraulic results: uses
src/pythermonet/input/read_dimensioned_topology.py - Ground loads → Heat pumps: aggregates
src/pythermonet/components/ground_loads.py - Ground loads → Materials and fluids: uses
src/pythermonet/components/ground_loads.py - BHE workflow → Ground loads: uses
src/pythermonet/dimensioning/BHE/bhe_workflow.py - BHE workflow → Borehole field: uses
src/pythermonet/dimensioning/BHE/bhe_workflow.py - BHE workflow → Borehole sizing: uses
src/pythermonet/dimensioning/BHE/bhe_workflow.py - BHE workflow → Hydraulic results: uses
src/pythermonet/dimensioning/BHE/bhe_workflow.py - BHE workflow → Hydraulic physics: uses
src/pythermonet/dimensioning/BHE/bhe_workflow.py - BHE workflow → Pipe thermal runner: uses
src/pythermonet/dimensioning/BHE/bhe_workflow.py - HHE workflow → Ground loads: uses
src/pythermonet/dimensioning/HHE/hhe_workflow.py - HHE workflow → Pipe infrastructure: uses
src/pythermonet/dimensioning/HHE/hhe_workflow.py - HHE workflow → Ground-field sizing: uses
src/pythermonet/dimensioning/HHE/hhe_workflow.py - HHE workflow → Hydraulic results: uses
src/pythermonet/dimensioning/HHE/hhe_workflow.py - HHE workflow → Hydraulic physics: uses
src/pythermonet/dimensioning/HHE/hhe_workflow.py - HHE workflow → Pipe thermal runner: uses
src/pythermonet/dimensioning/HHE/hhe_workflow.py - Borehole sizing → Borehole field: uses
src/pythermonet/dimensioning/BHE/borehole_length.py - Borehole sizing → Borehole resistance: uses
src/pythermonet/dimensioning/BHE/borehole_length.py - Borehole sizing → Thermal sources: uses
src/pythermonet/dimensioning/BHE/borehole_length.py - Borehole sizing → Ground-field sizing: uses
src/pythermonet/dimensioning/BHE/borehole_length.py - Ground-field sizing → Borehole field: adapts
src/pythermonet/dimensioning/ground_field.py - Ground-field sizing → Pipe infrastructure: uses
src/pythermonet/dimensioning/ground_field.py - Ground-field sizing → Hydraulic physics: uses
src/pythermonet/dimensioning/ground_field.py - Hydraulic sizing → Hydraulic physics: uses
src/pythermonet/dimensioning/hydraulic_dimensioning.py - Hydraulic sizing → Hydraulic results: produces
src/pythermonet/dimensioning/hydraulic_dimensioning.py - G-function service → G-function models: uses
src/pythermonet/gfunctions/service.py - G-function service → pygfunction adapter: delegates
src/pythermonet/gfunctions/service.py - pygfunction adapter → G-function models: uses
src/pythermonet/gfunctions/pygfunction_impl.py - System g-functions → pygfunction adapter: uses
src/pythermonet/system/gfunctions.py - System g-functions → HHE g-function: uses
src/pythermonet/system/gfunctions.py - System g-functions → Pipe infrastructure: uses
src/pythermonet/system/gfunctions.py - HHE g-function → HHE aggregation: uses
src/pythermonet/simulation/HHE/gfunction.py - HHE g-function → HHE heat transfer: uses
src/pythermonet/simulation/HHE/gfunction.py - HHE aggregation → HHE heat transfer: uses
src/pythermonet/simulation/HHE/aggregation.py - Pipe thermal runner → Pipe thermal model: calls
src/pythermonet/simulation/run_distribution_pipe_thermal_model.py - Pipe thermal model → Thermal resistances: uses
src/pythermonet/simulation/distribution_pipe_thermal_model.py - Pipe thermal model → Thermal sources: uses
src/pythermonet/simulation/distribution_pipe_thermal_model.py - Borehole resistance → Thermal resistances: uses
src/pythermonet/physics/bhe_resistance.py - Pipe infrastructure → Pipe segments: uses
src/pythermonet/components/pipe_infrastructure.py - Borehole field → Pipe segments: uses
src/pythermonet/components/vhe_field.py - Borehole field → Materials and fluids: uses
src/pythermonet/components/vhe_field.py - Materials and fluids → Soil properties: extends
src/pythermonet/core/soil.py