Compressibility Factor Calculator (exact)

This is a compressibility factor calculating algorithm using Kapuno's algorithm.

您现在正在关注此提交

Calculates compressibility factor (Z) of gas at a given temperature and pressure. Calculated by Van der Waals equation of state, using the algorithm given in Programming for Chemical Engineers Using C, C++, and MATLAB® By R. Kapuno
Example: Find the compressibility factor of methane at 280 K and 20 bar:
Z = compressibility2('methane',280,'K',20,'bar')
Z = 0.951140928234726

The above example shows that methane at 280 K and 20 bar deviates from the ideal gas law by approximately 4.9%.

引用格式

Bilal Siddiqui (2026). Compressibility Factor Calculator (exact) (https://ww2.mathworks.cn/matlabcentral/fileexchange/59803-compressibility-factor-calculator-exact), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: Compressibility Factor Calculator

类别

Help CenterMATLAB Answers 中查找有关 Thermal Analysis 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Updated cover picture