Text this: Spear governing algorithms for Pelton turbines on SPP