I wish to learn Python codes programming in Peng-Robinson equation or SRK equation to know the z-factors or other thermodynamic properties for any kinds of mixtures.
This link might helpful, have a look: https://www.chegg.com/homework-help/questions-and-answers/need-help-lab-using-python-programming-language-please-help-lab-vapor-pressure-calculation-q35748228
This Python module computes the fugacity coefficient, compressibility, and density of a gas at a particular temperature and pressure using the Peng-Robinson Equation of State.
The Peng-Robinson equation of state characterizes gas molecules by the following parameters: