Indietro

#affinity-laws

1 APIs con questa etichetta

Pump Power API

Pump power, head and affinity maths as an API, computed locally and deterministically. The power endpoint computes the power a pump needs from its flow rate, head, fluid density and efficiency: the hydraulic (water) power is ρ·g·Q·H, the shaft (brake) power is that divided by the pump efficiency, and an optional motor efficiency gives the electrical input power — all reported in watts, kilowatts and horsepower. Flow accepts litres per second or minute, cubic metres per hour or second and US gallons per minute; head accepts metres or feet; and the fluid can be water, seawater, oil, diesel and more, or a custom density. The head endpoint converts between pressure and head of fluid, H = P/(ρ·g), in both directions, across pascals, kPa, bar, psi and atmospheres. The affinity endpoint applies the pump affinity laws — flow scales with speed, head with speed squared and power with speed cubed — to predict the new operating point when you change the pump speed or trim the impeller diameter. Everything is computed locally and deterministically, so it is instant and private. Ideal for plumbing and HVAC tools, process and water-treatment engineering, irrigation and pool-pump apps, and energy-efficiency calculators. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is pump power and head maths; for flow rate from pipe diameter and velocity use a pipe-flow API and for open-channel flow use a Manning API.

api.oanor.com/pump-api