Multi-Layer Optimization for Microgrid Control under Adaptive Droop for Frequency and Voltage Regulation | Synapse