packagePartialAlloy
Partial material properties (base package of all material packages)
Extends from Modelica.Media.Interfaces.Types (Types to be used in fluid models), Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).
Information
PartialMedium is a package and contains all declarations for a medium. This means that constants, models, and functions are defined that every medium is supposed to support (some of them are optional). A medium package inherits from PartialMedium and provides the equations for the medium. The details of this package are described in Modelica.Media.UsersGuide.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | mediumName | "unusablePartialMedium" | Name of the medium |
| String[:] | substanceNames | {mediumName} | Names of the mixture substances. Set substanceNames={mediumName} if only one substance. |
| Modelica.Media.Interfaces.Types.Temperature | T_reference | 298.15 | Reference temperature of Medium: default 25 deg Celsius |
| Modelica.Media.Interfaces.Types.SpecificEnthalpy | h_reference | 0 | Reference enthalpy at T_reference |
| Temperature | T_default | 293.15 | Default value for temperature of medium (for initialization) |
| SpecificEnthalpy | h_default | specificEnthalpy_T(T_default) | Default value for specific enthalpy of medium (for initialization) |
Contents
| Name | Description |
|---|---|
| Minimal variable set that is available as input argument to every medium function | |
| BaseProperties | Base properties (d, T, h, u, MM) of a medium |
| Return thermodynamic state as function of T | |
| Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b | |
| Return temperature | |
| Return density | |
| Return specific enthalpy | |
| Return specific internal energy | |
| Return specific heat capacity at constant pressure | |
| Return thermal conductivity | |
| Return the molar mass of the medium | |
| linearExpansionCoefficient | Linear expansion coefficient |
| emissivity | Emissivity |
| electricalResistivity | Electrical resistivity |
| Return specific enthalpy from T | |
| Return density from T | |
| Return specific heat capacity at constant pressure from T | |
| Return thermal conductivity from T |