ChemPlant Studio
v1.0.0Chemical process simulation: MESH distillation, flowsheets, IAPWS-IF97 steam, API 520 PSV.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components
FREE & unlimited (no login needed): List or search all chemical components (exact keys, formulas, MW, boiling points) and thermodynamic models supported by ChemPlant Studio. ALWAYS call this first before running distillation or flowsheet calculations, and follow its missing_component_guidance if a chemical is not in the DB.
| Parameter | Type | Description |
|---|---|---|
query | string | Optional search filter (e.g. 'benzene', 'ethanol', 'C3', 'Cl2'). Omit to list all supported chemicals. |
steam_properties
FREE trial (10 calls/day, no login needed): Compute exact IAPWS-IF97 water and steam thermodynamic properties (phase, Tsat, Psat, enthalpy kJ/kg, entropy kJ/kg-K, density kg/m3, Cp) validated against NIST IAPWS-95.
| Parameter | Type | Description |
|---|---|---|
pressBarA * | number | Absolute pressure in barA (e.g. 40) |
tempC * | number | Temperature in degrees Celsius (e.g. 400) |
solve_distillation
FREE trial (3 simulations/day, no login needed): Solve a rigorous multistage MESH distillation column using PR, SRK, NRTL, UNIQUAC, UNIFAC, or IDEAL thermodynamics (cross-validated against DWSIM 9.0.5). Call list_components (FREE) first to verify exact component keys.
| Parameter | Type | Description |
|---|---|---|
feedFlowsKgH * | object | Component mass flowrates in kg/h (e.g. {'Benzene': 5000, 'Toluene': 5000}, or {'EtOH': 4000, 'H2O': 6000}, or {'C3H8': 5000, 'nC4H10': 5000}) |
distillateMoleFrac | number | Distillate-to-feed molar split ratio D/F (0.01..0.99, default 0.5) |
feedStage | integer | 1-indexed feed stage (default N/2) |
feedTempC | number | Feed temperature in °C (default 90) |
refluxRatio | number | Molar reflux ratio L/D (default 2.0) |
thermoModel | string | Thermodynamic property package (default PR) |
topPressBarA | number | Condenser pressure in barA (default 1.01325) |
totalStages | integer | Total theoretical stages including condenser and reboiler (4..120, default 20) |
solve_flowsheet
FREE trial (3 simulations/day, no login needed): Solve a steady-state multi-unit chemical process flowsheet (feed, product, pump, compressor, turbine, hex, separator/decanter, valve, mixer, splitter, reactor, evaporator) with recycle convergence. Call list_components (FREE) first to verify exact component keys.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Array of stream edges: [{id, source, target, sourcePort?, targetPort?, streamNo?}] |
nodes * | array | Array of unit nodes: [{id, tag, unitType, params}] |
propertyMethod | string | Thermodynamic property package (default PR) |
size_psv_api520
FREE trial (3 simulations/day, no login needed): Size a Pressure Safety Valve per API 520 Part I/II and select the standard API 526 letter orifice (D through T).
| Parameter | Type | Description |
|---|---|---|
P_set_barG * | number | Set pressure in barG |
T_rel_C * | number | Relieving temperature in °C |
W_kgh * | number | Required relieving mass flowrate in kg/h |
phase * | string | Relieving fluid phase |
P_back_barG | number | Backpressure in barG (default 0) |
Z_comp | number | Compressibility factor Z (default 0.98) |
k_cpcv | number | Cp/Cv ratio (default 1.4) |
mw | number | Molecular weight (for vapor/gas, default 28.97) |
overpress_pct | number | Allowed overpressure % (default 10) |
rhoL_kgm3 | number | Liquid density kg/m3 (for liquid phase, default 800) |
valve_type | string |
size_pipe_dp
FREE trial (3 runs/day shared, 1 credit after trial): Size process piping and compute line pressure drop (Darcy-Weisbach / Churchill, Crane TP-410 fittings, ASME B36.10M Sch 40/80, erosion velocity, Mach number, and 2-phase flow regime) for liquid, gas, or two-phase flow.
| Parameter | Type | Description |
|---|---|---|
K_extra | number | Additional fitting resistance K (default 0) |
L_m | number | Straight pipe length in m (default 100) |
P1_barG | number | Inlet pressure in barG (default 3) |
Q_m3h | number | Volumetric flowrate in m3/h (e.g. 50) |
T_C | number | Operating temperature in °C (default 25) |
W_kgs | number | Mass flowrate in kg/s (optional alternative to Q_m3h) |
dZ_m | number | Elevation change in m (positive = uphill, default 0) |
mu_cP | number | Fluid viscosity in cP (default 1.0) |
mw | number | Gas molecular weight (for gas phase) |
n_check | integer | Number of check valves (default 1) |
n_elbow90 | integer | Number of 90° elbows (default 4) |
n_gate | integer | Number of gate valves (default 1) |
phase | string | Flow phase (default liquid) |
rho | number | Fluid density in kg/m3 (default 1000 for liquid) |
schedule | string | Pipe schedule (e.g. 'Sch 40', 'Sch 80', default 'Sch 40') |
selected_nps | string | Target nominal pipe size (e.g. '2"', '4"', '6"', '8"') |
vaporFraction | number | Mass vapor quality 0..1 (for twophase) |
size_pump
FREE trial (3 runs/day shared, 1 credit after trial): Size a centrifugal process pump per API 610 & Hydraulic Institute (HI 9.6.7 viscosity correction) — computes TDH, suction/discharge friction, NPSHa & cavitation margin, shaft/motor power (kW), and impeller diameter.
| Parameter | Type | Description |
|---|---|---|
Q_m3h * | number | Design liquid flowrate in m3/h (e.g. 50) |
L_dis_m | number | Discharge pipe length in m (default 80) |
L_suc_m | number | Suction pipe length in m (default 10) |
P1_barG | number | Suction vessel pressure in barG (default 0.5) |
P2_barG | number | Discharge destination pressure in barG (default 5.0) |
T_C | number | Pumping temperature in °C (default 25) |
cv_dp_bar | number | Control valve ΔP allowance in bar (default 0.5) |
d_dis_mm | number | Discharge pipe ID in mm (default 102.3) |
d_suc_mm | number | Suction pipe ID in mm (default 154.1) |
eff_pct | number | Pump hydraulic efficiency % (default 72) |
mu_cP | number | Liquid viscosity in cP (default 1.0) |
npshr_m | number | Pump NPSHr in m (default 2.5) |
pv_bar | number | Liquid vapor pressure in barA (default 0.032) |
rho | number | Liquid density in kg/m3 (default 1000) |
z1_m | number | Suction liquid elevation above pump centerline in m (default 3.0) |
z2_m | number | Discharge elevation above pump centerline in m (default 15.0) |
size_compressor
FREE trial (3 runs/day shared, 2 credits after trial): Size a single- or multi-stage real-gas centrifugal (API 617) or reciprocating (API 618) gas compressor — computes polytropic head, Z-factor, stage discharge temperatures, shaft/motor power (kW), and intercooler duty.
| Parameter | Type | Description |
|---|---|---|
dischargePressBarG * | number | Target discharge pressure in barG (e.g. 20.0) |
massFlowKgH * | number | Gas mass flowrate in kg/h (e.g. 5000) |
suctionPressBarG * | number | Suction pressure in barG (e.g. 3.0) |
intercoolerExitTempC | number | Intercooler outlet gas temperature in °C (default 40) |
moleFrac | object | Gas mole fractions by component key (e.g. {'CH4': 0.95, 'C2H6': 0.05} or {'N2': 1.0}). Call list_components first if unsure. |
numStages | integer | Optional number of stages (1..5); omit for automatic multi-stage selection |
polytropicEfficiency | number | Polytropic efficiency 0.70..0.88 (default 0.78) |
suctionTempC | number | Suction temperature in °C (default 35) |
type | string | Compressor type (default centrifugal) |