T-Cross Networks

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

T-Cross

Water:

alternate Text
water_tcross(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

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(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_tcross_valves()