Next Article in Journal
Synergistic Evolution and Spatial-Temporal Differences in Green Technological Innovation and Carbon Emission Reduction in the Construction Industry from the Perspective of New Productive Forces
Previous Article in Journal
Feasibility Analysis of the Utilization of Directional Butted-Well Salt Caverns with Large Height Difference for Underground Energy Storage
Previous Article in Special Issue
Risk-Based Optimization of Renewable Energy Investment Portfolios: A Multi-Stage Stochastic Approach to Address Uncertainty
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Intelligent Method for Day-Ahead Regional Load Demand Forecasting via Machine-Learning Analysis of Energy Consumption Patterns Across Daily, Weekly, and Annual Scales

by
Monica Borunda
1,*,
Arturo Ortega Vega
2,
Raul Garduno
3,
Luis Conde
4,
Manuel Adam Medina
5,
Jeannete Ramírez Aparicio
6,
Lorena Magallón Cacho
6 and
O. A. Jaramillo
7
1
SECIHTI, Centro Nacional de Investigación y Desarrollo Tecnológico, Tecnológico Nacional de México, Cuernavaca 62490, Mexico
2
Facultad de Ciencias, Universidad Nacional Autónoma de México, Ciudad de México 04510, Mexico
3
Instituto Nacional de Electricidad y Energías Limpias, Cuernavaca 62490, Mexico
4
Centro Nacional de Control de Energía, Gerencia de Control Regional Oriental, Heroica Puebla de Zaragoza 72307, Mexico
5
Centro Nacional de Investigación y Desarrollo Tecnológico, Tecnológico Nacional de México, Cuernavaca 62490, Mexico
6
SECIHTI, Centro de Investigación en Ingeniería y Ciencias Aplicadas, Universidad Autónoma del Estado de Morelos, Cuernavaca 62209, Mexico
7
Instituto de Energías Renovables, Universidad Nacional Autónoma de México, Temixco 62590, Mexico
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(9), 4717; https://doi.org/10.3390/app15094717
Submission received: 10 March 2025 / Revised: 9 April 2025 / Accepted: 22 April 2025 / Published: 24 April 2025
(This article belongs to the Special Issue New Trends in Renewable Energy and Power Systems)

Abstract

:
Electric power load forecasting is essential for the efficient operation and strategic planning of utilities. Decisions regarding the electric market, power generation, load management, and infrastructure development all rely on accurate load predictions. This work presents a novel methodology for day-ahead load forecasting. The approach employs a long short-term memory neural network (LSTM NN) trained on representative load and meteorological data from the region. Before training, the load dataset is grouped by its statistical seasonality through K-means clustering analysis. Clustering load demand, along with similar-day data management, enables more focused training of the LSTM network on uniform data subsets, enhancing the model’s ability to capture temporal patterns and reducing the complexity associated with high variability in demand data. A case study using hourly load demand time-series data provided by the Centro Nacional de Control de Energía (CENACE) is analyzed, and the mean absolute percentage error (MAPE) is calculated, showing lower MAPE than traditional methods. This hybrid approach demonstrates the potential of integrating clustering techniques with neural networks and representative meteorological data from the region to achieve more reliable and accurate regional day-ahead load forecasting.

1. Introduction

Climate change prompts us to adopt decarbonization measures that include using renewable energy, improving energy efficiency, and optimizing energy use [1,2]. These measures are essential for achieving the climate goals established in the Paris Agreement, specifically, reducing global greenhouse gas (GHG) emissions to limit the increase in global temperature to a maximum of 2 °C [3]. The inclusion of renewable energy sources and effective energy management takes place within energy systems, which generally consist of electrical loads that must be met by electrical generation. These electrical loads can range from just a few watts for an LED spotlight, several kilowatts for a house, tens of megawatts for a small city, a few gigawatts for a metropolis, to hundreds of gigawatts for industrialized countries.
A power system, such as an electrical grid, consists of interconnected electrical components that generate, transmit, distribute, and supply electrical energy. A well-functioning system requires extensive analyses, the most critical being an understanding of the electrical load it must meet through its various generators. Therefore, electrical load forecasting is essential for power systems, influencing everything from design and installation to operation and maintenance [4].
The dynamics of electric load demand are a complex issue influenced by various local factors, including the type of day, weather conditions, and economic, social, and political elements. To model load demand, representative load curves (RLCs) are used to evaluate demand on a daily, weekly, monthly, or annual basis [5,6]. For instance, in daily analysis, load demand fluctuations can be influenced by the type and time of day, temperature, rainfall, levels of industrial and agricultural activities, and social factors such as holidays and festivals.
Accurate energy load forecasting plays a critical role in the efficient operation of electrical grids, influencing decisions related to energy generation, load dispatch, infrastructure development, and maintenance scheduling [7]. For this reason, load forecasting has become a fundamental topic in our lives, and there is significant scientific activity focused on developing more accurate load forecasting methodologies at all time resolutions [8,9].
Load forecasting for utilities across various time horizons helps ensure the safety and stability of the power supply. Accurate load forecasting to maximize electrical power utilization contributes to cost savings and reductions in greenhouse gas emissions, as well as to the finance, infrastructure, operation, and maintenance of the grid. Indeed, a load prediction with a 1% error could result in operating costs amounting to millions of dollars per year [10,11]. The effectiveness of load demand forecasting relies on the forecast horizon, which corresponds to the time scale in the future for which the forecasts are made. The forecast horizons relate to the corresponding duration for which the forecasts are conducted, along with the frequency of data utilized for the forecast.
The forecast horizon is defined as “the length of time into the future for which forecasts are to be prepared”, in alignment with the definition from the statistical office of the European Union [12]. Table 1 summarizes the forecast horizons, types of forecasts, and their typical applications in electric power systems [13,14,15]. Based on the time horizon, forecasts can be categorized into different types—real-time, very short-term, short-term, medium-term, and long-term—though there is no international consensus on this issue. Furthermore, various applications in electric power systems employ different types of load demand forecasts depending on the speed at which their data and information processes vary.
As power systems become more complex and renewable energy sources are integrated, developing robust short-term load forecasting (STLF) models is essential for ensuring grid reliability and stability [16]. In particular, day-ahead load forecasting (DALF) is crucial for power system operations, as it enables grid operators to schedule power generation efficiently, minimizing energy waste, ensuring complete supply coverage, and preventing economic losses at first glance. Furthermore, day-ahead load forecasting significantly aids in the integration of renewable energy by facilitating the management of variable renewable sources and improving demand-side management strategies. Moreover, forecasting electricity demand for the entire following day allows power grid operators to optimize power generation dispatch, manage reserve capacity to accommodate changing demand, and it provides power market traders with the necessary information to make informed decisions about buying and selling electricity in the day-ahead market, based on anticipated consumption over the next 24 h.

1.1. State of the Art of Day-Ahead Load Forecasting

Many studies have been published on short-term and day-ahead load forecasting. Table 2 summarizes several significant publications, highlighting the technologies used and their key findings.

1.2. Proposed Approach Contributions

Traditional energy demand forecasting methods often rely on time-series models or regression-based techniques, but they have limited capacity to capture non-linear patterns and dependencies [30]. In recent years, machine-learning approaches, particularly artificial neural networks (ANNs), have become more prominent due to their ability to model complex relationships in data. Among these, long short-term memory (LSTM) neural networks, a type of recurrent neural networks (RNNs), have demonstrated superior performance in capturing long-term dependencies in sequential data, making them particularly effective for time-series forecasting, such as predicting energy demand [31].
However, the performance of LSTM networks can be further enhanced by integrating clustering techniques with load data, along with a similar-day approach for selecting training data. Clustering allows for the identification of underlying patterns or regimes in historical load data, which can improve the training process for neural networks and is widely utilized in contemporary scientific research [32]. In particular, it has been applied to load demand. For example, the classification of representative load curves based on similar features and site temperatures has been carried out in [33]. Furthermore, similar patterns of electricity usage have been uncovered through clustering analysis in [34], and short-term load forecasting has been implemented for random users in Nanjing by grouping users into clusters with similar consumption patterns and predicting energy consumption using a backpropagation neural network [35]. On the other hand, similar-day methods rely on examining historical days with similarities, including weekday index, weather conditions, coincidences of social events, festivities, disasters, anomalous events, and so on [36,37].
In this work, we propose an innovative approach that integrates K-means clustering and similar-day criteria with LSTM networks for day-ahead load demand forecasting. By grouping historical load data into clusters and utilizing similar days, the LSTM network is trained more effectively on relevant data patterns, particularly for weekdays and weekends, which potentially enhances forecasting accuracy. Furthermore, by defining representative regional climate conditions, weather information—an essential factor—augments the training process for improved forecasting accuracy.

1.3. Novelty

This work presents a novel intelligent methodology for day-ahead regional load forecasting. It utilizes a hybrid approach that integrates LSTM neural networks with K-means clustering and a similar-day strategy. The methodology aims to harness the strengths of these techniques: K-means clustering assists in pre-processing and grouping similar load patterns, while similar days enhance the classification of load patterns. In conjunction with representative regional climate conditions, they improve the training of the LSTM network, making it better equipped for modeling sequential dependencies in time-series forecasting.
This work is organized as follows. Section 2 presents the innovative methodology, illustrated by a flow diagram in Figure 1. Section 2.1 details the data preparation, while Section 2.2 thoroughly describes the process of identifying load demand seasonality and briefly outlines the fundamentals of cluster analysis. To refine the data for training the LSTM neural network, the similar-day methodology is discussed in Section 2.3. Section 2.4 outlines the calculation of representative weather conditions. Next, Section 2.5 describes the day-ahead load forecasting process, including the basic concepts underlying the operation of an LSTM neural network. Finally, Section 2.6 details the metric used to quantify the accuracy of the predictions. The proposed methodology is applied to a case study in Section 3, where the process is explicitly demonstrated step by step, along with its results in each subsection, following the order established in the previous section. Section 4 presents a discussion of the novel methodology and the results obtained. Lastly, Section 5 presents the conclusions of this work.

2. Materials and Methods

