Pump flow calculation functionality using HQ and PQ curves