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_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_idealGas_MFLOW` | Generic pressure loss | calculate mass flow rate | ideal gas | mean density |

`dp_nominalDensityViscosity_DP` | Generic pressure loss | calculate mass flow rate | 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_nominalDensityViscosity_MFLOW` | Generic pressure loss | calculate M_FLOW (compressible) | nominal operation point | pressure loss law (exponent) | density and dynamic viscosity dependence |

`dp_nominalPressureLossLawDensity_DP` | Generic pressure loss | calculate pressure loss | 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_nominalPressureLossLawDensity_MFLOW` | Generic pressure loss | calculate mass flow rate | nominal operation point | pressure loss law (coefficient and exponent) | density dependence |

`dp_pressureLossCoefficient_DP` | Generic pressure loss | calculate pressure loss | 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_pressureLossCoefficient_MFLOW` | Generic pressure loss | calculate mass flow rate | pressure loss coefficient (zeta_TOT) |

`dp_volumeFlowRate_DP` | Generic pressure loss | calculate pressure loss | 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 |

`dp_volumeFlowRate_MFLOW` | Generic pressure loss | calculate mass flow rate | quadratic function (dp=a*V_flow^2 + b*V_flow) |

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).

Type | Name | Description |
---|---|---|

`dp_idealGas_IN_con` | `IN_con` | Input record for function dp_idealGas_DP |

`dp_idealGas_IN_var` | `IN_var` | Input record for function dp_idealGas_DP |

`MassFlowRate` | `m_flow` | Mass flow rate |

Type | Name | Description |
---|---|---|

`Pressure` | `DP` | Output for function dp_idealGas_DP |

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).

Type | Name | Description |
---|---|---|

`dp_idealGas_IN_con` | `IN_con` | Input record for function dp_idealGas_MFLOW |

`dp_idealGas_IN_var` | `IN_var` | Input record for function dp_idealGas_MFLOW |

`Pressure` | `dp` | Pressure loss |

Type | Name | Description |
---|---|---|

`MassFlowRate` | `M_FLOW` | Output for function dp_idealGas_MFLOW |

Input record for function dp_idealGas_DP and dp_idealGas_MFLOW

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).

Type | Name | Description |
---|---|---|

`Real` | `exp` | Exponent of pressure loss law |

`SpecificHeatCapacity` | `R_s` | Specific gas constant of ideal gas |

`Real` | `Km` | Coefficient for pressure loss law [(Pa)^2/{(kg/s)^exp*K}] |

`Pressure` | `dp_smooth` | Start linearisation for smaller pressure loss |

Input record for function dp_idealGas_DP and dp_idealGas_MFLOW

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).

Type | Name | Description |
---|---|---|

`Density` | `rho_m` | Mean density of ideal gas |

`Temp_K` | `T_m` | Mean temperature of ideal gas |

`Pressure` | `p_m` | Mean pressure of ideal gas |

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).

Type | Name | Description |
---|---|---|

`dp_nominalDensityViscosity_IN_con` | `IN_con` | Input record for function dp_nominalDensityViscosity_DP |

`dp_nominalDensityViscosity_IN_var` | `IN_var` | Input record for function dp_nominalDensityViscosity_DP |

`MassFlowRate` | `m_flow` | Mass flow rate |

Type | Name | Description |
---|---|---|

`Pressure` | `DP` | Output for function dp_nominalDensityViscosity_DP |

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).

Type | Name | Description |
---|---|---|

`dp_nominalDensityViscosity_IN_con` | `IN_con` | Input record for function dp_nominalDensityViscosity_MFLOW |

`dp_nominalDensityViscosity_IN_var` | `IN_var` | Input record for function dp_nominalDensityViscosity_MFLOW |

`Pressure` | `dp` | Pressure loss |

Type | Name | Description |
---|---|---|

`MassFlowRate` | `M_FLOW` | Output for function dp_nominalDensityViscosity_MFLOW |

Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW

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).

Type | Name | Description |
---|---|---|

`Pressure` | `dp_nom` | Nominal pressure loss (at nominal values of mass flow rate and density) |

`Real` | `exp` | Exponent of pressure loss law |

`MassFlowRate` | `m_flow_nom` | Nominal mass flow rate (at nominal values of pressure loss and density) |

`Density` | `rho_nom` | Nominal density (at nominal values of mass flow rate and pressure loss) |

`Real` | `exp_eta` | Exponent for dynamic viscosity dependence |

`DynamicViscosity` | `eta_nom` | Dynamic viscosity at nominal pressure loss |

Output record for function dp_nominalDensityViscosity_DP and dp_nominalDensityViscosity_MFLOW

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).

Type | Name | Description |
---|---|---|

`DynamicViscosity` | `eta` | Dynamic viscosity of fluid |

`Density` | `rho` | Density of fluid |

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).

Type | Name | Description |
---|---|---|

`dp_nominalPressureLossLawDensity_IN_con` | `IN_con` | Input record for function dp_nominalPressureLossLawDensity_DP |

