Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Mar 18;15(1):9252.
doi: 10.1038/s41598-025-91878-0.

Seasonal forecasting of the hourly electricity demand applying machine and deep learning algorithms impact analysis of different factors

Affiliations

Seasonal forecasting of the hourly electricity demand applying machine and deep learning algorithms impact analysis of different factors

Heba-Allah Ibrahim El-Azab et al. Sci Rep. .

Abstract

The purpose of this paper is to suggest short-term Seasonal forecasting for hourly electricity demand in the New England Control Area (ISO-NE-CA). Precision improvements are also considered when creating a model. Where the whole database is split into four seasons based on demand patterns. This article's integrated model is built on techniques for machine and deep learning methods: Adaptive Neural-based Fuzzy Inference System, Long Short-Term Memory, Gated Recurrent Units, and Artificial Neural Networks. The linear relationship between temperature and electricity consumption makes the relationship noteworthy. Comparing the temperature effect in a working day and a temperature effect on a weekend day where at night, the marginal effects of temperature on the demand in a working day for power are likewise at their highest. However, there are significant effects of temperature on the demand for a holiday, even a weekend or special holiday. Two scenarios are used to get the results by using machine and deep learning techniques in four seasons. The first scenario is to forecast a working day, and the second scenario is to forecast a holiday (weekend or special holiday) under the effect of the temperature in each of the four seasons and the cost of electricity. To clarify the four techniques' performance and effectiveness, the results were compared using the Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), Normalized Root Mean Squared Error (NRMSE), and Mean Absolute Percentage Error (MAPE) values. The forecasting model shows that the four highlighted algorithms perform well with minimal inaccuracy. Where the highest and the lowest accuracy for the first scenario are (99.90%) in the winter by simulating an Adaptive Neural-based Fuzzy Inference System and (70.20%) in the autumn by simulating Artificial Neural Network. For the second scenario, the highest and the lowest accuracy are (96.50%) in the autumn by simulating Adaptive Neural-based Fuzzy Inference System and (68.40%) in the spring by simulating Long Short-Term Memory. In addition, the highest and the lowest values of Mean Absolute Error (MAE) for the first scenario are (46.6514, and 24.759 MWh) in the spring, and the summer by simulating Artificial Neural Networks. The highest and the lowest values of Mean Absolute Error (MAE) for the second scenario are (190.880, and 45.945 MWh) in the winter, and the autumn by simulating Long Short-Term Memory, and Adaptive Neural-based Fuzzy Inference System.

Keywords: Adaptive neuro-fuzzy inference system; Day-Type; Electricity price; Gated recurrent units; Hourly demand forecasting; Long short-term memory; Mean absolute percentage error; Temperature; Time-series forecasting.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
A structure model of the LSTM network.
Fig. 2
Fig. 2
A structure of the GRU.
Fig. 3
Fig. 3
The fundamental architecture of ANFIS for a single output with two rules and two inputs.
Fig. 4
Fig. 4
Predicting the hourly energy load framework using the two scenarios’ performance calculations and the four suggested methodologies.
Fig. 5
Fig. 5
The Sys_demand (MWh) hourly dataset for the four seasons, linked with the associated hourly Market_price ($/h).
Fig. 6
Fig. 6
Data from statistics on hourly Sys_demand and the corresponding Market_price throughout the four seasons.
Fig. 7
Fig. 7
The actual and the forecasted results in the 1st. Scenario (workdays) of the Sys_demand (MWh), throughout a 24-h period in each of the four seasons by the four featured algorithms.
Fig. 8
Fig. 8
The calculated performance (RMSE, NRMSE, MAE, and MAPE) for the four specified algorithms in the four seasons for the Sys_demand (MWh), 1st. Scenario (workdays).
Fig. 9
Fig. 9
The calculated performance (The Nash–Sutcliffe Efficiency (NSE), the determination factor (R2), kurtosis coefficient, and coefficient of variation (CV)) for the four specified algorithms in the four seasons for the Sys_demand (MWh), 1st. Scenario (workdays).
Fig. 10
Fig. 10
The actual and the forecasted results in the 2nd scenario (special holidays) of the Sys_demand (MWh), throughout a 24-h period in each of the four seasons by only two featured algorithms (GRU, and ANFIS).
Fig. 11
Fig. 11
The calculated performance (RMSE, NRMSE, MAE, and MAPE) for the specified algorithms (LSTM, and ANFIS) in the four seasons for the Sys_demand (MWh), 2nd. Scenario (special holidays).
Fig. 12
Fig. 12
The calculated performance (NSE, R2, kurtosis coefficient, and coefficient of variation) for the specified algorithms (LSTM, and ANFIS) in the four seasons for the Sys_demand (MWh), 2nd. Scenario (special holidays).

Similar articles

References

    1. Kaur, N. & Sood, S. K. An energy-efficient architecture for the internet of things (IoT). IEEE Syst. J.11, 796–805 (2017).
    1. Momami, M. Factors affecting electricity demand in jordan. Energy Power Eng.5, 50–58. 10.4236/epe.2013.51007 (2013).
    1. Mideksa, T. & Kallbekken, S. The impact of climate change on the electricity market: A review. Energy Policy38, 3579–3585 (2010).
    1. Julian, M. C. & Julian, P. Temperature effects on firms’ electricity demand: An analysis of sectorial differences in Spain. Appl. Energy142, 407 (2015).
    1. Hossein Motlagh, N., Mohammadrezaei, M., Hunt, J. & Zakeri, B. Internet of Things (IoT) and the Energy Sector. Energies13, 494 (2020).

LinkOut - more resources