Development of a physics-based model to predict the performance of pumps as turbines (PATs)