packageC2H5OH_Water_Vap

2 components: C2H5OH, H2O

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

Information

Parameters

TypeNameDefaultDescription
SI.Temperature[nS]Tcrit_user{513.9, 647.3}
Integer[:]henry{0}
SI.Pressure[:]henry_H{0, 0}Henry coefficient
Real[:]henry_C{0, 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
Testmodell
EvaporationEnthalpy
CalcSpecificEnthalpy