www.x-eng.com, Steam and water properties for Matlab based on the "International Association for Properties of Water and Steam Industrial Formulation 1997 (IAPWS IF-97). A full implementation of the IF-97 standard that provides very accurate steam and water properties in ranges from 0-1000 bar and 0-2000°C. Provided thermodynamic properties are:
Specific internal energy
Specific isobaric heat capacity
Specific isochoric heat capacity
Speed of sound
All properties can be calculated with the inputs, p and T known, p and h known, h and s known and some with pressure and density known. X Steam are a full implementation of the IF-97 formulation including all regions and all backward functions for good calculation speed. The code are speed optimized with pressure and enthalpy as inputs for dynamic simulations.
XSteam('h_pt',1,20) return the enthalpy of water at 1 bar and 20 degC. 84.0118 kJ/kg
XSteam('rho_ph',1,3000) return the density of steam at 1 bar and 3000 kJ/kg. 0.4056 kg/m3
XSteam('w_pt',1,20) returns the speed of sound at 1 bar and 20 deg C. 1483.4 m/s
XSteam('tSat_p',1) returns the saturation temperature at 1 bar. 99.6059 deg C
The X Steam Tables are the perfect tool both for replacing paper tables and for advanced calculations. The X Steam tables are open source and free of charge.
The X Steam tables are also available as MS Excel scripts, OOo Sripts, Dynamic Link Libary .DLL. Please visit www.x-eng.com.
New version 2.5
Magnus Holmgren (2022). X Steam, Thermodynamic properties of water and steam. (https://www.mathworks.com/matlabcentral/fileexchange/9817-x-steam-thermodynamic-properties-of-water-and-steam), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Ideal Rankine Cycle GUI, IAPWS_IF97, Methane Solubility, Ideal Rankine cycle, Ideal Regenerative Rankine Cycle, Ideal Reheat Rankine Cycle, Ideal Reheat Regenerative Rankine Cycle, Ideal Reheat Regenerative Rankine Cycle with one OPEN, one CLOSED FWH, Ideal Regenerative Rankine Cycle with one OPEN, one CLOSED FWH, Chen correlation wall temperature calculation, Water and Steam Refractive Index, Diagrams of Thermodynamic State of Water, XSteamW - a vectorizing wrapper for XSteam, Medium Model
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!