One Pipe Networks¶
The following examples include only one pipe and always have the same components.
Water:
-
water_one_pipe1
(method='nikuradse', results_from='openmodelica')¶ - Parameters
results_from (str, default "openmodelica") – which converted net should be loaded: openmodelica or stanet
method (str, default "nikuradse") – if results_from = “stanet”, which results should be loaded: nikuradse or prandtl-colebrook
- Returns
net - STANET resp. OpenModelica network converted to a pandapipes network
- Return type
pandapipesNet
- Example
>>> pandapipes.networks.simple_water_networks.water_one_pipe1(method="pc", results_from="stanet")
-
water_one_pipe2
(method='nikuradse', results_from='openmodelica')¶ - Parameters
results_from (str, default "openmodelica") – which converted net should be loaded: openmodelica or stanet
method (str, default "nikuradse") – if results_from = “stanet”, which results should be loaded: nikuradse or prandtl-colebrook
- Returns
net - STANET resp. OpenModelica network converted to a pandapipes network
- Return type
pandapipesNet
- Example
>>> pandapipes.networks.simple_water_networks.water_one_pipe2()
-
water_one_pipe3
(method='nikuradse', results_from='openmodelica')¶ - Parameters
results_from (str, default "openmodelica") – which converted net should be loaded: openmodelica or stanet
method (str, default "nikuradse") – if results_from = “stanet”, which results should be loaded: nikuradse or prandtl-colebrook
- Returns
net - STANET resp. OpenModelica network converted to a pandapipes network
- Return type
pandapipesNet
- Example
>>> pandapipes.networks.simple_water_networks.water_one_pipe3(method="")
Gas:
-
gas_one_pipe1
(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_one_pipe1(method="pc")
-
gas_one_pipe2
(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_one_pipe2()