agentleFS
equinorequinor/neqsim-community-skills/skills/process/neqsim-pump-hydraulics-screening/SKILL.md

neqsim-pump-hydraulics-screening

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for public, educational centrifugal-pump hydraulics screening.

    line 16
  2. Distinctive:

    When a user asks roughly how much power a pump duty needs.

    line 20
  3. Distinctive:

    When an agent needs a quick NPSH-available margin and cavitation triage.

    line 21
  4. Distinctive:

    When an agent must check that an operating flow sits inside a sensible BEP window.

    line 22
  5. Distinctive:

    When examples must run without confidential pump curves, vendor data, or company specs.

    line 23
  6. Distinctive:

    No proprietary pump curves, vendor data, or company specs are included.

    line 112
  7. Distinctive:

    No viscosity correction, suction recirculation, or minimum-flow recycle is modeled.

    line 113
  8. Distinctive:

    No real-fluid property variation across the pump is included.

    line 114

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  • Flow, head, and density are positive.
  • Efficiency is in the interval (0, 1].
  • NPSHa is only reported when suction and vapor pressures are supplied.
  • Tests cover power, NPSH margin, BEP ratio, and invalid input.
  • Real selection is redirected to validated NeqSim pump classes and qualified review.

Common Mistakes

SymptomCauseFix
Power off by a factorFlow left in m3/h not converted to m3/sThe model converts internally; pass m3/h
NPSHa missingSuction or vapor pressure not suppliedProvide both suction_pressure and vapor_pressure
BEP ratio missingbep_flow_rate not suppliedProvide the pump BEP flow
Cavitation not caughtConstant-density assumption near bubble pointUse 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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.