MIXTURE
Primary thermodynamic property calculator. Use this tool first for all mixture property calculations. 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": "MIXTURE"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| P | Yes | Pressure | |
| T | Yes | Temperature | |
| HC | Yes | Component list. Supported formulas or names: H2(hydrogen), CH4(methane), C2H2(acetylene), C2H4(ethylene), C2H6(ethane),C3H4(propadiene), C3H6(propene), C3H8(propane), C4H8(isobutylene), C4H10(n-butane), C5H12(pentane), C6H14(hexane), C7H16(heptane), C8H18(octane), C9H20(nonane), C10H22(decane),C11H24(undecane), C12H26(dodecane), C5H12O(MTBE), C6H6(benzene), C7H8(toluene), C8H10(o-xylene), Air, Ar(argon), N2(nitrogen), O2(oxygen), CO(carbon monoxide), CO2(carbon dioxide),H2O(water), HCl(hydrogen chloride), H2S(hydrogen sulfide), NH3(ammonia), NO2(nitrogen dioxide), N2O(nitrous oxide), N2O4(dinitrogen tetroxide), SO2(sulfur dioxide), SO3(sulfur trioxide), NaOH(sodium hydroxide). Names are case-insensitive.Examples: ['CH4','C2H6','C3H8'], ['Methane','Ethane','Propane'], ['methane','ethane','propane'] | |
| mole | Yes | Mole fractions or mole amounts corresponding to HC. Automatically normalized. | |
| H_unit | No | Enthalpy unit | kcal/kg |
| S_unit | No | Entropy unit | kcal/kg-C |
| U_unit | No | Internal energy U unit | kcal/kg |
| k_unit | No | Thermal conductivity k unit | W/m-K |
| Cp_unit | No | Heat capacity Cp unit | kcal/kg-C |
| Cv_unit | No | Heat capacity Cv unit | kcal/kg-C |
| MW_unit | No | Molecular weight unit | kg/kgmol |
| mu_unit | No | Viscosity mu unit | cP |
| rho_unit | No | Density unit | kg/m3 |
| Tbub_unit | No | Bubble point Tbub unit | C |
| Tdew_unit | No | Dew point Tdew unit | C |