Optimisation Optimal Control and Nonlinear Dynamics in Electrical Power Energy Storage and Renewable Energy Systems