Implementation of interactivity across a resilient microgrid for power supply and exchange with an active distribution network | Synapse