Figure 1 illustrates the proposed methodology. The first step involves gathering hourly historical electrical load data from the region of interest. The larger the dataset, the more accurate the predictions will be. To capture the seasonality of the electrical load, it is preferable to work with datasets that cover more than three years. Next, a cluster analysis is performed on the dataset to identify its seasonality. After establishing the seasonality, the load demand dataset is divided into the identified seasons. Additionally, meteorological time-series datasets representative of the region are created and similarly grouped into the identified seasons. Then, for each season, an individual LSTM neural network is trained using data from similar days. By training the LSTM with data from each season that share similar characteristics, such as weekdays or weekends, the model learns more effectively, enhancing its ability to forecast day-ahead energy demand for the specific region under study. The following subsections outline this process in detail.

2.1. Data Pre-Processing

The first step is to clean and organize the dataset to eliminate any outliers, inconsistencies, or missing values that could introduce systematic errors. This pre-processing stage is essential for improving the quality of the input data and, consequently, the accuracy of the results. Normalizing the data ensures that all variables are on the same scale, as neural network and clustering algorithms are sensitive to the magnitude of input variables [38].

2.2. Load Demand Seasonality

Load demand seasonality refers to the periodic fluctuations in electricity load over specific timeframes (daily, weekly, monthly, or annually), which are reflected in time-series load data through regular and predictable variations. Load seasonality is heavily influenced by local factors, such as weather patterns, differences between weekdays and weekends, time of day, local customs and practices, holidays, vacations, and various political and social elements. The most notable seasonal patterns in energy consumption include (a) daily seasonality, which arises primarily because energy use during the day surpasses night usage, and consumption differs during typical office hours compared to non-office hours; (b) weekly seasonality, resulting from differing energy use on weekdays versus weekends, with weekdays showing higher consumption; and (c) annual seasonality, largely attributed to changes in climatic conditions, such as the increased use of air conditioners in summer and heaters in winter. However, there may be other seasonal patterns, whether one or many, that, once identified, can improve the understanding of energy consumption and enhance load forecasting.
Given energy consumption’s intense and complex dependence on local conditions, its seasonality can be found via clustering analysis of its historical data using machine-learning tools. In this case, the K-means algorithm clusters the energy consumption time-series data and finds the seasonality according to the similarities.

Clustering

K-means clustering is a well-established unsupervised learning algorithm that partitions data of n observations { x 1 ,   x 2 , , x n } , where each observation x j , with j = 1 , , n , is a d-dimensional real vector, into distinct k ( n ) sets of clusters S = { S 1 ,   S 2 ,   , S k } based on feature similarity. This is performed by minimizing the Euclidean distance between the vectors and the mean or centroid, μ i , of points in the cluster S i , such that
arg min i = 1 k x     S i x μ i 2         ,
where μ i = 1 S i x S i x , S i is the size of S i , and · is the Euclidean norm [39].
K-means clustering is computationally efficient, especially when working with large datasets like energy demand records that contain hourly data over multiple years. The algorithm’s iterative process of assigning points to clusters and recalculating centroids is relatively fast compared to other clustering techniques, making it suitable for real-time or large-scale applications. Indeed, K-means offers simplicity, speed, and scalability, making it ideal for large energy-demand datasets. In the context of energy forecasting, clustering techniques can be highly beneficial for identifying patterns and segmenting historical load data for more accurate training in the forecasting processing. Among various clustering algorithms, K-means is widely used due to its simplicity and efficiency [40,41].

2.3. Similar-Day Approach

Similar-day load forecasting is a practical method commonly used in utilities for load forecasting [42]. This method designates a selection criterion to identify similar days from the past and uses their load to predict the load on the forecasting date. There are a wide variety of criteria, such as the day of the week, the day of the year, similar climate conditions, days with the same holiday, days with the same political conditions, days with the same social events, etc. One may choose as criterion one or two or more of these criteria. Then, a “similar day” is searched in a big database, and the load of the day most similar to the selected criterion is the one chosen for prediction.
The immediate difference in energy consumption patterns is the day of the week, i.e., weekdays or weekends. Thus, the proposed forecasting methodology uses the similar-day approach with the criterion of differentiating the days that belong to weekdays and to weekends. It is worth mentioning that this methodology does not apply to atypical days.

2.4. Representative Weather Conditions

As mentioned, energy consumption strongly depends on weather conditions. Climate conditions are easy to obtain for a specific site; there are many public sites with historical databases. However, in the case of power systems that cover a large region, climate conditions are not so direct to obtain.
In this methodology, the regional climate conditions are computed by the weighted average of the meteorological properties of the main load zones of the region. Given n main load zones L = { l 1 , l 2 , , l n } , with their corresponding weights W = { w 1 , w 2 , , w n } , such that the total power system load l t o t can be approximated by
l t o t ~ i = 1 n   l i           ,
and
w i = l i l t o t       ,
such that
i = 1 n w i = 1
Then, the meteorological conditions characterizing the region are calculated by
P r e g = i = 1 n w i   P i w i
where P i can be any of the meteorological variables, such as temperature, solar radiation, precipitation, etc., of the site where the load i is located.

2.5. Day-Ahead Load Forecasting

Many techniques have been used and methodologies proposed for day-ahead load forecasting, which is the most significant forecasting method for the day-to-day operation of electricity systems and electricity markets. DALF is a challenging task, as electricity load time series are highly non-linear, non-stationary, random, and they present multiple seasonal patterns. In this novel methodology, we use a long short-term memory neural network to forecast the day-ahead electricity load time series of a region.

LSTM NN

LSTM NN is a recurrent neural network able to deal with long-term dependencies and retain extended information. LSTM NN selectively remembers or forgets information over time, allowing the neural networks (NNs) to recall relevant context and dependencies over long sequences. The LSTM NN’s basic architecture is shown in Figure 2 and consists of (a) the cell that stores the state of a sequence and is able to keep or forget information; (b) the input gate that determines the information to be stored in the cell; (c) the output gate that decides the next hidden state; and (d) the forget gate that decides the information that should be kept or discarded. These kinds of NNs allow information to be kept for long periods and sequences with time intervals between events to be processed more efficiently.
Let h t and c t   be the hidden and the cell state, respectively, of the LSTM NN at a time step t , and let x t be the input vector. The LSTM NN obtains the input vector and the previous state. The forget gate f t decides which information to discard from the cell state based on c t 1 . On the other hand, the input gate i t decides which information to store in the cell gate. Next, using the previous information, the old cell state is updated to the new cell state c t . Finally, the output gate o t decides the output based on the cell state. The LSTM operation is given by
f t = σ     W f   x t + U f   h t 1 + b f , i t =   σ     W i   x t + U i   h t 1 + b i , o t = σ   W o   x t + U o   h t 1 + b o , c t = f t   c t 1 + i t     t a n h   W c   x t + U c   h t 1 + b c   , h t =   o t tanh c t .
where σ is the Sigmoid function; W g is the respective weight for the gate g ; U g is the recurrent connection between the previous hidden layer and the current layer for the gate g ; b g is the respective bias of the gate g ; and t corresponds to the time step.
The main advantages of LSTM NN are the ability to learn long-term dependencies and the capacity to handle sequential data with time steps of different lengths.
Thus, for DALF purposes, the LSTM NN is trained with electrical load data and representative meteorological data time series for each season, as shown in Figure 3.
In time-series forecasting tasks, particularly with LSTM neural networks, incorporating time-related features, such as hours, days, or months, is essential. However, these features are cyclical, i.e., hours repeat every 24 h, and months repeat every 12 months. Encoding them as raw integers can mislead the network because it implies a linear relationship between successive values. Indeed, after 23 h, the value cycles back to 0. Cyclical encoding transforms these features into a pair of sine and cosine values to preserve their cyclical nature, allowing the LSTM to better capture temporal patterns and dependencies. This method enhances the neural network’s ability to recognize recurring trends, improving the model’s learning process and overall predictive performance. By encoding time-related data cyclically, we ensure that the LSTM captures seasonal and temporal dependencies more effectively, leading to more precise demand prediction forecasting.
Integrating K-means clustering with an LSTM NN leverages the strengths of both methods. Clustering enhances the quality of input data, and the LSTM NN architecture excels at modeling sequential dependencies.

2.6. Forecasting Error

Forecasting errors are used to quantify the accuracy of prediction. The mean absolute percentage error (MAPE) is frequently used in reporting the accuracy of electrical load forecasts [43]. MAPE quantifies the discrepancy between the real observed value and the forecasted value and is calculated as follows
M A P E = 1 n   i = 1 n Y i Y ^ i Y i × 100
where n is the number of observations, and Y i and Y ^ i are the observed and predicted values for the ith observation. The MAPE value reveals the average percentage error for all observations. A good prediction is reflected in a low MAPE value.

3. Results

This section illustrates the effectiveness of the proposed methodology through its application in a case study in Mexico, with the corresponding results presented. The Centro Nacional de Control de Energía (CENACE) is the national system operator of the Sistema Eléctrico Nacional (SEN) that supplies electricity to the country. The SEN electrical generation system is composed of fossil and clean power plants, as well as their transmission and distribution, involving high- and low-voltage power plants, and their commercialization nationwide. The SEN is divided into eight regions to enhance energy management and facilitate a regional-level analysis of energy resources.

3.1. Case Study

This study focuses on the region of the Gerencia de Control Regional Oriental (GCRORI), one of CENACE’s eight regions. It includes the states of Chiapas, Tabasco, Veracruz, Oaxaca, Puebla, Tlaxcala, Guerrero, and Morelos, covering a total area of 370,000 km2, as illustrated in the green region of Figure 4.
In this study, hourly energy demand and meteorological factors from 2016 to 2022 were utilized, including temperature, relative humidity, global horizontal irradiance (GHI), pressure, wind speed, and precipitable water. The inclusion of these meteorological factors is crucial for improving the accuracy of energy demand forecasting, as weather conditions directly impact electricity consumption patterns.
The main features of GCRORI are as follows:
  • Extension of 370,000 km2.
  • 12 million users.
  • Annual energy consumption of approximately 55,000 GWh.
  • Daily peak load consistently falls between 20:00 and 22:00 h.
  • The annual peak load occurs during spring or summer in the same period.
  • Both coastlines—the Gulf of Mexico and the Pacific Ocean—experience tropical storms and hurricanes annually.
