Connection check
verified live · 20h ago
engscript-mcp
Engineering calculation MCP server for oil and gas engineering applications.
Tools
58
GitHub stars
—
Installs / wk
—
Licence
—
Transport
streamable-http
Last checked
20h ago
Tools & capabilities
58 toolsRead from the running server on 20h ago.
advDVR
ACCURACY*EQUATION*MEASURED*
Advanced Data Validation and Reconciliation including gross error detection and elimation Advanced Data Validation and Reconciliation including gross error detection and elimation
advECONOMIC
INPUT*
Advanced Economic analysis with inflation, depreciation, and tax: NPV, IRR, Simple Payback, Profitability Index, NCF Advanced Economic analysis with inflation, depreciation, and tax: NPV, IRR, Simple Payback, Profitability Index, NCF
BALANCE
EQUATION*MAXIMIZEMINIMIZEVARIABLE*
General mass/energy balance solver using GEKKO General mass/energy balance solver using GEKKO
CARBON
P*T*HC*mole*H_unitS_unit
+5
Calculate thermodynamic properties of hydrocarbon mixture. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation). Calculate thermodynamic properties of hydrocarbon mixture. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation).
COMPPOLYEFF
k*Pi*Po*Ti*To*
Calculate polytropic efficiency of compressor Calculate polytropic efficiency of compressor
CTWRCAPA
INPUT*OUTPUT
Cooling tower capacity evaluation Cooling tower capacity evaluation
CTWRCAPADSNTST
INPUT*OUTPUT
Cooling tower capacity evaluation: design vs test Cooling tower capacity evaluation: design vs test
CTWREVAPOR
INPUT*OUTPUT
Cooling tower evaporation rate: mass removal rate (MR) and heat removal rate (QR) Cooling tower evaporation rate: mass removal rate (MR) and heat removal rate (QR)
CTWRLG
INPUT*OUTPUT
Cooling tower L/G ratio calculation Cooling tower L/G ratio calculation
CTWRNTU
INPUT*OUTPUT
Cooling tower NTU and characteristic C value calculation Cooling tower NTU and characteristic C value calculation
CVGAS
Q*k*MW*P1*P2*T1*
+2
Calculate gas control valve Cv and Kv from flow conditions Calculate gas control valve Cv and Kv from flow conditions
CVLIQ
Q*FLP1*P2*PcPv
+3
Calculate liquid control valve Cv and Kv from flow conditions Calculate liquid control valve Cv and Kv from flow conditions
CVSTEAM
M*P1*P2*rho*Cv_unitKv_unit
Calculate steam control valve Cv and Kv from flow conditions Calculate steam control valve Cv and Kv from flow conditions
DESUPERHEATER
Min*Pin*Tin*Pbfw*Pout*Tbfw*
+3
Calculate boiler feed water flow and total flow from pressure and temperature reduction through desuperheater. Also returns the inlet/outlet/BFW specific enthalpies (h_in, h_out, h… Calculate boiler feed water flow and total flow from pressure and temperature reduction through desuperheater. Also returns the inlet/outlet/BFW specific enthalpies (h_in, h_out, h_bfw) used in the mass balance, always in Btu/lb.
DVR
ACCURACY*EQUATION*MEASURED*
Data Validation and Reconciliation Data Validation and Reconciliation
ECONOMIC
RCF*
Economic analysis: NPV, IRR, Simple Payback, Profitability Index, EAC Economic analysis: NPV, IRR, Simple Payback, Profitability Index, EAC
EMISSIONFACTOR
HC*mole*ECF_unit
Calculate CO2 emission conversion factor from gas composition Calculate CO2 emission conversion factor from gas composition
FLUEGAS
HC*Tb*Tg*mole*Cp_unitMW_unit
+1
Calculate enthalpy of flue gas from composition Calculate enthalpy of flue gas from composition
FORMULA
UNITINPUT*OUTPUT*FORMULA*
Generic formula calculator with unit conversion and IF-THEN-ELSE Generic formula calculator with unit conversion and IF-THEN-ELSE
FUELGAS
HC*mole*MW_unitHHV_unitLHV_unit
Calculate MW, LHV and HHV of fuel gas from composition Calculate MW, LHV and HHV of fuel gas from composition
GN2DEPRESS
P1*P2*Q2*V1*H_unitV2_unit
Calculate depressurization gas volume and hold time for gaseous nitrogen storage vessel Calculate depressurization gas volume and hold time for gaseous nitrogen storage vessel
HEXRF
F*A_hex*k_hex*D_shll*D_tube*D_wall*
+35
Heat exchanger fouling resistance back-calculation from shell/tube-side operating conditions. Heat exchanger fouling resistance back-calculation from shell/tube-side operating conditions.
HPADEPRESS
P1*P2*Q2*V1*H_unitV2_unit
Calculate depressurization gas volume and hold time for high pressure air storage vessel Calculate depressurization gas volume and hold time for high pressure air storage vessel
HTRINOUTEFF
HC*Tair*Trad*Tstk*exO2*mole*
+9
Calculate fired heater heat duty and efficiency from inlet/outlet conditions and composition Calculate fired heater heat duty and efficiency from inlet/outlet conditions and composition
HTRLOSSEFF
Ta*Tg*Type*exO2*
Calculate fired heater loss efficiency from ambient temperature, stack gas temperature and excess oxygen Calculate fired heater loss efficiency from ambient temperature, stack gas temperature and excess oxygen
LMTD
Tci*Tco*Thi*Tho*LMTD_unit
Calculate LMTD of heat exchanger Calculate LMTD of heat exchanger
LN2DEPRESS
P1*P2*Q2*V1*H_unitT1_unit
+1
Calculate depressurization gas volumn abd hold time and saturation temperature for liquid nitrogen storage vessel Calculate depressurization gas volumn abd hold time and saturation temperature for liquid nitrogen storage vessel
MIXTURE
P*T*HC*mole*H_unitS_unit
+9
Primary thermodynamic property calculator. Use this tool first for all mixture property calculations. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation)… Primary thermodynamic property calculator. Use this tool first for all mixture property calculations. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation).
MtoV
M*MW*V_unit
Convert mass flow rate to volumetric flow rate at standard condition Convert mass flow rate to volumetric flow rate at standard condition
ORIFICEGAS
M*kD1*D2*P1*dP*
+2
Gas orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated. Gas orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.
ORIFICELIQ
M*D1*D2*P1*dP*mu*
+1
Liquid orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated. Liquid orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.
PIPEAIR
L*M*P*T*D_unitu_unit
+2
Calculate compressed air pipe sizing: pipe diameter, velocity, pressure drop Calculate compressed air pipe sizing: pipe diameter, velocity, pressure drop
PIPEFF
D*Re*Piping*
Calculate Darcy friction factor based on Reynolds number and pipe roughness Calculate Darcy friction factor based on Reynolds number and pipe roughness
PIPEFLOWGAS
D*L*T*MW*P1*P2*
+3
Calculate isothermal gas pipe flow: density, volumetric flow rate, mass flow rate from pressure drop Calculate isothermal gas pipe flow: density, volumetric flow rate, mass flow rate from pressure drop
PIPEFLOWLIQ
D*L*P1*P2*rho*M_unit
+1
Calculate liquid pipe flow: volumetric flow rate and mass flow rate from pressure drop Calculate liquid pipe flow: volumetric flow rate and mass flow rate from pressure drop
PIPEINSUL
Ta*Tf*ha*NPS*Tmax*kins*
+6
Calculate optimal pipe insulation thickness to limit outer surface temperature (burn protection) and minimise heat loss. Uses cylindrical heat conduction + external convection mode… Calculate optimal pipe insulation thickness to limit outer surface temperature (burn protection) and minimise heat loss. Uses cylindrical heat conduction + external convection model, solved via scipy.optimize.brentq. Returns exact minimum thickness and nearest commercial 5 mm step.
PIPENITROGEN
L*M*P*T*D_unitu_unit
+2
Calculate nitrogen pipe sizing: pipe diameter, velocity, pressure drop Calculate nitrogen pipe sizing: pipe diameter, velocity, pressure drop
PIPESTEAM
L*M*P*T*D_unitu_unit
+2
Calculate steam pipe sizing: pipe diameter, velocity, pressure drop Calculate steam pipe sizing: pipe diameter, velocity, pressure drop
PIPEWATER
L*M*P*T*D_unitu_unit
+2
Calculate water pipe sizing: pipe diameter, velocity, pressure drop Calculate water pipe sizing: pipe diameter, velocity, pressure drop
Pmean
P1*P2*Fluid*Pmean_unit
Calculate mean pressure between inlet and outlet Calculate mean pressure between inlet and outlet
PSVGAS
M*kKbKcKdMW*
+4
Calculate required PSV (pressure safety valve) relief area for gas/vapor service per API 520 Calculate required PSV (pressure safety valve) relief area for gas/vapor service per API 520
PSVLIQ
M*KcKdKvKwP1*
+4
Calculate required PSV (pressure safety valve) relief area for liquid service per API 520 Calculate required PSV (pressure safety valve) relief area for liquid service per API 520
PSVSTEAM
M*KbKcKdP1*T1*
+1
Calculate required PSV (pressure safety valve) relief area for steam service per API 520 Calculate required PSV (pressure safety valve) relief area for steam service per API 520
PSYCHROMETRIC
BP*DB*DPRHWBH_unit
+4
Psychrometric properties of moist air Psychrometric properties of moist air
PTV
P*T*V_unit
Calculate gas molar volume using equation of state Calculate gas molar volume using equation of state
PUMPBHP
Q*P1*P2*Eff*rho*BHP_unit
Calculate pump brake horsepower Calculate pump brake horsepower
REFRIGERANT
HPSTUrho
+12
Calculate refrigerant thermodynamic properties using CoolProp. Provide Fluid name and any 2 state variables from: T, P, rho, H, S, U. Returns all remaining properties: T, P, rho, H… Calculate refrigerant thermodynamic properties using CoolProp. Provide Fluid name and any 2 state variables from: T, P, rho, H, S, U. Returns all remaining properties: T, P, rho, H, S, U, Cp, Cv, viscosity, conductivity, molecular weight.
SOLVE
INPUT*OUTPUT*FORMULA*
Solve nonlinear equations with unknown variables using fsolve Solve nonlinear equations with unknown variables using fsolve
STEAM
P*T*H_unitS_unitU_unitk_unit
+6
Calculate thermodynamic and transport properties of steam based on IAPWS Calculate thermodynamic and transport properties of steam based on IAPWS
STEAMFLASH
Mc*Pc*Ps*Ms_unit
Calculate flash steam flow from pressure reduction Calculate flash steam flow from pressure reduction
STEAMLEAK
h*CdP1*P2*T1*T2*
+1
Calculate steam leak mass flow and flow condition (CHOKED / SUBCRITICAL) based on upstream and downstream conditions Calculate steam leak mass flow and flow condition (CHOKED / SUBCRITICAL) based on upstream and downstream conditions
STEAMPH
P*T*h*CdM_unit
Calculate mass flow from pin-hole on the steam piping Calculate mass flow from pin-hole on the steam piping
STGEFF
E*M1*M2M3M4M5
+11
Calculate multistage steam turbine isentropic efficiency Calculate multistage steam turbine isentropic efficiency
STMDEPRESS
M2*P1*P2*V1*H_unitV2_unit
Calculate depressurization steam volumn and hold time for steam accumulator Calculate depressurization steam volumn and hold time for steam accumulator
TBNEFF
Pi*Po*Ti*To*Eff_unit
Calculate steam turbine isentropic efficiency Calculate steam turbine isentropic efficiency
VENTURIGAS
M*kD1*D2*P1*dP*
+2
Gas Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). Exactly ONE of [M, dP, D2] must be set to… Gas Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.
VENTURILIQ
M*D1*D2*P1*dP*mu*
+1
Liquid Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). Exactly ONE of [M, dP, D2] must be set… Liquid Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.
VtoM
V*MW*M_unit