Networks with Two External Grids
This section contains only networks that have two external grids.
Two Pipes
Water network with a sink, which connects the external grids by means of two pipes.
- water_2eg_two_pipes(results_from='openmodelica', method='colebrook')
- Parameters:
results_from (str, default "openmodelica") – Which converted net should be loaded: openmodelica or stanet
method (str, default "colebrook") – results_from = “stanet” -> prandtl-colebrook, results_from = “openmodelica” -> prandtl-colebrook or swamee-jain
- Returns:
net - STANET resp. OpenModelica network converted to a pandapipes network
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_water_networks.water_2eg_two_pipes()
H-Net
An H-shaped gas net with two junctions and two sinks.
- gas_2eg_hnet(method='nikuradse')
- Parameters:
method (str, default "nikuradse") – If results_from = “stanet”, which results should be loaded: nikuradse or prandtl-colebrook
- Returns:
net - STANET network converted to a pandapipes network
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_gas_networks.gas_2eg_hnet(method="n")