Benchmarking and optimisation of Simulink code using Real-Time Workshop and Embedded Coder for inverter and microgrid control applications | IEEE Conference Publication | IEEE Xplore