Package Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient
Liquid, linear compressibility water model at 1.01325 bar and 25 degree Celsius

Information

Water model with linear compressibility at ambient conditions

Extends from Modelica.​Media.​CompressibleLiquids.​Common.​LinearWater_pT (Base class for liquid, linear compressibility water models).

Package Contents

NameDescription
AbsolutePressureType for absolute pressure with medium specific attributes
BasePropertiesBase properties of medium
BasicThe most basic version of a record used in several degrees of detail
betaAlias for isobaricExpansionCoefficient for user convenience
Choices 
CumulativeExtraPropertyType for conserved integral of unspecified, mass specific property
DensityType for density with medium specific attributes
densityReturn the density from the thermodynamic state
density_derh_pReturn density derivative w.r.t. specific enthalpy at constant pressure
density_derp_hReturn density derivative w.r.t. pressure at const specific enthalpy
density_derp_TReturn density derivative w.r.t. pressure at const temperature
density_derT_pReturn density derivative w.r.t. temperature at constant pressure
density_derXReturns the partial derivative of density with respect to mass fractions at constant pressure and temperature
density_phReturn density from p and h
density_phXReturn density from p, h, and X or Xi
density_psReturn density from p and s
density_psXReturn density from p, s, and X or Xi
density_pTReturn density from p and T
density_pTXReturn density from p, T, and X or Xi
DerDensityByEnthalpyType for partial derivative of density with respect to enthalpy with medium specific attributes
DerDensityByPressureType for partial derivative of density with respect to pressure with medium specific attributes
DerDensityByTemperatureType for partial derivative of density with respect to temperature with medium specific attributes
DerEnthalpyByPressureType for partial derivative of enthalpy with respect to pressure with medium specific attributes
DerTemperatureByPressureType for partial derivative of temperature with respect to pressure with medium specific attributes
DipoleMomentType for dipole moment with medium specific attributes
DynamicViscosityType for dynamic viscosity with medium specific attributes
dynamicViscosityDynamic viscosity of water
EnthalpyFlowRateType for enthalpy flow rate with medium specific attributes
ExtraPropertyType for unspecified, mass-specific property transported by flow
ExtraPropertyFlowRateType for flow rate of unspecified, mass-specific property
FixedPhasePhase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use
FluidConstantsCritical, triple, molecular and other standard data of fluid
FluidLimitsValidity limits for fluid model
heatCapacity_cpAlias for deprecated name
heatCapacity_cvAlias for deprecated name
IdealGasThe ideal gas version of a record used in several degrees of detail
isentropicEnthalpyReturn isentropic enthalpy
IsentropicExponentType for isentropic exponent with medium specific attributes
isentropicExponentReturn isentropic exponent from the thermodynamic state
IsobaricExpansionCoefficientType for isobaric expansion coefficient with medium specific attributes
isobaricExpansionCoefficientReturn the isobaric expansion coefficient
isothermalCompressibilityReturn the isothermal compressibility kappa
kappaAlias of isothermalCompressibility for user convenience
MassFlowRateType for mass flow rate with medium specific attributes
MassFractionType for mass fraction with medium specific attributes
MolarMassType for molar mass with medium specific attributes
molarMassReturn molar mass
MolarVolumeType for molar volume with medium specific attributes
MoleFractionType for mole fraction with medium specific attributes
PrandtlNumberType for Prandtl number with medium specific attributes
prandtlNumberReturn the Prandtl number
pressureReturn the pressure from the thermodynamic state
pressure_dTReturn pressure from d and T
SaturationPropertiesSaturation properties of two phase medium
setSmoothStateReturn thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b
setState_dTReturn thermodynamic state from d and T
setState_dTXSet the thermodynamic state record from d and T (X not needed)
setState_phReturn thermodynamic state from p and h
setState_phXSet the thermodynamic state record from p and h (X not needed)
setState_psReturn thermodynamic state from p and s
setState_psXSet the thermodynamic state record from p and s (X not needed)
setState_pTReturn thermodynamic state from p and T
setState_pTXSet the thermodynamic state record from p and T (X not needed)
SpecificEnergyType for specific energy with medium specific attributes
SpecificEnthalpyType for specific enthalpy with medium specific attributes
specificEnthalpyReturn the specific enthalpy from the thermodynamic state
specificEnthalpy_dTReturn specific enthalpy from d and T
specificEnthalpy_psReturn specific enthalpy from p and s
specificEnthalpy_psXReturn specific enthalpy from p, s, and X or Xi
specificEnthalpy_pTReturn specific enthalpy from p and T
specificEnthalpy_pTXReturn specific enthalpy from p, T, and X or Xi
SpecificEntropyType for specific entropy with medium specific attributes
specificEntropyReturn the specific entropy from the thermodynamic state
specificEntropy_pTXReturn specific enthalpy from p, T, and X or Xi
specificGibbsEnergyReturn specific Gibbs energy from the thermodynamic state
SpecificHeatCapacityType for specific heat capacity with medium specific attributes
specificHeatCapacityCpReturn specific heat capacity at constant volume
specificHeatCapacityCvReturn specific heat capacity at constant volume from the thermodynamic state
specificHelmholtzEnergyReturn specific Helmholtz energy from the thermodynamic state
SpecificInternalEnergyType for specific internal energy with medium specific attributes
specificInternalEnergyReturn the specific internal energy from the thermodynamic state
SurfaceTensionType for surface tension with medium specific attributes
T_phReturn temperature from pressure and specific enthalpy
T_psReturn temperature from pressure and specific entropy
TemperatureType for temperature with medium specific attributes
temperatureReturn the temperature from the thermodynamic state
temperature_phReturn temperature from p and h
temperature_phXReturn temperature from p, h, and X or Xi
temperature_psReturn temperature from p and s
temperature_psXReturn temperature from p,s, and X or Xi
ThermalConductivityType for thermal conductivity with medium specific attributes
thermalConductivityThermal conductivity of water
ThermodynamicStateA selection of variables that uniquely defines the thermodynamic state
TwoPhaseThe two phase fluid version of a record used in several degrees of detail
VelocityOfSoundType for velocity of sound with medium specific attributes
velocityOfSoundReturn velocity of sound from the thermodynamic state

