One Pipe Networks
The following examples include only one pipe and always have the same components.

Water:
- water_one_pipe1(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_one_pipe1(method="pc", results_from="stanet")
- water_one_pipe2(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_one_pipe2()
- water_one_pipe3(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_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()