Text this: Nonlinear Robust Control and Optimisation of Microgrids