A methodology to estimate average flow rates in Water Supply Systems (WSSs) for energy recovery purposes through hydropower solutions