In the Unit Commitment and dynamic economic dispatch model consisting of microgrid energy management framework, we propose a distributed dynamic economic dispatch calculation algorithm, the algorithm is based on the consistency of the distributed primal-dual perturbation method, using local communication to estimate overall information, to achieve a dynamic economic dispatch problem of the energy storage device comprises temporal correlation of fully distributed solving program. The algorithm requires only local communication adjacency matrix of random, rather than the more stringent doubly stochastic nature, having wider adaptability. The actual data are based on analysis of microgrid operation to verify the characteristics of the algorithm which has good accuracy to meet the convergence rate of the microgrid operation and parameters selection easier.