rcriii42 / DHLLDV

Python implementation of the DHLLDV slurry transport framework
GNU General Public License v2.0
8 stars 7 forks source link

Add NPSH calculation to the Pipeline Object #27

Open rcriii42 opened 2 years ago

rcriii42 commented 2 years ago

Calculate NPSHAr and NPSHa for all the pumps in a pipeline, and return as a list of tuples.

Needs NPSHr from #26

rcriii42 commented 2 years ago

If 'heads' is the list of heads output by Pipeline.hydraulic_gradient(), the formula for NPSHa is:

10.2 - Hvap_salt + heads[pump_index] + PL.slurry_pipe.velocity(Qop)**2 / (2 * gravity)

where:

Hvap_salt = 2.2914E-03 * 101.99773339984 # Vapor Pressure salt water at 20 deg C (https://ittc.info/media/4048/75-02-01-03.pdf)