PO.ESP.Head.FromPressure.SI(P, SG)

Converts pressure to head using fluid specific gravity, [m] (SI units).

PO.ESP.Head.ToPressure.SI(H, SG)

Converts head to pressure using fluid specific gravity, [kPa] (SI units).

PO.ESP.Head.Static.SI(TVD, SG)

Calculates static head from vertical depth, [m] (SI units).

PO.ESP.Head.PressureAtDepth.SI(P_surface, TVD, SG)

Calculates pressure at depth given surface pressure, [kPa] (SI units).

PO.ESP.TDH.SI(TVD_pump, WHP, PIP, friction_head, SG)

Calculates Total Dynamic Head for ESP sizing, [m] (SI units).

PO.ESP.TDH.Full.SI(TVD_pump, WHP, P_res, PI, Q, submergence, friction_head, SG)

Extended TDH calculation with IPR-based PIP, [m] (SI units).

PO.ESP.TDH.NetLift.SI(TVD_pump, DFL)

Calculates net vertical lift (pump depth minus fluid level), [m] (SI units).

PO.ESP.HydraulicHP.SI(Q, TDH, SG)

Calculates theoretical hydraulic horsepower (bbl/d basis), [kW] (SI units).

PO.ESP.HydraulicHP.GPM.SI(Q, TDH, SG)

Calculates theoretical hydraulic horsepower (gpm basis), [kW] (SI units).

PO.ESP.BrakeHP.SI(HP_hyd, efficiency)

Calculates brake horsepower accounting for pump efficiency, [kW] (SI units).

PO.ESP.BrakeHP.FromRate.SI(Q, TDH, SG, efficiency)

Calculates brake horsepower directly from rate and head, [kW] (SI units).

PO.ESP.Stages.SI(TDH, head_per_stage)

Calculates required number of pump stages (rounded up), [stages] (SI units).

PO.ESP.Stages.Actual.SI(TDH, head_per_stage)

Returns exact (non-rounded) stage count for sensitivity analysis, [stages] (SI units).

PO.ESP.Pump.TotalHead.SI(stages, head_per_stage)

Calculates total head from number of stages, [m] (SI units).

PO.ESP.Pump.TotalPower.SI(stages, power_per_stage)

Calculates total power from number of stages, [kW] (SI units).

PO.ESP.Pump.Efficiency.SI(HP_hyd, BHP)

Calculates pump efficiency from hydraulic and brake HP, [fraction] (SI units).

PO.ESP.Pump.Pdis.SI(PIP, stages, head_per_stage, SG)

Calculates pump discharge pressure, [kPa] (SI units).

PO.ESP.Gas.Qg.Free.SI(Qo, GOR, Rs, Bg)

Calculates free gas rate at pump intake conditions, [m3/d] (SI units).

PO.ESP.Gas.Ql.Total.SI(Qo, Qw, Bo, Bw)

Calculates total liquid rate at pump intake, [m3/d] (SI units).

PO.ESP.Gas.Void.SI(Qg_intake, Ql_intake)

Calculates gas void fraction at pump intake, [fraction] (SI units).

PO.ESP.Gas.Void.Full.SI(Qo, Qw, GOR, Rs, Bo, Bw, Bg)

Complete gas void fraction calculation from field data, [fraction] (SI units).

PO.ESP.Gas.RhoMix.SI(Rho_l, Rho_g, lambda_g)

Calculates gas-liquid mixture density, [kg/m3] (SI units).

PO.ESP.Gas.Turpin.Factor.SI(P_intake, Pb)

Calculates Turpin gas handling factor, [dimensionless] (SI units).

PO.ESP.Gas.Sep.Eff.SI(Ql, lambda_g, separator_type)

Estimates rotary gas separator efficiency, [fraction] (SI units).

PO.ESP.Curve.Head.SI(Q, curve_Q, curve_Head)

Interpolates head from pump performance curve, [m/stage] (SI units).

PO.ESP.Curve.Efficiency.SI(Q, curve_Q, curve_Eff)

Interpolates efficiency from pump performance curve, [fraction] (SI units).

PO.ESP.Curve.Power.SI(Q, curve_Q, curve_HP)

Interpolates power per stage from pump curve, [kW] (SI units).

PO.ESP.Curve.BEP.SI(curve_Q, curve_Eff)

Returns Best Efficiency Point flow rate from pump curve, [m3/d] (SI units).

