Text this: Mathematical Modelling and Numerical Simulation of the Dynamic Behaviour of Thermal and Hydro Power Plants