Examples

Python Script Examples

uesgraphs.examples.e1_readme_example

Creating and Visualizing a Simple Heating Network from the readme.md with uesgraphs

uesgraphs.examples.e2_simple_dhc_example

Creating and Visualizing a more sophisticated Network with uesgraphs including heating and cooling

uesgraphs.examples.e3_add_network_example

Extend the e2_simple_dhc model for an electric grid and visualize

uesgraphs.examples.e4_save_uesgraphs_example

""Write example district heating cooling network to JSON file.

uesgraphs.examples.e5_add_street_nodes_example

Usage of street nodes

uesgraphs.examples.e6_additional_building_attributes_example

Demonstration for adding additional attributes to building nodes (only terminal output)

uesgraphs.examples.e7_plot_uesgraphs_example

Creating advanced plots of uesgraphs.

uesgraphs.examples.e8_load_uesgraphs_example

How to load UESGraphs from JSON and OSM files.

uesgraphs.examples.e9_generate_ues_from_osm_example

Generate complex Urban Energy System (UES) Graph from OpenStreetMap (OSM) data.

uesgraphs.examples.e10_networks_example

Example Network Generator for UESGraphs :2: (WARNING/2) Title underline too short. Example Network Generator for UESGraphs =====================================

uesgraphs.examples.e11_model_generation_example

Modelica Model Generation using UESGraphs :2: (WARNING/2) Title underline too short. Modelica Model Generation using UESGraphs =======================================

uesgraphs.examples.e12_template_generation_example

Comprehensive Mako Template Generation for UESGraphs Modelica Components :2: (WARNING/2) Title underline too short. Comprehensive Mako Template Generation for UESGraphs Modelica Components =====================================================================

uesgraphs.examples.e16_complete_geojson_to_modelica

GeoJSON Import to Modelica Code Generation

Jupyter Notebook Examples

Note

Interactive Jupyter notebooks for hands-on learning and experimentation.

e14_hydronic_sizing_example.ipynb

Demand-based mass flow estimation and automated pipe sizing using manufacturer catalogs.

e15_from_geojson_example.ipynb

Import district heating networks from GeoJSON files with building data and supply points.

interactive_plotting_example.ipynb

Advanced interactive plotting demonstrations.