Compressibility Factor Calculator (exact)

This is a compressibility factor calculating algorithm using Kapuno's algorithm.
408 descargas
Actualizado 19 oct 2016

Ver licencia

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%.

Citar como

Bilal Siddiqui (2024). Compressibility Factor Calculator (exact) (https://www.mathworks.com/matlabcentral/fileexchange/59803-compressibility-factor-calculator-exact), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Thermal Analysis en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Compressibility Factor Calculator

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Updated cover picture