Package Constants

TypeNameValueDescription
IsobaricExpansionCoefficientbeta_constModelica.Media.Water.StandardWater.isobaricExpansionCoefficient(state)Thermal expansion coefficient at constant pressure
ExtraPropertyC_default[nC]fill(0, nC)Default value for trace substances of medium (for initialization)
RealC_nominal[nC]1e-6 * ones(nC)Default for the nominal values for the extra properties
BooleanconstantJacobiantrueIf true, entries in thermodynamic Jacobian are constant, taken at reference conditions
SpecificHeatCapacitycp_constModelica.Media.Water.StandardWater.specificHeatCapacityCp(state)Specific heat capacity at constant pressure
StringextraPropertiesNames[:]fill("", 0)Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused
final BooleanfixedXtrue= true if medium contains the equation X = reference_X
SpecificEnthalpyh_defaultspecificEnthalpy_pTX(p_default, T_default, X_default)Default value for specific enthalpy of medium (for initialization)
IsothermalCompressibilitykappa_constModelica.Media.Water.StandardWater.isothermalCompressibility(state)Isothermal compressibility
StringmediumName"unusablePartialMedium"Name of the medium
MolarMassMM_constModelica.Media.Water.StandardWater.molarMass(state)Molar mass
final IntegernCsize(extraPropertiesNames, 1)Number of extra (outside of standard mass-balance) transported properties
final IntegernSsize(substanceNames, 1)Number of substances
IntegernXnSNumber of mass fractions
IntegernXiif fixedX then 0 else if reducedX then nS - 1 else nSNumber of structurally independent mass fractions (see docu for details)
AbsolutePressurep_default101325Default value for pressure of medium (for initialization)
final BooleanreducedXtrue= true if medium contains the equation sum(X) = 1.0; set reducedX=true if only one substance (see docu for details)
Densityreference_dModelica.Media.Water.StandardWater.density(state)Density in reference conditions
SpecificEnthalpyreference_hModelica.Media.Water.StandardWater.specificEnthalpy(state)Specific enthalpy in reference conditions
AbsolutePressurereference_p101325Reference pressure of Medium: default 1 atmosphere
SpecificEntropyreference_sModelica.Media.Water.StandardWater.specificEntropy(state)Specific entropy in reference conditions
Temperaturereference_T298.15Reference temperature of Medium: default 25 deg Celsius
MassFractionreference_X[nX]fill(nX ^ (-1), nX)Default mass fractions of medium
BooleansingleStatefalse= true, if u and d are not a function of pressure
ThermodynamicStatestateModelica.Media.Water.StandardWater.setState_pT(reference_p, reference_T) 
StringsubstanceNames[:]{mediumName}Names of the mixture substances. Set substanceNames={mediumName} if only one substance.
TemperatureT_defaultModelica.SIunits.Conversions.from_degC(20)Default value for temperature of medium (for initialization)
IndependentVariablesThermoStatesModelica.​Media.​Interfaces.​Choices.​IndependentVariables.​pTXEnumeration type for independent variables
MassFractionX_default[nX]reference_XDefault value for mass fractions of medium (for initialization)

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​AbsolutePressure
Type for absolute pressure with medium specific attributes

