Comprehensive power loss modelling to improve the performance of an Energy Recovery Station for water utility networks