Pump Hydraulics Screening
Use this skill for public, educational centrifugal-pump hydraulics screening. It estimates hydraulic and shaft power, the available net positive suction head (NPSHa), and the best-efficiency-point (BEP) flow ratio so an agent can scope a pumping duty and decide whether to invoke validated NeqSim pump calculations.
When to Use
- When a user asks roughly how much power a pump duty needs.
- When an agent needs a quick NPSH-available margin and cavitation triage.
- When an agent must check that an operating flow sits inside a sensible BEP window.
- When examples must run without confidential pump curves, vendor data, or company specs.
Inputs
flow_rate: operating volumetric flow in m3/h.
head: pump differential head in m.
density: pumped-fluid density in kg/m3.
efficiency: pump hydraulic efficiency, default 0.70.
suction_pressure: optional suction pressure in bar absolute (for NPSHa).
vapor_pressure: optional fluid vapor pressure in bar absolute (for NPSHa).
static_suction_head: optional static suction head in m, default 0.
friction_loss: optional suction friction loss in m, default 0.
npsh_required: optional NPSH required in m (for the margin).
bep_flow_rate: optional best-efficiency-point flow in m3/h (for the ratio).
Outputs
hydraulic_power_kw: hydraulic (fluid) power.
shaft_power_kw: estimated shaft power.
npsh_available_m: available NPSH, or null if suction data is not supplied.
npsh_margin_m: NPSHa - NPSHr, or null if not enough data.
bep_ratio: flow_rate / bep_flow_rate, or null if BEP flow not supplied.
pump_warning: ok, watch, off-bep, npsh-deficit, or no-rating.
assumptions: public assumptions used by the placeholder model.
Engineering Method
The Python class PumpHydraulicsModel uses public pump relations only:
- hydraulic power uses
P = rho * g * Q * H, with Q converted from m3/h to m3/s.
- shaft power uses
P_shaft = P_hydraulic / efficiency.
- available NPSH uses
NPSHa = (P_suction - P_vapor) / (rho * g) + static_suction_head - friction_loss.
- the BEP check uses the flow ratio
Q / Q_bep against a public preferred window (default 0.70 to 1.20).
This is educational and screening-only logic. It assumes constant density, a single operating point, and does not model affinity-law scaling beyond the inputs, suction recirculation, viscosity correction, minimum-flow recycle, or vendor curves. It is not a replacement for validated pump selection and a qualified rotating-equipment review.
Python Usage Pattern
from pump_hydraulics_screening import PumpHydraulicsModel
model = PumpHydraulicsModel()
result = model.evaluate(
flow_rate=120.0,
head=95.0,
density=820.0,
efficiency=0.74,
suction_pressure=4.0,
vapor_pressure=1.5,
static_suction_head=3.0,
friction_loss=0.8,
npsh_required=3.5,
bep_flow_rate=130.0,
)
print(result.pump_warning)
print(result.shaft_power_kw)
print(result.npsh_margin_m)
Related NeqSim Functionality
For validated pump calculations, redirect to existing NeqSim classes:
neqsim.process.equipment.pump.Pump — rigorous pump power and head with real-fluid properties.
neqsim.process.equipment.pump.PumpCurve / PumpChart — vendor head, efficiency, and power curves.
neqsim.process.equipment.pump.ESPPump / JetPump — specialized pump types.
This skill is a public hydraulics triage layer that decides when to invoke those validated pump classes.
Validation Checklist
Common Mistakes
| Symptom |
Cause |
Fix |
| Power off by a factor |
Flow left in m3/h not converted to m3/s |
The model converts internally; pass m3/h |
| NPSHa missing |
Suction or vapor pressure not supplied |
Provide both suction_pressure and vapor_pressure |
| BEP ratio missing |
bep_flow_rate not supplied |
Provide the pump BEP flow |
| Cavitation not caught |
Constant-density assumption near bubble point |
Use the validated NeqSim Pump with real properties |
Limitations
- No proprietary pump curves, vendor data, or company specs are included.
- No viscosity correction, suction recirculation, or minimum-flow recycle is modeled.
- No real-fluid property variation across the pump is included.
References
1---2name: neqsim-pump-hydraulics-screening3description: Educational centrifugal-pump hydraulics screening for hydraulic/shaft power, NPSH-available, and best-efficiency-point window using public pump relations and affinity laws. USE WHEN: a task needs a public, screening-level pump power, NPSH-available estimate, and BEP-window check before detailed pump selection.4---56# Pump Hydraulics Screening78Use this skill for public, educational centrifugal-pump hydraulics screening. It estimates hydraulic and shaft power, the available net positive suction head (NPSHa), and the best-efficiency-point (BEP) flow ratio so an agent can scope a pumping duty and decide whether to invoke validated NeqSim pump calculations.910## When to Use1112- When a user asks roughly how much power a pump duty needs.13- When an agent needs a quick NPSH-available margin and cavitation triage.14- When an agent must check that an operating flow sits inside a sensible BEP window.15- When examples must run without confidential pump curves, vendor data, or company specs.1617## Inputs1819- `flow_rate`: operating volumetric flow in m3/h.20- `head`: pump differential head in m.21- `density`: pumped-fluid density in kg/m3.22- `efficiency`: pump hydraulic efficiency, default 0.70.23- `suction_pressure`: optional suction pressure in bar absolute (for NPSHa).24- `vapor_pressure`: optional fluid vapor pressure in bar absolute (for NPSHa).25- `static_suction_head`: optional static suction head in m, default 0.26- `friction_loss`: optional suction friction loss in m, default 0.27- `npsh_required`: optional NPSH required in m (for the margin).28- `bep_flow_rate`: optional best-efficiency-point flow in m3/h (for the ratio).2930## Outputs3132- `hydraulic_power_kw`: hydraulic (fluid) power.33- `shaft_power_kw`: estimated shaft power.34- `npsh_available_m`: available NPSH, or `null` if suction data is not supplied.35- `npsh_margin_m`: `NPSHa - NPSHr`, or `null` if not enough data.36- `bep_ratio`: `flow_rate / bep_flow_rate`, or `null` if BEP flow not supplied.37- `pump_warning`: `ok`, `watch`, `off-bep`, `npsh-deficit`, or `no-rating`.38- `assumptions`: public assumptions used by the placeholder model.3940## Engineering Method4142The Python class `PumpHydraulicsModel` uses public pump relations only:4344- hydraulic power uses `P = rho * g * Q * H`, with `Q` converted from m3/h to m3/s.45- shaft power uses `P_shaft = P_hydraulic / efficiency`.46- available NPSH uses `NPSHa = (P_suction - P_vapor) / (rho * g) + static_suction_head - friction_loss`.47- the BEP check uses the flow ratio `Q / Q_bep` against a public preferred window (default 0.70 to 1.20).4849This is educational and screening-only logic. It assumes constant density, a single operating point, and does not model affinity-law scaling beyond the inputs, suction recirculation, viscosity correction, minimum-flow recycle, or vendor curves. It is not a replacement for validated pump selection and a qualified rotating-equipment review.5051## Python Usage Pattern5253```python54from pump_hydraulics_screening import PumpHydraulicsModel5556model = PumpHydraulicsModel()57result = model.evaluate(58 flow_rate=120.0,59 head=95.0,60 density=820.0,61 efficiency=0.74,62 suction_pressure=4.0,63 vapor_pressure=1.5,64 static_suction_head=3.0,65 friction_loss=0.8,66 npsh_required=3.5,67 bep_flow_rate=130.0,68)6970print(result.pump_warning)71print(result.shaft_power_kw)72print(result.npsh_margin_m)73```7475## Related NeqSim Functionality7677For validated pump calculations, redirect to existing NeqSim classes:7879- `neqsim.process.equipment.pump.Pump` — rigorous pump power and head with real-fluid properties.80- `neqsim.process.equipment.pump.PumpCurve` / `PumpChart` — vendor head, efficiency, and power curves.81- `neqsim.process.equipment.pump.ESPPump` / `JetPump` — specialized pump types.8283This skill is a public hydraulics triage layer that decides when to invoke those validated pump classes.8485## Validation Checklist8687- [ ] Flow, head, and density are positive.88- [ ] Efficiency is in the interval (0, 1].89- [ ] NPSHa is only reported when suction and vapor pressures are supplied.90- [ ] Tests cover power, NPSH margin, BEP ratio, and invalid input.91- [ ] Real selection is redirected to validated NeqSim pump classes and qualified review.9293## Common Mistakes9495| Symptom | Cause | Fix |96| --- | --- | --- |97| Power off by a factor | Flow left in m3/h not converted to m3/s | The model converts internally; pass m3/h |98| NPSHa missing | Suction or vapor pressure not supplied | Provide both `suction_pressure` and `vapor_pressure` |99| BEP ratio missing | `bep_flow_rate` not supplied | Provide the pump BEP flow |100| Cavitation not caught | Constant-density assumption near bubble point | Use the validated NeqSim Pump with real properties |101102## Limitations103104- No proprietary pump curves, vendor data, or company specs are included.105- No viscosity correction, suction recirculation, or minimum-flow recycle is modeled.106- No real-fluid property variation across the pump is included.107108## References109110- NeqSim repository: https://github.com/equinor/neqsim111- NeqSim Skills Guide: https://github.com/equinor/neqsim/blob/master/docs/integration/skills_guide.md