Distributed energy systems are fundamentally characterized by locating energy production systems closer to the point of use. DES can be used in both grid-connected and off-grid setups. In the former case, as shown in Fig. 1 (a), DES can be used as a supplementary measure to the existing centralized energy system through a …