T-Cross Networks¶
The following examples are all constructed as a T-shaped networks.
T-Cross¶
Water:
-
water_tcross
(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_tcross()
Gas:
-
gas_tcross1
(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_tcross1(method="pc")
In the subsequent gas network a sink from the previous net has been replaced by a source.
-
gas_tcross2
(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_tcross2(method="pc")