In GCRORI, the meteorological variables and load demand are highly correlated. In this study, both variables are assumed to have a single value for each hour—total load demand (hourly integrated energy)—and a single value for meteorological variables.
The load demand D is determined through an energy balance, calculated by summing the total energy E   g i generated by all generation units in GCRORI ( g 1 , g 2 , , g n ), followed by adding or subtracting the energy associated with power flow in tie lines E   t l i with neighboring areas ( t l 1 ,   t l 2 ,   , t l m ), which correspond to the gray areas surrounding the green one, and finally, subtracting network losses ( N l ) as given by
D = i = 1 n E   g i + i = 1 m E   t l i N l     ,
which is described in Figure 5.
As mentioned previously, the hourly representative single-value meteorological variables are derived by considering the most significant load zones based on their load magnitude and geographical location, which include Villahermosa, Veracruz, Poza Rica, Puebla, and Cuernavaca, as illustrated in Figure 6. The meteorological variables of each city are weighted using Equation (5) to obtain the representative single-value meteorological variables for the entire region encompassing the GCRORI.
Temperature plays a significant role; extreme heat or cold can greatly increase the usage of heating, ventilation, and air conditioning (HVAC) systems, leading to spikes in energy demand. By incorporating temperature data, the model can better capture these fluctuations, resulting in more precise forecasts during seasonal or daily temperature changes.
Similarly, relative humidity affects human comfort and the efficiency of HVAC systems. High humidity, for instance, raises perceived heat and increases cooling requirements. By considering humidity, the model can more accurately adjust its predictions for energy use in warmer and/or more humid conditions. GHI, which measures solar energy reaching the earth’s surface, is another critical factor. In areas where solar energy contributes to the electricity grid, high GHI values decrease reliance on conventional energy sources, while low GHI values increase that dependence.
Including GHI enables the model to adjust predictions based on solar power availability, which directly impacts overall energy demand. Changes in atmospheric pressure are often linked to weather patterns that affect energy consumption. For instance, low-pressure systems can trigger storms, while high-pressure systems are typically associated with heat waves; both significantly influence energy usage for heating or cooling. Wind speed plays a crucial role in energy generation in areas with integrated wind power and also affects perceived temperatures. Strong winds can enhance wind power production, reducing demand from traditional sources, whereas weaker winds might increase energy consumption from alternative sources. Furthermore, wind influences perceived temperature, further shaping the energy demand for temperature regulation.
Finally, precipitable water measures the amount of water vapor in the atmosphere, influencing weather conditions such as cloud cover and storms, which in turn affect both solar energy availability and energy demand. By incorporating these data, the model can more effectively predict how weather disruptions—like rain, storms, or heavy cloud cover—will impact short-term energy consumption pattern [46,47].
By integrating these meteorological variables into the LSTM neural network, the model can more accurately represent the external environmental conditions that drive energy demand, resulting in more reliable and dynamic forecasting capabilities, particularly in response to shifting weather patterns.
The data used in this study were sourced from publicly available datasets, including the National Center for Energy Control (CENACE) [44] and the National Solar Radiation Database (NSRDB) [48].

3.1.1. Load Data Pre-Processing

In any process involving artificial neural networks, normalizing the input data before training is essential. This accelerates learning, leads to faster convergence, and reduces the risk of overfitting [49]. In this case, all measured data followed a Gaussian distribution. For instance, Figure 7 illustrates the standardization of energy demand data, which centers the values around a mean of just under 5 GWh/h and a standard deviation of approximately 1 GWh/h, providing the optimal scaling method for normalization. This remarkable natural behavior is due to the fact that residential load behavior dominates regional load demand.
Figure 8 illustrates GCRORI’s daily hourly load profiles from 2016 to 2022. Note that a few profiles deviate from the majority’s behavior and tend toward zero at the end of the day. These profiles are anomalous due to a malfunction in the measuring devices.
By clustering similar load profiles, the training process can be optimized to identify more subtle temporal patterns, resulting in more accurate load demand forecasting. This approach not only enhances the model’s predictive accuracy but also enables a more targeted strategy for addressing various types of load patterns that might otherwise be overlooked in a generic training method.

3.1.2. Load Demand Regional Seasonality

The K-means clustering method is frequently used to group data based on similarities. This facilitates the analysis of daily load profiles and their interrelationships, providing valuable insights into the underlying demand patterns. In this study, we explore how K-means clustering enhanced the performance of the LSTM neural network for day-ahead load forecasting.
As illustrated in Figure 9, the K-means clustering algorithm effectively segregates daily load profiles into four distinct clusters, each representing similar load demand conditions throughout the day. This segmentation is visually evident, as the load profiles within each cluster exhibit consistent patterns and levels of energy demand, indicating that the clustering process had successfully grouped days with comparable demand characteristics. The graph demonstrates the distribution of energy demand across various hours of the day, with each color band denoting a different cluster identified by the K-means algorithm. The clustering captures the inherent variability in daily energy demand, with distinct clusters corresponding to different demand levels and shapes. For instance, one cluster may represent typical weekdays with moderate demand, while another could represent high-demand or low-demand days, such as weekends or special events.
Figure 10 provides a detailed view of the identified clusters. The first group exhibits a steady load demand throughout the day, with a slight increase during peak hours, as illustrated in Figure 10a. This suggests that these days coincide with the warmer months when cooling devices are consistently in use. The second group displays a similar pattern to the previous one but with more pronounced peaks, as shown in Figure 10b. This indicates that these days align with the hottest days of the year, characterized by high energy consumption peaks due to intense cooling needs. The next cluster shows a relatively stable load demand throughout the day, typical of the cooler autumn months when neither heating nor cooling is heavily utilized, as illustrated in Figure 10c. Finally, the last cluster depicts the lowest energy demand associated with winter months during which the need for energy decreases due to mild temperatures, leading to reduced use of heating and cooling devices, as displayed in Figure 10d.
Table 3 shows the seasonal average temperature in the eastern region of Mexico, indicating that the region’s average temperature varies between 20 and 26 °C. This range affects residential energy consumption due to heating and cooling requirements.
The clear stratification of load profiles into these clusters indicates that the K-means algorithm had identified significant patterns in the data. Each cluster’s homogeneity suggests that the algorithm had grouped days that not only share similar demand magnitudes but also show comparable daily trends and fluctuations. This is crucial for improving the accuracy and robustness of any predictive modeling efforts, such as training an LSTM neural network. By focusing on these clusters, the model can be trained more effectively, capturing the nuanced behavior of load profiles specific to each cluster rather than taking a generalized approach that might miss these important differences. Therefore, the K-means algorithm’s ability to segregate daily load profiles into intuitively logical clusters highlights its value in energy demand analysis.

3.1.3. Similar-Day Approach

To rigorously evaluate the performance of the proposed day-ahead regional load forecasting methodology, four distinct days from each season of 2022 were selected. These days were carefully chosen to represent a variety of demand scenarios, including weekdays, weekends, and holidays, each presenting unique challenges for forecasting due to fluctuations in energy consumption patterns. This selection ensured that the evaluation encompasses a wide range of typical and atypical demand behaviors, providing a comprehensive validation of the model’s overall performance when applied to different consumption patterns:
  • Weekdays typically exhibit predictable, higher demand during work hours, which gradually declines in the evening.
  • Weekends often show decreased demand, with varying peaks based on the time of day and outside activities.
  • Holidays exhibit irregular patterns, typically featuring decreased industrial and commercial activity but possibly increased residential consumption.

3.1.4. Representative Weather Conditions

Electrical load demand greatly depends on meteorological conditions. The representative climatological conditions of the area are determined by considering these conditions at the zones associated with the primary loading areas, specifically the cities of Cuernavaca, Puebla, Veracruz, Villahermosa, and Poza Rica. Subsequently, the weighted average value of these factors—namely temperature, relative humidity, global horizontal irradiance (GHI), pressure, wind speed, and precipitable water—is calculated in accordance with Equation (5).

3.1.5. Results of Proposed Day-Ahead Load Forecasting Methodology with Real Data

