Medium models in this package use the gas law d/dstp = p/pstp where pstd and dstp are constants for a reference temperature and density instead of the ideal gas law ρ = p ⁄(R T).
This new formulation often leads to smaller systems of nonlinear equations because pressure and temperature are decoupled, at the expense of accuracy.
Note that models in this package implement the equation for the internal energy as
u = h - pstp ⁄ ρstp,
where u is the internal energy per unit mass, h is the enthalpy per unit mass, pstp is the static pressure and ρstp is the mass density at standard pressure and temperature. The reason for this implementation is that in general,h = u + p v,
from which follows thatu = h - p v = h - p ⁄ ρ = h - pstp ⁄ ρstd,
because p ⁄ ρ = pstp ⁄ ρstp in this medium model.Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).
Name | Description |
---|---|
Examples | Collection of models that illustrate model use and test models |
MoistAir | Package with moist air model that decouples pressure and temperature |
MoistAirUnsaturated | Package with moist air model that decouples pressure and temperature and that has no liquid water |
SimpleAir | Package with dry air model that decouples pressure and temperature |