Package Modelica.​Media.​Common.​ThermoFluidSpecial
Property records used by the ThermoFluid library

Information

Standard package icon.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
FixedIGPropertiesConstant properties for ideal gases
gibbsToBoundaryPropsCalculate phase boundary property record from dimensionless Gibbs function
gibbsToProps_dTCalculate property record for density and temperature as states from dimensionless Gibbs function
gibbsToProps_phCalculate property record for pressure and specific enthalpy as states from dimensionless Gibbs function
gibbsToProps_pTCalculate property record for pressure and temperature as states from dimensionless Gibbs function
helmholtzToProps_dTCalculate property record for density and temperature as states from dimensionless Helmholtz function
helmholtzToProps_phCalculate property record for pressure and specific enthalpy as states from dimensionless Helmholtz function
helmholtzToProps_pTCalculate property record for pressure and temperature as states from dimensionless Helmholtz function
ThermoBaseVars 
ThermoPropertiesThermodynamic base property data for all state models
ThermoProperties_dTThermodynamic property data for density d and temperature T as dynamic states
ThermoProperties_phThermodynamic property data for pressure p and specific enthalpy h as dynamic states
ThermoProperties_pTThermodynamic property data for pressure p and temperature T as dynamic states
TransportPropsRecord with transport properties
TwoPhaseToProps_dTCompute property record for density and temperature as states from saturation properties
TwoPhaseToProps_phCompute property record for pressure and specific enthalpy as states from saturation properties

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​FixedIGProperties
Constant properties for ideal gases

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
parameter IntegernspeciesNumber of components
MolarMassMM[nspecies]Molar mass of components
RealinvMM[nspecies]Inverse of molar mass of components
SpecificHeatCapacityR[nspecies]Gas constant
SpecificEnthalpyHf[nspecies]Enthalpy of formation at 298.15K
SpecificEnthalpyH0[nspecies]H0(298.15K) - H0(0K)

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​ThermoBaseVars
Icon for records

Information

Model description

ThermoBaseVars is inherited by all medium property models and by all models defining the dynamic states for the conservation of mass and energy. Thus it is a good choice as a restricting class for any medium model or dynamic state model.

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

Fields

TypeNameDescription
parameter IntegernDiscretization number
parameter IntegernspeciesNumber of species
Pressurep[n]Pressure
TemperatureT[n]Temperature
Densityd[n]Density
SpecificEnthalpyh[n]Specific enthalpy
SpecificEntropys[n]Specific entropy
RatioOfSpecificHeatCapacitieskappa[n]Ratio of cp/cv
MassM[n]Total mass
EnergyU[n]Inner energy
MassFlowRatedM[n]Change in total mass
PowerdU[n]Change in inner energy
VolumeV[n]Volume
MassFractionmass_x[n,nspecies]Mass fraction
MoleFractionmole_y[n,nspecies]Mole fraction
MassM_x[n,nspecies]Component mass
MassFlowRatedM_x[n,nspecies]Rate of change in component mass
MolarFlowRatedZ[n,nspecies]Rate of change in component moles
MolarFlowRaterZ[n,nspecies]Reaction(source) mole rates
MolarMassMM[n]Molar mass of mixture
AmountOfSubstanceMoles[n]Total moles
AmountOfSubstanceMoles_z[n,nspecies]Mole vector

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​ThermoProperties
Thermodynamic base property data for all state models

Information

Model description

A base class for medium property models which work with most of the versions of dynamic states that are available in the ThermoFluid library. Currently used by all ideal gas models.

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

Fields

TypeNameDescription
parameter IntegernspeciesNumber of species
TemperatureTTemperature
DensitydDensity
PressurepPressure
VolumeVVolume
SpecificEnthalpyhSpecific enthalpy
SpecificEnergyuSpecific inner energy
SpecificEntropysSpecific entropy
SpecificGibbsFreeEnergygSpecific Gibbs free energy
SpecificHeatCapacitycpHeat capacity at constant pressure
SpecificHeatCapacitycvHeat capacity at constant volume
SpecificHeatCapacityRGas constant
MolarMassMMMolar mass of mixture
MassFractionmass_x[nspecies]Mass fraction
MoleFractionmole_y[nspecies]Mole fraction
RatioOfSpecificHeatCapacitieskappaRatio of cp/cv
DerDensityByTemperatureddTpDerivative of density by temperature at constant pressure
DerDensityByPressureddpTDerivative of density by pressure at constant temperature
RealdupTDerivative of inner energy by pressure at constant T
RealdudTDerivative of inner energy by density at constant T
SpecificHeatCapacityduTpDerivative of inner energy by temperature at constant p
SpecificEnergyddx[nspecies]Derivative vector of density by change in mass composition
SpecificEnergycompu[nspecies]Inner energy of the components
Pressurecompp[nspecies]partial pressures of the components
VelocityaSpeed of sound
HeatCapacitydUTZDerivative of inner energy by temperature at constant moles
MolarInternalEnergydUZT[nspecies]Derivative of inner energy by moles at constant temperature
SpecificEnthalpydHMxT[nspecies]Derivative of total enthalpy w.r.t. component mass at constant T
RealdpTDerivative of pressure w.r.t. temperature
RealdpZ[nspecies]Derivative of pressure w.r.t. moles

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​ThermoProperties_ph
Thermodynamic property data for pressure p and specific enthalpy h as dynamic states

