modelThermoProperties
Base properties (p, d, T, h, u, X) of a medium
Extends from BaseProperties.
Information
Model that calculates overall common properties. For example of usage see MultiPhaseMixture.Information.UsersGuide.OverallProperties.
Balancing equations
In order for a model to be valid the user need to specify the value for 2 inputs + one composition vector. The input connector qualifier applied to p, h, and Z indirectly declares the number of missing equations, permitting advanced equation balance checking by a Modelica tool. For further information, see Section 4.7 (Balanced Models) of the Modelica 3.0 specification.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Inputs | |||
| Inputs | inputs (from BaseProperties) | Inputs.pTX | |
| Validity check | |||
| Boolean | checkValidity (from BaseProperties) | true | Check validity limits |
| Guess values | |||
| FlashProperties | init (from BaseProperties) | ||
| Optimization › Equilibrium calculation | |||
| Integer[:] | presentPhases | createPresentPhaseVector(phases.label) | Possible present phases |
| PresentPhasesStatus | presentPhasesStatus | PresentPhasesStatus.Unknown | Status of possible present phases |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| InputAbsolutePressure | p (from BaseProperties) | Absolute pressure | |
| Modelica.SIunits.Temperature | T (from BaseProperties) | Temperature | |
| Modelica.SIunits.Density | d (from BaseProperties) | Density | |
| InputSpecificEnthalpy | h (from BaseProperties) | Specific enthalpy | |
| InputMassFraction | Z (from BaseProperties) | Overall mass fractions (= (component mass)/total mass m_i/m) | |
| Modelica.SIunits.MolarDensity | dm (from BaseProperties) | Molar density | |
| Modelica.SIunits.MolarEnthalpy | hm (from BaseProperties) | Molar enthalpy of medium | |
| Modelica.SIunits.MoleFraction | Zm (from BaseProperties) | Overall mole fractions (= (component mole)/total mole mole_i/moles) | |
| Modelica.SIunits.AmountOfSubstance | N (from BaseProperties) | Overall molar substance (= component mole) | |
| Modelica.SIunits.SpecificInternalEnergy | u (from BaseProperties) | Specific internal energy of medium | |
| Modelica.SIunits.MolarInternalEnergy | um (from BaseProperties) | Molar internal energy of medium | |
| Modelica.SIunits.MolarMass | MM (from BaseProperties) | Molar mass |