ML-based energy management of water pumping systems for the application of peak shaving in small-scale islands