`dp_nominalPressureLossLawDensity_IN_var` | `IN_var` | Input record for function dp_nominalPressureLossLawDensity_DP |

`MassFlowRate` | `m_flow` | Mass flow rate |

Type | Name | Description |
---|---|---|

`Pressure` | `DP` | Output for function dp_nominalPressureLossLawDensity_yesAJac_DP |

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).

Type | Name | Description |
---|---|---|

`dp_nominalPressureLossLawDensity_IN_con` | `IN_con` | Input record for function dp_nominalPressureLossLawDensity_MFLOW |

`dp_nominalPressureLossLawDensity_IN_var` | `IN_var` | Input record for function dp_nominalPressureLossLawDensity_MFLOW |

`Pressure` | `dp` | Pressure loss |

Type | Name | Description |
---|---|---|

`MassFlowRate` | `M_FLOW` | Output for function dp_nominalPressurelosslawDensity_MFLOW |

Input record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW

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).

Type | Name | Description |
---|---|---|

`MassOrVolumeFlowRate` | `target` | MassFlowRate == use nominal mass flow rate | VolumeFlowRate == use nominal volume flow rate |

`Area` | `A_cross` | Cross sectional area |

`Area` | `A_cross_nom` | Nominal cross sectional area |

`Pressure` | `dp_nom` | Nominal pressure loss (at nominal values of mass flow rate and density) |

`MassFlowRate` | `m_flow_nom` | Nominal mass flow rate (at nominal values of pressure loss and density) |

`Real` | `exp` | Exponent of pressure loss law |

`VolumeFlowRate` | `V_flow_nom` | Nominal volume flow rate (at nominal values of pressure loss and density) |

`Density` | `rho_nom` | Nominal density (at nominal values of mass flow rate and pressure loss) |

`PressureLossCoefficient` | `zeta_TOT_nom` | Nominal pressure loss coefficient (for nominal values) |

Input record for function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW

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).

Type | Name | Description |
---|---|---|

`PressureLossCoefficient` | `zeta_TOT` | Pressure loss coefficient |

`Density` | `rho` | Density of fluid |

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).

Type | Name | Description |
---|---|---|

`dp_pressureLossCoefficient_IN_con` | `IN_con` | Input record for dp_pressureLossCoefficient_DP |

`dp_pressureLossCoefficient_IN_var` | `IN_var` | Input record for dp_pressureLossCoefficient_DP |

`MassFlowRate` | `m_flow` | Mass flow rate |

Type | Name | Description |
---|---|---|

`Pressure` | `DP` | Output for function dp_pressureLossCoefficient_DP |

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).

Type | Name | Description |
---|---|---|

`dp_pressureLossCoefficient_IN_con` | `IN_con` | Input record for function dp_pressureLossCoefficient_MFLOW |

`dp_pressureLossCoefficient_IN_var` | `IN_var` | Input record for function dp_pressureLossCoefficient_MFLOW |

`Pressure` | `dp` | Pressure loss |

Type | Name | Description |
---|---|---|

`MassFlowRate` | `M_FLOW` | Output for function dp_pressureLossCoefficientt_MFLOW |

Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW

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).

Type | Name | Description |
---|---|---|

`Area` | `A_cross` | Cross sectional area |

`Pressure` | `dp_smooth` | Start linearisation for decreasing pressure loss |

Input record for function dp_pressureLossCoefficient_DP and dp_pressureLossCoefficient_MFLOW

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).

Type | Name | Description |
---|---|---|

`PressureLossCoefficient` | `zeta_TOT` | Pressure loss coefficient |

`Density` | `rho` | Density of fluid |

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).

Type | Name | Description |
---|---|---|

`dp_volumeFlowRate_IN_con` | `IN_con` | Input record for function dp_volumeFlowRate_DP |

`dp_volumeFlowRate_IN_var` | `IN_var` | Input record for function dp_volumeFlowRate_DP |

`MassFlowRate` | `m_flow` | Mass flow rate |

Type | Name | Description |
---|---|---|

`Pressure` | `DP` | Output for function dp_volumeFlowRate_DP |

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).

Type | Name | Description |
---|---|---|

`dp_volumeFlowRate_IN_con` | `IN_con` | Input record for function dp_volumeFlowRate_MFLOW |

`dp_volumeFlowRate_IN_var` | `IN_var` | Input record for function dp_volumeFlowRate_MFLOW |

`Pressure` | `dp` | Pressure loss |

Type | Name | Description |
---|---|---|

`MassFlowRate` | `M_FLOW` | Output for function dp_volumeFlowRate_MFLOW |

Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW

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)).

Type | Name | Description |
---|---|---|

`Real` | `a` | Coefficient for quadratic term |

`Real` | `b` | Coefficient for linear term |

`Pressure` | `dp_min` | Start of approximation for decreasing pressure loss (only used for b=0) |

Input record for function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW

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).

Type | Name | Description |
---|---|---|

`Density` | `rho` | Density of fluid |