STEAM – Steam and water properties
Block SymbolLicensing group: STANDARD
Function Description
The STEAM blok can be used to calculate various thermodynamic properties of water and
steam, such as enthalpy, entropy, saturation temperature and pressure, density, viscosity, and
others. The inputs of the block are typically temperature and pressure, but calculations can be
done in the opposite direction, for example, determining the temperature from the enthalpy.
The calculations are based on the international standard IAPWS IF-97, details of which can be
found at http://www.iapws.org/relguide/IF97-Rev.pdf.
The units for temperature can be set by the tunit parameter, for pressure by the punit parameter. Energy units are in kilojoules [kJ], for example, enthalpy is expressed in kJ/kg, heat capacity in kJ/kg/K, which corresponds to the definitions in IF-97. Other quantities are given in SI units, such as density in kg/m3.
The block function has a name in the format <output property>_<1st input property><2nd input property>, where the properties include:
- T - Temperature
- p - Pressure
- h - Enthalpy [kJ/kg]
- v - Specific volume [m3/kg]
- rho - Density [kg/m3]
- s - Specific entropy
- u - Specific internal energy [kJ/kg]
- Cp - Specific isobaric heat capacity [kJ/kg/K]
- Cv - Specific isochoric heat capacity [kJ/kg/K]
- w - Speed of sound [m/s]
- my - Viscosity
- tc - Thermal Conductivity
- st - Surface Tension
- x - Vapour fraction
- vx - Vapour Volume Fraction
The output property can have attribute:
- sat - Saturated value, i.e. for situation when water (liquid) is changed into steam (vapour)
- V - Steam (vapour) for saturated conditions
- L - Water (liquid) for saturated conditions
Examples
- h_pT output is enthalpy for given pressure (1st input) and temperature (2nd input); for example, for pressure 100 kPa and temperature 120 C, the enthalpy is 2716 kJ/kg.
- Tsat_p saturated temperature (i.e. boiling temperature) for given pressure (1st input); for example, for pressure 100 kPa, the boiling temperature is 100 C.
- hL_p enthalpy of (liquid) water for saturated conditions given by pressure (1st input); for example, at 100 kPa (and temperature 100 C, to be at saturated conditions), the medium can contain any ratio of water and steam, the function (block output) will be the enthalpy for the situation when the medium is water (without steam), i.e. 417 kJ/kg.
This block does not propagate the signal quality. More information can be found in the 1.4 section.
Input
u1 | First analog input of the block | Double (F64) |
u2 | Second analog input of the block | Double (F64) |
Parameter
func | Function type 1 | Long (I32) |
|
|
|
punit | Used unit for pressure 1 | Long (I32) |
|
|
|
tunit | Used unit for temperature 1 | Long (I32) |
|
|
|
Output
y | Analog output of the block | Double (F64) |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com