Microgrid optimization & real-time control via a digital architecture for dynamic orchestration | Synapse