and system stability are still important problems in real-time control for microgrid. Based on the consensus protocol of multi-agent system
this paper presents a hierarchical distribution real-time optimization strategy. Firstly
a first-order consensus protocol is applied to calculate the active power of distributed generators(DGs)when only the constraint on output power is to be considered. Secondly
based on the secondary-order agent model of active power regulation for DGs
a novel consensus protocol is proposed to make the DG export the reference active power given in the first layer. Finally
the consensus protocol is used to adjust the droop parameters adaptively so that the system frequency and voltage are optimized as expected. The system is in globally asymptotic stability under the proposed strategy through the analysis of Lyapunov direct method. Simulation analysis and results have verified the effectiveness of the proposed strategy.