“…Electronics 2021, 10, x FOR PEER REVIEW 2 of 19 that enable the effective operation of the power system so that the adequate security of the energy supply is maintained and is provided at a minimum cost. In general, from review articles found in the literature [6][7][8], the EMS of a microgrid has a host of functions which are shown in Figure 1. They include data acquisition, which involves the collection of data from various elements present in the microgrid such as generators, loads, storage devices, the main grid and weather forecasts.…”