PartialPressureLoss

Base flow model for pressure loss functions with the same area at port_a and at port_b

Parameters (6)

allowFlowReversal

Value: system.allowFlowReversal

Type: Boolean

Description: = true to allow flow reversal, false restricts to design direction (port_a -> port_b)

dp_start

Value: 0.01 * system.p_start

Type: AbsolutePressure (Pa)

Description: Guess value of dp = port_a.p - port_b.p

m_flow_start

Value: system.m_flow_start

Type: MassFlowRate (kg/s)

Description: Guess value of m_flow = port_a.m_flow

m_flow_small

Value: if system.use_eps_Re then system.eps_m_flow * system.m_flow_nominal else system.m_flow_small

Type: MassFlowRate (kg/s)

Description: Small mass flow rate for regularization of zero flow

show_T

Value: true

Type: Boolean

Description: = true, if temperatures at port_a and port_b are computed

show_V_flow

Value: true

Type: Boolean

Description: = true, if volume flow rate at inflowing port is computed

Connectors (2)

port_a

Type: FluidPort_a

Description: Fluid connector a (positive design flow direction is from port_a to port_b)

port_b

Type: FluidPort_b

Description: Fluid connector b (positive design flow direction is from port_a to port_b)

Components (4)

system

Type: System

Description: System wide properties

state_a

Type: ThermodynamicState

Description: state for medium inflowing through port_a

state_b

Type: ThermodynamicState

Description: state for medium inflowing through port_b

state_dp_small

Type: ThermodynamicState

Description: Medium state to compute dp_small

Extended by (3)

ThickEdgedOrifice

Modelica.Fluid.Fittings.Orifices

Thicked edged orifice flow model

EdgedBend

Modelica.Fluid.Fittings.Bends

Edged bend flow model

CurvedBend

Modelica.Fluid.Fittings.Bends

Curved bend flow model