Extends from Modelica.​SIunits.​AbsolutePressure.

Attributes

NameValue
quantity"Pressure"
unit"Pa"
displayUnit"bar"
min0
max1e+8
start100000
nominal100000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​Density
Type for density with medium specific attributes

Extends from Modelica.​SIunits.​Density.

Attributes

NameValue
quantity"Density"
unit"kg/m3"
displayUnit"g/cm3"
min0
max100000
start1
nominal1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DynamicViscosity
Type for dynamic viscosity with medium specific attributes

Extends from Modelica.​SIunits.​DynamicViscosity.

Attributes

NameValue
quantity"DynamicViscosity"
unit"Pa.s"
min0
max1e+8
start0.001
nominal0.001

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​EnthalpyFlowRate
Type for enthalpy flow rate with medium specific attributes

Extends from Modelica.​SIunits.​EnthalpyFlowRate.

Attributes

NameValue
quantity"EnthalpyFlowRate"
unit"W"
min-1e+8
max1e+8
start0.
nominal1000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​MassFraction
Type for mass fraction with medium specific attributes

Extends from Real.

Attributes

NameValue
quantity"MassFraction"
unit"kg/kg"
min0
max1
start0.
nominal0.1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​MoleFraction
Type for mole fraction with medium specific attributes

Extends from Real.

Attributes

NameValue
quantity"MoleFraction"
unit"mol/mol"
min0
max1
start0.
nominal0.1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​MolarMass
Type for molar mass with medium specific attributes

Extends from Modelica.​SIunits.​MolarMass.

Attributes

NameValue
quantity"MolarMass"
unit"kg/mol"
min0.001
max0.25
start0.
nominal0.032

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​MolarVolume
Type for molar volume with medium specific attributes

Extends from Modelica.​SIunits.​MolarVolume.

Attributes

NameValue
quantity"MolarVolume"
unit"m3/mol"
min1e-6
max1000000
start0.
nominal1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​IsentropicExponent
Type for isentropic exponent with medium specific attributes

Extends from Modelica.​SIunits.​RatioOfSpecificHeatCapacities.

Attributes

NameValue
quantity"RatioOfSpecificHeatCapacities"
unit"1"
min1
max500000
start1.2
nominal1.2

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SpecificEnergy
Type for specific energy with medium specific attributes

Extends from Modelica.​SIunits.​SpecificEnergy.

Attributes

NameValue
quantity"SpecificEnergy"
unit"J/kg"
min-1e+8
max1e+8
start0.
nominal1000000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SpecificInternalEnergy
Type for specific internal energy with medium specific attributes

Extends from Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SpecificEnergy (Type for specific energy with medium specific attributes).

Attributes

NameValue
quantity"SpecificEnergy"
unit"J/kg"
min-1e+8
max1e+8
start0.
nominal1000000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SpecificEnthalpy
Type for specific enthalpy with medium specific attributes

Extends from Modelica.​SIunits.​SpecificEnthalpy.

Attributes

NameValue
quantity"SpecificEnergy"
unit"J/kg"
min-1e+10
max1e+10
start0.
nominal1000000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SpecificEntropy
Type for specific entropy with medium specific attributes

Extends from Modelica.​SIunits.​SpecificEntropy.

Attributes

NameValue
quantity"SpecificEntropy"
unit"J/(kg.K)"
min-1e+7
max1e+7
start0.
nominal1000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SpecificHeatCapacity
Type for specific heat capacity with medium specific attributes

Extends from Modelica.​SIunits.​SpecificHeatCapacity.

Attributes

NameValue
quantity"SpecificHeatCapacity"
unit"J/(kg.K)"
min0
max1e+7
start1000
nominal1000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SurfaceTension
Type for surface tension with medium specific attributes

