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

TypeNameDefaultDescription
StringmediumName"unusablePartialMedium"Name of the medium
String[:]substanceNames{mediumName}Names of the mixture substances. Set substanceNames={mediumName} if only one substance.
Modelica.Media.Interfaces.Types.TemperatureT_reference298.15Reference temperature of Medium: default 25 deg Celsius
Modelica.Media.Interfaces.Types.SpecificEnthalpyh_reference0Reference enthalpy at T_reference
TemperatureT_default293.15Default value for temperature of medium (for initialization)
SpecificEnthalpyh_defaultspecificEnthalpy_T(T_default)Default value for specific enthalpy of medium (for initialization)

Contents

NameDescription
ThermodynamicStateMinimal variable set that is available as input argument to every medium function
BasePropertiesBase properties (d, T, h, u, MM) of a medium
setState_TReturn thermodynamic state as function of T
setSmoothStateReturn thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b
temperatureReturn temperature
densityReturn density
specificEnthalpyReturn specific enthalpy
specificInternalEnergyReturn specific internal energy
specificHeatCapacityCpReturn specific heat capacity at constant pressure
thermalConductivityReturn thermal conductivity
molarMassReturn the molar mass of the medium
linearExpansionCoefficientLinear expansion coefficient
emissivityEmissivity
electricalResistivityElectrical resistivity
specificEnthalpy_TReturn specific enthalpy from T
density_TReturn density from T
specificHeatCapacityCp_TReturn specific heat capacity at constant pressure from T
thermalConductivity_TReturn thermal conductivity from T

Revisions