recordThermoBaseVars
Extends from Modelica.Icons.Record (Icon for records).
Information
Model description
ThermoBaseVars is inherited by all medium property models and by all models defining the dynamic states for the conservation of mass and energy. Thus it is a good choice as a restricting class for any medium model or dynamic state model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | Discretization number | |
| Integer | nspecies | Number of species |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Pressure | |
| SI.Temperature | T | Temperature | |
| SI.Density | d | Density | |
| SI.SpecificEnthalpy | h | Specific enthalpy | |
| SI.SpecificEntropy | s | Specific entropy | |
| SI.RatioOfSpecificHeatCapacities | kappa | Ratio of cp/cv | |
| SI.Mass | M | Total mass | |
| SI.Energy | U | Inner energy | |
| SI.MassFlowRate | dM | Change in total mass | |
| SI.Power | dU | Change in inner energy | |
| SI.Volume | V | Volume | |
| SI.MassFraction | mass_x | Mass fraction | |
| SI.MoleFraction | mole_y | Mole fraction | |
| SI.Mass | M_x | Component mass | |
| SI.MassFlowRate | dM_x | Rate of change in component mass | |
| MolarFlowRate | dZ | Rate of change in component moles | |
| MolarFlowRate | rZ | Reaction(source) mole rates | |
| SI.MolarMass | MM | Molar mass of mixture | |
| SI.AmountOfSubstance | Moles | Total moles | |
| SI.AmountOfSubstance | Moles_z | Mole vector |