calc_fugacity_gas_mixture
Calculate gas mixture fugacity using thermodynamic equations of state like Peng-Robinson, Soave-Redlich-Kwong, Redlich-Kwong, and van der Waals for chemical engineering analysis.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| components | Yes | List of components with their properties | |
| temperature | Yes | Temperature of the system | |
| pressure | Yes | Pressure of the system | |
| eos_model | No | EOS model to use, e.g., 'SRK', 'PR' | SRK |