Package Modelica.​Fluid.​Dissipation.​PressureLoss.​General
Package for generic pressure loss calculations

Information

General

General pressure loss for ideal gas

Calculation of a generic pressure loss for an ideal gas using mean density. See more information.

Generic pressure loss depending on density and viscosity

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density, nominal dynamic viscosity) at an operation point via interpolation. This generic function considers the pressure loss law via a pressure loss exponent and the influence of density and dynamic viscosity on pressure loss. See more information.

Generic pressure loss depending on density

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density) via interpolation from an operation point. See more information.

Generic pressure loss depending on pressure loss coefficient

Calculation of a generic pressure loss in dependence of a pressure loss coefficient. See more information.

Generic pressure loss depending on volume flow rate

Calculation of a generic pressure loss with linear or quadratic dependence on volume flow rate. See more information.

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

Package Contents

NameDescription
dp_idealGas_DPGeneric pressure loss | calculate pressure loss | ideal gas | mean density
dp_idealGas_IN_conInput record for function dp_idealGas_DP and dp_idealGas_MFLOW
dp_idealGas_IN_varInput record for function dp_idealGas_DP and dp_idealGas_MFLOW
dp_idealGas_MFLOWGeneric pressure loss | calculate mass flow rate | ideal gas | mean density
dp_nominalDensityViscosity_DPGeneric pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence
dp_nominalDensityViscosity_IN_conOutput record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW
dp_nominalDensityViscosity_IN_varOutput record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW
dp_nominalDensityViscosity_MFLOWGeneric pressure loss | calculate M_FLOW (compressible) | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence
dp_nominalPressureLossLawDensity_DPGeneric pressure loss | calculate pressure loss | nominal operation point | pressure loss law (coefficient and exponent) | density dependence
dp_nominalPressureLossLawDensity_IN_conInput record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW
dp_nominalPressureLossLawDensity_IN_varInput record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW
dp_nominalPressureLossLawDensity_MFLOWGeneric pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (coefficient and exponent) | density dependence
dp_pressureLossCoefficient_DPGeneric pressure loss | calculate pressure loss | pressure loss coefficient (zeta_TOT)
dp_pressureLossCoefficient_IN_conInput record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW
dp_pressureLossCoefficient_IN_varInput record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW
dp_pressureLossCoefficient_MFLOWGeneric pressure loss | calculate mass flow rate | pressure loss coefficient (zeta_TOT)
dp_volumeFlowRate_DPGeneric pressure loss | calculate pressure loss | quadratic function (dp=a*V_flow^2 + b*V_flow)
dp_volumeFlowRate_IN_conInput record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW
dp_volumeFlowRate_IN_varInput record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW
dp_volumeFlowRate_MFLOWGeneric pressure loss | calculate mass flow rate | quadratic function (dp=a*V_flow^2 + b*V_flow)

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_idealGas_DP
Generic pressure loss | calculate pressure loss | ideal gas | mean density

Information

Calculation of a generic pressure loss for an ideal gas using mean density.

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_idealGas_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_idealGas_IN_conIN_conInput record for function dp_idealGas_DP
dp_idealGas_IN_varIN_varInput record for function dp_idealGas_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_idealGas_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_idealGas_MFLOW
Generic pressure loss | calculate mass flow rate | ideal gas | mean density

Information

Calculation of a generic pressure loss for an ideal gas using mean density.

Generally this function 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. On the other hand the function dp_idealGas_DP 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. See more information.

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

Inputs

TypeNameDescription
dp_idealGas_IN_conIN_conInput record for function dp_idealGas_MFLOW
dp_idealGas_IN_varIN_varInput record for function dp_idealGas_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_idealGas_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_idealGas_IN_con
Input record for function dp_idealGas_DP and dp_idealGas_MFLOW

Information

This record is used as input record for the pressure loss function dp_idealGas_DP and dp_idealGas_MFLOW .

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​IdealGas_con (Base record for generic pressure loss function | ideal gas | mean density).

Fields

TypeNameDescription
RealexpExponent of pressure loss law
SpecificHeatCapacityR_sSpecific gas constant of ideal gas
RealKmCoefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}]
Pressuredp_smoothStart linearisation for smaller pressure loss

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_idealGas_IN_var
Input record for function dp_idealGas_DP and dp_idealGas_MFLOW

Information

This record is used as input record for the pressure loss function dp_idealGas_DP and dp_idealGas_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​IdealGas_var (Base record for generic pressure loss function | ideal gas | mean density).

