Modelling and analysis of grid forming control with cascaded current and voltage loop | Synapse