本MATLAB代码实现了“International Association for Properties of Water and Steam Industrial Formulation 1997 (IAPWS IF-97)”标准的研究与分析,水蒸汽特性范围为0 - 1000 bar、0 - 2000°C。提供的热力学性质包括:
-
温度Temperature
-
压力Pressure
-
焓Enthalpy
-
比容Specific volume
-
密度Density
-
比熵Specific entropy
-
比内能Specific internal energy
-
比等压热容Specific isobaric heat capacity
-
比等容热容Specific isochoric heat capacity
-
声速Speed of sound
-
粘度Viscosity
-
蒸汽分数Vapour fraction
以上所有性质都可以用已知p和T、已知p和h、已知h和s以及一些已知压力和密度的输入来计算。X Steam是IAPWS IF-97标准所有公式的全部实现,且计算速度快,具有动态模拟的功能。
举例:
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
X Steam表格是一种优秀的计算工具,具有MS Excel scripts, OOo Sripts, Dynamic Link Libary .DLL多种形式,请访问网站www.x-eng.com。
MATLAB源码下载地址:
http://page5.dfpan.com/fs/4lcaj2d21029116cd67/
更多精彩文章请关注微信号: