DistrictHeatingSim Documentation๏ƒ

Version Python Version

DistrictHeatingSim is a comprehensive simulation tool for district heating systems with GUI-based user interface and advanced calculation algorithms.

DistrictHeatingSim Workflow

Figure 1: DistrictHeatingSim software workflow showing the integrated approach for district heating network planning and analysis.๏ƒ

๐Ÿ“‹ Key Features๏ƒ

๐Ÿ—๏ธ Network Generation

Automated heating network topology from OpenStreetMap data

๐Ÿ  Building Modeling

Building data and heat demand calculations

โšก Energy Systems

Heat pumps, CHP, solar and power-to-heat systems

๐Ÿ“Š Simulation

Thermo-hydraulic simulation with pandapipes

Project Management

Figure 2: Project management interface for organizing and managing district heating projects.๏ƒ

Building Load Profiles

Figure 3: Building load profiles based on building data and weather conditions.๏ƒ

Leaflet Map

Figure 4: Interactive map visualization of district heating networks using Leaflet.๏ƒ

Network Simulation with pandapipes

Figure 5: Thermo-hydraulic simulation of district heating networks using pandapipes.๏ƒ

Heat Generation Definition

Figure 6: Definition of heat generation systems including heat pumps and CHP units.๏ƒ

๐Ÿ› ๏ธ Installation๏ƒ

pip install districtheatingsim

# Or for development:
git clone https://github.com/jonaspfeiffer123/DistrictHeatingSim.git
cd DistrictHeatingSim
pip install -e .

๐Ÿš€ Quick Start๏ƒ

To start the application directly, run the following in the terminal:

python src/districtheatingsim/DistrictHeatingSim.py

๐Ÿ“š Documentation๏ƒ

๐Ÿ’ก Examples๏ƒ

The following examples demonstrate various aspects of the DistrictHeatingSim application. All example files are located in the examples/ directory of the project repository.

๐Ÿš€ Getting Started

Basic geocoding and data import examples

See: 01_example_geocoding.py, 02_example_import_osm_data_geojson.py

๐Ÿ  Building Analysis

Heat demand calculations

See: 03_example_simple_heat_requirement.py, 04_example_data_heat_requirement.py

๐ŸŒ Network Design

Network generation and optimization with MST and OSMnx

See: 05_example_net_generation.py, 05b_example_net_generation_osmnx.py, 05c_example_osmnx_threading_compatible.py

๐Ÿ“Š Simulation

Thermo-hydraulic simulation with pandapipes

See: 06_example_simple_pandapipes.py, 06b_example_simple_pandapipes_osmnx.py, 07_example_timeseries_pandapipes.py, 08_example_complex_pandapipes_timeseries.py

โšก Heat Generators

Heat pumps, CHP units, photovoltaics and system optimization

See: 09_example_heat_generators.py, 10_example_heat_generation_optimization.py, 14_example_photovoltaics.py

๐Ÿ”‹ Energy Systems

Seasonal thermal storage and integrated energy systems

See: 17_energy_system_seasonal_storage.py

๐Ÿ’ฐ Economic Analysis

Annuity calculations and financial evaluation

See: 15_example_annuity.py

๐Ÿ”„ Data Import/Export

STANET import and network data conversion

See: 18_stanet_to_pandapipes.py

๐Ÿ“ˆ Visualization

Interactive plots, maps and network visualization

See: 16_interactive_matplotlib.py, 20_leaflet_test.py, 21_example_advanced_plots.py

๐Ÿงช Testing & Development

GUI component tests, benchmarks and development tools

See: 19_generator_schematic_test_window.py, example_interactive_network_plot.py, benchmark_synthetic_net_generation.py

๐Ÿ“‹ Example Data๏ƒ

Examples use various data sources and formats:

  • Geographic Data: OpenStreetMap data, building coordinates

  • Building Data: Heat demand parameters, building specifications

  • Weather Data: TRY (Test Reference Year) files

  • System Data: Heat pump performance curves, generator specifications

  • Network Data: Pipe specifications, node configurations

Some examples generate their own test data, while others may require external data files from the examples/data/ directory.

๐Ÿค Community & Support๏ƒ

Indices and Tables๏ƒ