Buildings are among the largest energy consumers in the world. As new technologies have been developed, great advances have been made in buildings, turning conventional buildings into smart buildings. These smart buildings have allowed for greater supervision and control of the energy resources within the buildings, taking steps to energy management strategies to achieve significant energy savings. The forecast of energy consumption in buildings has been a very important element in these energy strategies since it allows adjusting the operation of buildings so that energy can be used more efficiently.
Energy efficiency is a general concern, from people to governments, since it yields efficient reserve funds, lessens ozone-depleting substance outflows and lightens energy requirements . In recent years, carbon dioxide (CO2) emissions from buildings have been on the rise after a reduction between 2013 and 2016. In 2019, CO2 emissions reached a total of 10 GtCO2, the highest level recorded . The decrease in building energy consumption is important to alleviate greenhouse gas emissions and help to advance sustainable building practices . Noteworthy changes to decrease building operating expenses and assets arrangement may be reached through cutting-edge control techniques. Some of these techniques utilize forecasts of unsettling influences to foresee future building behavior and select an ideal arrangement of activities .
Forecasting is aimed at anticipating the future as precisely as possible, given the entirety of the data accessible, and is one of the most significant instruments for a proactive energy management system [5,6]. Lately, much consideration has been paid to advancement of energy utilization in the smart grid. Demand-side management is one of the prominent functions in a smart grid that enables end-clients to alter their demand for energy through different methods  such as building energy management systems (BEMS). BEMS were created for the efficient control and supervision of building energy utilization, allowing a decrease carbon dioxide emissions [8,9]. Over the past several decades, forecasting building energy consumption has gained importance with the development of BEMS [10,11]. The dynamic occupants’ behavior presents vulnerability issues that influence the performance of BEMS. To address this vulnerability issue, BEMS may implement forecasting as one of the BEMS modules .
Forecasting of building energy use is the foundation for intelligent building performance through low energy and control techniques . Building energy utilization has extensive energy reserve funds potential, but it requires an exact forecast since the prediction will directly influence the control techniques and the building’s potential energy reserve funds .
Building energy utilization is influenced by the building envelope, heating, ventilation and air conditioning (HVAC), occupants’ behavior and lighting . Building energy forecasting can be sorted into five categories: heating energy, cooling energy, heating and cooling energy, whole-building energy and others . In this research, energy consumption is studied from the electrical demand approach.
Forecasting in buildings aims to achieve different objectives (see Figure 1) such as: (a) confirm and measure the impact of energy-saving activities  and once the guidelines have been drawn up and implemented to obtain reductions in energy consumption, this objective pursues to validate that these guidelines have the expected results; (b) assume the energy needs considering normal requirements, which seeks to anticipate events that may modify the usual energy consumption of the systems, such as a sudden change in temperature that may affect the occupant’s comfort; and (c) indicate the variations in energy consumption of events at specific times; once an event that may alter energy consumption has occurred, this objective pursues to determine how much the variation in energy consumption would be. These forecasts can be used in the organization and distribution of goods to meet the need .
Figure 1. Building energy consumption forecasting objectives.
Building energy consumption forecasting is critical for building performance enhancements, energy management and reserves, detecting system faults and optimization of intelligent building process [21,22]. It is commonly a noteworthy segment to permit the control framework to decide ideal control settings to accomplish energy or cost investment funds. The exactness of energy use estimation legitimately impacts the general control execution and energy/cost investment funds . Consequently, the more precise the prediction, the more prominent the advantages the building proprietors procure. Despite what might be expected, a vulnerability in the estimation lessens the space for efficient energy management, which brings about pointless expenses. Thus, it is important to improve energy utilization forecasting .
Forecasting methods can successfully anticipate energy utilization by creating a relationship between energy and the system that consumes it by reducing the waste created by oversupply and undersupply . In recent years, different techniques have been proposed to capture this knowledge in the form of predictions . In the building segment, smart meters that measure and transmit energy usage are being widely installed. These open the door to new applications and results in the energy sector that allow for better forecasting accuracy . Energy utilization forecasting for buildings has a huge incentive in energy proficiency and manageability research. Precise energy forecasting methods have various ramifications in arranging and energy optimization . A great deal of building energy forecasting methods have been created in the previous two decades from different points of view .
There are three fundamental methodologies in building energy forecasting and modeling: physical, data-driven and hybrid methods [30,31]. Physical methods estimate energy use using thermodynamic rules to solve the heat and mass balance inside a building, which is also called a “white-box” as the internal logic is known . Data-driven depends on time-series statistical assessments and machine learning s of rules to evaluate and estimate the building energy utilization, and is also called a black-box since it predicts energy utilization ignoring the physical characteristics of the building . The hybrid method known as a grey-box, which was first presented in the 1990s to improve HVAC control frameworks’ effectiveness , and combines physical and data-driven methods [35,36].
Physical methods permit monitoring and modeling and investigate the cycle bit by bit where all the conditions are known . However, they cannot deal with the complex energy resulting from the occupants’ behavior in this manner, bringing about huge forecast mistakes. Therefore, these models are not commonly used for exact load expectations . To build up an accurate physical method, many input variables are required, which makes it complex to acquire all the necessary information. More significantly, the unsure and unreliable data suggest a difference between the model outcomes and reality . There have been studies on physical methods that have focused on-the demand forecast model for several energy sources , namely energy consumption for a building elevator , electrical consumption for cooling [42,43], energy demand [44,45,46], load forecasting , electric and heat load  and heating consumption .
Essentially, the most significant and highly correlated input variables may bring better forecast outcomes . Input variables can be categorized (see Figure 2) into historical, time type, occupancy, and climatic. Historical variables, for example, record energy as the main input, showing a load profile pattern in numerical form. Occupation variables refer to human behavior and occupation hours. Climatic variables are obtained using methods for climatic stations .
Figure 2. Building forecasting input variables.
A significant purpose of building energy utilization estimation lies in the commitment to the input parameters and timetable data of some virtual instruments . Considering that there are many estimates of a building management system, the choice of the information parameters of a model strongly influences the exposure of a model. Therefore, choosing proper factors for a building energy forecasting method could prompt better performance . Effective energy forecasting requires that many key factors be anticipated .
The forecasting horizon (see Figure 3) is usually classified as very short-term, short-term, medium-term and long-term. The very short-term forecast ranges from seconds or minutes to several hours . Short-term extends for one hour to a week . For the medium-term, the anticipating time ranges from weeks to months . Long-term determination, as a rule, includes yearly forecasts of territorial or national power utilization . Long term forecasting is commonly used to plan the improvement of the energy framework and to implement new appropriate production and storage systems . Short and medium-term forecasts assume important tasks to promote the integration of sustainable energy sources and support more viable demand management [115,116]. Besides the forecasting horizon, the main contrast among them is the extent of the variables used: very short term utilization variables in the range of minutes or hours, short term utilization variables in the range of days, and medium and long term utilization variables in the range of weeks or even months .
Figure 3. Building energy consumption forecasting horizon
A variety of accuracy metrics are used to validate the forecasting models, the most used being (see Figure 4) coefficient of variation of root mean square error (CVRMSE), mean absolute percentage error (MAPE), mean absolute error (MAE), root mean squared error (RMSE) and determination coefficient (R2). Each of these metrics has a particular function. CVRMSE standardizes the expectation error and can give a helpful unitless metric. MAPE shows rate accuracy and decreases the impact of absolute errors caused by singular exceptions . MAE depends on the absolute error and can show the normal separation between the anticipated value and the real value. RMSE is generally proposed as an expectation quality estimation and it is frequently used to analyze the precision of various anticipating standards . The measurement punishes huge errors because it mathematically enhances mistakes . R2 assesses how a model approximates the real information, giving a metric of the consistency of the model .
Figure 4. Accuracy metrics to validate forecasting models.
Other accuracy metrics used by several researchers are normalized mean absolute error, expect error percentage, mean Absolute, relative error, mean square error, percentage of bias, weight absolute percentage error, and Pearson correlation coefficient.
Energy consumption forecasting is an important instrument that can help in the recognition, measurement and management of demand flexibility. In this aspect, some challenges need to be overcome in the future.
Considering the above challenges, it would not be possible to use a single forecasting method that could be applied to any building to meet all the requirements of the different application scenarios, taking also into account the preference of the occupants. Therefore, one should think about maximizing the potential of each of the methods by using criteria to select the best one for a specific application. Building prediction methods benefit economically and environmentally by creating energy flexibility strategies such as strategic conservation, flexible load shape, peak trimming and load shifting. These strategies are highly dependent on the behavior of the occupants, so it is necessary to create models that consider the preferences and decisions of the building’s occupants, which would change depending on the nature of the building.
This entry is adapted from 10.3390/app10238323