T-Cross Networks

The following examples are all constructed as a T-shaped networks.

T-Cross

Water:

alternate Text
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.

alternate Text
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")

Valves

Water network with two opened valves and two sinks.

alternate Text
water_tcross_valves()
Returns

net - OpenModelica network converted to a pandapipes network

Return type

pandapipesNet

Example
>>> pandapipes.networks.simple_water_networks.water_tcross_valves()