Example and Test-Networks

In addition, there are several example networks that are described below. The networks were created in STANET as well as in OpenModelica and converted to pandapipes. Each converted network was saved in one json file. Calling the corresponding function loads the results from the json file and saves them as a pandapipesNet. In the case of a STANET net, you can usually choose between the friction models Nikuradse and Prandtl-Colebrook. For OpenModelica the results exist for Prandtl-Colebrook and Swamee-Jain, which approximates the Prandtl-Colebrook formula. In addition, a separate section lists the thermal networks created with OpenModelica that were calculated with Prandtl-Colebrook.

Each network is accompanied by a picture, whereby the following description of the components must be observed:

alternate Text


pandapipes includes the natural gas distribution network from the supplementary material of [KBLK20]. In this exemplary network, more than 1500 houses and 10 km of pipes with geo-coordinates are included. Further description and figures can be found in the paper. It can be opened by pandapipes.networks.schutterwald()

schutterwald(include_houses=True, max_length_house_conn_m=None)

Load natural gas distribution network for a town in the MV Oberrhein region (cf. pandapower).

The default pressure is set to 1 bar. Geodata is provided. Around 1500 houses are connected with theoretical house connection pipes. It is recommended to set a reasonable maximum length for the house connection pipes, e.g. 50 m.

The corresponding publication in which the net has been provided in the supplementary material and more information on building ages etc. can be found here: Kisse, J.M.; Braun, M.; Letzgus, S.; Kneiske, T.M. “A GIS-Based Planning Approach for Urban Power and Natural Gas Distribution Grids with Different Heat Pump Scenarios”. Energies 2020, 13, 4052

  • include_houses (bool, default 'True') – Include 1506 houses as sinks. If False, all sinks and respective junctions and connection pipes are dropped.

  • max_length_house_conn_m (float, default 'None') – Limit the maximum linear distance between houses and distribution grid. All house connection pipes that are longer than the given limit are set out of service. If None, linear connections for all houses are assumed.


gas distribution net

Return type