Package Modelica.​Fluid.​Dissipation.​PressureLoss.​Valve
Package for pressure loss calculation of valves

Information

Valve

Several geometries

Calculation of pressure loss for a valve with different geometries at overall flow regime for incompressible and single-phase fluid flow in dependence of its opening. See more information.

Extends from Modelica.​Icons.​VariantsPackage (Icon for package containing variants).

Package Contents

NameDescription
dp_severalGeometryOverall_DPPressure loss of valve | calculate pressure loss | several geometries | overall flow regime
dp_severalGeometryOverall_IN_conInput record for function dp_severalGeometryOverall_DP and dp_severalGeometryOverall_MFLOW
dp_severalGeometryOverall_IN_varInput record for function dp_severalGeometryOverall_DP and dp_severalGeometryOverall_MFLOW
dp_severalGeometryOverall_MFLOWPressure loss of valve | calculate mass flow rate | several geometries | overall flow regime

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Valve.​dp_severalGeometryOverall_DP
Pressure loss of valve | calculate pressure loss | several geometries | overall flow regime

Information

Calculation of pressure loss for a valve with different geometries at overall flow regime for incompressible and single-phase fluid flow in dependence of its opening.

Generally this function is numerically best used for the incompressible case, where the mass flow rate (m_flow) is known (as state variable) in the used model and the corresponding pressure loss (DP) has to be calculated. On the other hand the function dp_severalGeometryOverall_MFLOW is numerically best used for the compressible case if the pressure loss (dp) is known (out of pressures as state variable) and the mass flow rate (M_FLOW) has to be calculated. See more information.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
dp_severalGeometryOverall_IN_conIN_conInput record for function dp_severalGeometryOverall_DP
dp_severalGeometryOverall_IN_varIN_varInput record for function dp_severalGeometryOverall_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPPressure loss

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Valve.​dp_severalGeometryOverall_MFLOW
Pressure loss of valve | calculate mass flow rate | several geometries | overall flow regime

Information

Calculation of pressure loss for a valve with different geometries at overall flow regime for incompressible and single-phase fluid flow in dependence of its opening.

Generally this function is numerically best used for the compressible case, where the pressure loss (dp) is known (out of pressures as state variable) in the used model and the corresponding mass flow rate (M_FLOW) has to be calculated. On the other hand the function dp_severalGeometryOverall_DP is numerically best used for the incompressible case if the mass flow rate (m_flow) is known (as state variable) and the pressure loss (DP) has to be calculated. See more information.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
dp_severalGeometryOverall_IN_conIN_conInput record for function dp_severalGeometryOverall_MFLOW
dp_severalGeometryOverall_IN_varIN_varInput record for function dp_severalGeometryOverall_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWMass flow rate

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Valve.​dp_severalGeometryOverall_IN_con
Input record for function dp_severalGeometryOverall_DP and dp_severalGeometryOverall_MFLOW

Information

This record is used as input record for the pressure loss function dp_severalGeometryOverall_DP and dp_severalGeometryOverall_MFLOW.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
ValveGeometrygeometryChoice of geometry for valve
ValveCoefficientvalveCoefficientChoice of valve coefficient
RealAvAv (metric) flow coefficient [Av]=m^2
RealKvKv (metric) flow coefficient [Kv]=m^3/h
RealCvCv (US) flow coefficient [Cv]=USG/min
Pressuredp_nominalNominal pressure loss
MassFlowRatem_flow_nominalNominal mass flow rate
Densityrho_nominalNominal inlet density
Realopening_nominalNominal opening
Realzeta_TOT_minMinimal pressure loss coefficient at full opening
Realzeta_TOT_maxMaximum pressure loss coefficient at closed opening
Pressuredp_smallLinearisation for a pressure loss smaller then dp_small

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Valve.​dp_severalGeometryOverall_IN_var
Input record for function dp_severalGeometryOverall_DP and dp_severalGeometryOverall_MFLOW

Information

This record is used as input record for the pressure loss function dp_severalGeometryOverall_DP and dp_severalGeometryOverall_MFLOW.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
RealopeningOpening of valve | 0==closed and 1== fully opened
DynamicViscosityetaDynamic viscosity of fluid
DensityrhoDensity of fluid