Fields

TypeNameDescription
Densityrho_mMean density of ideal gas
Temp_KT_mMean temperature of ideal gas
Pressurep_mMean pressure of ideal gas

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalDensityViscosity_DP
Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence

Information

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density, nominal dynamic viscosity) at an operation point via interpolation. This generic function considers the pressure loss law via a pressure loss exponent and the influence of density and dynamic viscosity on pressure loss.

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_nominalDensityViscosity_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_nominalDensityViscosity_IN_conIN_conInput record for function dp_nominalDensityViscosity_DP
dp_nominalDensityViscosity_IN_varIN_varInput record for function dp_nominalDensityViscosity_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_nominalDensityViscosity_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalDensityViscosity_MFLOW
Generic pressure loss | calculate M_FLOW (compressible) | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence

Information

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density, nominal dynamic viscosity) at an operation point via interpolation. This generic function considers the pressure loss law via a pressure loss exponent and the influence of density and dynamic viscosity on pressure loss.

Generally this function 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. On the other hand the function dp_genericDensityViscosity_DP 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. See more information.

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

Inputs

TypeNameDescription
dp_nominalDensityViscosity_IN_conIN_conInput record for function dp_nominalDensityViscosity_MFLOW
dp_nominalDensityViscosity_IN_varIN_varInput record for function dp_nominalDensityViscosity_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_nominalDensityViscosity_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalDensityViscosity_IN_con
Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW

Information

This record is used as input record for the pressure loss function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​NominalDensityViscosity (Base record for generic pressure loss function).

Fields

TypeNameDescription
Pressuredp_nomNominal pressure loss (at nominal values of mass flow rate and density)
RealexpExponent of pressure loss law
MassFlowRatem_flow_nomNominal mass flow rate (at nominal values of pressure loss and density)
Densityrho_nomNominal density (at nominal values of mass flow rate and pressure loss)
Realexp_etaExponent for dynamic viscosity dependence
DynamicViscosityeta_nomDynamic viscosity at nominal pressure loss

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalDensityViscosity_IN_var
Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW

Information

This record is used as input record for the pressure loss function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​PressureLoss (Base record for fluid properties for pressure loss).

Fields

TypeNameDescription
DynamicViscosityetaDynamic viscosity of fluid
DensityrhoDensity of fluid

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalPressureLossLawDensity_DP
Generic pressure loss | calculate pressure loss | nominal operation point | pressure loss law (coefficient and exponent) | density dependence

Information

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density) via interpolation from an operation point. This generic function considers the pressure loss law via a nominal pressure loss (dp_nom), a pressure loss coefficient (zeta_TOT) and a pressure loss law exponent (exp) as well as the influence of density on pressure loss.

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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_IN_conIN_conInput record for function dp_nominalPressureLossLawDensity_DP
dp_nominalPressureLossLawDensity_IN_varIN_varInput record for function dp_nominalPressureLossLawDensity_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_nominalPressureLossLawDensity_yesAJac_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalPressureLossLawDensity_MFLOW
Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (coefficient and exponent) | density dependence

Information

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density) via interpolation from an operation point. This generic function considers the pressure loss law via a nominal pressure loss (dp_nom), a pressure loss coefficient (zeta_TOT) and a pressure loss law exponent (exp) as well as the influence of density on pressure loss.

Generally this function 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. On the other hand the function dp_nominalPressurelosslawDensity_DP 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. See more information.

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

Inputs

TypeNameDescription
dp_nominalPressureLossLawDensity_IN_conIN_conInput record for function dp_nominalPressureLossLawDensity_MFLOW
dp_nominalPressureLossLawDensity_IN_varIN_varInput record for function dp_nominalPressureLossLawDensity_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_nominalPressurelosslawDensity_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalPressureLossLawDensity_IN_con
Input record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW

Information

This record is used as input record for the pressure loss function dp_nominalPressureLosslawDensity_DP and dp_nominalPressureLosslawDensity_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​NominalPressureLossLawDensity_con (Base record for generic pressure loss function).

Fields

