modelIdealGasH2O

IdealGas H20 medium model

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

An example for using ideal gas properties and how to compute isentropic enthalpy changes. The function that is implemented is approximate, but usually very good: the second medium record medium2 is given to compare the approximation.

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestateThermodynamic state record
Medium.ThermodynamicStatestate2
Medium.SpecificHeatCapacitycpMedium.specificHeatCapacityCp(state)
Medium.SpecificHeatCapacitycvMedium.specificHeatCapacityCv(state)
Medium.IsentropicExponentkMedium.isentropicExponent(state)
Medium.SpecificEntropysMedium.specificEntropy(state)
Medium.VelocityOfSoundaMedium.velocityOfSound(state)
RealbetaMedium.isobaricExpansionCoefficient(state)
RealgammaMedium.isothermalCompressibility(state)
Medium.SpecificEnthalpyh_isMedium.isentropicEnthalpyApproximation(2.0, state)
Medium.ThermodynamicStatesmoothState
Realm_flow_ext
Realder_p
Realder_T

Contents

NameDescription
MediumMedium model