packageN2_H2O

2 components: N2, H2O

Extends from ThermalSeparation.Media.IdealGasMixtures.BaseClasses.BaseIdealGasMixture.

Information

This model calculates the medium properties for single component ideal gases.

Sources for model and literature:
Original Data: Computer program for calculation of complex chemical equilibrium compositions and applications. Part 1: Analysis Document ID: 19950013764 N (95N20180) File Series: NASA Technical Reports Report Number: NASA-RP-1311 E-8017 NAS 1.61:1311 Authors: Gordon, Sanford (NASA Lewis Research Center) Mcbride, Bonnie J. (NASA Lewis Research Center) Published: Oct 01, 1994.

Known limits of validity:
The data is valid for temperatures between 200 K and 6000 K. A few of the data sets for monatomic gases have a discontinuous 1st derivative at 1000 K, but this never caused problems so far.

This model has been copied from the ThermoFluid library. It has been developed by Hubertus Tummescheit.

Parameters

TypeNameDefaultDescription
Integer[:]henry{1}
SI.Pressure[:]henry_H{8.51e9, 0}Henry coefficient
Real[:]henry_C{1300, 0}constant to calculate temperature dependency
SI.Temperaturehenry_T_norm298norm temperature
IntegernSubstance (from BaseMediumVapour)2number of substances
SI.Volume[nSubstance]V (from BaseMediumVapour)diffusion volumes, Taylor p. 69
Integer[nSubstance]eq_Tsonopoulos (from BaseMediumVapour)no. of equation for equation a and b in Table 4-5 in Properties of Gases and Liquids, 5th ed.
Real[nSubstance]sigma (from BaseMediumVapour)surface tension
Real[nSubstance]epsilon_k (from BaseMediumVapour)Lennard-Jones force constant (epsilon/k), constant value
SI.MolarMassMMX (from BaseMediumVapour)molar masses of components
Booleandelta_hv_medium (from BaseMediumVapour)truetrue, if evaporation enthalpy is considered in medium model
ThermalSeparation.Media.IdealGasMixtures.BaseClasses.Common.DataRecorddata (from BaseIdealGasMixture)
StringmediumName (from BaseIdealGasMixture)"unusablePartialMedium"Name of the medium
String[:]extraPropertiesNames (from BaseIdealGasMixture)fill("", 0)Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused
BooleansingleState (from BaseIdealGasMixture)false= true, if u and d are not a function of pressure
BooleanreducedX (from BaseIdealGasMixture)false= true if medium contains the equation sum(X) = 1.0; set reducedX=true if only one substance (see docu for details)
BooleanfixedX (from BaseIdealGasMixture)false= true if medium contains the equation X = reference_X
AbsolutePressurereference_p (from BaseIdealGasMixture)101325Reference pressure of Medium: default 1 atmosphere
Temperaturereference_T (from BaseIdealGasMixture)298.15Reference temperature of Medium: default 25 deg Celsius
MassFraction[nX]reference_X (from BaseIdealGasMixture)if nX == 0 then fill(0, nX) else fill(1/nX, nX)Default mass fractions of medium
AbsolutePressurep_default (from BaseIdealGasMixture)101325Default value for pressure of medium (for initialization)
TemperatureT_default (from BaseIdealGasMixture)Modelica.Units.Conversions.from_degC(20)Default value for temperature of medium (for initialization)
SpecificEnthalpyh_default (from BaseIdealGasMixture)ThermalSeparation.Media.IdealGasMixtures.BaseClasses.BaseIdealGasMixture.specificEnthalpy_pTX(p_default, T_default, X_default)Default value for specific enthalpy of medium (for initialization)
MassFraction[nX]X_default (from BaseIdealGasMixture)reference_XDefault value for mass fractions of medium (for initialization)
IntegernS (from BaseIdealGasMixture)Number of substances
IntegernX (from BaseIdealGasMixture)nSNumber of mass fractions (= 0, if only one substance)
IntegernXi (from BaseIdealGasMixture)if fixedX then 0 else if reducedX then nS - 1 else nXNumber of structurally independent mass fractions (see docu for details)
IntegernC (from BaseIdealGasMixture)size(extraPropertiesNames, 1)Number of extra (outside of standard mass-balance) transported properties
SI.Temperature[nX]Tcrit (from BaseIdealGasMixture)critTemp()
SI.Pressure[nX]pcrit (from BaseIdealGasMixture)critPressure()
SI.MolarVolume[nX]Vcrit (from BaseIdealGasMixture)critVolume()
Real[nX]omega (from BaseIdealGasMixture)acentricFac()
DipoleMoment[nX]mu (from BaseIdealGasMixture)dipoleMoment()
Real[nX]R_const (from BaseIdealGasMixture)
BooleanexcludeEnthalpyOfFormation (from BaseIdealGasMixture)trueIf true, enthalpy of formation Hf is not included in specific enthalpy h
Choices.ReferenceEnthalpy.TempreferenceChoice (from BaseIdealGasMixture)Choices.ReferenceEnthalpy.ZeroAt0KChoice of reference enthalpy
SpecificEnthalpyh_offset (from BaseIdealGasMixture)0.0User defined offset for reference enthalpy, if referenceChoice = UserDefined
FluidConstantsfluidConstants (from BaseIdealGasMixture)constant data for the fluid

Contents

NameDescription
BaseProperties
CalcSpecificEnthalpy
EvaporationEnthalpy