Strand Networks
This section contains only pure strand nets.
Simple Strand Net
Water network with a tree topology.
- water_simple_strand_net(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_simple_strand_net()
Two Pipes
Two pipes connected by a junction.
Water:
- water_strand_2pipes(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_strand_2pipes()
Gas:
- gas_strand_2pipes(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_strand_2pipes()
Cross
Water network with one intersection and three external grids.
- water_strand_cross(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 (method = “prandtl-colebrook”)
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_water_networks.water_strand_cross(results_from="stanet")
Two Pumps
Water network with two sources, two pumps, one external grid and three sinks.
- water_strand_net_2pumps(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_strand_net_2pumps()
Pump
Network with one pump between two pipes. Regarding the STANET results, only Nikuradse is available for the water and gas case.
Water:
- water_strand_pump()
- Returns:
net - STANET network converted to a pandapipes network (method = “nikuradse”)
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_water_networks.water_meshed_pump()
Gas:
- gas_strand_pump()
- Returns:
net - STANET network converted to a pandapipes network (method = “nikuradse”)
- Return type:
pandapipesNet
- Example:
>>> pandapipes.networks.simple_gas_networks.gas_meshed_pump()