TypeNameDescription
MassOrVolumeFlowRatetargetMassFlowRate == use nominal mass flow rate | VolumeFlowRate == use nominal volume flow rate
AreaA_crossCross sectional area
AreaA_cross_nomNominal cross sectional area
Pressuredp_nomNominal pressure loss (at nominal values of mass flow rate and density)
MassFlowRatem_flow_nomNominal mass flow rate (at nominal values of pressure loss and density)
RealexpExponent of pressure loss law
VolumeFlowRateV_flow_nomNominal volume flow rate (at nominal values of pressure loss and density)
Densityrho_nomNominal density (at nominal values of mass flow rate and pressure loss)
PressureLossCoefficientzeta_TOT_nomNominal pressure loss coefficient (for nominal values)

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_nominalPressureLossLawDensity_IN_var
Input record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW

Information

This record is used as input record for the pressure loss function dp_nominalPressureLosslawDensity_DP and dp_nominalPressureLosslawDensity_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​NominalPressureLossLawDensity_var (Base record for generic pressure loss function).

Fields

TypeNameDescription
PressureLossCoefficientzeta_TOTPressure loss coefficient
DensityrhoDensity of fluid

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_pressureLossCoefficient_DP
Generic pressure loss | calculate pressure loss | pressure loss coefficient (zeta_TOT)

Information

Calculation of a generic pressure loss in dependence of a pressure loss coefficient.

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_pressureLossCoefficient_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_pressureLossCoefficient_IN_conIN_conInput record for dp_pressureLossCoefficient_DP
dp_pressureLossCoefficient_IN_varIN_varInput record for dp_pressureLossCoefficient_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_pressureLossCoefficient_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_pressureLossCoefficient_MFLOW
Generic pressure loss | calculate mass flow rate | pressure loss coefficient (zeta_TOT)

Information

Calculation of a generic pressure loss in dependence of a pressure loss coefficient.

Generally this function 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. On the other hand the function dp_pressureLossCoefficient_DP 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. See more information.

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

Inputs

TypeNameDescription
dp_pressureLossCoefficient_IN_conIN_conInput record for function dp_pressureLossCoefficient_MFLOW
dp_pressureLossCoefficient_IN_varIN_varInput record for function dp_pressureLossCoefficient_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_pressureLossCoefficientt_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_pressureLossCoefficient_IN_con
Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW

Information

This record is used as input record for the pressure loss function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW.

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

Fields

TypeNameDescription
AreaA_crossCross sectional area
Pressuredp_smoothStart linearisation for decreasing pressure loss

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_pressureLossCoefficient_IN_var
Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW

Information

This record is used as input record for the pressure loss function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW.

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

Fields

TypeNameDescription
PressureLossCoefficientzeta_TOTPressure loss coefficient
DensityrhoDensity of fluid

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_volumeFlowRate_DP
Generic pressure loss | calculate pressure loss | quadratic function (dp=a*V_flow^2 + b*V_flow)

Information

Calculation of a generic pressure loss with linear or quadratic dependence on volume flow rate. The function can be used to calculate pressure loss at known mass flow rate or mass flow rate at known pressure loss.

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_volumeFlowRate_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_volumeFlowRate_IN_conIN_conInput record for function dp_volumeFlowRate_DP
dp_volumeFlowRate_IN_varIN_varInput record for function dp_volumeFlowRate_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_volumeFlowRate_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_volumeFlowRate_MFLOW
Generic pressure loss | calculate mass flow rate | quadratic function (dp=a*V_flow^2 + b*V_flow)

Information

Calculation of a generic pressure loss with linear or quadratic dependence on volume flow rate. The function can be used to calculate pressure loss at known mass flow rate or mass flow rate at known pressure loss.

Generally this function 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. On the other hand the function dp_volumeFlowRate_DP 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. See more information.

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

Inputs

TypeNameDescription
dp_volumeFlowRate_IN_conIN_conInput record for function dp_volumeFlowRate_MFLOW
dp_volumeFlowRate_IN_varIN_varInput record for function dp_volumeFlowRate_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_volumeFlowRate_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_volumeFlowRate_IN_con
Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW

Information

This record is used as input record for the pressure loss function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​General.​QuadraticVFLOW (Base record for generic pressure loss function | quadratic function (dp=a*Vdot^2 + b*Vdot)).

Fields

TypeNameDescription
RealaCoefficient for quadratic term
RealbCoefficient for linear term
Pressuredp_minStart of approximation for decreasing pressure loss

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​General.​dp_volumeFlowRate_IN_var
Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW

Information

This record is used as input record for the pressure loss function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW.

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

Fields

TypeNameDescription
DensityrhoDensity of fluid

Generated 2018-12-12 12:13:30 EST by MapleSim.