Hierarchical Control System for Robust Microgrid Operation and Seamless Mode Transfer in Active Distribution Systems | Synapse