packageEthyleneOxide

Extends from FreeFluids.ExternalPure.ExternalMedium.

Parameters

TypeNameDefaultDescription
Modelica.Media.Interfaces.Choices.IndependentVariablesThermoStates (from PartialMedium)Enumeration type for independent variables
StringmediumName (from PartialMedium)"unusablePartialMedium"Name of the medium
String[:]substanceNames (from PartialMedium){mediumName}Names of the mixture substances. Set substanceNames={mediumName} if only one substance.
String[:]extraPropertiesNames (from PartialMedium)fill("", 0)Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused
BooleansingleState (from PartialMedium)= true, if u and d are not a function of pressure
BooleanreducedX (from PartialMedium)true= true, if medium contains the equation sum(X) = 1.0; set reducedX=true, if only one substance (see docu for details)
BooleanfixedX (from PartialMedium)false= true, if medium contains the equation X = reference_X
AbsolutePressurereference_p (from PartialMedium)101325Reference pressure of Medium: default 1 atmosphere
Temperaturereference_T (from PartialMedium)298.15Reference temperature of Medium: default 25 deg Celsius
MassFraction[nX]reference_X (from PartialMedium)fill(1/nX, nX)Default mass fractions of medium
AbsolutePressurep_default (from PartialMedium)101325Default value for pressure of medium (for initialization)
TemperatureT_default (from PartialMedium)Modelica.Units.Conversions.from_degC(20)Default value for temperature of medium (for initialization)
SpecificEnthalpyh_default (from PartialMedium)specificEnthalpy_pTX(p_default, T_default, X_default)Default value for specific enthalpy of medium (for initialization)
MassFraction[nX]X_default (from PartialMedium)reference_XDefault value for mass fractions of medium (for initialization)
ExtraProperty[nC]C_default (from PartialMedium)fill(0, nC)Default value for trace substances of medium (for initialization)
IntegernS (from PartialMedium)size(substanceNames, 1)Number of substances
IntegernX (from PartialMedium)nSNumber of mass fractions
IntegernXi (from PartialMedium)if fixedX then 0 else if reducedX then nS - 1 else nSNumber of structurally independent mass fractions (see docu for details)
IntegernC (from PartialMedium)size(extraPropertiesNames, 1)Number of extra (outside of standard mass-balance) transported properties
Real[nC]C_nominal (from PartialMedium)1.0e-6*ones(nC)Default for the nominal values for the extra properties
BooleansmoothModel (from PartialTwoPhaseMedium)false= true, if the (derived) model should not generate state events
BooleanonePhase (from PartialTwoPhaseMedium)false= true, if the (derived) model should never be called with two-phase inputs
FluidConstantsfluidConstants (from PartialTwoPhaseMedium)Constant data for the fluid
StringrefName (from ExternalMedium)"Propane"name of the reference fluid for ECS calculations. Defaults to propane
StringresDir (from ExternalMedium)Modelica.Utilities.Files.loadResource("modelica://FreeFluids/Resources")resources directory
FluidConstantsfluidK (from ExternalMedium)just for minimum data out of the SubstanceData external object
Stringdescription (from ExternalMedium)" "Description of the EOS and correlations used for the substance
IntegerrefState (from ExternalMedium)11=ASHRAE, 2=IIR, 3=NBP, >3=User. When user, the value at reference_T and reference_p as 0
StringinputChoice (from ExternalMedium)"ph"Allows to choose the input variables to use for the construction of a BaseProperties object. alternatives: ph,pT,dT
IntegerthermoModel (from ExternalMedium)11 for cubic EOS; 2 for SAFT; 3 Saltzmann and Wagner. All transport properties will be computed by correlations
Integerancillaries (from ExternalMedium)0if 0 no ancillary function will be used, if 1 they will be used for cubic EOS, if 2 for SAFT, and if 3 for SW. It indicates for which EOS are the functions fitted
RealT_min (from ExternalMedium)150.0needed for compatibility with Buildings
RealTCri (from ExternalMedium)fluidK.criticalTemperatureneeded for compatibility with Buildings
RealpCri (from ExternalMedium)fluidK.criticalPressureneeded for compatibility with Buildings