Extends from Modelica.​SIunits.​SurfaceTension.

Attributes

NameValue
quantity"SurfaceTension"
unit"N/m"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​Temperature
Type for temperature with medium specific attributes

Extends from Modelica.​SIunits.​Temperature.

Attributes

NameValue
quantity"ThermodynamicTemperature"
unit"K"
displayUnit"degC"
min1
max10000
start288.15
nominal300

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​ThermalConductivity
Type for thermal conductivity with medium specific attributes

Extends from Modelica.​SIunits.​ThermalConductivity.

Attributes

NameValue
quantity"ThermalConductivity"
unit"W/(m.K)"
min0
max500
start1
nominal1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​PrandtlNumber
Type for Prandtl number with medium specific attributes

Extends from Modelica.​SIunits.​PrandtlNumber.

Attributes

NameValue
quantity"PrandtlNumber"
unit"1"
min0.001
max100000
start0.
nominal1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​VelocityOfSound
Type for velocity of sound with medium specific attributes

Extends from Modelica.​SIunits.​Velocity.

Attributes

NameValue
quantity"Velocity"
unit"m/s"
min0
max100000
start1000
nominal1000

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​ExtraProperty
Type for unspecified, mass-specific property transported by flow

Extends from Real.

Attributes

NameValue
min0
maxModelica.Constants.inf
start1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​CumulativeExtraProperty
Type for conserved integral of unspecified, mass specific property

Extends from Real.

Attributes

NameValue
min0
maxModelica.Constants.inf
start1

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​ExtraPropertyFlowRate
Type for flow rate of unspecified, mass-specific property

Extends from Real.

Attributes

NameValue
unit"kg/s"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​IsobaricExpansionCoefficient
Type for isobaric expansion coefficient with medium specific attributes

Extends from Real.

Attributes

NameValue
unit"1/K"
min0
max1e+8
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DipoleMoment
Type for dipole moment with medium specific attributes

Extends from Real.

Attributes

NameValue
quantity"ElectricDipoleMoment"
unit"debye"
min0
max2
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DerDensityByPressure
Type for partial derivative of density with respect to pressure with medium specific attributes

Extends from Modelica.​SIunits.​DerDensityByPressure.

Attributes

NameValue
unit"s2/m2"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DerDensityByEnthalpy
Type for partial derivative of density with respect to enthalpy with medium specific attributes

Extends from Modelica.​SIunits.​DerDensityByEnthalpy.

Attributes

NameValue
unit"kg.s2/m5"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DerEnthalpyByPressure
Type for partial derivative of enthalpy with respect to pressure with medium specific attributes

Extends from Modelica.​SIunits.​DerEnthalpyByPressure.

Attributes

NameValue
unit"J.m.s2/kg2"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DerDensityByTemperature
Type for partial derivative of density with respect to temperature with medium specific attributes

Extends from Modelica.​SIunits.​DerDensityByTemperature.

Attributes

NameValue
unit"kg/(m3.K)"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​DerTemperatureByPressure
Type for partial derivative of temperature with respect to pressure with medium specific attributes

Extends from Real.

Attributes

NameValue
unit"K/Pa"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Record Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​SaturationProperties
Saturation properties of two phase medium

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
AbsolutePressurepsatSaturation pressure
TemperatureTsatSaturation temperature

Record Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​FluidLimits
Validity limits for fluid model

Information

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

Fields

TypeNameDescription
TemperatureTMINMinimum temperature
TemperatureTMAXMaximum temperature
DensityDMINMinimum density
DensityDMAXMaximum density
AbsolutePressurePMINMinimum pressure
AbsolutePressurePMAXMaximum pressure
SpecificEnthalpyHMINMinimum enthalpy
SpecificEnthalpyHMAXMaximum enthalpy
SpecificEntropySMINMinimum entropy
SpecificEntropySMAXMaximum entropy

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​FixedPhase
Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use

Extends from Integer.

Attributes

NameValue
min0
max2
start0

Record Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​FluidConstants
Critical, triple, molecular and other standard data of fluid

Information

This icon is indicates a record.

Extends from Modelica.​Media.​Interfaces.​Types.​Basic.​FluidConstants (Critical, triple, molecular and other standard data of fluid).

Fields

