calc_fugacity_gas_mixture
Calculate the fugacity of gas mixtures using equation of state models like PR, SRK, RK, or vdW. Input temperature, pressure, and component properties for precise thermodynamic modeling.
Instructions
This function calculates the fugacity of a mixture of gases using different equation of states (EOS) including Peng-Robinson (PR), Soave-Redlich-Kwong (SRK), Redlich-Kwong (RK), and van der Waals (vdW).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
components | Yes | List of components with their properties | |
eos_model | No | EOS model to use, e.g., 'SRK', 'PR' | SRK |
pressure | Yes | Pressure of the system | |
temperature | Yes | Temperature of the system |