calc_liquid_component_fugacity
Calculate fugacity for single-liquid components using EOS models like PR, SRK, RK, and vdW with Poynting correction for chemical engineering applications.
Instructions
This function calculates the fugacity of single-liquid component using different equation of states (EOS) including Peng-Robinson (PR), Soave-Redlich-Kwong (SRK), Redlich-Kwong (RK), and van der Waals (vdW). The fugacity is calculated based on the EOS used for the gas phase and Poynting correction.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"component": "<component>",
"temperature": "<temperature>",
"pressure": "<pressure>"
},
"name": "calc_liquid_component_fugacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes | Component name and 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 |
| solver_method | No | Solver method for fugacity calculation, e.g., 'least-square method', 'fsolve', 'root' | ls |
| liquid_fugacity_mode | No | Mode for liquid fugacity calculation, 'EOS' or 'Poynting' | EOS |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||