The LSTM neural network was implemented in Python 3.13.0a3 using the open-source library TensorFlow, specifically Keras [50]. The architecture of the LSTM neural network utilized for day-ahead regional load forecasting features two hidden layers: the first consists of 64 neurons with a hyperbolic tangent activation function, while the second comprises 32 neurons with a linear activation function, as indicated in Table 4. The inputs to the LSTM neural network represent the load demand data, and in this analysis, we consider key factors such as temperature, relative humidity, global horizontal irradiance (GHI), pressure, wind speed, and precipitable water for the region, as depicted in Figure 3.
The training was conducted for 10, 30, 50, 80, and 100 epochs. The best performance was achieved with 100 epochs, taking approximately 25 min, which improved the training MAPE values by up to 4%. Our previous study observed that the proposed LSTM neural network exhibited reduced predictive accuracy during moderate or low energy consumption periods [51]. In the following, the day-ahead load forecasting values are computed for a weekday, Thursday, and a weekend, Sunday, for each season in 2022.
Figure 11a illustrates the energy consumption and forecasted values for the winter season. 13 January 2022 falls on a Thursday. As observed, the energy consumption in the region dips to nearly 4800 MWh/h around 5 AM. It then gradually increases until it reaches an almost stable value of 5800 MWh/h around 3 PM. Following that, a more pronounced rise occurs until it hits the maximum demand of nearly 6400 MWh/h before 9 PM. In contrast, Figure 11b illustrates a different pattern for the weekend day of 16 January 2022, which is a Sunday. Early in the day, demand increases sharply, peaking at nearly 5200 MWh/h around 1 AM. It then declines, reaching the lowest demand at 6 AM, and remains relatively stable with minimal growth until 6 PM. Afterward, there is a rapid increase, reaching the maximum demand of 5800 MWh/h at 9 PM before dropping sharply. The winter season brings milder climate conditions to the region; there is no extreme cold weather or rain, resulting in lower energy consumption compared to other seasons.
As shown in Figure 11a,b, the overall difference between the forecasted values and historical data is minimal. The most significant discrepancies arise during rapid changes in demand behavior. Ultimately, the forecasted curve closely resembles the fluctuations in demand patterns throughout the day.
Figure 12a illustrates the load demand and forecasted values for the spring season. 21 April 2022 is a Thursday. As observed, there is a drop in demand to 6250 MWh/h around 5 AM. Subsequently, it gradually increases until the demand exceeds 7000 MWh/h around 4 PM, followed by a drop at 6 PM and a subsequent sharp increase up to 7500 MWh/h by 9 PM. In contrast, Figure 12b illustrates a different pattern for the weekend day of 24 April 2022, which is a Sunday. Early in the day, the demand begins at 6800 MWh/h and decreases to nearly 5500 MWh/h by 7 AM. It then gradually rises to 6200 MWh/h by 6 PM and swiftly increases to 7500 MWh/h by 9 PM before declining again. The spring season is the warmest time of the year in the region, as shown by the highest energy consumption compared to other seasons, illustrated by the previous figures.
The results obtained for both types of days in this season indicate that the prediction is generally accurate, except during significant shifts in the demand trend, such as peaks.
Figure 13a illustrates the load demand and forecasted values for the summer season. 14 July 2022 is a Thursday. The load demand begins at approximately 6800 MWh, decreases to nearly 6000 MWh/h by 5 PM, and then rises again to 6800 MWh/h by 3 PM, maintaining that level until 6 PM. Afterward, there is a swift increase to nearly 7400 MWh/h around 9 PM, followed by another decline. In comparison, Figure 13b shows the load demand and forecasted values for 17 July 2022, which is a Sunday. As observed, the pattern is quite similar to that in Figure 11a. Load demand starts from a slightly lower value than on the weekday, at nearly 6750 MWh/h, decreases to 5500 MWh/h by 7 AM, and then begins to rise steadily to nearly 6500 MWh/h. It shifts to 6250 MWh/h around 5 PM before showing a sharp increase to reach 7500 MWh/h around 9 PM before decreasing again. The summer season coincides with the rainy season in the region and is milder than the previous season, leading to lower energy consumption compared to spring.
This season’s forecasting results appear promising, highlighting a small discrepancy in the peak values.
Figure 14 illustrates energy consumption along with the forecasted values for autumn days, specifically 6 and 9 October 2022. The load patterns for weekdays and weekends closely resemble those of previous seasons, showing variations in both maximum and minimum load demand values. The minimum load demand is approximately 5600 MWh/h for a weekday and 5250 MWh/h for a weekend day, as shown in Figure 14a and Figure 14b, respectively. Similarly, the maximum load demand values approach nearly 7000 MWh/h and 6750 MWh/h for Thursday and Sunday, as indicated in Figure 14a and Figure 14b, respectively. Once again, the predicted trend in load demand mirrors the actual data, closely aligning with real behavior during smooth changes in the trend and deviating when the changes are more abrupt.
Figure 15 shows the energy consumption values registered on 21 May 2022, which corresponds to the day with maximum load demand during the year.
Finally, Figure 16 presents the forecasting results for a holiday on 25 December 2022. The prediction is successful for most of the day, with a slight deviation around 6 AM. The quantification of these forecasting results will be detailed in the next subsection.
These findings emphasize the importance of using a clustering approach in our methodology. By segmenting the data according to demand patterns, identifying statistical seasonality, and differentiating typical weekdays from holidays, the training process of the LSTM model can be significantly enhanced, leading to improved forecast accuracy, even in challenging situations like low or moderate consumption.
Furthermore, to illustrate the effectiveness of this method, load forecasts were obtained over an extended period, and three significant weeks of the year were identified. These weeks, along with the main reasons for their selection, are as follows:
  • The Easter week. During this time, load profiles exhibit different patterns compared to typical weekdays due to the holidays.
  • The week of maximum load demand occurs annually. Among these weekdays, 21 May 2022 recorded the highest load demand value of the year.
  • The week of the annual minimum load demand featured one weekday that recorded the lowest load demand value of the entire year, specifically 25 December 2022.
Figure 17 illustrates the registered energy load demand alongside the forecasted values for Easter week. Both curves align closely during most hours of the day, with slight differences during peak load periods where the forecasted values exceed the actual daily peaks.
Figure 18 illustrates the registered energy load demand alongside the forecasted values for the annual maximum load demand week. Both curves align for most hours of the day, revealing slight differences in the minima and maxima of the valleys. As mentioned earlier, the maximum yearly load demand was recorded on 21 May at 10 PM, reaching 8208 MWh/h.
Figure 19 shows the measured energy load demand along with the forecasted values for the weekly minimum load demand throughout the year. Both curves align for most hours of the day, with slight differences noted on the night of 24 December 2022. On 25 December 2022, between 7 AM and 9 AM, the absolute minimum of the yearly load demand occurs, reaching 3597 MWh/h at 8 AM.
The next subsection quantifies the accuracy of these results by calculating the corresponding MAPE values and comparing them to those derived from the forecasted values calculated by CENACE.

3.1.6. Forecasting Errors

Table 5 presents the regional load demand, L D , and its respective forecasted values resulting from the proposed methodology, F L D , along with the forecasted values obtained from CENACE, F L D _ C , for the sample weekdays illustrated in Figure 9, Figure 10, Figure 11 and Figure 12a. The last row shows the resulting MAPE values for each case. Similarly, Table 6 displays the same values for the sample weekend days presented in Figure 9, Figure 10, Figure 11 and Figure 12b. As indicated, the difference between the forecasted values and historical data is minimal overall. In nearly all instances, the MAPE values obtained from the forecasted values using the proposed methodology are superior to those from CENACE.
Thus, the proposed methodology for load demand forecasting enhances accuracy through the selected LSTM neural network training, which focuses on distinguishing the information used in similar-day methods while differentiating between weekdays and weekends. Moreover, the training data selection is more refined by grouping load demand patterns throughout the year obtained through K-means clustering applied to the load demand data.
Finally, Table 7 shows the MAPE values derived from the forecasted values using the proposed methodology alongside the CENACE results for a holiday on 25 December 2022. The results indicate that the proposed methodology is quite promising, even during holidays.
The days in each season were considered to provide a wide temporal range for evaluating the model’s adaptability to seasonal effects. The results indicated the following:
  • Spring and autumn: These transitional seasons typically exhibit moderate demand, characterized by significant variability due to erratic weather changes. The model excelled during these times, accurately reflecting demand shifts related to both industrial activity and temperature-driven residential consumption.
  • Summer: The model successfully captured the high demand for cooling devices and extended daylight hours. It accurately predicted peak loads during weekdays while slightly underestimating the weekend peaks driven by residential usage.
  • Winter: The average temperature in winter in eastern Mexico is relatively mild, around 20.6 °C. Due to these moderate conditions, the demand for heating devices is minimal among the population, unlike in colder regions, where heating significantly drives energy consumption. As a result, energy demand during the winter months remains stable, with little to no dramatic increases stemming from temperature-driven residential heating. This characteristic has significant implications for energy forecasting in the region: seasonal variations in demand are less pronounced during winter, with industrial, commercial, and general residential consumption following typical patterns. Unlike areas where energy demand spikes due to colder temperatures, in eastern Mexico, the primary fluctuations in energy usage during winter are likely associated with other factors, such as holiday periods or changes in daylight hours, rather than the direct impact of climate conditions.
Table 8 displays the MAPE values for the forecasted load demand using the proposed methodology alongside the CENACE results for the three weeks illustrated in Figure 17, Figure 18 and Figure 19. As shown in the first row, the MAPE for the Easter week is 1.25%, while the value calculated using CENACE’s forecasted values is 2.49%, resulting in an improvement of nearly 50% in accuracy. Additionally, the third row presents the MAPE for the minimum load week, achieving a value of 1.14% compared to CENACE’s forecasted value of 2.13%, yielding an improvement of more than 46% in accuracy. Finally, the second row shows the MAPE for the minimum load demand week, which is 1.15% compared to the 1.17% obtained from CENACE, resulting in an improvement of 1.7% in accuracy.

4. Discussion

Although one of the most common machines used for load demand forecasting is LSTM neural networks, as shown in the literature, what sets the different works apart is the training process. The information used for training is crucial for achieving accurate forecasting results. The more suitable the information, the better the outcome will be.
Separating load profiles into clearly defined clusters reveals distinct operational regimes within the energy demand data. Therefore, clustering provides valuable insights into the underlying factors influencing these regimes, such as weather conditions, economic activities, or social behaviors. Understanding these patterns is essential for utilities and grid operators, as it enables more targeted and efficient demand management strategies. Moreover, the clusters reflect different energy consumption levels and illustrate the temporal structure of demand throughout the day. This refined understanding of the load profiles enhances the predictive capabilities of models and supports better decision-making processes in energy management. Furthermore, the similar-day methodology, in its various forms, is a widely used method for day-ahead load demand forecasting. This approach, which combines the technique of distinguishing between weekdays and weekends with clustering analysis, significantly enhances the relevant training information for the LSTM neural network.
Load demand is significantly influenced by weather conditions, with temperature being one of the most important factors. Therefore, it is essential to incorporate this information to achieve accurate forecasting results. A critical challenge in regional load forecasting arises when considering meteorological conditions across the entire region of interest, especially if it is a large area with varying local weather patterns. Thus, utilizing representative meteorological data by calculating a weighted average from the sites with higher loads in the region, as proposed in this approach, offers a solution to the challenge of integrating diverse climate conditions within a region.
Even though it was demonstrated that the proposed methodology yields better results than CENACE, it is valuable to compare it with methodologies employing similar paradigms. Research was undertaken on load demand forecasting for very short-, short-, medium-, and long-term load demands using LSTM neural networks. In particular, some of the most recent studies published on day-ahead load demand forecasting utilize LSTM neural networks as the primary machine-learning tool for achieving accurate predictions, as these networks are designed to capture long-term dependencies in sequential data. Table 6 summarizes recent research that employs this recurrent network, either independently or in conjunction with another tool, for day-ahead load demand forecasting alongside the proposed approach presented.
As seen in Table 9, the main characteristics that differentiate the proposed day-ahead regional load forecasting methodology are as follows:
  • It is used for regional load forecasting, regardless of the extension of the region.
  • It defines and uses representative regional weather data, regardless of the extension of the region.
  • It can achieve better accuracy in its forecasting results, as shown by the MAPE values.
  • Its methodology is less complex compared with the other regional load forecasting methodologies.

