Due to the opening of the energy market and agreements for the reduction of pollution emissions, the use of microgrids attracts more attention in the scientific community, but the management of the distribution of electricity has new challenges. This paper considers different distributed generation systems as a main part to design a microgrid and the resources management is defined in a period through proposed dynamic economic dispatch approach. The inputs are obtained by the model predictive control algorithm considering variations of both pattern of consumption and generation systems capacity, including conventional and renewable energy sources. Furthermore, the proposed approach considers a benefits program to customers involving a demand restriction and the costs of regeneration of the pollutants produced by conventional generation systems. The dispatch strategy through a mathematical programming approach seeks to reduce to the minimum the fuel cost of conventional generators, the energy transactions, the regeneration of polluted emissions and, finally, includes the benefit in electricity demand reduction satisfying all restrictions through mathematical programming strategy. The model is implemented in LINGO 17.0 software (Lindo Systems, 1415 North Dayton Street, Chicago, IL, USA). The results exhibit the proposed approach effectiveness through a study case under different considerations.