Information

Model description

A base class for medium property models which use pressure and enthalpy as dynamic states. This is the preferred model for fluids that can also be in the two phase and liquid regions.

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

Fields

TypeNameDescription
TemperatureTTemperature
DensitydDensity
SpecificEnergyuSpecific inner energy
SpecificEntropysSpecific entropy
SpecificHeatCapacitycpHeat capacity at constant pressure
SpecificHeatCapacitycvHeat capacity at constant volume
SpecificHeatCapacityRGas constant
RatioOfSpecificHeatCapacitieskappaRatio of cp/cv
VelocityaSpeed of sound
DerDensityByEnthalpyddhpDerivative of density by enthalpy at constant pressure
DerDensityByPressureddphDerivative of density by pressure at constant enthalpy
RealduphDerivative of inner energy by pressure at constant enthalpy
RealduhpDerivative of inner energy by enthalpy at constant pressure

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​ThermoProperties_pT
Thermodynamic property data for pressure p and temperature T as dynamic states

Information

Model description

A base class for medium property models which use pressure and temperature as dynamic states. This is a reasonable model for fluids that can also be in the gas and liquid regions, but never in the two-phase region.

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

Fields

TypeNameDescription
DensitydDensity
SpecificEnthalpyhSpecific enthalpy
SpecificEnergyuSpecific inner energy
SpecificEntropysSpecific entropy
SpecificHeatCapacitycpHeat capacity at constant pressure
SpecificHeatCapacitycvHeat capacity at constant volume
SpecificHeatCapacityRGas constant
RatioOfSpecificHeatCapacitieskappaRatio of cp/cv
VelocityaSpeed of sound
DerDensityByTemperatureddTpDerivative of density by temperature at constant pressure
DerDensityByPressureddpTDerivative of density by pressure at constant temperature
RealdupTDerivative of inner energy by pressure at constant T
SpecificHeatCapacityduTpDerivative of inner energy by temperature at constant p

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​ThermoProperties_dT
Thermodynamic property data for density d and temperature T as dynamic states

Information

Model description

A base class for medium property models which use density and temperature as dynamic states. This is a reasonable model for fluids that can be in the gas, liquid and two-phase region. The model is numerically not well suited for liquids except if the pressure is always above approx. 80% of the critical pressure.

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

Fields

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
SpecificEnergyuSpecific inner energy
SpecificEntropysSpecific entropy
SpecificHeatCapacitycpHeat capacity at constant pressure
SpecificHeatCapacitycvHeat capacity at constant volume
SpecificHeatCapacityRGas constant
RatioOfSpecificHeatCapacitieskappaRatio of cp/cv
VelocityaSpeed of sound
RealdudTDerivative of inner energy by density at constant T

Record Modelica.​Media.​Common.​ThermoFluidSpecial.​TransportProps
Record with transport properties

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
DynamicViscosityeta 
ThermalConductivitylam 

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​gibbsToProps_ph
Calculate property record for pressure and specific enthalpy as states from dimensionless Gibbs function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
GibbsDerivsgDimensionless derivatives of Gibbs function

Outputs

TypeNameDescription
ThermoProperties_phproProperty record for pressure and specific enthalpy as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​gibbsToBoundaryProps
Calculate phase boundary property record from dimensionless Gibbs function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
GibbsDerivsgDimensionless derivatives of Gibbs function

Outputs

TypeNameDescription
PhaseBoundaryPropertiessatPhase boundary properties

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​gibbsToProps_dT
Calculate property record for density and temperature as states from dimensionless Gibbs function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
GibbsDerivsgDimensionless derivatives of Gibbs function

Outputs

TypeNameDescription
ThermoProperties_dTproProperty record for density and temperature as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​gibbsToProps_pT
Calculate property record for pressure and temperature as states from dimensionless Gibbs function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
GibbsDerivsgDimensionless derivatives of Gibbs function

Outputs

TypeNameDescription
ThermoProperties_pTproProperty record for pressure and temperature as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​helmholtzToProps_ph
Calculate property record for pressure and specific enthalpy as states from dimensionless Helmholtz function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
HelmholtzDerivsfDimensionless derivatives of Helmholtz function

Outputs

TypeNameDescription
ThermoProperties_phproProperty record for pressure and specific enthalpy as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​helmholtzToProps_pT
Calculate property record for pressure and temperature as states from dimensionless Helmholtz function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
HelmholtzDerivsfDimensionless derivatives of Helmholtz function

Outputs

TypeNameDescription
ThermoProperties_pTproProperty record for pressure and temperature as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​helmholtzToProps_dT
Calculate property record for density and temperature as states from dimensionless Helmholtz function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
HelmholtzDerivsfDimensionless derivatives of Helmholtz function

Outputs

TypeNameDescription
ThermoProperties_dTproProperty record for density and temperature as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​TwoPhaseToProps_ph
Compute property record for pressure and specific enthalpy as states from saturation properties

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
ThermoProperties_phproProperty record for pressure and specific enthalpy as dynamic states

Function Modelica.​Media.​Common.​ThermoFluidSpecial.​TwoPhaseToProps_dT
Compute property record for density and temperature as states from saturation properties

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties

Outputs

TypeNameDescription
ThermoProperties_dTproProperty record for density and temperature as dynamic states

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