Resumen: This work presents a management strategy for microgrid (MG) operation. Photovoltaic (PV) and wind generators, as well as storage systems and conventional units, are distributed over a wide geographical area, forming a distributed energy system, which is coordinated to face any contingency of the utility company by means of its isolated operation. The management strategy divides the system into three main layers: renewable generation, storage devices, and conventional units. Interactions between devices of the same layer are determined by solving an economic dispatch problem (EDP) in a distributed manner using a consensus algorithm (CA), and interactions between layers are determined by means of a load following strategy. In this way, the complex behaviour of PV and wind generation, the battery storage system, and conventional units has been effectively combined with CA to solve EDP in a distributed manner. MG performance and its vulnerability are deeply analysed by means of an illustrative case study. From the observed results, vulnerability under extreme conditions could be reduced up to approximately 30% by coupling distributed renewable generation and storage capacity with an energy system based on conventional generation. Idioma: Inglés DOI: 10.3390/en12040616 Año: 2019 Publicado en: Energies 12, 4 (2019), 616 [30 pp] ISSN: 1996-1073 Factor impacto JCR: 2.702 (2019) Categ. JCR: ENERGY & FUELS rank: 63 / 112 = 0.562 (2019) - Q3 - T2 Factor impacto SCIMAGO: 0.635 - Control and Optimization (Q2) - Electrical and Electronic Engineering (Q2) - Renewable Energy, Sustainability and the Environment (Q2) - Energy Engineering and Power Technology (Q2) - Fuel Technology (Q2) - Energy (miscellaneous) (Q2)