TypeNameDescription
StringiupacNameComplete IUPAC name (or common name, if non-existent)
StringcasRegistryNumberChemical abstracts sequencing number (if it exists)
StringchemicalFormulaChemical formula, (brutto, nomenclature according to Hill
StringstructureFormulaChemical structure formula
MolarMassmolarMassMolar mass

Record Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​ThermodynamicState
A selection of variables that uniquely defines the thermodynamic state

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
AbsolutePressurepAbsolute pressure of medium
TemperatureTTemperature of medium

Model Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​BaseProperties
Base properties of medium

Information

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 independent mass fractions m_i/m
R J/kg.K gas constant
M 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.0 specification.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​BaseProperties.

Parameters

TypeNameDefaultDescription
BooleanpreferredMediumStatesfalse= true if StateSelect.prefer shall be used for the independent property variables of the medium
final BooleanstandardOrderComponentstrueIf true, and reducedX = true, the last element of X will be computed from the other ones

Connectors

TypeNameDescription
input InputAbsolutePressurepAbsolute pressure of medium
input InputMassFractionXi[nXi]Structurally independent mass fractions
input InputSpecificEnthalpyhSpecific enthalpy of medium

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_pTX
Set the thermodynamic state record from p and T (X not needed)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​setState_pTX (Return thermodynamic state as function of p, T and composition X or Xi).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_phX
Set the thermodynamic state record from p and h (X not needed)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​setState_phX (Return thermodynamic state as function of p, h and composition X or Xi).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_psX
Set the thermodynamic state record from p and s (X not needed)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​setState_psX (Return thermodynamic state as function of p, s and composition X or Xi).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_dTX
Set the thermodynamic state record from d and T (X not needed)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​setState_dTX (Return thermodynamic state as function of d, T and composition X or Xi).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setSmoothState
Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b

Information

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.​PartialPureSubstance.​setSmoothState (Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b).

Inputs

TypeNameDescription
Realxm_flow or dp
ThermodynamicStatestate_aThermodynamic state if x > 0
ThermodynamicStatestate_bThermodynamic state if x < 0
Realx_smallSmooth transition in the region -x_small < x < x_small

Outputs

TypeNameDescription
ThermodynamicStatestateSmooth thermodynamic state for all x (continuous and differentiable)

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​dynamicViscosity
Dynamic viscosity of water

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​CompressibleLiquids.​Common.​LinearWater_pT.​dynamicViscosity (Return dynamic viscosity).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DynamicViscosityetaDynamic viscosity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​thermalConductivity
Thermal conductivity of water

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​CompressibleLiquids.​Common.​LinearWater_pT.​thermalConductivity (Return thermal conductivity).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
ThermalConductivitylambdaThermal conductivity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​prandtlNumber
Return the Prandtl number

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
PrandtlNumberPrPrandtl number

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​pressure
Return the pressure from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​pressure (Return pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
AbsolutePressurepPressure

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​temperature
Return the temperature from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​temperature (Return temperature).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density
Return the density from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​density (Return density).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEnthalpy
Return the specific enthalpy from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificEnthalpy (Return specific enthalpy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificInternalEnergy
Return the specific internal energy from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificInternalEnergy (Return specific internal energy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnergyuSpecific internal energy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEntropy
Return the specific entropy from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificEntropy (Return specific entropy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificGibbsEnergy
Return specific Gibbs energy from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificGibbsEnergy (Return specific Gibbs energy) and Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnergygSpecific Gibbs energy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificHelmholtzEnergy
Return specific Helmholtz energy from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificHelmholtzEnergy (Return specific Helmholtz energy) and Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnergyfSpecific Helmholtz energy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificHeatCapacityCp
Return specific heat capacity at constant volume

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificHeatCapacityCp (Return specific heat capacity at constant pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity at constant pressure

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​heatCapacity_cp
Alias for deprecated name

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificHeatCapacityCp (Return specific heat capacity at constant volume).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity at constant pressure

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificHeatCapacityCv
Return specific heat capacity at constant volume from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​specificHeatCapacityCv (Return specific heat capacity at constant volume).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity at constant volume

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​heatCapacity_cv
Alias for deprecated name

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificHeatCapacityCv (Return specific heat capacity at constant volume from the thermodynamic state).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity at constant volume

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​isentropicExponent
Return isentropic exponent from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​isentropicExponent (Return isentropic exponent) and Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsentropicExponentgammaIsentropic exponent

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​isentropicEnthalpy
Return isentropic enthalpy

Information

A minor approximation is used: the reference density is used instead of the real one, which would require a numeric solution.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​isentropicEnthalpy (Return isentropic enthalpy).

Inputs

TypeNameDescription
AbsolutePressurep_downstreamDownstream pressure
ThermodynamicStaterefStateReference state for entropy

Outputs

TypeNameDescription
SpecificEnthalpyh_isIsentropic enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​velocityOfSound
Return velocity of sound from the thermodynamic state

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​velocityOfSound (Return velocity of sound) and Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
VelocityOfSoundaVelocity of sound

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​isobaricExpansionCoefficient
Return the isobaric expansion coefficient

Information

beta is defined as  1/v * der(v,T), with v = 1/d, at constant pressure p.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​isobaricExpansionCoefficient (Return overall the isobaric expansion coefficient beta).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsobaricExpansionCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​beta
Alias for isobaricExpansionCoefficient for user convenience

Information

beta is defined as  1/v * der(v,T), with v = 1/d, at constant pressure p.

Extends from Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​isobaricExpansionCoefficient (Return the isobaric expansion coefficient).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsobaricExpansionCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​isothermalCompressibility
Return the isothermal compressibility kappa

Information


kappa is defined as - 1/v * der(v,p), with v = 1/d at constant temperature T.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​isothermalCompressibility (Return overall the isothermal compressibility factor).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​kappa
Alias of isothermalCompressibility for user convenience

Information


kappa is defined as - 1/v * der(v,p), with v = 1/d at constant temperature T.

Extends from Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​isothermalCompressibility (Return the isothermal compressibility kappa).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_derp_h
Return density derivative w.r.t. pressure at const specific enthalpy

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​density_derp_h (Return density derivative w.r.t. pressure at const specific enthalpy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByPressureddphDensity derivative w.r.t. pressure

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_derh_p
Return density derivative w.r.t. specific enthalpy at constant pressure

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​density_derh_p (Return density derivative w.r.t. specific enthalpy at constant pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByEnthalpyddhpDensity derivative w.r.t. specific enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_derp_T
Return density derivative w.r.t. pressure at const temperature

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​density_derp_T (Return density derivative w.r.t. pressure at const temperature).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByPressureddpTDensity derivative w.r.t. pressure

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_derT_p
Return density derivative w.r.t. temperature at constant pressure

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​density_derT_p (Return density derivative w.r.t. temperature at constant pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByTemperatureddTpDensity derivative w.r.t. temperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_derX
Returns the partial derivative of density with respect to mass fractions at constant pressure and temperature

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​density_derX (Return density derivative w.r.t. mass fraction).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DensitydddX[nX]Derivative of density w.r.t. mass fraction

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​molarMass
Return molar mass

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​molarMass (Return the molar mass of the medium).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
MolarMassMMMixture molar mass

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEnthalpy_pTX
Return specific enthalpy from p, T, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEntropy_pTX
Return specific enthalpy from p, T, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_pTX
Return density from p, T, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​temperature_phX
Return temperature from p, h, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_phX
Return density from p, h, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​temperature_psX
Return temperature from p,s, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_psX
Return density from p, s, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEnthalpy_psX
Return specific enthalpy from p, s, and X or Xi

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Type Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​MassFlowRate
Type for mass flow rate with medium specific attributes

Extends from Modelica.​SIunits.​MassFlowRate.

Attributes

NameValue
quantity"MassFlowRate." + mediumName
unit"kg/s"
min-100000
max100000
start0.

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_pT
Return thermodynamic state from p and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_ph
Return thermodynamic state from p and h

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_ps
Return thermodynamic state from p and s

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​setState_dT
Return thermodynamic state from d and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_ph
Return density from p and h

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​temperature_ph
Return temperature from p and h

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​pressure_dT
Return pressure from d and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature

Outputs

TypeNameDescription
AbsolutePressurepPressure

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEnthalpy_dT
Return specific enthalpy from d and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEnthalpy_ps
Return specific enthalpy from p and s

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​temperature_ps
Return temperature from p and s

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_ps
Return density from p and s

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​specificEnthalpy_pT
Return specific enthalpy from p and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​density_pT
Return density from p and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​T_ph
Return temperature from pressure and specific enthalpy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy
AbsolutePressurepPressure

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​CompressibleLiquids.​LinearWater_pT_Ambient.​T_ps
Return temperature from pressure and specific entropy

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
TemperatureTTemperature

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