Partial Package Modelica.Media.Water.WaterIF97_fixedregion
This model calculates medium properties for water in the liquid, gas and two phase regions according to the IAPWS/IF97 standard, i.e., the accepted industrial standard and best compromise between accuracy and computation time. For more details see Modelica.Media.Water.IF97_Utilities. Three variable pairs can be the independent variables of the model:
The following quantities are always computed:
| Variable | Unit | Description |
| T | K | temperature |
| u | J/kg | specific internal energy |
| d | kg/m^3 | density |
| p | Pa | pressure |
| h | J/kg | specific enthalpy |
In some cases additional medium properties are needed. A component that needs these optional properties has to call one of the functions listed in Modelica.Media.UsersGuide.MediumUsage.OptionalProperties and in Modelica.Media.UsersGuide.MediumUsage.TwoPhase.
Many further properties can be computed. Using the well-known Bridgman's Tables, all first partial derivatives of the standard thermodynamic variables can be computed easily.
Extends from Modelica.Media.Water.WaterIF97_base (Water: Steam properties as defined by IAPWS/IF97 standard).
| Name | Description |
|---|---|
AbsolutePressure | Type for absolute pressure with medium specific attributes |
BaseProperties | Base properties of water |
Basic … | The most basic version of a record used in several degrees of detail |
beta | Alias for isobaricExpansionCoefficient for user convenience |
bubbleDensity | Boiling curve specific density of water |
bubbleEnthalpy | Boiling curve specific enthalpy of water |
bubbleEntropy | Boiling curve specific entropy of water |
CumulativeExtraProperty | Type for conserved integral of unspecified, mass specific property |
dBubbleDensity_dPressure | Bubble point density derivative |
dBubbleEnthalpy_dPressure | Bubble point specific enthalpy derivative |
dDewDensity_dPressure | Dew point density derivative |
dDewEnthalpy_dPressure | Dew point specific enthalpy derivative |
Density | Type for density with medium specific attributes |
density | Return density of ideal gas |
density_derh_p | Density derivative by specific enthalpy |
density_derp_h | Density derivative by pressure |
density_derp_T | Return density derivative w.r.t. pressure at const temperature |
density_derT_p | Return density derivative w.r.t. temperature at constant pressure |
density_derX | Return density derivative w.r.t. mass fraction |
density_ph | Computes density as a function of pressure and specific enthalpy |
density_phX | Return density from p, h, and X or Xi |
density_ps | Computes density as a function of pressure and specific enthalpy |
density_psX | Return density from p, s, and X or Xi |
density_pT | Computes density as a function of pressure and temperature |
density_pTX | Return density from p, T, and X or Xi |
DerDensityByEnthalpy | Type for partial derivative of density with respect to enthalpy with medium specific attributes |
DerDensityByPressure | Type for partial derivative of density with respect to pressure with medium specific attributes |
DerDensityByTemperature | Type for partial derivative of density with respect to temperature with medium specific attributes |
DerEnthalpyByPressure | Type for partial derivative of enthalpy with respect to pressure with medium specific attributes |
DerTemperatureByPressure | Type for partial derivative of temperature with respect to pressure with medium specific attributes |
dewDensity | Dew curve specific density of water |
dewEnthalpy | Dew curve specific enthalpy of water |
dewEntropy | Dew curve specific entropy of water |
DipoleMoment | Type for dipole moment with medium specific attributes |
DynamicViscosity | Type for dynamic viscosity with medium specific attributes |
dynamicViscosity | Dynamic viscosity of water |
EnthalpyFlowRate | Type for enthalpy flow rate with medium specific attributes |
ExtraProperty | Type for unspecified, mass-specific property transported by flow |
ExtraPropertyFlowRate | Type for flow rate of unspecified, mass-specific property |
FixedPhase | Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use |
FluidConstants |   |
FluidLimits | Validity limits for fluid model |
heatCapacity_cp | Alias for deprecated name |
heatCapacity_cv | Alias for deprecated name |
IdealGas … | The ideal gas version of a record used in several degrees of detail |
isentropicEnthalpy | Compute h(s,p) |
IsentropicExponent | Type for isentropic exponent with medium specific attributes |
isentropicExponent | Return isentropic exponent |
IsobaricExpansionCoefficient | Type for isobaric expansion coefficient with medium specific attributes |
isobaricExpansionCoefficient | Isobaric expansion coefficient of water |
isothermalCompressibility | Isothermal compressibility of water |
kappa | Alias of isothermalCompressibility for user convenience |
MassFlowRate | Type for mass flow rate with medium specific attributes |
MassFraction | Type for mass fraction with medium specific attributes |
MolarMass | Type for molar mass with medium specific attributes |
molarMass | Return the molar mass of the medium |
MolarVolume | Type for molar volume with medium specific attributes |
MoleFraction | Type for mole fraction with medium specific attributes |
PrandtlNumber | Type for Prandtl number with medium specific attributes |
prandtlNumber | Return the Prandtl number |
pressure | Return pressure of ideal gas |
pressure_dT | Computes pressure as a function of density and temperature |
saturationPressure | Saturation pressure of water |
saturationPressure_sat | Return saturation pressure |
SaturationProperties |   |
saturationTemperature | Saturation temperature of water |
saturationTemperature_derp | Derivative of saturation temperature w.r.t. pressure |
saturationTemperature_derp_sat | Return derivative of saturation temperature w.r.t. pressure |
saturationTemperature_sat | Return saturation temperature |
setBubbleState | Set the thermodynamic state on the bubble line |
setDewState | Set the thermodynamic state on the dew line |
setSat_p | Return saturation property record from pressure |
setSat_T | Return saturation property record from temperature |
setSmoothState | Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b |
setState_dT | Return thermodynamic state from d and T |
setState_dTX | Return thermodynamic state of water as function of d, T, and optional region |
setState_ph | Return thermodynamic state from p and h |
setState_phX | Return thermodynamic state of water as function of p, h, and optional region |
setState_ps | Return thermodynamic state from p and s |
setState_psX | Return thermodynamic state of water as function of p, s, and optional region |
setState_pT | Return thermodynamic state from p and T |
setState_pTX | Return thermodynamic state of water as function of p, T, and optional region |
setState_px | Return thermodynamic state from pressure and vapour quality |
setState_Tx | Return thermodynamic state from temperature and vapour quality |
SpecificEnergy | Type for specific energy with medium specific attributes |
SpecificEnthalpy | Type for specific enthalpy with medium specific attributes |
specificEnthalpy | Return specific enthalpy |
specificEnthalpy_dT | Computes specific enthalpy as a function of density and temperature |
specificEnthalpy_ps | Computes specific enthalpy as a function of pressure and temperature |
specificEnthalpy_psX | Return specific enthalpy from p, s, and X or Xi |
specificEnthalpy_pT | Computes specific enthalpy as a function of pressure and temperature |
specificEnthalpy_pTX | Return specific enthalpy from pressure, temperature and mass fraction |
SpecificEntropy | Type for specific entropy with medium specific attributes |
specificEntropy | Specific entropy of water |
specificEntropy_pTX | Return specific enthalpy from p, T, and X or Xi |
specificGibbsEnergy | Return specific Gibbs energy |
SpecificHeatCapacity | Type for specific heat capacity with medium specific attributes |
specificHeatCapacityCp | Specific heat capacity at constant pressure of water |
specificHeatCapacityCv | Specific heat capacity at constant volume of water |
specificHelmholtzEnergy | Return specific Helmholtz energy |
SpecificInternalEnergy | Type for specific internal energy with medium specific attributes |
specificInternalEnergy | Return specific internal energy |
SurfaceTension | Type for surface tension with medium specific attributes |
surfaceTension | Surface tension in two phase region of water |
Temperature | Type for temperature with medium specific attributes |
temperature | Return temperature of ideal gas |
temperature_ph | Computes temperature as a function of pressure and specific enthalpy |
temperature_phX | Return temperature from p, h, and X or Xi |
temperature_ps | Compute temperature from pressure and specific enthalpy |
temperature_psX | Return temperature from p, s, and X or Xi |
ThermalConductivity | Type for thermal conductivity with medium specific attributes |
thermalConductivity | Thermal conductivity of water |
ThermodynamicState | Thermodynamic state |
TwoPhase … | The two phase fluid version of a record used in several degrees of detail |
vapourQuality | Return vapour quality |
VelocityOfSound | Type for velocity of sound with medium specific attributes |
velocityOfSound | Return velocity of sound as a function of the thermodynamic state record |
| Type | Name | Value | Description |
|---|---|---|---|
ExtraProperty | C_default[nC] | fill(0, nC) | Default value for trace substances of medium (for initialization) |
Real | C_nominal[nC] | 1e-6 * ones(nC) | Default for the nominal values for the extra properties |
String | extraPropertiesNames[:] | fill("", 0) | Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused |
final Boolean | fixedX | true | = true if medium contains the equation X = reference_X |
FluidConstants | fluidConstants[nS] | waterConstants | Constant data for the fluid |
SpecificEnthalpy | h_default | specificEnthalpy_pTX(p_default, T_default, X_default) | Default value for specific enthalpy of medium (for initialization) |
String | mediumName | "WaterIF97" | Name of the medium |
final Integer | nC | size(extraPropertiesNames, 1) | Number of extra (outside of standard mass-balance) transported properties |
final Integer | nS | size(substanceNames, 1) | Number of substances |
Integer | nX | nS | Number of mass fractions |
Integer | nXi | if fixedX then 0 else if reducedX then nS - 1 else nS | Number of structurally independent mass fractions (see docu for details) |
Boolean | onePhase | false | True if the (derived) model should never be called with two-phase inputs |
AbsolutePressure | p_default | 101325 | Default value for pressure of medium (for initialization) |
final Boolean | reducedX | true | = true if medium contains the equation sum(X) = 1.0; set reducedX=true if only one substance (see docu for details) |
AbsolutePressure | reference_p | 101325 | Reference pressure of Medium: default 1 atmosphere |
Temperature | reference_T | 298.15 | Reference temperature of Medium: default 25 deg Celsius |
MassFraction | reference_X[nX] | fill(nX ^ (-1), nX) | Default mass fractions of medium |
Integer | Region | 1 | Region of IF97, if known, zero otherwise |
Boolean | singleState | false | = true, if u and d are not a function of pressure |
Boolean | smoothModel | false | True if the (derived) model should not generate state events |
String | substanceNames[:] | {"water"} | Names of the mixture substances. Set substanceNames={mediumName} if only one substance. |
Temperature | T_default | Modelica.Units.Conversions.from_degC(20) | Default value for temperature of medium (for initialization) |
MassFraction | X_default[nX] | reference_X | Default value for mass fractions of medium (for initialization) |
Type Modelica.Media.Water.WaterIF97_fixedregion.AbsolutePressureExtends from Modelica.Units.SI.AbsolutePressure.
| Name | Value |
|---|---|
quantity | "Pressure" |
unit | "Pa" |
displayUnit | "bar" |
min | 611.657 |
max | 1e+8 |
start | 5e+6 |
nominal | 1000000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DensityExtends from Modelica.Units.SI.Density.
| Name | Value |
|---|---|
quantity | "Density" |
unit | "kg/m3" |
displayUnit | "g/cm3" |
min | 0 |
max | 100000 |
start | 150 |
nominal | 500 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DynamicViscosityExtends from Modelica.Units.SI.DynamicViscosity.
| Name | Value |
|---|---|
quantity | "DynamicViscosity" |
unit | "Pa.s" |
min | 0 |
max | 1e+8 |
start | 0.001 |
nominal | 0.001 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.EnthalpyFlowRateExtends from Modelica.Units.SI.EnthalpyFlowRate.
| Name | Value |
|---|---|
quantity | "EnthalpyFlowRate" |
unit | "W" |
min | -1e+8 |
max | 1e+8 |
start | 0. |
nominal | 1000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.MassFractionExtends from Real.
| Name | Value |
|---|---|
quantity | "MassFraction" |
unit | "kg/kg" |
min | 0 |
max | 1 |
start | 0. |
nominal | 0.1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.MoleFractionExtends from Real.
| Name | Value |
|---|---|
quantity | "MoleFraction" |
unit | "mol/mol" |
min | 0 |
max | 1 |
start | 0. |
nominal | 0.1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.MolarMassExtends from Modelica.Units.SI.MolarMass.
| Name | Value |
|---|---|
quantity | "MolarMass" |
unit | "kg/mol" |
min | 0.001 |
max | 0.25 |
start | 0. |
nominal | 0.032 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.MolarVolumeExtends from Modelica.Units.SI.MolarVolume.
| Name | Value |
|---|---|
quantity | "MolarVolume" |
unit | "m3/mol" |
min | 1e-6 |
max | 1000000 |
start | 0. |
nominal | 1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.IsentropicExponentExtends from Modelica.Units.SI.RatioOfSpecificHeatCapacities.
| Name | Value |
|---|---|
quantity | "RatioOfSpecificHeatCapacities" |
unit | "1" |
min | 1 |
max | 500000 |
start | 1.2 |
nominal | 1.2 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.SpecificEnergyExtends from Modelica.Units.SI.SpecificEnergy.
| Name | Value |
|---|---|
quantity | "SpecificEnergy" |
unit | "J/kg" |
min | -1e+8 |
max | 1e+8 |
start | 0. |
nominal | 1000000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.SpecificInternalEnergyExtends from Modelica.Media.Water.WaterIF97_fixedregion.SpecificEnergy (Type for specific energy with medium specific attributes).
| Name | Value |
|---|---|
quantity | "SpecificEnergy" |
unit | "J/kg" |
min | -1e+8 |
max | 1e+8 |
start | 0. |
nominal | 1000000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.SpecificEnthalpyExtends from Modelica.Units.SI.SpecificEnthalpy.
| Name | Value |
|---|---|
quantity | "SpecificEnergy" |
unit | "J/kg" |
min | -1e+10 |
max | 1e+10 |
start | 100000 |
nominal | 500000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.SpecificEntropyExtends from Modelica.Units.SI.SpecificEntropy.
| Name | Value |
|---|---|
quantity | "SpecificEntropy" |
unit | "J/(kg.K)" |
min | -1e+7 |
max | 1e+7 |
start | 0. |
nominal | 1000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.SpecificHeatCapacityExtends from Modelica.Units.SI.SpecificHeatCapacity.
| Name | Value |
|---|---|
quantity | "SpecificHeatCapacity" |
unit | "J/(kg.K)" |
min | 0 |
max | 1e+7 |
start | 1000 |
nominal | 1000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.SurfaceTensionExtends from Modelica.Units.SI.SurfaceTension.
| Name | Value |
|---|---|
quantity | "SurfaceTension" |
unit | "N/m" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.TemperatureExtends from Modelica.Units.SI.Temperature.
| Name | Value |
|---|---|
quantity | "ThermodynamicTemperature" |
unit | "K" |
displayUnit | "degC" |
min | 273.15 |
max | 2273.15 |
start | 500 |
nominal | 500 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.ThermalConductivityExtends from Modelica.Units.SI.ThermalConductivity.
| Name | Value |
|---|---|
quantity | "ThermalConductivity" |
unit | "W/(m.K)" |
min | 0 |
max | 500 |
start | 1 |
nominal | 1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.PrandtlNumberExtends from Modelica.Units.SI.PrandtlNumber.
| Name | Value |
|---|---|
quantity | "PrandtlNumber" |
unit | "1" |
min | 0.001 |
max | 100000 |
start | 0. |
nominal | 1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.VelocityOfSoundExtends from Modelica.Units.SI.Velocity.
| Name | Value |
|---|---|
quantity | "Velocity" |
unit | "m/s" |
min | 0 |
max | 100000 |
start | 1000 |
nominal | 1000 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.ExtraPropertyExtends from Real.
| Name | Value |
|---|---|
min | 0 |
max | Modelica.Constants.inf |
start | 1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.CumulativeExtraPropertyExtends from Real.
| Name | Value |
|---|---|
min | 0 |
max | Modelica.Constants.inf |
start | 1 |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.ExtraPropertyFlowRateExtends from Real.
| Name | Value |
|---|---|
unit | "kg/s" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.IsobaricExpansionCoefficientExtends from Real.
| Name | Value |
|---|---|
unit | "1/K" |
min | 0 |
max | 1e+8 |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DipoleMomentExtends from Real.
| Name | Value |
|---|---|
quantity | "ElectricDipoleMoment" |
unit | "debye" |
min | 0 |
max | 2 |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DerDensityByPressureExtends from Modelica.Units.SI.DerDensityByPressure.
| Name | Value |
|---|---|
unit | "s2/m2" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DerDensityByEnthalpyExtends from Modelica.Units.SI.DerDensityByEnthalpy.
| Name | Value |
|---|---|
unit | "kg.s2/m5" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DerEnthalpyByPressureExtends from Modelica.Units.SI.DerEnthalpyByPressure.
| Name | Value |
|---|---|
unit | "J.m.s2/kg2" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DerDensityByTemperatureExtends from Modelica.Units.SI.DerDensityByTemperature.
| Name | Value |
|---|---|
unit | "kg/(m3.K)" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Type Modelica.Media.Water.WaterIF97_fixedregion.DerTemperatureByPressureExtends from Real.
| Name | Value |
|---|---|
unit | "K/Pa" |
min | -Modelica.Constants.inf |
max | Modelica.Constants.inf |
start | 0. |
unbounded | false |
Record Modelica.Media.Water.WaterIF97_fixedregion.SaturationProperties
This icon is indicates a record.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.SaturationProperties (Saturation properties of two phase medium).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | psat | Saturation pressure |
Temperature | Tsat | Saturation temperature |
Record Modelica.Media.Water.WaterIF97_fixedregion.FluidLimits
The minimum pressure mostly applies to the liquid state only. The minimum density is also arbitrary, but is reasonable for technical applications to limit iterations in non-linear systems. The limits in enthalpy and entropy are used as safeguards in inverse iterations.
Extends from Modelica.Icons.Record (Icon for records).
| Type | Name | Description |
|---|---|---|
Temperature | TMIN | Minimum temperature |
Temperature | TMAX | Maximum temperature |
Density | DMIN | Minimum density |
Density | DMAX | Maximum density |
AbsolutePressure | PMIN | Minimum pressure |
AbsolutePressure | PMAX | Maximum pressure |
SpecificEnthalpy | HMIN | Minimum enthalpy |
SpecificEnthalpy | HMAX | Maximum enthalpy |
SpecificEntropy | SMIN | Minimum entropy |
SpecificEntropy | SMAX | Maximum entropy |
Type Modelica.Media.Water.WaterIF97_fixedregion.FixedPhaseExtends from Integer.
| Name | Value |
|---|---|
min | 0 |
max | 2 |
start | 0 |
Record Modelica.Media.Water.WaterIF97_fixedregion.FluidConstants
This icon is indicates a record.
Extends from Modelica.Media.Interfaces.Types.TwoPhase.FluidConstants (Extended fluid constants).
| Type | Name | Description |
|---|---|---|
String | iupacName | Complete IUPAC name (or common name, if non-existent) |
String | casRegistryNumber | Chemical abstracts sequencing number (if it exists) |
String | chemicalFormula | Chemical formula, (brutto, nomenclature according to Hill |
String | structureFormula | Chemical structure formula |
MolarMass | molarMass | Molar mass |
Temperature | criticalTemperature | Critical temperature |
AbsolutePressure | criticalPressure | Critical pressure |
MolarVolume | criticalMolarVolume | Critical molar Volume |
Real | acentricFactor | Pitzer acentric factor |
Temperature | triplePointTemperature | Triple point temperature |
AbsolutePressure | triplePointPressure | Triple point pressure |
Temperature | meltingPoint | Melting point at 101325 Pa |
Temperature | normalBoilingPoint | Normal boiling point (at 101325 Pa) |
DipoleMoment | dipoleMoment | Dipole moment of molecule in Debye (1 debye = 3.33564e10-30 C.m) |
Boolean | hasIdealGasHeatCapacity | True if ideal gas heat capacity is available |
Boolean | hasCriticalData | True if critical data are known |
Boolean | hasDipoleMoment | True if a dipole moment known |
Boolean | hasFundamentalEquation | True if a fundamental equation |
Boolean | hasLiquidHeatCapacity | True if liquid heat capacity is available |
Boolean | hasSolidHeatCapacity | True if solid heat capacity is available |
Boolean | hasAccurateViscosityData | True if accurate data for a viscosity function is available |
Boolean | hasAccurateConductivityData | True if accurate data for thermal conductivity is available |
Boolean | hasVapourPressureCurve | True if vapour pressure data, e.g., Antoine coefficients are known |
Boolean | hasAcentricFactor | True if Pitzer acentric factor is known |
SpecificEnthalpy | HCRIT0 | Critical specific enthalpy of the fundamental equation |
SpecificEntropy | SCRIT0 | Critical specific entropy of the fundamental equation |
SpecificEnthalpy | deltah | Difference between specific enthalpy model (h_m) and f.eq. (h_f) (h_m - h_f) |
SpecificEntropy | deltas | Difference between specific enthalpy model (s_m) and f.eq. (s_f) (s_m - s_f) |
Record Modelica.Media.Water.WaterIF97_fixedregion.ThermodynamicState
This icon is indicates a record.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.ThermodynamicState (Thermodynamic state of two phase medium).
| Type | Name | Description |
|---|---|---|
FixedPhase | phase | Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use |
SpecificEnthalpy | h | Specific enthalpy |
Density | d | Density |
Temperature | T | Temperature |
AbsolutePressure | p | Pressure |
Model Modelica.Media.Water.WaterIF97_fixedregion.BaseProperties
Model BaseProperties is a model within package PartialMedium and contains the declarations of the minimum number of variables that every medium model is supposed to support. A specific medium inherits from model BaseProperties and provides the equations for the basic properties.
The BaseProperties model contains the following 7+nXi variables (nXi is the number of independent mass fractions defined in package PartialMedium):
| Variable | Unit | Description |
| T | K | Temperature |
| p | Pa | Absolute pressure |
| d | kg/m3 | Density |
| h | J/kg | Specific enthalpy |
| u | J/kg | Specific internal energy |
| Xi[nXi] | kg/kg | Structurally independent mass fractions |
| R_s | J/(kg.K) | Specific gas constant (of mixture if applicable) |
| MM | kg/mol | Molar mass |
In order to implement an actual medium model, one can extend from this base model and add 5 equations that provide relations among these variables. Equations will also have to be added in order to set all the variables within the ThermodynamicState record state.
If standardOrderComponents=true, the full composition vector X[nX] is determined by the equations contained in this base class, depending on the independent mass fraction vector Xi[nXi].
Additional 2 + nXi equations will have to be provided when using the BaseProperties model, in order to fully specify the thermodynamic conditions. The input connector qualifier applied to p, h, and nXi indirectly declares the number of missing equations, permitting advanced equation balance checking by Modelica tools. Please note that this doesn't mean that the additional equations should be connection equations, nor that exactly those variables should be supplied, in order to complete the model. For further information, see the Modelica.Media User's guide, and Section 4.7 (Balanced Models) of the Modelica 3.4 specification.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.BaseProperties (Base properties (p, d, T, h, u, R_s, MM, sat) of two phase medium).
| Type | Name | Default | Description |
|---|---|---|---|
Boolean | preferredMediumStates | false | = true if StateSelect.prefer shall be used for the independent property variables of the medium |
final Boolean | standardOrderComponents | true | If true, and reducedX = true, the last element of X will be computed from the other ones |
| Type | Name | Description |
|---|---|---|
input InputAbsolutePressure | p | Absolute pressure of medium |
input InputMassFraction | Xi[nXi] | Structurally independent mass fractions |
input InputSpecificEnthalpy | h | Specific enthalpy of medium |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_pTX
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setState_pTX (Return thermodynamic state as function of p, T and composition X or Xi).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_phX
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setState_phX (Return thermodynamic state as function of p, h and composition X or Xi).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEnthalpy | h | Specific enthalpy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_psX
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setState_psX (Return thermodynamic state as function of p, s and composition X or Xi).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_dTX
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setState_dTX (Return thermodynamic state as function of d, T and composition X or Xi).
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Temperature | T | Temperature |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setSmoothState
This function is used to approximate the equation
state = if x > 0 then state_a else state_b;
by a smooth characteristic, so that the expression is continuous and differentiable:
state := smooth(1, if x > x_small then state_a else
if x < -x_small then state_b else f(state_a, state_b));
This is performed by applying function Media.Common.smoothStep(..) on every element of the thermodynamic state record.
If mass fractions X[:] are approximated with this function then this can be performed for all nX mass fractions, instead of applying it for nX-1 mass fractions and computing the last one by the mass fraction constraint sum(X)=1. The reason is that the approximating function has the property that sum(state.X) = 1, provided sum(state_a.X) = sum(state_b.X) = 1. This can be shown by evaluating the approximating function in the abs(x) < x_small region (otherwise state.X is either state_a.X or state_b.X):
X[1] = smoothStep(x, X_a[1] , X_b[1] , x_small); X[2] = smoothStep(x, X_a[2] , X_b[2] , x_small); ... X[nX] = smoothStep(x, X_a[nX], X_b[nX], x_small);
or
X[1] = c*(X_a[1] - X_b[1]) + (X_a[1] + X_b[1])/2 X[2] = c*(X_a[2] - X_b[2]) + (X_a[2] + X_b[2])/2; ... X[nX] = c*(X_a[nX] - X_b[nX]) + (X_a[nX] + X_b[nX])/2; c = (x/x_small)*((x/x_small)^2 - 3)/4
Summing all mass fractions together results in
sum(X) = c*(sum(X_a) - sum(X_b)) + (sum(X_a) + sum(X_b))/2
= c*(1 - 1) + (1 + 1)/2
= 1
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setSmoothState (Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b).
| Type | Name | Description |
|---|---|---|
Real | x | m_flow or dp |
ThermodynamicState | state_a | Thermodynamic state if x > 0 |
ThermodynamicState | state_b | Thermodynamic state if x < 0 |
Real | x_small | Smooth transition in the region -x_small < x < x_small |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Smooth thermodynamic state for all x (continuous and differentiable) |
Function Modelica.Media.Water.WaterIF97_fixedregion.dynamicViscosity
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dynamicViscosity (Return dynamic viscosity).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
DynamicViscosity | eta | Dynamic viscosity |
Function Modelica.Media.Water.WaterIF97_fixedregion.thermalConductivity
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.thermalConductivity (Return thermal conductivity).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
ThermalConductivity | lambda | Thermal conductivity |
Function Modelica.Media.Water.WaterIF97_fixedregion.prandtlNumber
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
PrandtlNumber | Pr | Prandtl number |
Function Modelica.Media.Water.WaterIF97_fixedregion.pressure
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.pressure (Return pressure).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.temperature
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.temperature (Return temperature).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.density
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.density (Return density).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEnthalpy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificEnthalpy (Return specific enthalpy) and Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h | Specific enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificInternalEnergy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificInternalEnergy (Return specific internal energy) and Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificEnergy | u | Specific internal energy |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEntropy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificEntropy (Return specific entropy).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificEntropy | s | Specific entropy |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificGibbsEnergy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificGibbsEnergy (Return specific Gibbs energy) and Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificEnergy | g | Specific Gibbs energy |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificHelmholtzEnergy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificHelmholtzEnergy (Return specific Helmholtz energy) and Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificEnergy | f | Specific Helmholtz energy |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificHeatCapacityCp
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificHeatCapacityCp (Return specific heat capacity at constant pressure).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificHeatCapacity | cp | Specific heat capacity at constant pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.heatCapacity_cp
This icon indicates Modelica functions.
Extends from Modelica.Media.Water.WaterIF97_fixedregion.specificHeatCapacityCp (Specific heat capacity at constant pressure of water).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificHeatCapacity | cp | Specific heat capacity at constant pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificHeatCapacityCv
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.specificHeatCapacityCv (Return specific heat capacity at constant volume).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificHeatCapacity | cv | Specific heat capacity at constant volume |
Function Modelica.Media.Water.WaterIF97_fixedregion.heatCapacity_cv
This icon indicates Modelica functions.
Extends from Modelica.Media.Water.WaterIF97_fixedregion.specificHeatCapacityCv (Specific heat capacity at constant volume of water).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
SpecificHeatCapacity | cv | Specific heat capacity at constant volume |
Function Modelica.Media.Water.WaterIF97_fixedregion.isentropicExponent
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.isentropicExponent (Return isentropic exponent).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
IsentropicExponent | gamma | Isentropic exponent |
Function Modelica.Media.Water.WaterIF97_fixedregion.isentropicEnthalpy
This function computes an isentropic state transformation:
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.isentropicEnthalpy (Return isentropic enthalpy).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p_downstream | Downstream pressure |
ThermodynamicState | refState | Reference state for entropy |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h_is | Isentropic enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.velocityOfSound
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.velocityOfSound (Return velocity of sound).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
VelocityOfSound | a | Velocity of sound |
Function Modelica.Media.Water.WaterIF97_fixedregion.isobaricExpansionCoefficient
beta is defined as 1/v * der(v,T), with v = 1/d, at constant pressure p.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.isobaricExpansionCoefficient (Return overall the isobaric expansion coefficient beta).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
IsobaricExpansionCoefficient | beta | Isobaric expansion coefficient |
Function Modelica.Media.Water.WaterIF97_fixedregion.beta
beta is defined as 1/v * der(v,T), with v = 1/d, at constant pressure p.
Extends from Modelica.Media.Water.WaterIF97_fixedregion.isobaricExpansionCoefficient (Isobaric expansion coefficient of water).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
IsobaricExpansionCoefficient | beta | Isobaric expansion coefficient |
Function Modelica.Media.Water.WaterIF97_fixedregion.isothermalCompressibility
kappa is defined as - 1/v * der(v,p), with v = 1/d at constant temperature T.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.isothermalCompressibility (Return overall the isothermal compressibility factor).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
IsothermalCompressibility | kappa | Isothermal compressibility |
Function Modelica.Media.Water.WaterIF97_fixedregion.kappa
kappa is defined as - 1/v * der(v,p), with v = 1/d at constant temperature T.
Extends from Modelica.Media.Water.WaterIF97_fixedregion.isothermalCompressibility (Isothermal compressibility of water).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
IsothermalCompressibility | kappa | Isothermal compressibility |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_derp_h
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.density_derp_h (Return density derivative w.r.t. pressure at const specific enthalpy).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
DerDensityByPressure | ddph | Density derivative w.r.t. pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_derh_p
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.density_derh_p (Return density derivative w.r.t. specific enthalpy at constant pressure).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
DerDensityByEnthalpy | ddhp | Density derivative w.r.t. specific enthalpy |
Partial Function Modelica.Media.Water.WaterIF97_fixedregion.density_derp_T
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
DerDensityByPressure | ddpT | Density derivative w.r.t. pressure |
Partial Function Modelica.Media.Water.WaterIF97_fixedregion.density_derT_p
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
DerDensityByTemperature | ddTp | Density derivative w.r.t. temperature |
Partial Function Modelica.Media.Water.WaterIF97_fixedregion.density_derX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
Density | dddX[nX] | Derivative of density w.r.t. mass fraction |
Function Modelica.Media.Water.WaterIF97_fixedregion.molarMass
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialPureSubstance.molarMass (Return the molar mass of the medium).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
MolarMass | MM | Mixture molar mass |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEnthalpy_pTX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h | Specific enthalpy at p, T, X |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEntropy_pTX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
MassFraction | X[:] | Mass fractions |
| Type | Name | Description |
|---|---|---|
SpecificEntropy | s | Specific entropy |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_pTX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
MassFraction | X[:] | Mass fractions |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.temperature_phX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEnthalpy | h | Specific enthalpy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_phX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEnthalpy | h | Specific enthalpy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.temperature_psX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_psX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEnthalpy_psX
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
MassFraction | X[:] | Mass fractions |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h | Specific enthalpy |
Type Modelica.Media.Water.WaterIF97_fixedregion.MassFlowRateExtends from Modelica.Units.SI.MassFlowRate.
| Name | Value |
|---|---|
quantity | "MassFlowRate." + mediumName |
unit | "kg/s" |
min | -100000 |
max | 100000 |
start | 0. |
unbounded | false |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_pT
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_ph
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEnthalpy | h | Specific enthalpy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_ps
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_dT
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Temperature | T | Temperature |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_ph
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEnthalpy | h | Specific enthalpy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.temperature_ph
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEnthalpy | h | Specific enthalpy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.pressure_dT
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Temperature | T | Temperature |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEnthalpy_dT
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Temperature | T | Temperature |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h | Specific enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEnthalpy_ps
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h | Specific enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.temperature_ps
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_ps
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
SpecificEntropy | s | Specific entropy |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.specificEnthalpy_pT
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | h | Specific enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.density_pT
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
Temperature | T | Temperature |
FixedPhase | phase | 2 for two-phase, 1 for one-phase, 0 if not known |
Integer | region | If 0, region is unknown, otherwise known and this input |
| Type | Name | Description |
|---|---|---|
Density | d | Density |
Function Modelica.Media.Water.WaterIF97_fixedregion.setDewState
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setDewState (Return the thermodynamic state on the dew line).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation point |
FixedPhase | phase | Phase: default is one phase |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Complete thermodynamic state info |
Function Modelica.Media.Water.WaterIF97_fixedregion.setBubbleState
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.setBubbleState (Return the thermodynamic state on the bubble line).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation point |
FixedPhase | phase | Phase: default is one phase |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Complete thermodynamic state info |
Function Modelica.Media.Water.WaterIF97_fixedregion.setSat_T
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setSat_p
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
Function Modelica.Media.Water.WaterIF97_fixedregion.bubbleEnthalpy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.bubbleEnthalpy (Return bubble point specific enthalpy).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | hl | Boiling curve specific enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.dewEnthalpy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dewEnthalpy (Return dew point specific enthalpy).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
SpecificEnthalpy | hv | Dew curve specific enthalpy |
Function Modelica.Media.Water.WaterIF97_fixedregion.bubbleEntropy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.bubbleEntropy (Return bubble point specific entropy).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
SpecificEntropy | sl | Boiling curve specific entropy |
Function Modelica.Media.Water.WaterIF97_fixedregion.dewEntropy
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dewEntropy (Return dew point specific entropy).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
SpecificEntropy | sv | Dew curve specific entropy |
Function Modelica.Media.Water.WaterIF97_fixedregion.bubbleDensity
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.bubbleDensity (Return bubble point density).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
Density | dl | Boiling curve density |
Function Modelica.Media.Water.WaterIF97_fixedregion.dewDensity
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dewDensity (Return dew point density).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
Density | dv | Dew curve density |
Function Modelica.Media.Water.WaterIF97_fixedregion.saturationPressure
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.saturationPressure (Return saturation pressure).
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Saturation pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.saturationTemperature
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.saturationTemperature (Return saturation temperature).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
| Type | Name | Description |
|---|---|---|
Temperature | T | Saturation temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.saturationPressure_sat
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Saturation pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.saturationTemperature_sat
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
Temperature | T | Saturation temperature |
Function Modelica.Media.Water.WaterIF97_fixedregion.saturationTemperature_derp
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.saturationTemperature_derp (Return derivative of saturation temperature w.r.t. pressure).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
| Type | Name | Description |
|---|---|---|
DerTemperatureByPressure | dTp | Derivative of saturation temperature w.r.t. pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.saturationTemperature_derp_sat
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
DerTemperatureByPressure | dTp | Derivative of saturation temperature w.r.t. pressure |
Function Modelica.Media.Water.WaterIF97_fixedregion.surfaceTension
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.surfaceTension (Return surface tension sigma in the two phase region).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
SurfaceTension | sigma | Surface tension sigma in the two phase region |
Function Modelica.Media.Water.WaterIF97_fixedregion.dBubbleDensity_dPressure
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dBubbleDensity_dPressure (Return bubble point density derivative).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
DerDensityByPressure | ddldp | Boiling curve density derivative |
Function Modelica.Media.Water.WaterIF97_fixedregion.dDewDensity_dPressure
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dDewDensity_dPressure (Return dew point density derivative).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
DerDensityByPressure | ddvdp | Saturated steam density derivative |
Function Modelica.Media.Water.WaterIF97_fixedregion.dBubbleEnthalpy_dPressure
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dBubbleEnthalpy_dPressure (Return bubble point specific enthalpy derivative).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
DerEnthalpyByPressure | dhldp | Boiling curve specific enthalpy derivative |
Function Modelica.Media.Water.WaterIF97_fixedregion.dDewEnthalpy_dPressure
This icon indicates Modelica functions.
Extends from Modelica.Media.Interfaces.PartialTwoPhaseMedium.dDewEnthalpy_dPressure (Return dew point specific enthalpy derivative).
| Type | Name | Description |
|---|---|---|
SaturationProperties | sat | Saturation property record |
| Type | Name | Description |
|---|---|---|
DerEnthalpyByPressure | dhvdp | Saturated steam specific enthalpy derivative |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_px
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
AbsolutePressure | p | Pressure |
MassFraction | x | Vapour quality |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.setState_Tx
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
Temperature | T | Temperature |
MassFraction | x | Vapour quality |
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
Function Modelica.Media.Water.WaterIF97_fixedregion.vapourQuality
This icon indicates Modelica functions.
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Description |
|---|---|---|
ThermodynamicState | state | Thermodynamic state record |
| Type | Name | Description |
|---|---|---|
MassFraction | x | Vapour quality |