CARBON
Calculate thermodynamic properties of hydrocarbon mixture. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation).
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": {
"HC": "<HC>",
"mole": "<mole>",
"P": "<P>",
"T": "<T>"
},
"name": "CARBON"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| P | Yes | Pressure | |
| T | Yes | Temperature | |
| HC | Yes | List of component formula strings. Supported: H2, CH4, C2H2, C2H4, C2H6, C3H4, C3H6, C3H8, C4H8, C4H10, C5H12, C6H14, C7H16, C8H18, C9H20, C10H22, C6H6, C7H8, C8H10, C5H12O, Air, Ar, N2, O2, CO, CO2, H2O, H2S, NH3, SO2, SO3, HCl, NO2, N2O, N2O4, NaOH, N2O4 | |
| mole | Yes | Mole fraction list corresponding to HC, e.g. [0.85, 0.10, 0.03, 0.02] | |
| H_unit | No | Enthalpy unit | kcal/kg |
| S_unit | No | Entropy unit | kcal/kg-C |
| Cp_unit | No | Cp unit | kcal/kg-C |
| Cv_unit | No | Cv unit | kcal/kg-C |
| rho_unit | No | Density unit | kg/m3 |
| Tbub_unit | No | Bubble point temperature unit | C |
| Tdew_unit | No | Dew point temperature unit | C |