Optimization of a hydropower station for improved frequency regulation