5. Conclusions

The proposed methodology proved effective in providing day-ahead regional load demand forecasts with an acceptable error margin. In all forecasted scenarios, the mean absolute percentage error (MAPE) was below the acceptable threshold for forecasting performance in CENACE, which is 4%; indeed, all computed MAPEs were below 1.5%. For the various scenarios analyzed, on most days and during most hours, the load demand forecasts generated by the proposed methodology were more accurate than those forecasted by CENACE.
The presented methodology was demonstrated over three interesting weeks due to the challenges in forecasting periods of maximum and minimum load demand, as well as periods of high variability in the load levels, such as those reported during Easter week. These periods correspond to the most difficult operating scenarios and thus deserve special attention from both GCRORI and, in general, all power system operators.
The enhanced accuracy achieved in load prediction using the proposed day-ahead load forecasting model is particularly significant under complex operating conditions. For example, during peak load demand periods, power system elements often need to operate at or even exceed their nominal capacities, especially power transformers and transmission lines. Such conditions can lead to disturbances in the system, potentially resulting in significant blackouts. Conversely, during low peak load demand periods, certain power system elements, such as transmission lines and compensation devices like STATCOMs and static VAR compensators, as well as shunt capacitors and reactors, must be employed to maintain nodal voltages within secure ranges. In a longitudinal power grid, like that of GCRORI, the power transmission lines operate below their surge impedance loading (SIL). Consequently, they behave like shunt capacitors, injecting reactive power (Q) into the grid and raising nodal voltages. Therefore, in this minimum peak load scenario, the power transmission lines often need to be disconnected.
Furthermore, due to climate change, historical load patterns are becoming increasingly ineffective because of the unpredictable nature of loads on similar days or even months. In addition, the GCRORI power system has been affected by hurricanes from the Gulf of Mexico and the Pacific Ocean. Thus, we suggest the following directions for future work:
  • Utilize data from extreme weather events to train the proposed day-ahead load forecasting model and enhance load forecasting during hurricanes, cyclones, and other severe conditions.
  • The proposed day-ahead load forecasting model could serve as a valuable tool as uncertainty in weather behavior increases, as observed in the last two years (2023 and 2024).
  • The proposed day-ahead load forecasting model would serve as a valuable tool for smaller load zones in Mexico compared to regional zones known as load zones.
  • The proposed day-ahead load forecasting model could be applied to other CENACE regions, the entire SEN, and other power systems around the world.

Author Contributions

