DistrictHeatingSim

DistrictHeatingSim

  • Main application
    • main()
    • Central physical constants and emission/energy factors.
    • KELVIN_OFFSET
    • CP_WATER_KJ_KGK
    • CO2_FACTOR_GAS
    • CO2_FACTOR_WOOD
    • CO2_FACTOR_ELECTRICITY
    • CO2_FACTOR_SOLAR
    • PRIMARY_ENERGY_FACTOR_ELECTRICITY_PTH
    • PRIMARY_ENERGY_FACTOR_ELECTRICITY_HP
    • BEW_SUBSIDY_SHARE
    • GUI Framework
      • GUI package
        • MainTab package
        • BuildingTab package
        • ComparisonTab package
        • EnergySystemTab package
        • LeafletTab package
        • NetSimulationTab package
        • ProjectTab package
        • GUI Dialogs Module
        • TemperatureDataDialog
        • HeatPumpDataDialog
        • GUI Utilities Module
        • NoScrollComboBox
        • CheckableComboBox
        • convert_to_serializable()
        • stop_qthreads()
        • any_thread_running()
        • Welcome Screen Module
        • ThemeToggleSwitch
        • RecentProjectWidget
        • WelcomeScreen
        • main()
    • Network Analysis
      • Net generation package
        • query_elevation_from_geotiff()
        • query_elevation_from_api()
        • build_elevation_lookup()
        • assign_elevation_to_geodataframe()
        • collect_unique_points_from_gdfs()
        • import_osm_street_layer()
        • load_layers()
        • generate_and_export_layers()
        • generate_mst()
        • adjust_segments_to_roads()
        • simplify_network()
        • extract_unique_points_and_create_mst()
        • create_offset_points()
        • offset_lines_by_angle()
        • find_nearest_line()
        • create_perpendicular_line()
        • process_layer_points()
        • generate_network()
        • generate_connection_lines()
        • NetworkGeoJSONSchema
        • download_street_graph()
        • create_steiner_tree()
        • connect_terminals_with_edge_splitting()
        • build_network_from_split_edges()
        • remove_dead_ends()
        • create_connection_lines()
        • create_return_network()
        • create_hast_connections()
        • create_generator_connection()
        • generate_osmnx_network()
        • generate_and_export_osmnx_layers()
      • Net simulation pandapipes package
        • Advanced Plots for DistrictHeatingSim
        • create_pressure_plot()
        • create_temperature_plot()
        • create_velocity_plot()
        • create_pressure_profile()
        • create_comparison_dashboard()
        • get_network_statistics()
        • enhanced_config_plot()
        • Config Plot Module
        • config_plot()
        • Controllers Module
        • BadPointPressureLiftController
        • MinimumSupplyTemperatureController
        • Interactive Network Plot Module
        • InteractiveNetworkPlot
        • Network Generation Data Class Module
        • json_default()
        • SecondaryProducer
        • NetworkGenerationData
        • Migrate pandapipes nets loaded from older saves to the current schema.
        • migrate_loaded_net()
        • Helpers for reading pandapipes pipe std-type properties (GUI-free, numpy-only).
        • isoplus_std_type_names()
        • kmr_to_isoplus_std_type()
        • nearest_isoplus_for_kmr()
        • resolve_pipe_u_w_per_m2k()
        • Plot-data extraction for the interactive network plot (Plotly-free, GUI-free).
        • JunctionPlotData
        • junction_geodata_wgs84()
        • junction_plot_data()
        • parameter_label()
        • parameter_value()
        • PipeSegment
        • PipePlotData
        • pipe_plot_data()
        • heat_consumer_plot_data()
        • pump_plot_data()
        • flow_control_plot_data()
        • available_plot_parameters()
        • Pandapipes Network Initialization Module
        • initialize_geojson()
        • get_line_coords_and_lengths()
        • build_elevation_lookup_from_gdf()
        • get_all_point_coords_from_line_cords()
        • create_network()
        • update_heat_consumer_qext_controller()
        • update_heat_consumer_temperature_controller()
        • update_heat_consumer_return_temperature_controller()
        • update_secondary_producer_controller()
        • update_heat_generator_supply_temperature_controller()
        • create_log_variables()
        • time_series_preprocessing()
        • thermohydraulic_time_series_net()
        • simplified_time_series_net()
        • calculate_results()
        • save_results_csv()
        • import_results_csv()
        • Validation of pandapipes time-series simulation results (GUI-free, numpy-only).
        • validate_simulation_results()
        • validate_net_results()
        • validate_pressure_plausibility()
        • validate_design_state()
        • validate_minimum_pressure_difference()
        • recalculate_net()
        • COP_WP()
        • create_controllers()
        • correct_flow_directions()
        • optimize_diameter_parameters()
        • init_diameter_types()
        • build_diameter_ladders()
        • neighbor_std_type()
        • optimize_diameter_types()
        • export_net_geojson()
      • Geocoding package
        • get_coordinates()
        • process_data()
    • Energy Systems
      • Thermal Storage (1D Model)
        • Underlying model
        • Network / seasonal storage
        • Generator buffer storage
        • Loading old projects
        • See also
      • Heat generators package
        • Annuity Calculation Module
        • annuity()
        • infrastructure_annuity()
        • AqvaHeat Heat Pump Module
        • AqvaHeat
        • Base Heat Generator Module
        • BaseHeatGenerator
        • BaseStrategy
        • Base Heat Pump Classes
        • HeatPump
        • HeatPumpStrategy
        • Biomass Boiler System Module
        • BiomassBoiler
        • BiomassBoilerStrategy
        • Combined Heat and Power (CHP) System Module
        • CHP
        • CHPStrategy
        • Energy System Module
        • EnergySystem
        • EnergySystemOptimizer
        • Gas Boiler System Module
        • GasBoiler
        • GasBoilerStrategy
        • Geothermal Heat Pump System Module
        • Geothermal
        • JSON encoder for energy-system serialization.
        • CustomJSONEncoder
        • Photovoltaics Module
        • Calculate_PV()
        • azimuth_angle()
        • calculate_building()
        • Power-to-Heat System Module
        • PowerToHeat
        • PowerToHeatStrategy
        • Energy-system result records.
        • TechnologyResult
        • River Water Heat Pump System Module
        • RiverHeatPump
        • Solar Radiation Calculation Module
        • calculate_solar_radiation()
        • Solar Thermal Collector System Module
        • SolarThermal
        • SolarThermalStrategy
        • Thermal Storage Adapter Module
        • ThermalStorageAdapter
        • BufferStorage
        • Waste Heat Pump Module
        • WasteHeatPump
    • Utilities & Analysis
      • Main Utilities package
        • suggest_crs_from_location()
        • epsg_from_urn()
        • crs_to_urn()
        • Column contracts for app-owned CSV files (BACKLOG D4 step 4).
        • CSV_SCHEMAS
        • required_columns()
        • validate_csv_columns()
        • get_data_path()
        • get_project_data_path()
        • get_internal_data_path()
        • is_frozen()
        • get_app_root()
        • Versioned-JSON helpers for app-owned project artifacts (BACKLOG D4).
        • META_KEY
        • SCHEMA_VERSIONS
        • current_version()
        • schema_version_of()
        • add_meta()
        • check_version()
        • import_TRY()
        • get_resource_path()
        • handle_global_exception()
        • get_stylesheet_based_on_time()
      • Heat requirement package
        • generate_profiles_from_csv()
        • calculate_temperature_curves()
      • OSM package
        • OSM area-selection helpers (GUI-free).
        • build_highway_filter()
        • polygon_from_csv()
        • polygon_from_geojson()
        • resolve_area_polygon()
        • build_query()
        • download_data()
        • json_serial()
        • save_to_file()

Examples

  • Functionality examples
    • Getting Started Examples
      • Geocoding Example
      • Import OSM Data Example
    • Heat Demand Examples
      • Simple Heat Requirement
      • Data-driven Heat Requirement
    • Network Design Examples
      • Network Generation
    • Simulation Examples
      • Simple Pandapipes Simulation
      • Time Series Simulation
      • Complex Time Series Analysis
    • Energy Systems Examples
      • Heat Generators
      • Heat Generation Optimization
    • Economic Analysis Examples
      • Annuity Calculation
    • Visualization Examples
      • Photovoltaics Integration
      • Annuity Calculation
      • Interactive Plotting
      • Seasonal Storage
    • Utility Examples
      • STANET to Pandapipes Conversion
      • Generator Schematic Test
      • Leaflet Map Visualization
  • Running Examples

Development

  • References
    • Publications
    • Key Publications
    • Citation Information
    • BibTeX Entries
DistrictHeatingSim
  • Search


© Copyright 2025, Dipl.-Ing. (FH) Jonas Pfeiffer.