Deakstadieđáhus: Nonlinear Robust Control and Optimisation of Microgrids