Conceptualization, M.B.; methodology, M.B. and A.O.V.; software, A.O.V.; validation, M.B., A.O.V. and L.C.; formal analysis, M.B. and R.G.; investigation, M.B., R.G., J.R.A. and L.M.C.; resources, L.C.; data curation, A.O.V.; writing—original draft preparation, M.B.; writing—review and editing, M.B., R.G., J.R.A., L.M.C. and O.A.J.; visualization, M.B., O.A.J. and M.A.M.; supervision, M.B.; project administration, M.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The meteorological datasets are freely available at the National Solar Radiation Database (https://nsrdb.nrel.gov/, accessed on 15 October 2024). The load demand datasets are freely available at Centro Nacional de Control de Energía database (http://www.gob.mx/cenace, accessed on 15 October 2024).

Acknowledgments

M.B. thanks SECIHTI for her “Investigadoras por México” research position with I.D. 71557 and CENIDET-TECNM for its hospitality and support.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AGCAutomatic Generation Control
ANNs Artificial Neural Networks
BiBidirectional
CENACE Centro Nacional de Control de Energía
CV(RMSE)Coefficient of Variation of the Root Mean Square Error
DALF Day-Ahead Load Forecasting
DWTDiscrete Wavelet Transformation
EMDEmpirical Mode Decomposition
EVElectrical Vehicle
GCRORI Gerencia de Control Regional Oriental
GHG Greenhouse Gas
GHI Global Horizontal Irradiance
HVAC Heating, Ventilation, and Air Conditioning
LSTM Long Short-Term Memory
LSTM NN Long Short-Term Memory Neural Network
MAPE Mean Absolute Percentage Error
MSE Mean Square Error
N-BEATSNeural Basis Expansion Analysis
NARXNon-Linear Auto-Regressive with Exogenous Inputs
NNsNeural Network
nRMSENormalized Root Mean Square Error
NSRDB National Solar Radiation Database
RLCs Representative Load Curves
RMSERoot Mean Square Error
RNNs Recurrent Neural Networks
RT Real Time
S2SSequence to Sequence
SEN Sistema Eléctrico Nacional
STLF Short-Term Load Forecasting
UniUnidirectional

References

  1. Fragkos, P.; Siskos, P. Energy Systems Analysis and Modelling towards Decarbonisation. Energies 2022, 15, 1971. [Google Scholar] [CrossRef]
  2. Russo, M.A.; Carvalho, D.; Martins, N.; Monteiro, A. Forecasting the Inevitable: A Review on the Impacts of Climate Change on Renewable Energy Resources. Sustain. Energy Technol. Assess. 2022, 52, 102283. [Google Scholar] [CrossRef]
  3. United Nations Framework Convention on Climate Change. Session Framework Convention on Climate Change; UN: New York, NY, USA, 2015; pp. 1–32. [Google Scholar]
  4. Cengiz, E.; Yilmaz, C.; Yilmaz, E.N.; Tolga Kahraman, H. Importance of Power Flow and Load Analysis in Pre-Installation Power Systems. In Proceedings of the 2019 3rd International Symposium on Multidisciplinary Studies and Innovative Technologies (ISMSIT), Ankara, Turkey, 11–13 October 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1–4. [Google Scholar]
  5. Balachandra, P.; Chandru, V. Modelling Electricity Demand with Representative Load Curves. Energy 1999, 24, 219–230. [Google Scholar] [CrossRef]
  6. Castillo, V.Z.; de Boer, H.-S.; Muñoz, R.M.; Gernaat, D.E.H.J.; Benders, R.; van Vuuren, D. Future Global Electricity Demand Load Curves. Energy 2022, 258, 124741. [Google Scholar] [CrossRef]
  7. Haydt, G.; Leal, V.; Pina, A.; Silva, C.A. The Relevance of the Energy Resource Dynamics in the Mid/Long-Term Energy Planning Models. Renew. Energy 2011, 36, 3068–3074. [Google Scholar] [CrossRef]
  8. Liu, Y.; Li, Y.; Li, G.; Lin, Y.; Wang, R.; Fan, Y. Review of Multiple Load Forecasting Method for Integrated Energy System. Front. Energy Res. 2023, 11, 1296800. [Google Scholar] [CrossRef]
  9. Zhu, J.; Dong, H.; Zheng, W.; Li, S.; Huang, Y.; Xi, L. Review and Prospect of Data-Driven Techniques for Load Forecasting in Integrated Energy Systems. Appl. Energy 2022, 321, 119269. [Google Scholar] [CrossRef]
  10. Hobbs, B.F.; Jitprapaikulsarn, S.; Konda, S.; Chankong, V.; Loparo, K.A.; Maratukulam, D.J. Analysis of the Value for Unit Commitment of Improved Load Forecasts. IEEE Trans. Power Syst. 1999, 14, 1342–1348. [Google Scholar] [CrossRef]
  11. Bunn, D.W. Forecasting Loads and Prices in Competitive Power Markets. Proc. IEEE 2000, 88, 163–169. [Google Scholar] [CrossRef]
  12. Eurostat. Available online: https://ec.europa.eu/eurostat/web/main/home (accessed on 5 March 2025).
  13. Rostum, M.; Zamel, A.; Moustafa, H.; Ziedan, I. Electrical Load Forecasting: A Methodological Overview. Int. J. Eng. Technol. 2020, 9, 842–869. [Google Scholar] [CrossRef]
  14. Hong, T.; Pinson, P.; Wang, Y.; Weron, R.; Yang, D.; Zareipour, H. Energy Forecasting: A Review and Outlook. IEEE Open Access J. Power Energy 2020, 7, 376–388. [Google Scholar] [CrossRef]
  15. Ahmad, N.; Ghadi, Y.; Adnan, M.; Ali, M. Load Forecasting Techniques for Power System: Research Challenges and Survey. IEEE Access 2022, 10, 71054–71090. [Google Scholar] [CrossRef]
  16. Azeem, A.; Ismail, I.; Jameel, S.M.; Harindran, V.R. Electrical Load Forecasting Models for Different Generation Modalities: A Review. IEEE Access 2021, 9, 142239–142263. [Google Scholar] [CrossRef]
  17. Pindoriya, N.M.; Singh, S.N.; Singh, S.K. One-Step-Ahead Hourly Load Forecasting Using Artificial Neural Network. In Proceedings of the 2009 International Conference on Power Systems, Kharagpur, India, 27–29 December 2009; IEEE: Piscataway, NJ, USA, 2009; pp. 1–6. [Google Scholar]
  18. Lahouar, A.; Ben Hadj Slama, J. Day-Ahead Load Forecast Using Random Forest and Expert Input Selection. Energy Convers. Manag. 2015, 103, 1040–1051. [Google Scholar] [CrossRef]
  19. Konica, J.A.; Hanelli, L. Forecasting Next-Day the Electricity Demand Based on Fuzzy Logic Method Case for Albania. J. Multidiscip. Eng. Sci. Technol. 2016, 3, 2458–9403. [Google Scholar]
  20. Muzaffar, S.; Afshari, A. Short-Term Load Forecasts Using LSTM Networks. Energy Procedia 2019, 158, 2922–2927. [Google Scholar] [CrossRef]
  21. Hafeez, G.; Javaid, N.; Riaz, M.; Ali, A.; Umar, K.; Iqbal, Z. Day Ahead Electric Load Forecasting by an Intelligent Hybrid Model Based on Deep Learning for Smart Grid. In Proceedings of the 13th International Conference on Complex, Intelligent, and Software Intensive Systems, Sydney, Australia, 3–5 July 2019; Springer: Berlin/Heidelberg, Germany, 2020; Volume 993, pp. 36–49. [Google Scholar]
  22. Madhiarasan, M.; Louzazni, M. Different Forecasting Horizons Based Performance Analysis of Electricity Load Forecasting Using Multilayer Perceptron Neural Network. Forecasting 2021, 3, 804–838. [Google Scholar] [CrossRef]
  23. Vasenin, D.N.; Makarova, T.V.; Bogatova, T.V.; Semenova, E.E. Methods of Day Ahead Load Forecasting on the Example of a Residential Area. J. Phys. Conf. Ser. 2021, 1926, 012007. [Google Scholar] [CrossRef]
  24. Coria, J.; Cerda, J.; Silva, J.C. An Hourly Electricity Demand Forecaster for the Mexican National Interconnected System Based on Regional Statistical Features. Procedia Comput. Sci. 2022, 215, 677–686. [Google Scholar] [CrossRef]
  25. Pelekis, S.; Seisopoulos, I.-K.; Spiliotis, E.; Pountridis, T.; Karakolis, E.; Mouzakitis, S.; Askounis, D. A Comparative Assessment of Deep Learning Models for Day-Ahead Load Forecasting: Investigating Key Accuracy Drivers. arXiv 2023, arXiv:2302.12168. [Google Scholar] [CrossRef]
  26. Pavlatos, C.; Makris, E.; Fotis, G.; Vita, V.; Mladenov, V. Utilization of Artificial Neural Networks for Precise Electrical Load Prediction. Technologies 2023, 11, 70. [Google Scholar] [CrossRef]
  27. Tzortzis, A.M.; Pelekis, S.; Spiliotis, E.; Karakolis, E.; Mouzakitis, S.; Psarras, J.; Askounis, D. Transfer Learning for Day-Ahead Load Forecasting: A Case Study on European National Electricity Demand Time Series. Mathematics 2023, 12, 19. [Google Scholar] [CrossRef]
  28. Nabavi, S.A.; Mohammadi, S.; Motlagh, N.H.; Tarkoma, S.; Geyer, P. Deep Learning Modeling in Electricity Load Forecasting: Improved Accuracy by Combining DWT and LSTM. Energy Rep. 2024, 12, 2873–2900. [Google Scholar] [CrossRef]
  29. Laitsos, V.; Vontzos, G.; Tsiovoulos, A.; Bargiotas, D.; Tsoukalas, L.H. Enhanced Sequence-to-Sequence Deep Transfer Learning for Day-Ahead Electricity Load Forecasting. Electronics 2024, 13, 1996. [Google Scholar] [CrossRef]
  30. Kuster, C.; Rezgui, Y.; Mourshed, M. Electrical Load Forecasting Models: A Critical Systematic Review. Sustain. Cities Soc. 2017, 35, 257–270. [Google Scholar] [CrossRef]
  31. Nti, I.K.; Teimeh, M.; Nyarko-Boateng, O.; Adekoya, A.F. Electricity Load Forecasting: A Systematic Review. J. Electr. Syst. Inf. Technol. 2020, 7, 13. [Google Scholar] [CrossRef]
  32. Xu, D.; Tian, Y. A Comprehensive Survey of Clustering Algorithms. Ann. Data Sci. 2015, 2, 165–193. [Google Scholar] [CrossRef]
  33. Tanigawa, Y.; Krishnan, N.; Oomine, E.; Yona, A.; Takahashi, H.; Senjyu, T. Clustering Method for Load Demand to Shorten the Time of Annual Simulation. Energies 2023, 16, 2264. [Google Scholar] [CrossRef]
  34. Amri, Y.; Fadhilah, A.L.; Fatmawati; Setiani, N.; Rani, S. Analysis Clustering of Electricity Usage Profile Using K-Means Algorithm. IOP Conf. Ser. Mater. Sci. Eng. 2016, 105, 012020. [Google Scholar] [CrossRef]
  35. Bian, H.; Zhong, Y.; Sun, J.; Shi, F. Study on Power Consumption Load Forecast Based on K-Means Clustering and FCM–BP Model. Energy Rep. 2020, 6, 693–700. [Google Scholar] [CrossRef]
  36. ISO New England. S.O.P. Create Demand Forecast Contents; ISO New England: Holyoke, MA, USA, 2023. [Google Scholar]
  37. Feinberg, E.A.; Genethliou, D. Load Forecasting. In Applied Mathematics for Restructured Electric Power Systems; Chow, J.H., Wu, F.F., Momoh, J., Eds.; Kluwer Academic Publishers: Boston, MA, USA, 2005; pp. 269–285. [Google Scholar]
  38. Yu, L.; Wang, S.; Lai, K.K. An Integrated Data Preparation Scheme for Neural Network Data Analysis. IEEE Trans. Knowl. Data Eng. 2006, 18, 217–230. [Google Scholar] [CrossRef]
  39. Pelleg, D.; Moore, A. Accelerating Exact K-Means Algorithms with Geometric Reasoning. In Proceedings of the 5th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Diego, CA, USA, 15–18 August 1999; pp. 277–281. [Google Scholar] [CrossRef]
  40. Kaufman, L.; Rousseeuw, P.J. Finding Groups in Data; Wiley Series in Probability and Statistics; Wiley: Hoboken, NJ, USA, 1990; ISBN 9780471878766. [Google Scholar]
  41. Ronald, S. King Cluster Analysis and Data Mining an Introduction; Mercury Learning & Information: Herndon, VA, USA, 2014; ISBN 9781938549380. [Google Scholar]
  42. Dudek, G. Pattern Similarity-Based Methods for Short-Term Load Forecasting—Part 1: Principles. Appl. Soft Comput. 2015, 37, 277–287. [Google Scholar] [CrossRef]
  43. Bozlak, Ç.B.; Yaşar, C.F. Studies on Day-Ahead Electricity Price Forecasting: Sarimax, Lstm and Cnn-Lstm with the Electrical Consumption as an Exogenous Input. SSRN Electron. J. 2022. [Google Scholar] [CrossRef]
  44. CENACE Demanda Del Sistema Eléctrico Nacional. Available online: https://www.cenace.gob.mx/paginas/publicas/info/demandaregional.aspx (accessed on 3 March 2025).
  45. Programa de Desarrollo Del Sistema Eléctrico Nacional 2023–2037. Available online: https://www.gob.mx/sener/articulos/programa-de-desarrollo-del-sistema-electrico-nacional-2023-2037 (accessed on 3 March 2025).
  46. Jose, D.; Mathew, M.; Krishnan, A. Weather Dependency of Electricity Demand: A Case Study in Warm Humid Tropical Climate. In Proceedings of the 2016 3rd International Conference on Electrical Energy Systems (ICEES), Chennai, India, 17–19 March 2016; pp. 102–105. [Google Scholar]
  47. Aisyah, S.; Simaremare, A.A. Correlation between Weather Variables and Electricity Demand. In IOP Conference Series: Earth and Environmental Science; IOP Publishing: Philadelphia, PA, USA, 2021; Volume 927, p. 012015. [Google Scholar] [CrossRef]
  48. NSRDB: National Solar Radiation Database. Available online: https://nsrdb.nrel.gov/ (accessed on 3 March 2025).
  49. Sola, J.; Sevilla, J. Importance of Input Data Normalization for the Application of Neural Networks to Complex Industrial Problems. IEEE Trans. Nucl. Sci. 1997, 44, 1464–1468. [Google Scholar] [CrossRef]
  50. An End-to-End Platform for Machine Learning. Available online: https://www.tensorflow.org/ (accessed on 7 April 2025).
  51. Ortega, A.; Borunda, M.; Conde, L.; Garcia-Beltran, C. Load Demand Forecasting Using a Long-Short Term Memory Neural Network. In Proceedings of the Mexican International Conference on Artificial Intelligence, Yucatán, Mexico, 13–18 November 2023; Springer: Cham, Switzerland, 2023; pp. 121–137, ISBN 978-3-031-47764-5. [Google Scholar]
  52. Kong, W.; Dong, Z.Y.; Hill, D.J.; Luo, F.; Xu, Y. Short-Term Residential Load Forecasting Based on Resident Behaviour Learning. IEEE Trans. Power Syst. 2017, 33, 1087–1088. [Google Scholar] [CrossRef]
  53. Bouktif, S.; Fiaz, A.; Ouni, A.; Serhani, M.A. Optimal Deep Learning LSTM Model for Electric Load Forecasting Using Feature Selection and Genetic Algorithm: Comparison with Machine Learning Approaches. Energies 2018, 11, 1636. [Google Scholar] [CrossRef]
  54. Nespoli, A.; Ogliari, E.; Pretto, S.; Gavazzeni, M.; Vigani, S.; Paccanelli, F. Data Quality Analysis in Day-Ahead Load Forecast by Means of LSTM. In Proceedings of the 2020 IEEE International Conference on Environment and Electrical Engineering and 2020 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Madrid, Spain, 9–12 June 2020; pp. 1–5. [Google Scholar]
  55. Mughees, N.; Mohsin, S.A.; Mughees, A.; Mughees, A. Deep Sequence to Sequence Bi-LSTM Neural Networks for Day-Ahead Peak Load Forecasting. Expert Syst. Appl. 2021, 175, 114844. [Google Scholar] [CrossRef]
  56. Wood, M.; Ogliari, E.; Nespoli, A.; Simpkins, T.; Leva, S. Day Ahead Electric Load Forecast: A Comprehensive LSTM-EMD Methodology and Several Diverse Case Studies. Forecasting 2023, 5, 297–314. [Google Scholar] [CrossRef]
  57. Atef, S.; Eltawil, A.B. Assessment of Stacked Unidirectional and Bidirectional Long Short-Term Memory Networks for Electricity Load Forecasting. Electr. Power Syst. Res. 2020, 187, 106489. [Google Scholar] [CrossRef]
Figure 1. Methodology for day-ahead load forecasting.
Figure 1. Methodology for day-ahead load forecasting.
Applsci 15 04717 g001
Figure 2. Basic architecture of a long short-term memory neural network.
Figure 2. Basic architecture of a long short-term memory neural network.
Applsci 15 04717 g002
Figure 3. The day-ahead load forecast LSTM NN.
Figure 3. The day-ahead load forecast LSTM NN.
Applsci 15 04717 g003
Figure 4. Map of the SEN. The highlighted area represents the region of study [44,45].
Figure 4. Map of the SEN. The highlighted area represents the region of study [44,45].
Applsci 15 04717 g004
Figure 5. Representation of energy balance to determine the single-value hourly load demand for the entire region of the GCRORI.
Figure 5. Representation of energy balance to determine the single-value hourly load demand for the entire region of the GCRORI.
Applsci 15 04717 g005
Figure 6. Main load zones for calculating the representative single-value meteorological variables for the entire GCRORI region.
Figure 6. Main load zones for calculating the representative single-value meteorological variables for the entire GCRORI region.
Applsci 15 04717 g006
Figure 7. Energy demand Gaussian distribution representing the probability distribution of energy demand.
Figure 7. Energy demand Gaussian distribution representing the probability distribution of energy demand.
Applsci 15 04717 g007
Figure 8. Hourly energy load profiles in the eastern region of Mexico from 2016 to 2022.
Figure 8. Hourly energy load profiles in the eastern region of Mexico from 2016 to 2022.
Applsci 15 04717 g008
Figure 9. Grouping of hourly energy profiles from 2016 to 2022 obtained with K-means clustering.
Figure 9. Grouping of hourly energy profiles from 2016 to 2022 obtained with K-means clustering.
Applsci 15 04717 g009
Figure 10. Load demand clusters. (a) Cluster corresponding to the warmer days; (b) Cluster corresponding to the hottest days; (c) Cluster corresponding to the temperate days; (d) Cluster corresponding to the coldest days.
Figure 10. Load demand clusters. (a) Cluster corresponding to the warmer days; (b) Cluster corresponding to the hottest days; (c) Cluster corresponding to the temperate days; (d) Cluster corresponding to the coldest days.
Applsci 15 04717 g010
Figure 11. Historical and forecasted load demand data for a day in the winter season corresponding to (a) Thursday 13 January 2022 and (b) Sunday 16 January 2022.
Figure 11. Historical and forecasted load demand data for a day in the winter season corresponding to (a) Thursday 13 January 2022 and (b) Sunday 16 January 2022.
Applsci 15 04717 g011
Figure 12. Historical and forecasted load demand data for a day in the spring season corresponding to (a) Thursday 21 April 2022 and (b) Sunday 24 April 2022.
Figure 12. Historical and forecasted load demand data for a day in the spring season corresponding to (a) Thursday 21 April 2022 and (b) Sunday 24 April 2022.
Applsci 15 04717 g012aApplsci 15 04717 g012b
Figure 13. Historical and forecasted load demand data for a day in the summer season corresponding to (a) Thursday 14 July 2022 and (b) Sunday 17 July 2022.
Figure 13. Historical and forecasted load demand data for a day in the summer season corresponding to (a) Thursday 14 July 2022 and (b) Sunday 17 July 2022.
Applsci 15 04717 g013
Figure 14. Historical and forecasted load demand data for a day in the autumn season corresponding to (a) Thursday 6 October 2022 and (b) Sunday 9 October 2022.
Figure 14. Historical and forecasted load demand data for a day in the autumn season corresponding to (a) Thursday 6 October 2022 and (b) Sunday 9 October 2022.
Applsci 15 04717 g014
Figure 15. Historical and forecasted load demand data for the day with maximum load demand corresponding to 21 May 2022.
Figure 15. Historical and forecasted load demand data for the day with maximum load demand corresponding to 21 May 2022.
Applsci 15 04717 g015
Figure 16. Historical and forecasted load demand data for a holiday corresponding to 25 December 2022.
Figure 16. Historical and forecasted load demand data for a holiday corresponding to 25 December 2022.
Applsci 15 04717 g016
Figure 17. Historical and forecasted load demand data for the Easter week from 11 April 2022 to 18 April 2022.
Figure 17. Historical and forecasted load demand data for the Easter week from 11 April 2022 to 18 April 2022.
Applsci 15 04717 g017
Figure 18. Historical and forecasted load demand data for the peak load demand week from 16 May 2022 to 22 May 2022.
Figure 18. Historical and forecasted load demand data for the peak load demand week from 16 May 2022 to 22 May 2022.
Applsci 15 04717 g018
Figure 19. Historical and forecasted load demand data for the minimum load demand week corresponding to 25 December 2022.
Figure 19. Historical and forecasted load demand data for the minimum load demand week corresponding to 25 December 2022.
Applsci 15 04717 g019
Table 1. Forecast horizons, types of forecasts, and typical applications in electrical power systems.
Table 1. Forecast horizons, types of forecasts, and typical applications in electrical power systems.
Forecast HorizonType of ForecastUse of Load Demand Forecast
1 s to several sReal-time (RT)Power system dynamic and transient analysis. Real-time monitoring.
Several s to 1 minReal-time/Very short-termReal-time scheduling of generation (RT electricity dispatch), load frequency control, resource dispatch, auction-based electricity markets, PV storage control.
1 min to 30 min (1 h)Very short-termDeregulated power, energy pricing. Intra-hour forecast: operating regulation reserves, storage system optimization, grid quality and stability. Islanding with high solar penetration.
30 min to 6 hShort-termUnit commitment, economic dispatch, electricity market. Intra-day forecast: electricity trading, control of electric loads.
6 h to 24 h (1 day)Short-termPower system load scheduling, load balancing, automatic generation control (AGC), reserve planning and control.
1 day to 1 weekShort-termDay-ahead forecast: Unit commitment and utilities planning, market transactions.
1 week to 1 monthMedium-termCommitment analysis of the power units, scheduling of power systems maintenance.
1 month to 1 yearLong-termScheduling the maintenance of power system elements, electricity pricing. Fuel supply strategies.
1 year to several yearsLong-termPower system planning, expansion and operation management.
Table 2. Summary of some of the relevant publications highlighting the technology utilized and their major findings.
Table 2. Summary of some of the relevant publications highlighting the technology utilized and their major findings.
ReferenceForecast HorizonData fromToolsFeatures
Pindoriya et al., 2009 [17]One hour aheadCalifornia electricity marketMultilayer
perceptron neural networks
Forecasting values are computed for test weeks in summer and winter, finding absolute percentage errors ranging from 3.29% to 0.01%.
Lahouar et al., 2015 [18]One day aheadTunisian Power CompanyRandom forestInformation about the country’s weather or market is used according to expert knowledge. The forecasted values are calculated for weekdays and weekends, achieving a MAPE of less than 2.3%.
Konica et al., 2016 [19]One day aheadAlbaniaFuzzy logicLoad demand is forecasted for various days of test weeks during the seasons.
Muzaffar et al., 2019 [20]24 h, 7 days, and 30 daysAbu DhabiLSTM neural
network
Exogenous variables, such as temperature, humidity, and wind speed, are used to train the LSTM NN. MAPE values of 1.522%, 2.16%, 5.97%, and 9.75% are found for forecasting horizons of 24 h, 28 h, 7 days, and 30 days.
Hafeez et al., 2020 [21]One day aheadFE, EKPC, and Daytown, USAFactored conditional restricted Boltzmann machineA hybrid model based on modified mutual information for extracting data features, a factored conditional restricted Boltzmann machine for load forecasting, and a genetic wind-driven optimization to enhance the performance is presented. MAPE values of less than 1% are obtained for the three grids.
Madhiarasan et al., 2021 [22]24 h, 6 h, 30 minElectric Reliability Council of TexasMultilayer
perceptron neural network
Electricity load, along with temperature, humidity, wind speed, solar irradiance, and pressure, is used to train the NN with different hidden layers, achieving excellent results with a mean square error (MSE) in the order of 1 × 10−8.
Vasenin et al., 2021 [23]One day ahead and intra-day aheadSeveral sitesArtificial intelligence, neural networks, fuzzy logic,
data mining
This review presents the current day-ahead and intra-day power forecasts in the residential sector, showing that an accuracy of up to 98% can be achieved.
Coria et al., 2022
[24]
One hour aheadCENACE, MexicoRandom forestOne-hour-ahead load forecasting is conducted for each of the seven regions of the National Interconnected System of Mexico, with MAPE ranging from 10.2% to 0.48%.
Pelekis et al., 2023 [25]One day aheadPortugalMultilayer
perceptron,
N BEATS,
long short-term memory, and
convolutional NN
The load forecast values using different technologies yield MAPE values ranging from 2% to 3%. Neural basis expansion analysis (N-BEATS) provides load demand forecasts with a lower MAPE.
Pavlatos et al., 2023 [26]One day aheadGreeceRecurrent, LSTM,
and GRU neural
networks
Short-term forecasts can be successfully made by capturing the underlying patterns, resulting in a root mean square error of 0.033.
Tzortzis et al., 2024 [27]One day aheadEuropean countriesFeed-forward neural network and
clustering
Load profiles from various countries are clustered into four basic groups based on similarity. Load forecasting results indicate an improvement of up to 0.24% compared to the baseline results.
Nabavi et al., 2024 [28]Short- to long-termIran and GermanyLSTM and discrete wavelet
transformation
Ambient temperature, cloud cover, solar radiation, and precipitation, along with electricity load data, are used to train the model. Accurate results are achieved, with MAPE ranging from 0.59% to 4.2% for hour-ahead to year-ahead forecasts for Iran and from 0.29% to 3.02% for Germany.
Laitsos et al., 2024 [29]One day aheadGreek islands of Rhodes, Lesvos, and ChiosMultilayer
perceptron,
convolutional neural network, and
ensemble learning model
Load data from the Greek islands of Rhodes and Lesvos are used to train and fine-tune the three sequence-to-sequence deep-learning models to forecast load data for Chios. The results show MAPE values ranging from 5% to 6%.
Table 3. Mean temperature per season in the eastern region of Mexico from 2016 to 2022.
Table 3. Mean temperature per season in the eastern region of Mexico from 2016 to 2022.
SeasonMean Temperature (°C)
Winter20
Spring26
Summer24
Autumn22
Table 4. Architecture of the LSTM model. Neurons and activation functions of hidden layer 1 (H1) and hidden layer 2 (H2).
Table 4. Architecture of the LSTM model. Neurons and activation functions of hidden layer 1 (H1) and hidden layer 2 (H2).
ModelsH1 NeuronsH2 NeuronsH1 Activation FunctionH2 Activation Function
LSTM—Cluster-based training 6432Hyperbolic tangentLinear
Table 5. Historical load demand data and forecasted load demand values obtained using the proposed methodology and CENACE’s methodologies for weekdays across all four seasons.
Table 5. Historical load demand data and forecasted load demand values obtained using the proposed methodology and CENACE’s methodologies for weekdays across all four seasons.
13 January 202221 April 202214 July 20226 October 2022
HourLD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
1 AM519852025184.12692169766837.18642265386762.1596859815970.63
2 AM500450314995.55670067016634.41631162526567.53573057675854.23
3 AM492349094891.1649765206472.38636961776392.69564156645738.63
4 AM489448744827.26636163746344.4626962566273.73558856005656.87
5 AM483849054812.6628762756282.04618961936171.7558455555685.79
6 AM495449114899.47625862286180.19619561556182.44574156075779.26
7 AM508950405042.23617562146129.2606061826085.84579758115835.07
8 AM510551875066.97623161876269.68615060706211.8596759165902.74
9 AM523452115249.86645863436413.5631762666359.28605159595992.23
10 AM539353705403.51657566146571.67635964246528.03606161626106.77
11 AM549455025525.28671867146705.23650764786631.71617362046124.94
12 PM558455715596.49683468936804.99661366516759.51627662696198.29
1 PM567656535668.19690569766879.69665867236901.08635163796254.67
2 PM571057315729.86701070476952.8674267587008.56643863946331.36
3 PM572557475771.48708471226998.57683968167073.33651165026331.36
4 PM575157435822.5715671397027.01681968957101.17645765296342.1
5 PM575957275832.25706171626985.61684568087086.04649763996290.15
6 PM580958155858.16684870286890.02675968336968.22639664216203.85
7 PM613061446298.61702868807016.22685867267032.64670764716484.04
8 PM631063346397.58755574537395.81735970407484.97697871716801.12
9 PM614662126300.07755079207457.55748375697652.07694468426692.26
10 PM585659816102.98749775547394.36739872297558.73675066326519.82
11 PM560556525904.06732274367195.94717771127354.32656064426270.72
12 AM542753595664.82694671457067.39682168566911.31621062036164.04
MAPE 0.63%1.34% 1.11%0.88% 1.18%2.22% 1.04%1.88%
Table 6. Historical load demand data and forecasted load demand values obtained using the proposed methodology and CENACE’s methodologies for weekend days across all four seasons.
Table 6. Historical load demand data and forecasted load demand values obtained using the proposed methodology and CENACE’s methodologies for weekend days across all four seasons.
16 January 202224 April 202217 July 20229 October 2022
HourLD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
1 AM519052885197.39652465176699.13639063796378.47578957765898.49
2 AM499750625024.36631262986404.19629261896177.6559855895705.45
3 AM482648974848.03615861436252.78608961236048.09549954735532.51
4 AM471947754751.98600460426096.04594459825939.11532354435349.68
5 AM464547134669.44593659426025.37581658735856.86533353205295.32
6 AM464346814720.46583058955961.84568657615781.62534253715270.5
7 AM470946984639.62559358065752.92549156485576531853795213.26
8 AM468447754541.75559756315744.94547354825630.96532153745184.17
9 AM471247484679.93567557295741.57556355705712.13540054125245.03
10 AM477648114791.76575558335807.85571756945789.35542555235357.58
11 AM481548594879.54582759335868.27581958535868.26548755105384.61
12 PM485248814927.74588259945950.25589359285933.64558155805452.19
1 PM486649194968.25602960376028.47601860125993.3561756615545.95
2 PM487649375013.95610361806045.44606161296067.34573456865638.04
3 PM485749515025.44619262066092.56616161296151.16573858405718.62
4 PM487949345037.35623263026117.23624162556198.94581557875790.63
5 PM489049394995.24626062986186.95616562486240.17582258775851.07
6 PM499149695079.81629963046190.82628561206260.92590958215968.86
7 PM555052565670.74657463916677.9650464126443.43653160556481.87
8 PM584957415993.73733968837468.31719665697147.46685371076943.06
9 PM577556625957.49750777077552.27746175177297.27672867656903.09
10 PM556954725711.16742273067413.44736070257202.55650165366616.68
11 PM521752205367.65709571937121.96708670086899.46616262586260.44
12 AM491149065018.18679368276750.49673766776587.86591459035993.28
MAPE 1.302%1.81% 1.31%1.360% 1.39%1.20% 1.19%1.43%
Table 7. Historical load demand data and forecasted load demand values obtained using our methodology and CENACE’s methodologies for a holiday.
Table 7. Historical load demand data and forecasted load demand values obtained using our methodology and CENACE’s methodologies for a holiday.
21 May 202225 December 2022
HourLD
M W h h
FLD
M W h h
FLD_C
M W h h
LD
M W h h
FLD
M W h h
FLD_C
M W h h
1 AM742474467259431242514215.3
2 AM724172137013415141684070.66
3 AM701170606823402040963939.73
4 AM678168756620390640353869.01
5 AM664066806469380939723830.89
6 AM655165506423381339053790.62
7 AM628364686267374739183703.93
8 AM635262636418373138443590.1
9 AM654264746564386438353591.26
10 AM674366786723396139963680.32
11 AM693669156851408440643791.13
12 PM707171046976415741973901.03
1 PM711072387031420942373962.35
2 PM714572527060423242854017.6
3 PM719872727068431942964078.67
4 PM723572727033438343734116.33
5 PM720572566938446944244080.12
6 PM715471806890458446254202.25
7 PM730071577104499749184734.12
8 PM801974717813516951894940.35
9 PM820882957921510250614874.54
10 PM809478427817491048664735.24
11 PM784278987561474746264544.67
12 AM751076317430445144404264.78
MAPE 1.32%2.11% 1.48%4.4%
Table 8. Historical load demand data and forecasted load demand values obtained using our methodology and CENACE’s methodologies for the three weeks under study.
Table 8. Historical load demand data and forecasted load demand values obtained using our methodology and CENACE’s methodologies for the three weeks under study.
WeekMAPEMAPE_C
Easter1.25%2.49%
Maximum load demand1.15%1.17%
Minimum load demand1.14%2.13%
Table 9. Some of the day-ahead load forecasting methodologies utilizing LSTM neural networks reported in the literature.
Table 9. Some of the day-ahead load forecasting methodologies utilizing LSTM neural networks reported in the literature.
ReferenceApproachLoad DatasetInput VariablesAccuracy of Prediction
Kong et al., 2017 [52]LSTMA set of households in AustraliaHistorical load time seriesMAPE values ranging from 21.99% to 26.85%.
Bouktif et al., 2018 [53]LSTM + RNN + GAMetropolitan zone in FranceHistorical load time seriesCV(RMSE) = 0.78%.
Nespoli et al., 2020 [54]LSTMIndustry in ItalyHistorical load time seriesnRMSE = 2.30.
Mughees et al., 2021 [55]Bi-LSTM S2SResidential region in PakistanHistorical load time seriesMAPE values ranging from 3.67% to 5.92%.
Wood et al., 2023 [56]LSTM + EMD + K-means clusteringResidence, hotel, manufacturing plant, EV charging station, distribution network, transmission network in USA and ItalyHistorical load time seriesThey obtain RMSE values lower than the benchmark models, ranging from −6.3% to 73% improvement over the benchmarks.
Atef et al., 2020 [57]Uni-LSTM + Bi-LSTMPower system network in SwitzerlandHistorical load dataMAPE values ranging from 0.22% to 3.895%.
Ortega et al., 2023 [51]LSTMPower system network in GRCORIHistorical load and temperature time seriesMAPE values ranging from 0.36% to 3.58%.
Nabavi et al., 2024 [28]LSTM + DWT + NARX + SVMPower system network in Germany and IranHistorical load and meteorological time series and social eventsMAPE values ranging from 0.29% to 4.2%.
This approachLSTM + K-means clustering + similar daysPower system network in GRCORIHistorical load and meteorological time series MAPE values ranging from 0.63% to 1.48%.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Borunda, M.; Vega, A.O.; Garduno, R.; Conde, L.; Medina, M.A.; Aparicio, J.R.; Cacho, L.M.; Jaramillo, O.A. An Intelligent Method for Day-Ahead Regional Load Demand Forecasting via Machine-Learning Analysis of Energy Consumption Patterns Across Daily, Weekly, and Annual Scales. Appl. Sci. 2025, 15, 4717. https://doi.org/10.3390/app15094717

AMA Style

Borunda M, Vega AO, Garduno R, Conde L, Medina MA, Aparicio JR, Cacho LM, Jaramillo OA. An Intelligent Method for Day-Ahead Regional Load Demand Forecasting via Machine-Learning Analysis of Energy Consumption Patterns Across Daily, Weekly, and Annual Scales. Applied Sciences. 2025; 15(9):4717. https://doi.org/10.3390/app15094717

Chicago/Turabian Style

Borunda, Monica, Arturo Ortega Vega, Raul Garduno, Luis Conde, Manuel Adam Medina, Jeannete Ramírez Aparicio, Lorena Magallón Cacho, and O. A. Jaramillo. 2025. "An Intelligent Method for Day-Ahead Regional Load Demand Forecasting via Machine-Learning Analysis of Energy Consumption Patterns Across Daily, Weekly, and Annual Scales" Applied Sciences 15, no. 9: 4717. https://doi.org/10.3390/app15094717

APA Style

Borunda, M., Vega, A. O., Garduno, R., Conde, L., Medina, M. A., Aparicio, J. R., Cacho, L. M., & Jaramillo, O. A. (2025). An Intelligent Method for Day-Ahead Regional Load Demand Forecasting via Machine-Learning Analysis of Energy Consumption Patterns Across Daily, Weekly, and Annual Scales. Applied Sciences, 15(9), 4717. https://doi.org/10.3390/app15094717

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop