A Review of Energy Modeling Tools for Energy Efﬁciency in Smart Cities

: Nowadays, modeling tools are a crucial part of best practice in the elaboration and implementation of a decarbonization plan in any organization, city, or country. The present review analyzes the different modeling tools available to assess energy systems in smart cities. It creates an updated overview of the modeling tools currently available, showing their capabilities and main potential outputs when considering the energy efﬁciency objective in the context of smart cities in Europe. A restricted set of 14 tools are identiﬁed which optimally fulﬁll the modeling mission of the energy sector, in a smart city context, for different time horizons. The selection considers the capability to include decarbonization assessments, namely, by considering the ﬂexibility to use different external factors, energy policies, technologies, and mainly the implementation of Article 7 from the Energy Efﬁciency Directive and the “energy efﬁciency ﬁrst” principle deﬁned by the European Commission. The ELECTRE TRI method was used to implement a multi-criteria decision approach for sorting modeling tools, aiming at distributing the various alternatives by previously deﬁned categories, and considering the performance criteria of each alternative modeling tool, the analysis suggests that the best options are the LEAP, MESSAGEix, and oemof tools.


Introduction
Cities are constantly facing major challenges, mainly due to continuous population growth and their diversion to urban living. These challenges depend on cities' geography and culture but, not exhaustively, are, namely: congestion management, excess pollution, resource usage, absence of satisfactory physical and social infrastructures, necessity to maintain continuous sustainable economic growth, and increasingly narrower energy and environmental obligations [1,2]. The United Nations World Urbanization Prospects [3] state that much more people are living in an urban environment rather than in rural areas, and the dispersion is increasing. About 30% of the world's population was living in urban areas in 1950. In 2018, this number had increased to 55%. It is expected an increase to more than 60% by 2030 [4] and by 2050, the report projections are an increase to about 68% of the world's population settled in an urban environment [3]. In the United Nations report [3], it is mentioned that this increase in the urban area population is mainly motivated by overall population growth and by their increasing diversion for urban-area living. Collectively, by 2050, the two referred factors could contribute to an increase of about 2.5 billion people living in an urban environment.
Globally, in 2016, there were around 512 urban centers with about 1 million people and about 31 megacities with more than 10 million people [5]. These figures are expected to increase by 2030 to about 662 urban centers and 41 megacities, most of them in developing regions [5]. Therefore, nowadays cities need to be planned to be capable of providing the resources and essential services to ensure meeting the increasing quality of life demands to their populations while at the same time ensuring sustainable development requirements.
The United Nations Sustainable Development Goals (Ref. [6], with special prominence to SDG 11 [7], together with the New Urban Agenda [8], are catching international recognition to ensure a strong contribution from cities on the road to sustainability, in the pursuit to "Make cities inclusive, safe, resilient and sustainable" [9]. Human life is going through a crucial phase, where efforts to achieve a sustainable balance with the environment are becoming more challenging. A clear example was the agreement reached in the European Parliament to bring the European Union (EU) to climate neutrality, through the approval of the European Climate Law, transforming the political commitment of the European Ecological Pact to bring the EU to climate neutrality by 2050 into a binding obligation, as well as providing European citizens and businesses with the legal certainty and predictability they need to plan their investments during this transition. After the 2050 horizon, the EU's objective will be to achieve negative emissions.
Currently, the generation of electricity is increasingly based on renewable sources, so switching from technologies that use fossil fuels to those that use electricity will generally reduce greenhouse gases (GHG) emissions and the energy dependence of most of the Member States. With the energy transition on the roadmap to a decarbonized economy, the role of electrification is essential, but it can never be implemented effectively, both in terms of costs and timing, without energy efficiency being the priority. A set of opportunities for energy efficiency in buildings, transport, and industries will allow energy savings by switching from inefficient fossil fuel technologies to more efficient electrical technologies. They also provide financial, environmental, health, and property benefits. Therefore, electrification must be seen as an energy efficiency measure if energy savings are achieved. Energy efficiency ensures a key role, not only in global climate change mitigation, but also in increasing the security of energy supply, business competitiveness, and social welfare [10,11].
In this context, the Intergovernmental Panel on Climate Change (IPCC) special report [12] on the impacts of global warming of 1.5 • C above pre-industrial levels highlighted the end-use energy efficiency and the electrification role for climate mitigation. The International Energy Agency (IEA) also refers to the energy efficiency role as crucial to speed up the necessary clean-energy transition to attain the sustainability and global climate goals [13]. In harmony is also the European Commission, regarding the EU's climate targets that must be supported foremost by the energy-efficiency-first principle [14], at least since the publication of the Council Directive 93/76/EEC of 13 September 1993 to limit carbon dioxide emissions by improving energy efficiency (SAVE), and thus far, with the publication of Directive (EU) 2018/2002, amending Directive 2012/27/EU on energy efficiency (EED) [15], that energy efficiency is part of an ambitious European legislative framework to stimulate the rational use of energy. In Europe, the absence of energy efficiency policies would have contributed to about 12% higher energy consumption in 2013 [16].
Other EU energy efficiency policies are the Energy Performance of Buildings Directive [17], Ecodesign Directive [18], Energy Labelling Regulation [19], and Regulations for the Reduction of the CO 2 Emissions of Vehicles [20]. The Energy Performance of Buildings Directive (EPBD-2010/31/EU) is the main European legislative instrument to promote the energy performance of buildings, regarding energy efficiency and renewable energies national requirements, and requiring Member States to implement an energy labeling system for buildings and define the technical requirements for nearly zero-energy buildings (NZEB). The Ecodesign Directive (2009/125/EC) to improve efficiency in energy-related products currently covers more than 30 product groups. The Energy Labelling Regulation (EU 2017/1369), on the indication by labeling and standard product information of the energy consumption and use of other resources by energy-related products, currently covers 18 different products, and the Regulations for the Reduction of CO 2 Emissions of Vehicles (EU 2019/631) sets CO 2 emission performance standards for new passenger cars and new vans in the EU.
As Figure 1 shows, the European Union leads the world decarbonization process of the energy sector through a comprehensive legislative framework, which has been designed since 2015, providing strategic tools at the Member State level for the creation of the Energy Union, where energy planning is fundamental to fit all initiatives within the scope of energy efficiency, to identify the best way to achieve the national assumed objectives reflected in the Paris Agreement of 2015 [21]. Thus, there is a clear need for a deeper exploration of the role of energy efficiency in energy planning, since the impact is not limited to a decrease in final energy consumption, but also has an impact on the energy supply side, namely, the need for available power for electricity generation (thus contributing to an increase in the share of the final energy consumption that is ensured by renewable sources), the need for investments to reinforce energy transmission and distribution networks, and non-energy impacts, namely, those that promote the improvement of quality of life. Electrification is a key tool to change from fossil to decarbonized resources, namely, in the decarbonization of the building and transportation sectors [22]. However, this energy transition process involves a large increase in certain critical mineral needs [23]. In a scenario that meets the goals of the Paris Agreement, the participation of the energy sector in the total consumption of some key minerals increases significantly. Additionally, it is expected that electricity consumption will increase and since, currently, not all electricity generation can be based on renewable energy sources, it will be crucial that today's cities be smart in a short period and ensure efficiency on the final consumption. Therefore, energy efficiency should be the first fuel to be considered in this transition process [24][25][26][27].
Based on the above framework, the present study intended to make a review of modeling tools for city energy systems for the energy efficiency objective. The remainder of this paper is structured as follows. Section 2 is dedicated to the "Smart City" concept and the role of energy efficiency. Section 3 describes the methodology adopted to assess the right software tools according to the need to model an energy system considering the energy efficiency objective. Section 4 describes the results of the adopted methodology, and Section 5 presents the main conclusions and future research directions.
Although sometimes not exactly having the same focus, offering alternative development pathways in response to urban challenges [9], the use of different terms to address the "Smart City" concept has been generating terminological misunderstanding [32,39,40]. Nowadays, "Smart City" is probably the most prevalent and acknowledged wording among the majority of citizens, media, investors, companies, and public authorities [41]. Public authorities and the business sector, in general, are using this wording, as it is a buzzword comprehensible by the majority of the targeted stakeholders [34,41].
The increasing interest in "Smart City" and related concept terms are well documented in earlier bibliometric studies, which highlight its growth in scientific publications: Martin de Jong [36] refers to an exponential growth in the use of the "Smart City" term since 2009 when analyzing the period from 1996 to 2013, where "Sustainable City" had about two and a half times more retrieved articles. The same accelerating growth was also demonstrated by Wang [42] when analyzing the articles in the period from 1992 to 2016. In 2021, Schraven [9] extended the search until 2019, which covered the release of the UN's SDGs [6], the New Urban Agenda [8], and other more recent related initiatives. The bibliometric analysis of 35 different concept terms taken from a total of 148 revealed that "Smart City" and "Sustainable City" were the most used terms, with the first overcoming the second since 2012. "Smart City" has undoubtedly become the most investigated concept in recent years, being published in almost half (46%) of the total number of articles analyzed by Schraven [9] over the last 30 years, apparently due to the increasing adoption of smart technologies (IoT, big data, sensors, smart grids). Schraven [9] also realized that the two most-used terms have a very high level of co-occurrence with each other and significant co-occurrence with other terms, revealing their dominant position and influence, forming two clusters about "Sustainable City" (compact, low-carbon, green, and liveablethe "eco-cluster") and "Smart City" (intelligent, digital, future, ubiquitous, connected, and creative-the "techno-cluster"). Some more recent policy initiatives (e.g., "United for Smart Sustainable Cities" (U4SSC) [43] and the ISO 37122 standard for "Sustainable Cities and Communities-Indicators for Smart Cities" [44]) seem to try to contribute to the combination of the "Sustainable" and "Smart" city concepts, the overall goal of urban development defined in the first and the necessary technological resources to achieve it defined in the second [9].
There are similarities between the concepts of "Sustainable City" and "Smart City", but there are also some significant differences. Studies show that a "Sustainable City" is more focused on environmental and social aspects, while a "Smart City" is mainly focused on the technological, economic, and social aspects [45]. However, despite the low initial weight placed on the importance of environmental factors, the "Smart City" concept seems to be moving towards addressing sustainability issues. Traditionally, the "Smart City" has been interpreted as being more technology-focused instead, rather than the holistic conceptualization. Nevertheless, a holistic view of "Smart City" that includes, among many others, environmental issues is becoming more widespread recently. It is expected that the "Smart City" concept would leverage the technological infrastructure being deployed in an urban environment to deliver key "smart services", such as smart healthcare, smart homes, smart transportation, smart workplaces, smart government, and many others [46]. This perspective is found in academic literature [47][48][49] and regional or international organizations, such as the European Commission, the IEEE, and the United Nations.
The European Commission (EC) has a vision of smart cities that is beyond the simple use of technology and ICT. The EC points out that smart cities are more about the interaction between all cities' infrastructures with the aim of providing multiple benefits to different sectors. The EC [50] states that smart cities are "Cities using technological solutions to improve the management and efficiency of the urban environment". It refers to the smart city as being "a place where traditional networks and services are made more efficient with the use of digital and telecommunication technologies for the benefit of its inhabitants and business". It is also stated that "a smart city goes beyond the use of information and communication technologies (ICT) for better resource use and fewer emissions. It means smarter urban transport networks, upgraded water supply and waste disposal facilities and more efficient ways to light and heat buildings. It also means a more interactive and responsive city administration, safer public spaces and meeting the needs of an aging population" [50]. The IEEE has also a wider perception of the smart city concept in which technology is regarded as an enabler for an improved quality of life and to reduce environmental impacts [45]. The IEEE Smart Cities Initiative [51] states that "a Smart City brings together technology, government and society and includes but is not limited to the following elements: A Smart economy, Smart energy, Smart mobility, Smart environment, Smart living, and Smart governance" [51].
In "Smart Cities and infrastructure report" [52], the United Nations states that there is no standardized, generally recognized definition for the "Smart City" concept. It is although indicated as a reference on the report [52], the definition presented by the International Telecommunication Union (ITU) in 2014, after performing an analysis of about 100 different definitions. This definition was published on the ITU-T Y.4900 recommendations [53], with the following proposal: "an innovative city that uses information and communication technologies (ICTs) and other means to improve quality of life, the efficiency of urban operation and services, and competitiveness, while ensuring that it meets the needs of present and future generations with respect to economic, social, environmental as well as cultural aspects". Even though this definition presented by the ITU [53] is actually for a "Smart Sustainable City", the United Nations uses it as a reference when citing the "Smart City" definition, asserting also that "Governments and stakeholders need to work together to develop a common understanding of what Smart City means in their specific national and city-level contexts" [52]. Currently, the United Nations refers to the "Sustainable Cities and Communities" term as a way to "make cities and human settlements inclusive, safe, resilient and sustainable" [54].
There is a wide variety of respectable studies aiming at the identification of the different dimensions of a "Smart City" [31,31,37,38,48,[55][56][57][58]. They present different perspectives since the concept of a "Smart City" differs according to the different stakeholders, actors, and viewpoints of the literature [59]. In general, the literature points out the existence of seven main common different dimensions: People, Governance, Environment, Living, Mobility, Data, and Economy [31,37,48,[55][56][57][58][59][60][61][62][63][64][65]. One of many common aspects is that energy and energy efficiency is considered one of the many sub-themes, usually inside the "Environment" dimension [48]. Considering all the multi-dimension concepts and all the different indicators inside them, energy efficiency concerns must be, directly or indirectly, taken into account and properly assessed on several of them when implementing a "Smart City" project. To have, for instance, an adequate and sustainable communications network (Data dimension), the efficiency of all the ICT equipment must be taken into account. Energy efficiency has to be considered in all technology-related dimensions, but even in the economy-related indicators, Energy Intensity is taken into account [56], which in some way is also related to energy efficiency. Almost all activities within cities require energy (i.e., transportation, work activities, security, entertainment, commerce, homes, etc.). Therefore, energy efficiency is becoming a crucial challenge for life in cities [66], and for the smart city implementations, that must be properly assessed.
With the increasing deployment of "Smart Cities", various smart city assessment tools with distinct evaluation indicators have been established [41]. These tools use different indicator sets for the overall assessment of a specific dimension of the smart city. Given that energy efficiency is usually integrated into the Environment dimension, it is important to properly evaluate the most adequate city energy systems modeling tools that can be used for a proper indicator calculation.

Methodology
Given today's importance of the topic, especially due to the elaboration of the National Energy Climate Plans (NECP) in Europe, there was a need to model the energy system of the different Member States (MS) to the horizon of 2030 [67]. For this, it was necessary to model the energy systems of the cities of the future, where all activities must be harmonized, where the energy used will have origins in the usage of endogenous and renewable energy sources, and where consumers should become prosumers, autonomous and managing their consumption in real-time, thus minimizing the costs. On the other hand, the role of transport in cities will be fundamental to balance supply and demand, as the contribution of electric vehicles will allow the storage of excess energy produced during off-peak hours to be injected into the grid during periods of the greatest need [68].
The future of the planet depends on the ability of cities to shift towards more sustainable living standards. Cities with new dynamics are needed, capable of generating and consuming energy efficiently and smartly. Cities, as concentrated centers of energy consumers, integrated with a complex ecosystem, are a fundamental component for achieving national goals, hence the importance of modeling the energy systems of the cities of the future, characterized by being more digital and more flexible in terms of interaction with the new economic and social dynamics and, more importantly, for creating the conditions for more active participation of citizens and consumers in the energy transition to full decarbonization. It is now important to increase the precision of the MS energy system modeling at the scale of cities. Since the period of implementation of the NECP started in January 2021, it is essential to outline the strategies, public policies, and measures to be implemented for smart cities and to contribute to the national targets of each MS.
To identify the relevant energy modeling tools, a search was made for review articles on models of energy systems using Google Scholar, as well as IEEE Xplore, and B-ON, a Portuguese online knowledge library. Search terms such as "energy system modeling review" and "energy modeling tool selection process" were used. In addition, other articles cited in these publications were also evaluated. Subsequently, there was a need to narrow the research carried out to specific properties of energy systems models using the same research methods, but with a focus on the modeling of energy demand, energy efficiency, demand-side management, and storage. A total of 39 review articles were evaluated .
In a second phase, the tools available online for modeling energy systems were selected. This selection includes only the tools that have been evaluated in the revised literature [71,73,85,88,90,91,93,97,99], and which allow models of energy systems in general, and which are still available for download and with a significant number of users (more than 100 users), only possible to establish with complementary searches with the mentioned search engines and on the website of these modeling tools.
Regarding the open-source tools, which can already be applied to a wide range of problems, a recent investigation [93] compared these models with conventional models applied in energy systems and concluded that there is still a substantial performance gap.
The three most popular methodological approaches to energy system modeling are optimization, simulation, and equilibrium tools or models:

•
Optimization tools: include the design optimization of endogenous systems; • Simulation tools: provide the simulation of exogenously defined energy systems; • Equilibrium tools or models: incorporate a larger econometric model of the society.
According to the research carried out, it was found that a wide range of computer tools allow users to model and analyze energy systems considering a geographic coverage ranging from cities to countries to help design paths for the energy transition, namely, their ambitious decarbonization. These models are frequently very distinct from each other and, thus, decision-makers and researchers must choose the most appropriate power system modeling tool, depending on the purpose and specific objectives of their analysis [74].
Therefore, as optimization tools are predominant within city energy systems analysis, difficulties in interpreting the results can arise due to their complexity that in some way can affect their accuracy. Several conclusions have already been identified regarding the characteristics of these tools, as an increase in the model complexity is not an assurance of higher accuracy [90,109]. Uncertainties and variations in the inputs used on the simulation models of low-carbon energy systems can also have a considerable impact on the performance of energy systems [90,110], and top-down equilibrium models indicated substantial sensitivity when evaluating the integration of renewable energy sources and possibly need to be improved or to be used as a part of integrated mixed models [90,111].
Implementing the earlier described filtering to the final selection of modeling tools, 14 selected options are presented in Table 1.

Tool
Download Information

Weblink Availability
Calliope [112] Open-source DER-CAM [113] Free to download EnergyPLAN [114] Free to download energyPRO [115] Commercial Ficus [116] Open-source HOMER Pro [117] Commercial Commercial/free for developing countries and students MESSAGEix [119] Open-source oemof [120] Open-source RETScreen [121] Free to download Temoa [122] Open-source TIMES [123] Commercial TRNSYS16 [124] Commercial Urbs [125] Open-source Figure 2 shows the definition of the criteria tree adopted in this study to support the selection of the modeling tool to promote energy efficiency, and its impact on a given energy system. The following operational characteristics that the modeling tool makes available were identified: the temporal resolution (minutes, hours, years), geographic coverage (city, regional, national, continental, or international), sectorial coverage (fossil resources, electricity, heat, and hydrogen), ability to include demand-response measures, and the type of access to the tool (open-source, free, or commercial). Regarding the assessment characteristics performed by the modeling tools, the considered options were energy efficiency, emissions, financing, and social impact in each energy system to be modeled. To finish the first part of this study, each of the nine criteria identified in Figure 2 was classified, as presented in Table 2, according to the adopted definition. Table 2. Definition of each criterion used and its scales.
geographic coverage (g2) 1 to 4 The tool allows simulating at the city level (1), regional level (2), national level (3), continental or international level (4). Multiple-criteria decision analysis (MCDA) methods are extensively used in public and private-sector decision-making on transport, energy, immigration, education, investment, environment, defense, etc. [126][127][128]. To define the alternatives, the characteristics of the multi-criterion methods were initially considered, namely: • Ability to evaluate each alternative in absolute terms, and not just in comparison with others; • Independence from scales, to allow the inclusion of impacts measured in different units and even impacts measured in qualitative terms.
It is also important that the adopted methodology can support a top-end decisionmaker, who may often not be an expert in energy modeling [129]. Such attributes indicate the use of the ELECTRE TRI method, a multiple-criteria decision method used in several knowledge areas [130][131][132][133], and whose methodology deals with the uncertainty of the parameters, as well as the subjective classification of alternatives by the decision-maker.
ELECTRE methods (ELimination Et Choix Traduisant la REalité) appeared in the 1960s [134] in France, as a way of evaluating various alternatives based on certain criteria. The methods are developed depending on the purpose that is to be achieved: • Choice, to select the "best" alternative or a reduced set of "best" alternatives; • Ranking, to rank the alternatives from the "best" one to the "worst" one; • Sorting, to distribute alternatives into predefined categories.
Among the various methods, ELECTRE TRI was developed to respond to the classification problem [134], to organize it into several alternative categories.
In the present case, it was intended to apply the method to guide in the identification of an appropriate tool for a particular analysis of city energy systems for the energy efficiency objective, categorizing the modeling tools characteristics by the degree of criticality or relevance. This makes available to the decision-maker a tool that allows classifying the alternatives, ensuring that he guides the modeling of the energy sector within the parameters he considers most relevant.
The relative weights (kj) of each criterion were distributed according to the importance allocated by the decision-maker, in this case, the authors. The importance coefficient (weight, kj) of criterion gk, which is always a positive number, was defined as the sum of all kj being equal to 1. The following conditions were considered from this starting point: (1) A quarter (25%) of the total weight of the kj would be allocated according to the criterion that the tool allows analyzing energy efficiency as a result (g6), as the final use of the tool will be to model the contribution of energy efficiency for an energy system. (2) For the same reason, but with less importance, it was considered that 15% would be the weight for the evaluation criterion concerning the tools that allow analyzing the impact of demand response measures (g4). (3) Below the average, a weight of 10% was considered for the criterion that assessed whether the tool is paid or not (g5), as it will always be important to assess the initial costs for such academic exercise. (4) As a less important criterion, the criterion with geographic coverage was considered, which would be 1/5 of the criterion with the greatest weight, 5% (g2). This decision is supported by the previous analysis of the available tools, which practically all cover a city geographic scenario. (5) The remaining criteria were given the average remaining value of 9%, as they have the same relative importance.
In summary, Table 3 shows the weights attributed by the authors to the different defined criteria. Based on the research and tests carried out about the use of the different tools, Table 4 lists the input data of the classification of each of the nine criteria for each of the 14 modeling tools.

Results
The evaluation process was carried out using the EXCEL calculation tool to implement the ELECTRE TRI methodology, starting with the introduction of performance data for 14 modeling tools according to the different criteria, profiles and associated thresholds, and weights. The cut-off level was restricted to the range [0.51, 0.67] since those limits correspond to a simple majority requirement and a two-thirds majority.
In this context of classification of modeling tools, the following categories of increasing importance were defined for consideration of the energy efficiency objective when choosing the most suitable tool: not a good choice (1), good choice (2), very good choice (3), and excellent choice (4). Through the methodology execution, the distribution of alternatives by the categories to a central scenario (without any restriction) was obtained and then conditioned by the restrictions related to the upper and lower limits of each limit of each profile, as presented in Figure 3.
The outputs show very balanced results. However, the results demonstrate that the LEAP, MESSAGEix, and oemof tools are very likely to be the best choices to achieve the proposed objective of assessing the real impact of energy efficiency on a given energy system, namely, on cities. Other hypotheses to consider are the Calliope, EnergyPLAN, RETScreen, and Urbs tools, which also reach the needs in a simple majority scenario [0.51].
Reflecting on the scenario of a two-thirds majority [0.67], the option for LEAP should be considered by students and researchers who do not intend to program the model in Python language (for example) and look for a friendlier interface. However, the MES-SAGEix and oemof tools are two open-source tools that have remarkable potential for community development. It is important to mention that this evaluation is conditioned by the authors since other weights can be defined for the proposed criteria.

Conclusions
Electrification is a key strategy to change from fossil to decarbonized resources, but energy efficiency should be the first fuel to be considered in this process due to its faster, more reliable, and cheaper implementation results. As electricity consumption will increase and since, in the short-to-medium term, not all electricity can be generated from renewable energy sources, it will be essential to ensure large-scale efficiency action on consumption in all sectors. However, it is important to move from intentions to action, and the cities' role is fundamental to achieving this goal. The European Community legislative framework based on the principle of "energy efficiency first" is not enough. Therefore, cities must become smart cities, and for that it is necessary to plan to the horizons 2030 and 2050, considering the impact of energy efficiency programs, in particular the implementation of Article 7 of the EED (Energy Efficiency Directive), which is undoubtedly the strongest European tool to promote energy efficiency.
The impact of the EED implementation will necessarily cause a significant transformation in the energy sector, in terms of energy generation, transmission, distribution, and consumption. If, on the one hand, the modeling tools contemplate the increase in energy efficiency in the technological evolution, as well as the efficient choice of the final consumer when purchasing new equipment, on the other hand, the impacts of political measures, such as the implementation of EED Article 7, are more complex to approach in current modeling tools.
There are several modeling tools available to study the best way to achieve the objective of the energy sector carbon neutrality in the cities, even considering energy efficiency as the first and main measure to achieve this end. However, and without increasing the complexity of the models, the creation of sub-models and the use of different tools, when correctly applied, can generate results more consistent with reality.
The results of the current publication demonstrate that the LEAP, MESSAGEix, and oemof tools are the best options to achieve the proposed objective. It is possible to highlight LEAP, due to its friendlier work environment, as well as the possibility of programming in the MESSAGEix and oemof tools, which are open-source tools for the community. Combining the modeling tools with a multi-criteria decision approach to sorting input and output data, and the use of an energy balance Sankey Diagram, where energy efficiency should be seen as an energy vector, should be a future direction of research in the energy planning of smart cities.

Conflicts of Interest:
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.