Package for generic pressure loss calculations
Calculation of a generic pressure loss for an ideal gas using mean density. See more 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. See more information.
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.
Calculation of a generic pressure loss in dependence of a pressure loss coefficient. See more information.
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).
Name | Description |
---|---|
dp_idealGas_DP | Generic pressure loss | calculate pressure loss | ideal gas | mean density |
dp_idealGas_MFLOW | Generic pressure loss | calculate mass flow rate | ideal gas | mean density |
dp_idealGas_IN_con | Input record for function dp_idealGas_DP and dp_idealGas_MFLOW |
dp_idealGas_IN_var | Input record for function dp_idealGas_DP and dp_idealGas_MFLOW |
dp_nominalDensityViscosity_DP | Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence |
dp_nominalDensityViscosity_MFLOW | Generic pressure loss | calculate M_FLOW (compressible) | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence |
dp_nominalDensityViscosity_IN_con | Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW |
dp_nominalDensityViscosity_IN_var | Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW |
dp_nominalPressureLossLawDensity_DP | Generic pressure loss | calculate pressure loss | nominal operation point | pressure loss law (coefficient and exponent) | density dependence |
dp_nominalPressureLossLawDensity_MFLOW | Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (coefficient and exponent) | density dependence |
dp_nominalPressureLossLawDensity_IN_con | Input record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW |
dp_nominalPressureLossLawDensity_IN_var | Input record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW |
dp_pressureLossCoefficient_DP | Generic pressure loss | calculate pressure loss | pressure loss coefficient (zeta_TOT) |
dp_pressureLossCoefficient_MFLOW | Generic pressure loss | calculate mass flow rate | pressure loss coefficient (zeta_TOT) |
dp_pressureLossCoefficient_IN_con | Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW |
dp_pressureLossCoefficient_IN_var | Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW |
dp_volumeFlowRate_DP | Generic pressure loss | calculate pressure loss | quadratic function (dp=a*V_flow^2 + b*V_flow) |
dp_volumeFlowRate_MFLOW | Generic pressure loss | calculate mass flow rate | quadratic function (dp=a*V_flow^2 + b*V_flow) |
dp_volumeFlowRate_IN_con | Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW |
dp_volumeFlowRate_IN_var | Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW |
Generic pressure loss | calculate pressure loss | ideal gas | mean density
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_idealGas_DP |
Variable inputs | |
IN_var | Input record for function dp_idealGas_DP |
Input | |
m_flow | Mass flow rate [kg/s] |
Name | Description |
---|---|
DP | Output for function dp_idealGas_DP [Pa] |
Generic pressure loss | calculate mass flow rate | ideal gas | mean density
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_idealGas_MFLOW |
Variable inputs | |
IN_var | Input record for function dp_idealGas_MFLOW |
Input | |
dp | Pressure loss [Pa] |
Name | Description |
---|---|
M_FLOW | Output for function dp_idealGas_MFLOW [kg/s] |
Input record for 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).
Name | Description |
---|---|
Generic variables | |
exp | Exponent of pressure loss law |
Km | Coefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}] |
Fluid properties | |
R_s | Specific gas constant of ideal gas [J/(kg.K)] |
Linearisation | |
dp_smooth | Start linearisation for smaller pressure loss [Pa] |
Input record for 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).
Name | Description |
---|---|
Fluid properties | |
rho_m | Mean density of ideal gas [kg/m3] |
T_m | Mean temperature of ideal gas [K] |
p_m | Mean pressure of ideal gas [Pa] |
Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_nominalDensityViscosity_DP |
Variable inputs | |
IN_var | Input record for function dp_nominalDensityViscosity_DP |
Input | |
m_flow | Mass flow rate [kg/s] |
Name | Description |
---|---|
DP | Output for function dp_nominalDensityViscosity_DP [Pa] |
Generic pressure loss | calculate M_FLOW (compressible) | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_nominalDensityViscosity_MFLOW |
Variable inputs | |
IN_var | Input record for function dp_nominalDensityViscosity_MFLOW |
Input | |
dp | Pressure loss [Pa] |
Name | Description |
---|---|
M_FLOW | Output for function dp_nominalDensityViscosity_MFLOW [kg/s] |
Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW
Extends from Modelica.Fluid.Dissipation.Utilities.Records.General.NominalDensityViscosity (Base record for generic pressure loss function).
Name | Description |
---|---|
Generic variables | |
dp_nom | Nominal pressure loss (at nominal values of mass flow rate and density) [Pa] |
exp | Exponent of pressure loss law |
m_flow_nom | Nominal mass flow rate (at nominal values of pressure loss and density) [kg/s] |
rho_nom | Nominal density (at nominal values of mass flow rate and pressure loss) [kg/m3] |
exp_eta | Exponent for dynamic viscosity dependence |
eta_nom | Dynamic viscosity at nominal pressure loss [Pa.s] |
Output record for 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).
Name | Description |
---|---|
Fluid properties | |
eta | Dynamic viscosity of fluid [Pa.s] |
rho | Density of fluid [kg/m3] |
Generic pressure loss | calculate pressure loss | nominal operation point | pressure loss law (coefficient and exponent) | density dependence
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_nominalPressureLossLawDensity_DP |
Variable inputs | |
IN_var | Input record for function dp_nominalPressureLossLawDensity_DP |
Input | |
m_flow | Mass flow rate [kg/s] |
Name | Description |
---|---|
DP | Output for function dp_nominalPressureLossLawDensity_yesAJac_DP [Pa] |
Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (coefficient and exponent) | density dependence
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_nominalPressureLossLawDensity_MFLOW |
Variable inputs | |
IN_var | Input record for function dp_nominalPressureLossLawDensity_MFLOW |
Input | |
dp | Pressure loss [Pa] |
Name | Description |
---|---|
M_FLOW | Output for function dp_nominalPressurelosslawDensity_MFLOW [kg/s] |
Input record for 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).
Name | Description |
---|---|
Generic variables | |
target | MassFlowRate == use nominal mass flow rate | VolumeFlowRate == use nominal volume flow rate |
A_cross | Cross sectional area [m2] |
A_cross_nom | Nominal cross sectional area [m2] |
dp_nom | Nominal pressure loss (at nominal values of mass flow rate and density) [Pa] |
m_flow_nom | Nominal mass flow rate (at nominal values of pressure loss and density) [kg/s] |
exp | Exponent of pressure loss law |
V_flow_nom | Nominal volume flow rate (at nominal values of pressure loss and density) [m3/s] |
rho_nom | Nominal density (at nominal values of mass flow rate and pressure loss) [kg/m3] |
zeta_TOT_nom | Nominal pressure loss coefficient (for nominal values) [1] |
Input record for 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).
Name | Description |
---|---|
Generic variables | |
zeta_TOT | Pressure loss coefficient [1] |
Fluid properties | |
rho | Density of fluid [kg/m3] |
Generic pressure loss | calculate pressure loss | pressure loss coefficient (zeta_TOT)
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for dp_pressureLossCoefficient_DP |
Variable inputs | |
IN_var | Input record for dp_pressureLossCoefficient_DP |
Input | |
m_flow | Mass flow rate [kg/s] |
Name | Description |
---|---|
DP | Output for function dp_pressureLossCoefficient_DP [Pa] |
Generic pressure loss | calculate mass flow rate | pressure loss coefficient (zeta_TOT)
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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_pressureLossCoefficient_MFLOW |
Variable inputs | |
IN_var | Input record for function dp_pressureLossCoefficient_MFLOW |
Input | |
dp | Pressure loss [Pa] |
Name | Description |
---|---|
M_FLOW | Output for function dp_pressureLossCoefficientt_MFLOW [kg/s] |
Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW
Extends from Modelica.Icons.Record (Icon for records).
Name | Description |
---|---|
Generic variables | |
A_cross | Cross sectional area [m2] |
Linearisation | |
dp_smooth | Start linearisation for decreasing pressure loss [Pa] |
Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW
Extends from Modelica.Icons.Record (Icon for records).
Name | Description |
---|---|
Generic variables | |
zeta_TOT | Pressure loss coefficient [1] |
FluidProperties | |
rho | Density of fluid [kg/m3] |
Generic pressure loss | calculate pressure loss | quadratic function (dp=a*V_flow^2 + b*V_flow)
Calculation of a generic pressure loss with linear and/or quadratic dependence on volume flow rate. Please note that the sum of a and b has to be greater zero. 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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_volumeFlowRate_DP |
Variable inputs | |
IN_var | Input record for function dp_volumeFlowRate_DP |
Input | |
m_flow | Mass flow rate [kg/s] |
Name | Description |
---|---|
DP | Output for function dp_volumeFlowRate_DP [Pa] |
Generic pressure loss | calculate mass flow rate | quadratic function (dp=a*V_flow^2 + b*V_flow)
Calculation of a generic pressure loss with linear or quadratic dependence on volume flow rate. Please note that the sum of a and b has to be greater zero. 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).
Name | Description |
---|---|
Constant inputs | |
IN_con | Input record for function dp_volumeFlowRate_MFLOW |
Variable inputs | |
IN_var | Input record for function dp_volumeFlowRate_MFLOW |
Input | |
dp | Pressure loss [Pa] |
Name | Description |
---|---|
M_FLOW | Output for function dp_volumeFlowRate_MFLOW [kg/s] |
Input record for 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)).
Name | Description |
---|---|
Generic variables | |
a | Coefficient for quadratic term [(Pa.s2)/m6] |
b | Coefficient for linear term [(Pa.s)/m3] |
Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW
Extends from Modelica.Icons.Record (Icon for records).
Name | Description |
---|---|
Fluid properties | |
rho | Density of fluid [kg/m3] |