Git Product home page Git Product logo

pump-calculation's Introduction

Pump Calculations

pumpcalc.py

Few calculations which can be easily performed by hand:

1. Shaft Power

Big issue here is Pump efficiency, which is defined as ratio of power we get out of the pump to the amount of power we are putting into the pump. Survey among popular pump brand shows that efficiency of the pump is in range of 40-90%. Seems that efficiency is related to "speed number" and dropping if speed number is below 1000. Wear of sealing elements inside pump housing affect efficiency.

Default efficiency, used in script, is 0.6.

Vapor pressure data for few fluids can be found [here](https://github.com/ddjokic\Headloss in Pipe\Fluids.md).

2. NPSHa and Cavitation

For cavitation not to occur, minimum pressure on suction side should be grater that vapor pressure of the liquid at operation temperature. Script calculates minimum pressure and compare it with vapor pressure (user defined).

3. Centrifugal Pump Curve

Useful if one needs Pump Curve H-Q equation, based on given points - eg. maker's graph. As characteristic of centrifugal pump is parabola, at least three points should be provided. More points - better fit.

viscosrevice.py

Recalculates Delivery, Head, Efficiency and Power of the centrifugal pump from Water Viscosity, usually provided by the maker, to real pumped fluid using Hydraulic Institute standards.

There are two files:

  • viscoservice-US.py using US Customary Units - gpm for flow and feet for head;
  • viscoservice-M.py using metric units - cum/h for flow and meter for headloss

Make sure that you are using right template file for your unit system - m for metric and us for US system. Input file should be in csv format.

Results are written in input file - file is appended.

NOTE:
Although effort had been made to make scripts accurate, you are using them on your own risk. **There is no any kind of warranty**.

pump-calculation's People

Contributors

ddjokic avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.