Stability Analysis and Design of Islanded Microgrids Integrating Pinning-Based and Consensus-Based Distributed Secondary Control | Synapse