PO.ESP.Curve.BEP.Eff.SI(curve_Q, curve_Eff)

Returns maximum efficiency value from pump curve, [fraction] (SI units).

PO.ESP.Viscosity.Head.Corr.SI(H_water, C_H)

Applies viscosity correction to head, [m] (SI units).

PO.ESP.Viscosity.Rate.Corr.SI(Q_water, C_Q)

Applies viscosity correction to flow rate, [m3/h] (SI units).

PO.ESP.Motor.RequiredHP.SI(BHP, safety_factor)

Calculates minimum motor horsepower with safety factor, [kW] (SI units).

PO.ESP.Motor.Amps.SI(HP, voltage, efficiency, power_factor)

Calculates motor current draw (3-phase), [A] (SI units).

PO.ESP.Motor.Amps.FromNameplate.SI(HP, V_nameplate, I_nameplate, V_actual, load_fraction)

Calculates current from motor nameplate data, [A] (SI units).

PO.ESP.Motor.LoadFactor.SI(BHP_required, motor_rating)

Calculates motor load as fraction of rating, [fraction] (SI units).

PO.ESP.Motor.Temp.Rise.SI(T_fluid, HP, Q, motor_OD)

Estimates motor temperature at operating conditions, [degC] (SI units).

PO.ESP.Motor.Qcool.SI(HP, motor_OD, casing_ID)

Calculates minimum flow rate for motor cooling, [m3/d] (SI units).

PO.ESP.Cable.Resistance.SI(AWG, T, material)

Returns cable resistance at temperature, [ohm/km] (SI units).

PO.ESP.Cable.Vdrop.SI(I, length, R)

Calculates voltage drop in ESP cable (3-phase), [V] (SI units).

PO.ESP.Cable.Vdrop.Full.SI(HP, V_motor, efficiency, PF, AWG, length, T)

Complete voltage drop calculation, [V] (SI units).

PO.ESP.Cable.MinSize.SI(I, length, V_drop_max, T)

Determines minimum cable size for voltage drop limit, [AWG] (SI units).

PO.ESP.Cable.PowerLoss.SI(I, length, R)

Calculates power loss in cable, [kW] (SI units).

PO.ESP.Cable.PowerLoss.Pct.SI(P_loss, HP)

Calculates power loss as percentage of motor power, [%] (SI units).

PO.ESP.Cable.Temperature.SI(T_ambient, I, AWG)

Estimates cable temperature with current, [degC] (SI units).

PO.ESP.System.Hfric.SI(Q, tubing_ID, tubing_length, SG)

Simplified friction head calculation, [m] (SI units).

PO.ESP.Nodal.AOF.SI(P_res, PI, Pb)

Calculates Absolute Open Flow potential, [m3/d] (SI units).

PO.ESP.Nodal.Drawdown.SI(Q, PI)

Calculates drawdown at given production rate, [kPa] (SI units).

PO.ESP.Nodal.Submergence.SI(PIP, SG)

Calculates submergence above pump intake, [m] (SI units).

PO.GL.Valve.Pdome.SI(Pd_s, Ts, Td)

Calculates dome pressure at depth from surface dome pressure, [kPa] (SI units).

PO.GL.Valve.TRO.SI(Pd, Td, R)

Calculates test rack opening pressure at 60°F, [kPa] (SI units).

PO.GL.Valve.Pvc.SI(Pd, R)

Calculates valve closing pressure, [kPa] (SI units).

PO.GL.Valve.Spread.SI(Pvo, Pvc)

Calculates valve spread (opening minus closing pressure), [kPa] (SI units).

PO.GL.Valve.ThornhillCraver.SI(Cd, Ap, P1, P2, SG, T)

Calculates gas throughput using Thornhill-Craver equation, [sm3/d] (SI units).

PO.GL.Inj.Pd.SI(Ps, D, G)

Calculates injection gas pressure at depth, [kPa] (SI units).

PO.GL.Inj.Grad.SI(SG, P, T, Z)

Calculates gas gradient in the annulus, [kPa/m] (SI units).

PO.GL.Inj.Qgi.SI(GLRt, GLRf, Ql)

Calculates required gas injection rate for target GLR, [sm3/d] (SI units).

PO.GL.Inj.Eff.SI(GLRf, Qg, Ql)

Calculates total GLR including formation and injected gas, [sm3/sm3] (SI units).

PO.RP.Pump.Displacement.SI(Ap, Sp, N)

