packageR134a

R134a

Extends from MultiPhaseMixture.Templates.ExternalTwoPhaseMixture, MultiPhaseMixture.Icons.Media.

Parameters

TypeNameDefaultDescription
PropertySetupInformationsetupInfo (from ExternalTwoPhaseMixture)
BooleanprintExternalFunctionCall (from ExternalTwoPhaseMixture)falsePrint function calls to log if true
MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObjecteo (from ExternalTwoPhaseMixture)MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject(setupInfo)
StringmediumName (from Interfaces)"unusablePartialMedium"Name of the medium
String[:]substanceNames (from Interfaces){mediumName}Array of substance names
IntegernC (from Interfaces)size(substanceNames, 1)Number of compounds
Modelica.SIunits.MolarMassMMX (from Interfaces)Array of molar mass for each compound
IntegernP (from Interfaces)2Number of potential phases
Phasesphases (from Interfaces)List of supported phases with additional information
Modelica.SIunits.MassFractionreference_X (from Interfaces)fill(1/nC, nC)Reference mass fractions
Modelica.SIunits.MoleFractionreference_Y (from Interfaces)fill(1/nC, nC)Reference molar fraction
Modelica.SIunits.AbsolutePressurep_default (from Interfaces)101325Default value for pressure of medium (for initialization)
Modelica.SIunits.TemperatureT_default (from Interfaces)300Default value for temperature of medium (for initialization)
BooleanexcludeEnthalpyOfFormation (from Interfaces)trueIf true, enthalpy of formation Hf is not included in specific enthalpy h
BooleanexternalEquilibriumSolver (from Interfaces)External equilibrium solver provided, may be used to have a different application implementation
IntegerPhaseLabelLiquid (from Interfaces)getPhaseIndex("Liquid")Index of phase Liquid
IntegerPhaseLabelOverall (from Interfaces)0Overall phase label
IntegerPhaseLabelVapor (from Interfaces)getPhaseIndex("Vapor")Index of phase Vapor

Contents

NameDescription
ThermoProperties
Properties
MultiPhaseProperties