Meshed Networks
In Meshed Networks, all networks are grouped that have a purely meshed topology.
Delta
One of the example nets to check the correctness of the signs in the calculation of flow velocities. Regarding the STANET results, only Nikuradse is available for the water case and Prandtl-Colebrook for the gas case.
Water:
- water_meshed_delta(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” -> nikuradse, 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_meshed_delta(results_from="stanet")
Gas:
- gas_meshed_delta()
- Returns:
net - STANET network converted to a pandapipes network (method = “prandtl-colebrook”)
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_gas_networks.gas_meshed_delta()
Pumps
Triangular net with 2 pumps and with differences in heights. Regarding the STANET results, only Nikuradse is available for the water and gas case.
Water:
- water_meshed_pumps(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” -> nikuradse or 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_meshed_pumps(method="swamee")
Gas:
- gas_meshed_pumps()
- Returns:
net - STANET network converted to a pandapipes network (method = “nikuradse”)
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_gas_networks.gas_meshed_pumps()
Heights
Water network to determine the correct determination of height values from OpenModelica to pandapipes.
- water_meshed_heights(method='colebrook')
- Parameters:
method (str, default "colebrook") – which results should be loaded: prandtl-colebrook or swamee-jain
- Returns:
net - OpenModelica network converted to a pandapipes network
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_water_networks.water_meshed_heights()
Two Valves
A mesh with two opened valves has been placed in the net.
Water:
- water_meshed_2valves(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” -> nikuradse or 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_meshed_2valves(method="swamee-jain")
Gas:
- gas_meshed_two_valves(method='nikuradse')
- Parameters:
method (str, default "nikuradse") – 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_meshed_two_valves()
Square
Gas network with square arrangement of junctions and height informations.
- gas_meshed_square(method='nikuradse')
- Parameters:
method (str, default "nikuradse") – 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_meshed_square(method="n")