### Review of Previous Work  
According to a report by the International Energy Agency (IEA) [8], renewable energy use across the electricity, heating, and transportation sectors is projected to grow by nearly 60% between 2024 and 2030. During this period, global renewable energy capacity is expected to expand by over 5520 GW, representing a deployment rate 2.6 times higher than that observed from 2017 to 2023 [9]. These rising consumption levels, especially due to population growth and improved comfort, are driving the planning of distributed energy systems, particularly in hard-to-reach areas that require substantial improvements at the community level. These new conditions, where there is no direct dependence on the public electricity grid, have led academics and researchers to focus on these new social interactions, which require a deeper analysis of the technical and economic aspects of new energy infrastructures [10]. Furthermore, it must be recognized that a design is much more appropriate when renewable energy is used, taking advantage of the energy potential  
Figure 1: Sustainable medical center in the Puntahacienda de Quingeo community in Ecuador: (**a**) The beginning of construction; (**b**) integration of the sustainable energy system. of the geographic surroundings and avoiding the use of polluting fossil fuels, which, in addition to requiring continuous transportation from main supply centers to rural areas, are inappropriate for use in buildings that, by their nature, must be pollution-free, as is the case with medical centers [11]. Another weakness of fossil fuels is the high risk of fires in localities that still lack sustained urban planning. Material losses can be quantified if we consider publicly accessible buildings, which often require cumbersome bureaucratic procedures to achieve proper implementation, such as medical equipment, offices, rest areas, etc. [12]. Renewable energy systems that have begun to operate in various isolated environments or are connected to the electrical grid are being largely expanded to diverse infrastructures [13], such as organic buildings [14], political training centers [15], and monument lighting [16]. In some cases, they operate with a single renewable source that includes storage systems, while in others, they also form hybrid systems [17]. The renewable energy sector is evolving rapidly, especially in regions where it is still emerging. As advancements accelerate, the long-term prospects for clean energy technologies are increasingly optimistic [18]. This progress reinforces the confidence of those who advocate for renewables as a key strategy to address the environmental impact of fossil fuel-dependent energy systems [19]. The growth of renewable energy has profoundly transformed the way energy is produced and consumed, providing significant benefits in both urban and rural areas [20]. In cities, the incorporation of technologies such as solar panels in buildings has made it possible to reduce dependence on fossil fuels and decrease polluting emissions, thus improving air quality and public health [21]. At the same time, in rural areas, where access to the conventional electricity grid is often limited or inefficient, renewable energy offers a decentralized and sustainable solution to guarantee the electricity supply [22]. Photovoltaic systems, mini-hydroelectric plants, and wind turbines have enabled the electrification of isolated communities, boosting local development and improving the quality of life of their residents [23]. Furthermore, the expansion of these energy sources generates employment, fosters technological innovation, and promotes greater energy equity across regions [24]. Therefore, the sustained growth of renewable energy is key to moving toward a cleaner, fairer, and more resilient energy model. Various studies on energy systems emphasize the importance of identifying the energy strengths of each region, taking advantage of geographic conditions and renewable energy potential [25].