Calculates theoretical pump displacement, [m3/d] (SI units).

PO.RP.Pump.Displacement.FromDiameter.SI(d, Sp, N)

Calculates theoretical pump displacement from plunger diameter, [m3/d] (SI units).

PO.RP.Pump.Disp.Eff.SI(PD, F)

Calculates effective pump displacement accounting for fillage, [m3/d] (SI units).

PO.RP.Pump.Fillage.SI(Qa, PD)

Calculates pump fillage from actual and theoretical production, [fraction] (SI units).

PO.RP.Pump.VolEff.SI(Qa, PD)

Calculates volumetric efficiency of the pump system, [fraction] (SI units).

PO.RP.Pump.Stroke.Eff.SI(S, dLr, dLt)

Calculates effective plunger stroke from surface stroke and stretch, [cm] (SI units).

PO.RP.Pump.Psub.SI(h, G)

Calculates submergence pressure from fluid column height, [kPa] (SI units).

PO.RP.Pump.PIP.SI(Pwf, Psub)

Calculates pump intake pressure (PIP), [kPa] (SI units).

PO.RP.Rod.Wair.SI(Ar, L)

Calculates rod string weight in air, [N] (SI units).

PO.RP.Rod.Wbuoy.SI(Wair, SG)

Calculates buoyant rod string weight (weight in fluid), [N] (SI units).

PO.RP.Rod.Area.SI(d)

Calculates rod cross-sectional area from diameter, [cm2] (SI units).

PO.RP.Rod.Wft.SI(d)

Calculates rod weight per foot for a given diameter, [kg/m] (SI units).

PO.RP.Rod.Stretch.FluidLoad.SI(Fo, L, Ar)

Calculates rod stretch due to fluid load, [cm] (SI units).

PO.RP.Rod.Stretch.RodWeight.SI(Wair, L, Ar)

Calculates rod stretch due to rod weight (self-weight stretch), [cm] (SI units).

PO.RP.Rod.Stretch.Total.SI(Fo, Wair, L, Ar)

Calculates total static rod stretch (fluid load + self-weight), [cm] (SI units).

PO.RP.Rod.MaxStress.SI(PPRL, Ar)

Calculates maximum rod stress from peak load, [kPa] (SI units).

PO.RP.Rod.MinStress.SI(MPRL, Ar)

Calculates minimum rod stress from minimum load, [kPa] (SI units).

PO.RP.Rod.StressRange.SI(smax, smin)

Calculates rod stress range (fatigue indicator), [kPa] (SI units).

PO.RP.Load.FluidLoad.SI(Ap, H, G)

Calculates fluid load on plunger, [N] (SI units).

PO.RP.Load.PPRL.SI(Wrf, Fo, F1, Skr)

Calculates Peak Polished Rod Load using API 11L method, [N] (SI units).

PO.RP.Load.MPRL.SI(Wrf, F2, Skr)

Calculates Minimum Polished Rod Load using API 11L method, [N] (SI units).

PO.RP.Load.PPRL.Simple.SI(Wrf, Fo)

Calculates simplified PPRL (static, no dynamic effects), [N] (SI units).

PO.RP.Load.MPRL.Simple.SI(Wrf)

Calculates simplified MPRL (static, no dynamic effects), [N] (SI units).

PO.RP.Load.Range.SI(PPRL, MPRL)

Calculates polished rod load range (PPRL - MPRL), [N] (SI units).

PO.RP.Torque.IdealCBE.SI(Wrf, Fo)

Calculates ideal counterbalance effect from rod weight and fluid load, [N] (SI units).

PO.RP.Torque.IdealCBE.Loads.SI(PPRL, MPRL)

Calculates ideal counterbalance effect from PPRL and MPRL, [N] (SI units).

PO.RP.Torque.Adjustment.SI(CBEi, CBEa)

Calculates counterbalance adjustment needed, [N]. Positive = add weight (SI units).

PO.RP.Torque.Net.SI(PRL, CBE, TF)

Calculates net gearbox torque at a given crank angle, [N.m] (SI units).

PO.RP.Torque.Peak.SI(PPRL, MPRL, S)

Calculates estimated peak net torque (simplified), [N.m] (SI units).

PO.RP.Torque.PRHP.SI(PPRL, MPRL, S, N)

Calculates polished rod horsepower, [kW] (SI units).

Need a custom LAMBDA? Request a Lambda