size_psv_api520
Size a Pressure Safety Valve per API 520 Part I/II and select the standard API 526 letter orifice (D through T).
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": {
"phase": "<phase>",
"W_kgh": "<W_kgh>",
"P_set_barG": "<P_set_barG>",
"T_rel_C": "<T_rel_C>"
},
"name": "size_psv_api520"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mw | No | Molecular weight (for vapor/gas, default 28.97) | |
| W_kgh | Yes | Required relieving mass flowrate in kg/h | |
| phase | Yes | Relieving fluid phase | |
| Z_comp | No | Compressibility factor Z (default 0.98) | |
| k_cpcv | No | Cp/Cv ratio (default 1.4) | |
| T_rel_C | Yes | Relieving temperature in °C | |
| rhoL_kgm3 | No | Liquid density kg/m3 (for liquid phase, default 800) | |
| P_set_barG | Yes | Set pressure in barG | |
| valve_type | No | ||
| P_back_barG | No | Backpressure in barG (default 0) | |
| overpress_pct | No | Allowed overpressure % (default 10) |