Next Article in Journal
Hardware-in-the-Loop Simulation Platform for Hands-On Training in Grid-Connected Photovoltaic Systems
Previous Article in Journal
Topology-Aware Graph Reinforcement Learning for Voltage-Reactive Power Control in Grid-Connected Microgrids
Previous Article in Special Issue
Plug-and-Play Planning and Operation of N Grid-Connected Microgrids Under Uncertainty: A Data-Driven Optimization Framework Using Open French Load Profiles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Deep Learning Framework for Smart Grid Stress Prediction and Adaptive Mitigation Under Extreme Weather Conditions

School of Computing, Engineering, & Digital Technologies, Teesside University, Middlesbrough TS1 3BX, UK
*
Author to whom correspondence should be addressed.
Electricity 2026, 7(3), 61; https://doi.org/10.3390/electricity7030061
Submission received: 30 April 2026 / Revised: 4 June 2026 / Accepted: 10 June 2026 / Published: 25 June 2026

Abstract

Electricity systems are increasingly exposed to demand variability driven by extreme weather conditions, creating significant challenges for maintaining grid reliability and operational stability. Conventional forecasting approaches focus primarily on prediction accuracy and provide limited support for operational decision-making under dynamic conditions. This study proposes a hybrid deep learning framework for smart grid stress prediction and adaptive mitigation under extreme weather. The framework reformulates demand forecasting using residual learning. It further integrates grid stress modelling with control-oriented decision support. A sequence learning architecture with attention is employed to capture temporal demand dynamics, while a continuous Grid Stress Index (GSI) translates predictions into operational indicators of system stress. The model demonstrates stable performance on real-world UK electricity demand data, achieving a mean absolute error of 1827.51 MW and a root mean squared error of 2505.22 MW. Peak demand and ramp behaviour are captured with improved consistency, and grid stress is predicted with a mean absolute error of 0.1246. An adaptive mitigation module translates predicted stress into actionable control, resulting in approximately 5.37% peak demand reduction, with limited impact on ramp smoothing. The results demonstrate that integrating forecasting, stress modelling, and control delivers greater operational value than standalone predictive models. The proposed framework provides a scalable and practical approach for grid-aware decision support under increasing climate-driven demand uncertainty.

1. Introduction

Electricity systems are undergoing a structural transformation driven by the rapid integration of renewable energy sources, electrification of transport and heating, and increasing climate variability [1]. These developments introduce significant operational complexity, requiring power systems to operate under more dynamic and uncertain conditions. In particular, maintaining system reliability now depends on the ability to anticipate and respond to rapid fluctuations in electricity demand and supply [2,3].
Short-term electricity demand forecasting remains a fundamental component of grid operation, supporting generation scheduling, reserve allocation, and market operations [4,5]. Traditional forecasting approaches have evolved from statistical models such as autoregressive integrated moving average (ARIMA) to machine learning and deep learning methods capable of capturing nonlinear temporal dependencies [6]. Recent advances in deep learning, particularly Long Short-Term Memory (LSTM) networks and hybrid architectures, have demonstrated strong performance in modelling complex demand patterns [7,8,9].
Despite these advances, a critical limitation persists. Most forecasting models are optimised for prediction accuracy as an end objective, with limited consideration of how forecasts are used in operational decision-making. In practical grid environments, accurate prediction alone is insufficient [10]. System operators require interpretable and actionable indicators that reflect grid stress, risk, and operational constraints. This gap between predictive modelling and operational utility has been increasingly recognised in recent research on resilient power systems [11,12].
The challenge is further amplified under extreme weather conditions. Heatwaves, cold spells, and severe meteorological events significantly alter electricity demand patterns while simultaneously affecting generation availability and network performance [13,14,15]. These conditions introduce non-stationarity and increased uncertainty, reducing the effectiveness of conventional forecasting models [16,17]. As climate-driven variability intensifies, the ability to model and manage extreme demand behaviour becomes a critical requirement for grid resilience [18,19,20].
Recent studies have explored hybrid deep learning architectures, including convolutional neural network–long short-term memory (CNN–LSTM) and transformer-based models, to improve forecasting performance under complex conditions [21,22]. While these approaches enhance predictive capability, they remain largely prediction-centric and do not explicitly incorporate grid stress assessment or control-oriented decision mechanisms. This reveals three key limitations in the current state of research. First, forecast outputs are rarely translated into operational indicators that quantify system stress or risk. Second, model evaluation is typically conducted under average conditions, with limited emphasis on extreme demand events where operational decisions are most critical. Third, there is minimal integration between forecasting models and adaptive control strategies that can mitigate predicted stress conditions in real time.
Addressing these limitations requires a shift from prediction-centric modelling toward integrated predictive–control frameworks. Such frameworks extend forecasting beyond accuracy metrics by embedding it within a broader decision-support architecture that includes stress quantification and mitigation [23,24,25,26]. This study proposes a hybrid deep learning framework for smart grid stress prediction and adaptive mitigation under extreme weather conditions. The approach reformulates electricity demand forecasting as a residual learning problem and integrates it with grid stress modelling and control-oriented decision-making. A sequence learning architecture with attention is used to capture temporal demand dynamics, while a continuous Grid Stress Index (GSI) translates forecasts into operational indicators of system conditions.

Novelty and Contributions

By linking prediction with stress assessment and state-driven mitigation, the proposed framework enables proactive management of grid conditions under weather-driven demand variability and provides a practical pathway for improving grid resilience. This work differs from existing studies in three fundamental ways. First, forecasting is reformulated as a residual learning problem to explicitly model deviations under extreme conditions, rather than absolute demand. Second, grid stress is introduced as a continuous, learnable operational variable within a multi-task learning framework, rather than a post hoc indicator. Third, prediction outputs are directly embedded within a closed-loop mitigation mechanism, enabling operational decision support rather than passive forecasting.

2. Related Work

Electricity demand forecasting has been extensively studied, with approaches broadly categorised into statistical models, machine learning methods, and deep learning architectures. Statistical and machine learning approaches were used in previous work on electricity demand forecasting, and some relied on autoregressive integrated moving average (ARIMA) and seasonal variants [27,28,29,30]. These models provide interpretable and computationally efficient solutions, but are limited in their ability to capture nonlinear dependencies and complex interactions between demand drivers [6].
To address these limitations, machine learning techniques such as support vector regression, decision trees, and ensemble methods have been applied to load forecasting [31]. These approaches improve nonlinear modelling capability but often require extensive feature engineering and still struggle to capture long-range temporal dependencies inherent in electricity demand data [6].
Deep learning-based forecasting has emerged as the dominant approach for short-term load forecasting due to its ability to learn hierarchical representations directly from data. Recurrent neural networks, particularly Long Short-Term Memory (LSTM) models, have demonstrated strong performance in capturing temporal dependencies in electricity demand [4,7]. Hybrid architectures further enhance performance by combining complementary modelling capabilities. For example, CNN–LSTM models integrate convolutional layers for feature extraction with recurrent layers for sequence learning, enabling improved representation of spatiotemporal patterns [8,21,32]. More recently, transformer-based models have been introduced to capture long-range dependencies using attention mechanisms [22,33,34]. Despite these advances, most deep learning approaches remain focused on improving forecast accuracy. They typically treat demand prediction as an isolated task, without explicitly considering how predictions are utilised in grid operation.
The impact of extreme weather on electricity demand has gained increasing attention in recent years. Studies show that heatwaves, cold spells, and other meteorological extremes introduce significant deviations from normal demand patterns, increasing the uncertainty in forecasting [16,17]. To address this, hybrid models have been proposed to incorporate meteorological variables such as temperature, wind speed, and solar irradiance. These approaches improve the sensitivity of models to weather-driven demand variability and enhance forecast performance under abnormal conditions [17,35].
Recent research has begun to explore the integration of forecasting with grid resilience and operational decision-making. Frameworks that combine source–load coordination and system-level modelling aim to support proactive grid management under uncertainty [11,12]. These approaches represent a shift toward grid-aware forecasting, where predictions are used to inform operational strategies. However, existing work remains fragmented. Forecasting, stress assessment, and control are often developed as separate components, with limited end-to-end integration.
The review of existing literature reveals a persistent disconnect between predictive modelling and operational decision-making in smart grid systems. Most forecasting approaches are designed to optimise predictive accuracy as an end objective, without explicitly linking model outputs to operational indicators that reflect grid stress or system risk. In addition, model evaluation is typically conducted under average operating conditions, with limited emphasis on extreme demand scenarios where system vulnerability is highest. These limitations highlight the need for an integrated framework that extends forecasting beyond accuracy metrics toward actionable operational intelligence. In response, this study proposes a unified predictive–control architecture that reformulates electricity demand forecasting using residual learning, incorporates grid stress modelling through a continuous Grid Stress Index, and integrates adaptive mitigation strategies within a closed-loop decision-support system. Unlike existing approaches, the proposed framework explicitly links prediction, stress quantification, and control, enabling proactive management of peak demand and system stress under extreme weather conditions.

3. Methodology

The proposed framework is designed to extend conventional electricity demand forecasting into a grid-aware predictive system that captures both demand dynamics and operational stress conditions. Rather than directly predicting electricity demand, the problem is reformulated using a residual learning paradigm and a multi-task learning strategy. This enables the model to simultaneously learn demand deviations and grid stress behaviour under weather-driven variability.
The methodology consists of four interconnected components: data acquisition and preprocessing, feature engineering and residual formulation, hybrid sequence learning, and grid stress modelling. The system-level architecture of the proposed framework is illustrated in Figure 1. The design follows a modular structure in which each component performs a distinct functional role while contributing to a unified predictive–control loop.
The data processing module transforms raw demand and meteorological inputs into structured features. The forecasting engine generates residual demand and grid stress predictions using a hybrid LSTM–attention model. These predictions are passed to the grid stress evaluation module, which converts them into operational indicators. The adaptive control module then applies mitigation actions based on predicted stress levels.
Unlike conventional forecasting pipelines, the proposed architecture establishes a closed-loop interaction between prediction and control. This establishes a closed-loop predictive–control pipeline aligned with real-time grid operation.

3.1. Data Acquisition and Preprocessing

The framework utilises real-world electricity demand data obtained from the UK National Grid Electricity System Operator (ESO), and meteorological data provided by the European Centre for Medium-Range Weather Forecasts (ECMWF) Reanalysis v5 (ERA5) [36]. The demand data consist of half-hourly measurements, while ERA5 provides high-resolution atmospheric variables. The electricity demand at time t is denoted by D t , and the corresponding vector of weather features is defined by (1), where T t , V t , and S t represent temperature, wind speed and solar irradiance, respectively.
W t = [ T t , V t , S t ]

3.2. Feature Engineering and Temporal Encoding

To capture cyclical behaviour in electricity demand, temporal features are encoded using sinusoidal transformations. The hour-of-day encoding, defined in (2) is used. Similarly, day-of-week encoding is defined in (3), where h represents hour-of-day and d represents day-of-week.
hour s i n = sin 2 π h 24 , hour c o s = cos 2 π h 24
dow s i n = sin 2 π d 7 , dow c o s = cos 2 π d 7
To capture temporal dependencies, lagged demand features are constructed as defined in (4). Short-term variability is captured using rolling statistics and the rolling mean and standard deviation are defined in (5). These engineered features allow the model to represent both periodic demand patterns and short-term fluctuations.
L t = [ D t 1 , D t 2 , D t 24 , D t 96 , D t 336 ]
μ t ( k ) = 1 k i = 0 k 1 D t i , σ t ( k ) = 1 k i = 0 k 1 ( D t i μ t ( k ) ) 2

3.3. Residual Learning Formulation

To reduce learning complexity, electricity demand is decomposed into a baseline component and a residual component. This decomposition is defined in (6), where B t represents a persistence-based baseline and R t represents the residual deviation. The baseline component is defined using daily persistence in (7), and the residual component is obtained from (8). This formulation allows the model to focus on deviations from expected demand behaviour rather than learning the full signal. Residual learning has been shown to improve convergence and stability in time-series forecasting [4].
D t = B t + R t
B t = D t 48
R t = D t B t

3.4. Hybrid Sequence Learning Model

The temporal learning component is implemented using a Long Short-Term Memory (LSTM) network with an attention mechanism. Given an input sequence X t k : t , the LSTM produces a sequence of hidden states as defined in (9). An attention mechanism is applied to compute the importance weights of each time step and the weights are defined in (10).
H = [ h 1 , h 2 , , h k ]
α i = exp ( W h i ) j exp ( W h j )
The context vector is then computed as a weighted sum of hidden states, as shown in (11). This mechanism enables the model to selectively focus on relevant temporal patterns when generating predictions.
c = i α i h i

3.5. Multi-Task Learning for Demand and Grid Stress Prediction

The model is trained using a multi-task formulation to jointly predict residual demand R ^ t and grid stress G S I ^ t , with demand reconstructed using (12). To quantify operational conditions, a Grid Stress Index (GSI) is defined in (13), where λ 1 and λ 2 are weighting coefficients. The GSI is formulated as a continuous operational proxy that captures two dominant drivers of system stress: demand magnitude, which reflects proximity to peak capacity and reserve margin constraints, and short-term demand variability, which represents ramping requirements and operational instability.
This formulation is consistent with recent developments in grid-aware energy management systems, where forecasting outputs are increasingly coupled with control-oriented decision layers to enable proactive system operation [37,38]. In such frameworks, system stress is treated as a control-relevant signal rather than a descriptive metric, enabling direct integration of predictive models within operational decision-making pipelines.
A linear combination of normalised demand and ramp-based variability is adopted to ensure computational tractability and real-time applicability, while preserving interpretability for system operators. The weighting coefficients λ 1 and λ 2 are selected to balance steady-state loading effects and transient dynamics, ensuring consistent scaling across operating regimes. By embedding GSI within the learning objective, the proposed framework enables the model to internalise system stress behaviour during training, effectively bridging the gap between predictive modelling and operational decision support under dynamic and weather-driven conditions.
D ^ t = B t + R ^ t
G S I t = λ 1 D t max ( D t k : t ) + λ 2 | D t D t 1 | σ t ( k )
During training, G S I t is computed using observed demand D t , while during inference, it is evaluated using predicted demand D ^ t to ensure consistency with real-time deployment conditions. Algorithm 1 outlines the proposed pipelines for the forecast and stress prediction.
Algorithm 1: Grid-Aware Demand Forecasting and Stress Prediction Pipeline
Require:
Demand data D t , weather data W t
Ensure:
Predicted demand D ^ t , predicted stress G S I ^ t
 1:
Align and clean demand and weather data
 2:
Construct feature vector X t = [ W t , C t , L t , μ t ( k ) , σ t ( k ) ]
 3:
Compute baseline demand:
B t = D t 48
 4:
Compute residual:
R t = D t B t
 5:
Normalise input features and residuals
 6:
Construct input sequences:
X t = [ X t k + 1 , , X t ]
 7:
Train LSTM-attention model to minimise:
L = α L r e s + β L g s i + γ L r a m p
 8:
Predict residual R ^ t and stress G S I ^ t
 9:
Reconstruct demand:
D ^ t = B t + R ^ t
  10:
 return  D ^ t , G S I ^ t

3.6. Loss Function and Optimisation

The model is trained using a composite loss function that integrates residual prediction, grid stress prediction, and ramp consistency. The total loss is defined in (14), with individual components given in (15)–(17). The weighting coefficients α , β , and γ control the relative contribution of each component and are empirically selected to balance forecasting accuracy and temporal consistency.
L = α L r e s + β L g s i + γ L r a m p
L r e s = | R t R ^ t |
L g s i = | G S I t G S I ^ t |
L r a m p = | ( R t R t 1 ) ( R ^ t R ^ t 1 ) |
Model parameters are updated using gradient-based optimisation as defined in (18), where η is the learning rate.
θ t + 1 = θ t η θ L
The proposed framework introduces three key innovations. First, the forecast of electricity demand is reformulated using residual learning, which improves stability and reduces the complexity of the model. Second, grid stress is incorporated as a learnable target through multi-task learning. Third, ramp dynamics are explicitly modelled within the loss function to capture operational behaviour. These design choices enable the framework to move beyond accuracy-focused prediction toward operationally meaningful forecasting, supporting grid-aware decision-making under extreme weather conditions.

4. System Design and Implementation

The proposed framework is implemented as a modular pipeline that integrates data processing, sequence learning, grid stress evaluation, and adaptive mitigation. The design emphasises scalability, reproducibility, and clear separation of functional components, enabling both independent validation and end-to-end deployment. Figure 1 illustrates the overall system architecture, where each module transforms inputs into progressively more operationally meaningful representations.

4.1. Data Processing Module

The data processing module transforms raw electricity demand and meteorological data into structured model inputs. At each time step t, the feature set comprises meteorological variables W t = [ T t , V t , S t ] , calendar features C t encoding hour-of-day and day-of-week as defined in (2) and (3), lagged demand features L t defined in (4), and rolling statistical descriptors μ t ( k ) and σ t ( k ) defined in (5). The complete feature vector is constructed as given in (19). This representation captures environmental drivers, temporal structure, and short-term demand dynamics within a unified input space.
X t = [ W t , C t , L t , μ t ( k ) , σ t ( k ) ]
To ensure numerical stability and efficient training, each feature is standardised using statistics computed from the training set. The normalised feature is given by (20), where μ x and σ x denote the mean and standard deviation of feature x. This standardisation ensures that all features are centred and scaled consistently across training, validation, and test sets.
x n o r m = x μ x σ x

4.2. Sequence Construction

The forecasting model operates on fixed-length temporal sequences. Given a sequence length k, the input to the model is constructed as a rolling window of past observations, as defined in (21). The corresponding prediction targets are defined at the next time step. Specifically, the model predicts the residual demand R t + 1 , defined in (8), and the grid stress index G S I t + 1 , defined in (13). This formulation enables the model to learn temporal dependencies over a rolling window of historical observations while simultaneously capturing demand dynamics and system stress behaviour.
X t = [ X t k + 1 , X t k + 2 , , X t ]

4.3. Forecasting Engine

The forecasting engine implements the hybrid sequence learning model described in the methodology. The model consists of three main components: an LSTM encoder, an attention mechanism, and dual output heads. Given the input sequence X t , the LSTM encoder produces hidden states as defined in (9). The attention mechanism then computes a context vector c using (11), which captures the most relevant temporal information for prediction.
The model generates two outputs: the predicted residual demand and the predicted grid stress index, defined in (22) and (23), where f r e s ( · ) and f g s i ( · ) are fully connected layers that map the context vector to residual and stress predictions, respectively. The model jointly predicts residual demand and grid stress through dual output heads.
R ^ t + 1 = f r e s ( c )
G S I ^ t + 1 = f g s i ( c )

4.4. Grid Stress Evaluation Engine

The grid stress evaluation module converts predicted demand into operational indicators. Given the predicted demand D ^ t from (12), three key indicators are computed: peak demand ratio, ramp rate, and normalised volatility.
The peak demand ratio is defined in (24) and quantifies how close the current demand is to the recent maximum levels, where max ( D ^ t k : t ) represents the maximum predicted demand over a rolling window. The ramp rate is defined in (25) and measures the magnitude of demand change between consecutive time steps. Demand volatility is characterised using a rolling standard deviation. The normalised volatility is defined in (26), where σ t ( k ) is given by (5). These indicators are combined to compute the Grid Stress Index as defined in (13). The resulting index provides a continuous measure of system stress and can be used to identify different operational regimes.
R p e a k , t = D ^ t max ( D ^ t k : t )
R r a m p , t = | D ^ t D ^ t 1 |
V t = R r a m p , t σ t ( k )

4.5. Adaptive Control Engine

The adaptive control module translates predicted stress conditions into mitigation actions. The objective is to reduce peak demand and smooth ramp behaviour while maintaining operational feasibility. The adjusted demand after mitigation is defined in (27), where B t denotes the battery dispatch power and L t denotes demand response (load reduction). The control objective can be expressed as a constrained optimisation problem, where the goal is to minimise peak demand and operational cost. The objective function is defined in (28), where D p e a k is the peak adjusted demand and C o p represents the cost associated with control actions.
D t = D ^ t P t b a t L t
min D p e a k + λ C o p
Control actions are subject to battery dispatch and demand response limits. In the present implementation, battery dispatch is represented as an abstract flexibility resource, and detailed electrochemical battery dynamics, including state-of-charge evolution and charging constraints, are not explicitly modelled. For illustrative evaluation, the battery flexibility resource is assumed to have an equivalent energy capacity of 100 MWh and a maximum dispatch capability of 50 MW. Demand response capacity is limited to 5% of forecast demand. These values are intended to demonstrate framework behaviour rather than represent a specific utility deployment.
0 P t b a t P m a x b a t
0 L t L m a x
In this study, the optimisation problem is approximated using a rule-based adaptive control strategy to ensure computational efficiency and interpretability. This approach provides a tractable approximation of the underlying optimisation objective, enabling real-time deployment without reliance on iterative solvers. Although the resulting control actions are not guaranteed to be globally optimal, the strategy preserves the primary objective of reducing peak demand under high-stress conditions. It therefore serves as a practical baseline for evaluating the operational value of integrating forecasting with control. Control actions are activated when the predicted stress exceeds a predefined threshold, as defined in (31), where τ denotes the stress threshold.
if G S I ^ t > τ activate control
The overall system operates as a closed-loop framework, where the forecasting engine predicts demand and grid stress, the evaluation module quantifies system risk, and the control module applies mitigation actions. This integration ensures that predictions are directly translated into actionable grid management decisions rather than treated as standalone outputs. While the current implementation adopts a threshold-based control policy, it provides a computationally efficient and interpretable approximation of the underlying optimisation problem, and establishes a foundation for more advanced optimisation-based or learning-driven control strategies in future work.

4.6. Model Configuration

The forecasting model is implemented using a sequence length of k = 48 , corresponding to one day of half-hourly observations. The LSTM encoder consists of two layers with 64 hidden units per layer. The model is trained using the Adam optimiser with an initial learning rate of 1 × 10 3 and a batch size of 64. A fixed learning rate was used throughout training, while early stopping was used based on validation loss to prevent overfitting and unnecessary parameter updates. Training is performed for 50 epochs with early stopping based on validation loss. A dropout rate of 0.2 is applied to mitigate overfitting. The loss function weights are set as α = 1.0 , β = 0.5 , and γ = 0.2 , balancing residual accuracy, stress prediction, and ramp consistency. The Grid Stress Index weights are set as λ 1 = 0.6 and λ 2 = 0.4 , ensuring comparable contribution from demand magnitude and variability components. Algorithm 2 formalises the state-driven mitigation process, describing how predicted grid stress is translated into adaptive control actions.
Algorithm 2: Adaptive Demand Mitigation Based on Grid Stress
Require:
Predicted demand D ^ t , predicted stress G S I ^ t , threshold τ
Ensure:
Adjusted demand D t
 1:
for each time step t do
 2:
    if  G S I ^ t > τ  then
 3:
        Compute battery dispatch B t subject to:
0 B t B m a x
 4:
        Compute demand response L t subject to:
0 L t L m a x
 5:
        Adjust demand:
D t = D ^ t P t b a t L t
 6:
    else
 7:
         D t = D ^ t
 8:
    end if
 9:
 end for
  10:
 return  D t

5. Data and Case Study Setup

This section describes the datasets, feature construction process, and experimental configuration used to evaluate the proposed framework. The objective is to ensure full reproducibility and to justify the suitability of the data for modelling weather-driven electricity demand and grid stress behaviour. The dataset includes periods of weather variability that contribute to elevated demand stress conditions.

5.1. Electricity Demand Dataset

Electricity demand data were obtained from the UK National Grid Electricity System Operator (ESO) open data platform. The dataset consists of half-hourly system demand measurements, providing high temporal resolution suitable for short-term forecasting and ramp analysis. From (8), D t denotes the electricity demand at time t, measured in megawatts (MW). The dataset captures key characteristics of real-world grid behaviour, including daily cycles, seasonal variation, and demand spikes associated with extreme weather conditions.
The study was carried out on a full operational year dataset, ensuring that both normal and extreme demand patterns are represented. This temporal coverage is essential for evaluating model robustness under varying system conditions.

5.2. Meteorological Data

Meteorological variables were obtained from the ERA5 reanalysis dataset provided by the European Centre for Medium-Range Weather Forecasts (ECMWF) [36], which offers physically consistent and high-resolution atmospheric data widely used in energy system modelling. The weather feature vector W t , defined in (1), comprises air temperature ( T t ) measured in degrees Celsius, wind speed ( V t ) measured in metres per second, and solar irradiance ( S t ) measured in watts per square metre.
These variables are selected based on their established influence on electricity demand. Temperature drives heating and cooling loads, solar irradiance affects daylight-related consumption patterns, and wind speed influences both renewable generation and perceived temperature effects [17,35]. All meteorological variables are temporally aligned with demand data at the same half-hour resolution.
In this study, extreme weather conditions are defined as periods characterised by abnormal meteorological behaviour and elevated demand variability relative to seasonal norms. Rather than applying fixed temperature thresholds, extreme conditions are implicitly represented through the combined influence of temperature, wind speed, solar irradiance, and resulting demand deviations captured in the residual demand signal and Grid Stress Index (GSI). This formulation enables the framework to identify both weather-driven and operationally induced stress conditions.

5.3. Feature Construction

The input feature set is constructed by combining weather variables, temporal encodings, lagged demand features, and statistical descriptors. The complete feature vector at time t is defined in (19), where each component captures a distinct aspect of demand behaviour. Specifically, weather features ( W t ) represent external environmental drivers, calendar features ( C t ) encode periodic consumption patterns, lag features ( L t ) capture temporal autocorrelation, and rolling statistics ( μ t ( k ) , σ t ( k ) ) characterise short-term variability in demand.
Lagged demand features are constructed using (4), capturing dependencies at hourly, daily, and weekly intervals. Rolling statistics are computed using (5), providing local estimates of demand level and volatility.
To stabilise learning, demand is decomposed into baseline and residual components as defined in (6). The baseline demand B t is computed using daily persistence, as defined in (7). This assumes that demand at time t is approximately similar to demand at the same time on the previous day. The residual component R t , defined in (8), represents deviations from expected behaviour. This includes demand fluctuations driven by weather anomalies, behavioural changes, and system disturbances. This decomposition is critical, as it reduces the dynamic range of the learning target and allows the model to focus on modelling variability rather than absolute demand levels.

5.4. Dataset Splitting and Temporal Integrity

To preserve temporal consistency and prevent information leakage, the dataset is split chronologically into training, validation, and test sets. Let D denote the full dataset. The split is defined in (32), where D t r a i n contains historical data used for model training, D v a l is used for hyperparameter tuning and early stopping, and D t e s t is reserved for final evaluation. The splits are arranged sequentially in time, ensuring that future data are not used to inform past predictions.
D = D t r a i n D v a l D t e s t
Feature scaling is performed using standardisation as defined in (20). Importantly, scaling parameters are computed using training data only and then applied to validation and test sets. Residual targets are also standardised prior to training. The scaled residual is defined by (33), where μ R and σ R denote the mean and standard deviation of residuals in the training set. During evaluation, predicted residuals are transformed back to the original scale using the inverse transformation.
R t n o r m = R t μ R σ R

5.5. Case Study Configuration

The case study is designed to evaluate the framework under realistic grid operating conditions, including both normal demand behaviour and periods of elevated stress. Extreme weather conditions are represented through periods exhibiting abnormal meteorological behaviour and elevated demand variability, as reflected in both the residual demand component and the Grid Stress Index. This allows the framework to identify stress conditions arising from both weather-driven and non-weather-driven factors. Two evaluation scenarios are considered: (i) a baseline scenario without adaptive mitigation, and (ii) a controlled scenario with stress-triggered mitigation. Performance differences between these scenarios quantify the operational value of the proposed framework.
The dataset design combines real-world demand data with physically consistent meteorological inputs. Feature engineering captures temporal, statistical, and environmental dependencies, while residual learning improves model stability. The chronological validation strategy ensures realistic evaluation, and the case study configuration enables assessment of both predictive performance and operational impact. This setup provides a robust foundation for evaluating the proposed hybrid deep learning framework under practical smart grid conditions.

6. Validation Protocol

This section defines the evaluation strategy used to assess the predictive accuracy, stress modelling capability, and operational relevance of the proposed framework. The validation protocol is designed to reflect real-world deployment conditions and to ensure that performance metrics are directly aligned with grid operation objectives.
Electricity demand exhibits strong temporal dependency and autocorrelation. To preserve causality and prevent information leakage, a chronological data split is adopted as defined in (32). Model training is performed using D t r a i n , while D v a l is used for hyperparameter tuning and early stopping. The final performance is evaluated on D t e s t , which contains unseen future data. This approach ensures that the model is evaluated under realistic forecasting conditions, where only historical information is available at prediction time.
The model predicts residual demand R ^ t , which is converted to actual demand using the reconstruction defined in (12). Evaluation is therefore performed on reconstructed demand D ^ t rather than residuals. The forecasting accuracy is measured using the mean absolute error (MAE), defined in (34). Root mean squared error (RMSE) is also computed, as defined in (35). These metrics quantify overall prediction accuracy across the test set.
M A E = 1 N i = 1 N | D i D ^ i |
R M S E = 1 N i = 1 N ( D i D ^ i ) 2

6.1. Peak Demand Evaluation

Grid operation is particularly sensitive to peak demand periods. To evaluate model performance under high-load conditions, a peak-specific error metric is defined. The peak demand error is computed using (36). P 95 denotes the 95th percentile of actual demand and Ω = { i D i P 95 } represents the set of peak demand instances. This metric evaluates the model’s ability to capture high-stress conditions, which are critical for system reliability.
M A E p e a k = 1 | Ω | i Ω | D i D ^ i |

6.2. Ramp Dynamics Evaluation

Rapid changes in demand, called ramps, impose significant operational constraints on generation and grid stability. To evaluate the model’s ability to capture ramp behaviour, a ramp error metric is defined in (37). The true ramp is computed as Δ D t = D t D t 1 , while the predicted ramp is given by Δ D ^ t = D ^ t D ^ t 1 . This metric directly evaluates the model’s ability to track demand transitions rather than static levels.
M A E r a m p = 1 N 1 t = 2 N | Δ D t Δ D ^ t |
The model also predicts the Grid Stress Index G S I ^ t , which represents a continuous measure of system stress derived from demand magnitude and ramp variability. The accuracy of stress prediction is evaluated using mean absolute error, as defined in (38). This metric assesses how well the model captures operational stress conditions derived from demand dynamics. Unlike classification-based evaluation, this formulation preserves the continuous nature of grid stress and avoids information loss due to thresholding.
M A E G S I = 1 N i = 1 N | G S I i G S I ^ i |
Beyond predictive accuracy, the framework is evaluated in terms of its operational impact. This is achieved by comparing system behaviour before and after adaptive mitigation. D ^ t denotes the predicted demand without control, and D t denotes the adjusted demand after mitigation, as defined in (27). The operational impact of the control strategy is evaluated using metrics that quantify changes in peak demand and ramp behaviour. Peak reduction measures the effectiveness of mitigation in suppressing system stress and is defined in (39). Ramp smoothing evaluates the reduction in maximum ramp magnitude, capturing improvements in temporal stability, and is defined in (40).
Δ P = max ( D ^ t ) max ( D t ) max ( D ^ t ) × 100
Δ R = max ( | Δ D ^ t | ) max ( | Δ D t | )
System stability is evaluated through reduction in demand variability defined in (41), where σ D ^ and σ D denote the standard deviation of demand before and after mitigation. These metrics quantify the practical value of the framework in stabilising grid operation.
Δ σ = σ D ^ σ D
The evaluation and validation protocol combines prediction accuracy, peak performance, ramp dynamics, stress estimation, and operational impact. This multi-dimensional evaluation ensures that the model is assessed not only as a forecasting tool but as a decision-support system. By aligning evaluation metrics with real grid behaviour, the framework is validated in a manner consistent with operational requirements rather than purely statistical benchmarks.

7. Results and Discussion

This section presents the empirical evaluation of the proposed framework using results generated from the implemented pipeline. The analysis is structured to reflect the full system pipeline, progressing from forecasting accuracy to grid stress modelling and finally to operational mitigation impact.
The predictive accuracy of the proposed model is evaluated using the metrics defined in (34)–(35). The aggregated results are summarised in Table 1. The model demonstrates stable predictive performance under real-world operating conditions. The reported errors are influenced by the variability present in large-scale electricity demand and weather-driven demand fluctuations.
To provide context for the reported performance, the proposed model is compared against a persistence baseline defined by B t = D t 48 . The persistence baseline yields higher MAE and RMSE, with MAE exceeding 2000 MW and RMSE exceeding 2700 MW, indicating improved forecasting performance by the proposed model during peak demand conditions. A persistence baseline was selected as a practical benchmark because it is widely used in operational electricity forecasting and provides a strong reference for short-term demand prediction.
Figure 2 illustrates the comparison between actual demand D t and predicted demand D ^ t . The model captures overall demand structure effectively, including diurnal cycles and medium-term trends. To further assess model behaviour under critical operating conditions, Figure 3 presents prediction performance during high-demand periods. The model captures peak demand trends but exhibits deviations during extreme spikes. These deviations arise from the stochastic and low-frequency nature of such events, which are underrepresented in the training data and, therefore difficult to generalise.
Ramp dynamics are analysed in Figure 4, where the temporal evolution of true and predicted demand gradients is compared. The model captures general ramp behaviour but shows reduced accuracy during abrupt transitions. These results indicate that while the model effectively learns underlying demand patterns, rapid transitions remain challenging due to their stochastic nature.

7.1. Error Characteristics and Robustness

The distribution of prediction errors is analysed to assess model robustness. Figure 5 shows the histogram of residual errors. The error distribution is centred around zero with moderate dispersion, indicating that the model is largely unbiased. However, heavier tails suggest occasional large deviations associated with extreme demand conditions.

7.2. Grid Stress Modelling Performance

The effectiveness of the grid stress modelling component is evaluated by analysing the relationship between electricity demand and the predicted Grid Stress Index (GSI). Figure 6 illustrates the relationship between demand and predicted GSI values. The results show that the GSI tracks demand-driven stress patterns effectively. Periods of elevated demand correspond to higher stress levels, confirming that the model translates demand dynamics into meaningful operational indicators.
The effectiveness of the adaptive control module is evaluated by comparing system behaviour before and after mitigation. The results are summarised in Table 2. The adaptive mitigation strategy achieves a peak demand reduction of approximately 5.37%, demonstrating effective suppression of high-demand events and improved operational resilience. However, the impact on ramp dynamics remains limited, with only marginal reduction observed in maximum ramp rates. This indicates that the current control formulation is primarily optimised for peak shaving rather than temporal smoothing.
Furthermore, the observed increase in demand variability after mitigation suggests that aggressive peak reduction can introduce secondary fluctuations in the demand profile. This highlights an inherent trade-off between peak suppression and temporal stability. While peak reduction improves reserve margins and reduces system stress, insufficient coordination with ramp-aware mechanisms may lead to short-term variability. These results suggest that effective grid control requires multi-objective optimisation that jointly considers peak demand, ramp dynamics, and system stability. The current rule-based strategy provides a baseline implementation, but more advanced approaches such as optimisation-based control or reinforcement learning may be required to fully balance these competing objectives.
Figure 7 illustrates the effect of mitigation on the demand trajectory. These results highlight an inherent trade-off in grid control strategies. While peak demand reduction improves reserve margins and reduces system stress, it may also introduce variability if not coordinated with ramp-aware mechanisms.
Recent studies have demonstrated that grid flexibility can be further enhanced through integrated energy management approaches combining battery storage, hydrogen storage, ancillary services, and dynamic pricing mechanisms. In particular, synergistic coordination between electrical and hydrogen storage systems has shown potential for congestion management and resilience enhancement [39,40]. The proposed framework adopts a simplified battery and demand-response strategy to establish the operational feasibility of integrating forecasting, stress assessment, and mitigation. Future work will investigate multi-vector flexibility resources and optimisation-based scheduling strategies.

8. Conclusions

This study presented a hybrid deep learning framework for smart grid stress prediction and adaptive mitigation under extreme weather conditions. The proposed approach integrates demand forecasting, grid stress modelling, and adaptive control within a unified predictive–control architecture.
The results demonstrate that the model achieves stable predictive performance under real-world conditions, capturing key demand characteristics including peak behaviour and ramp dynamics. The Grid Stress Index provides a meaningful abstraction of system conditions by translating demand patterns into operational risk indicators.
The adaptive mitigation module delivers measurable operational benefits. From a practical grid operations perspective, the framework enables operators to move beyond passive forecasting by directly linking demand prediction to stress assessment and mitigation. This capability supports reserve planning, peak demand management, and proactive deployment of flexibility resources during weather-driven stress events. Simulation results show that peak demand can be reduced by approximately 5.37%, demonstrating the effectiveness of integrating predictive insights with control actions. However, limited improvement in ramp dynamics and increased variability highlight trade-offs in the current control formulation. A key implication of this work is that forecasting accuracy alone is insufficient for modern grid operation. Greater value is achieved through the integration of prediction, stress assessment, and control, enabling proactive rather than reactive system management.
A limitation of this study is that the model is trained on a single national-scale dataset, which may limit generalisability across different grid topologies and regulatory environments. In addition, the Grid Stress Index relies on fixed weighting parameters, and the control strategy is rule-based rather than optimisation-driven. These limitations highlight opportunities for future work in cross-system validation, adaptive stress modelling, and optimisation-based control. Future work will focus on integrating optimisation-based or reinforcement learning control strategies and validating the framework across multiple grid environments. From a systems perspective, the results demonstrate that embedding predictive models within a control-oriented framework significantly enhances their practical utility in real-world grid operation. The proposed framework provides a scalable pathway for integrating forecasting, stress assessment, and mitigation within existing energy management systems, supporting proactive grid operation under increasing weather-driven demand variability.

Author Contributions

Conceptualisation: A.O. and G.A.; Methodology: A.O.; Software: A.O.; Validation: A.O., G.A. and G.P.; Writing—original draft: A.O.; Writing—review and editing: G.A. and G.P.; Supervision: G.A. and G.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The electricity demand data used in this study are publicly available from the National Grid ESO open data platform. Meteorological data were obtained from the ERA5 reanalysis dataset provided by the European Centre for Medium-Range Weather Forecasts (ECMWF). The code and implementation of the hybrid deep learning models developed in this study are openly available in a public repository at https://github.com/ogatech4real/Hybrid_DL (accessed on 20 April 2026).

Acknowledgments

The authors acknowledge the support of Teesside University in facilitating this research.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

TermDescription
Abbreviations
GSIGrid Stress Index
LSTMLong Short-Term Memory
ESOElectricity System Operator (UK National Grid)
ERA5ECMWF Reanalysis v5 dataset
DRDemand Response
Nomenclature
D t Electricity demand at time t (MW)
D ^ t Predicted electricity demand
R t Residual demand
R ^ t Predicted residual demand
B t Baseline demand (persistence)
W t Weather feature vector
G S I t Grid Stress Index at time t
G S I ^ t Predicted Grid Stress Index
λ 1 , λ 2 GSI weighting coefficients
σ t ( k ) Rolling standard deviation over window k
P t b a t Battery dispatch power
L t Demand response adjustment
D t Adjusted demand after mitigation

References

  1. Cavus, M. Advancing power systems with renewable energy and intelligent technologies: A comprehensive review on grid transformation and integration. Electronics 2025, 14, 1159. [Google Scholar] [CrossRef] [Scilit]
  2. Tamrakar, G.; Dusi, P. AI-Driven Intelligent Control Frameworks for Enhancing Reliability, Resilience, and Efficiency in Smart Grids. Natl. J. Intell. Power Syst. Technol. 2025, 1, 10–16. [Google Scholar] [CrossRef]
  3. Qiu, D.; Strbac, G.; Wang, Y.; Ye, Y.; Wang, J.; Pinson, P.; Silva, V.; Teng, F. Artificial intelligence for microgrid resilience: A data-driven and model-free approach. IEEE Power Energy Mag. 2024, 22, 18–27. [Google Scholar] [CrossRef] [Scilit]
  4. Rodrigues, F.; Cardeira, C.; Calado, J.M.; Melicio, R. Short-term load forecasting of electricity demand for the residential sector based on modelling techniques: A systematic review. Energies 2023, 16, 4098. [Google Scholar] [CrossRef] [Scilit]
  5. Kondaiah, V.Y.; Saravanan, B.; Sanjeevikumar, P.; Khan, B. A review on short-term load forecasting models for micro-grid application. J. Eng. 2022, 2022, 665–689. [Google Scholar] [CrossRef] [Scilit]
  6. 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] [Scilit]
  7. Klaiber, J.; Van Dinther, C. Deep learning for variable renewable energy: A systematic review. ACM Comput. Surv. 2023, 56, 1–37. [Google Scholar] [CrossRef] [Scilit]
  8. Alhussein, M.; Aurangzeb, K.; Haider, S.I. Hybrid CNN-LSTM model for short-term individual household load forecasting. IEEE Access 2020, 8, 180544–180557. [Google Scholar] [CrossRef] [Scilit]
  9. Joseph, R.V.; Mohanty, A.; Tyagi, S.; Mishra, S.; Satapathy, S.K.; Mohanty, S.N. A hybrid deep learning framework with CNN and Bi-directional LSTM for store item demand forecasting. Comput. Electr. Eng. 2022, 103, 108358. [Google Scholar] [CrossRef] [Scilit]
  10. Zhao, D.; Piao, X.; Chen, Z.; Li, Z.; Taniguchi, I. A unified energy management framework for multi-timescale forecasting in smart grids. arXiv 2024, arXiv:2411.15254. [Google Scholar] [CrossRef] [Scilit]
  11. Saxena, A.; Shankar, R.; El-Saadany, E.F.; Kumar, M.; Al Zaabi, O.; Al Hosani, K.; Muduli, U.R. Intelligent load forecasting and renewable energy integration for enhanced grid reliability. IEEE Trans. Ind. Appl. 2024, 60, 8403–8417. [Google Scholar] [CrossRef] [Scilit]
  12. Mujjuni, F.; Betts, T.R.; Blanchard, R.E. Evaluation of power systems resilience to extreme weather events: A review of methods and assumptions. IEEE Access 2023, 11, 87279–87296. [Google Scholar] [CrossRef] [Scilit]
  13. Gonçalves, A.C.; Costoya, X.; Nieto, R.; Liberato, M.L. Extreme weather events on energy systems: A comprehensive review on impacts, mitigation, and adaptation measures. Sustain. Energy Res. 2024, 11, 4. [Google Scholar] [CrossRef] [Scilit]
  14. Brás, T.A.; Simoes, S.G.; Amorim, F.; Fortes, P. How much extreme weather events have affected European power generation in the past three decades? Renew. Sustain. Energy Rev. 2023, 183, 113494. [Google Scholar] [CrossRef] [Scilit]
  15. Hawker, G.; Bell, K.; Bialek, J.; MacIver, C. Management of extreme weather impacts on electricity grids: An international review. Prog. Energy 2024, 6, 032005. [Google Scholar] [CrossRef] [Scilit]
  16. Bayer, D.R.; Haag, F.; Pruckner, M.; Hopf, K. Electricity demand forecasting in future grid states: A digital twin-based simulation study. In Proceedings of the 2024 9th International Conference on Smart and Sustainable Technologies (SpliTech), Bol and Split, Croatia, 25–28 June 2024; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  17. Debnath, S.; Islam, M.R.; Abubakkar, M.; Islam, M.Z.; Mridul, M.S.I.; Biswas, A.K. AI-Driven Hybrid Deep Learning Framework for Short-Term Renewable Energy Forecasting under Extreme Weather Events. In Proceedings of the 2025 7th International Conference on Electrical, Control and Instrumentation Engineering (ICECIE), Pattaya, Thailand, 22–23 November 2025; IEEE: New York, NY, USA, 2025; pp. 362–369. [Google Scholar] [CrossRef] [Scilit]
  18. Cao, W.; Zhou, L. Resilient microgrid modeling in Digital Twin considering demand response and landscape design of renewable energy. Sustain. Energy Technol. Assess. 2024, 64, 103628. [Google Scholar] [CrossRef] [Scilit]
  19. Daeli, A.; Mohagheghi, S. Power grid infrastructural resilience against extreme events. Energies 2022, 16, 64. [Google Scholar] [CrossRef] [Scilit]
  20. Zafeiropoulou, M.; Mentis, I.; Sijakovic, N.; Terzic, A.; Fotis, G.; Maris, T.I.; Vita, V.; Zoulias, E.; Ristic, V.; Ekonomou, L. Forecasting transmission and distribution system flexibility needs for severe weather condition resilience and outage management. Appl. Sci. 2022, 12, 7334. [Google Scholar] [CrossRef] [Scilit]
  21. Farsi, B.; Amayri, M.; Bouguila, N.; Eicker, U. On short-term load forecasting using machine learning techniques and a novel parallel deep LSTM-CNN approach. IEEE Access 2021, 9, 31191–31212. [Google Scholar] [CrossRef] [Scilit]
  22. Chan, J.W.; Yeo, C.K. A transformer based approach to electricity load forecasting. Electr. J. 2024, 37, 107370. [Google Scholar] [CrossRef] [Scilit]
  23. Huang, J.; Wei, Q.; Wang, T.; Ding, J.; Yu, L.; Wang, D.; Yu, Z. Spatio-Temporal Feature Fusion-Based Hybrid GAT-CNN-LSTM Model for Enhanced Short-Term Power Load Forecasting. Energies 2025, 18, 5686. [Google Scholar] [CrossRef] [Scilit]
  24. Unlu, A.; Peña, M. Comparative analysis of hybrid deep learning models for electricity load forecasting during extreme weather. Energies 2025, 18, 3068. [Google Scholar] [CrossRef] [Scilit]
  25. Liu, P.; Chokwitthaya, C.; Olofsson, T.; Lu, W. Demand response optimization incorporating thermal comfort in single-family houses with on-site generation: A systematic review. Appl. Energy 2026, 406, 127305. [Google Scholar] [CrossRef] [Scilit]
  26. Ahamed, B.S.; Dhanya, D.; Sivaramkrishnan, M.; Srinivas, T.A.; Hadi, A.A.; Khan, S.; Khan, W.A. Optimization based load forecasting and demand management in smart building microgrids with Greylag Goose and Bi level graph models. Sci. Rep. 2026, 16, 6386. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Arumugam, V.; Natarajan, V. Time series modeling and forecasting using autoregressive integrated moving average and seasonal autoregressive integrated moving average models. Instrum. Mes. Metrol. 2023, 22, 161. [Google Scholar] [CrossRef] [Scilit]
  28. Amshi, A.H.; Prasad, R. Time series analysis and forecasting of cholera disease using discrete wavelet transform and seasonal autoregressive integrated moving average model. Sci. Afr. 2023, 20, e01652. [Google Scholar] [CrossRef] [Scilit]
  29. Alharbi, F.R.; Csala, D. A seasonal autoregressive integrated moving average with exogenous factors (SARIMAX) forecasting model-based time series approach. Inventions 2022, 7, 94. [Google Scholar] [CrossRef] [Scilit]
  30. Fan, S.; Hyndman, R.J. Short-term load forecasting based on a semi-parametric additive model. IEEE Trans. Power Syst. 2011, 27, 134–141. [Google Scholar] [CrossRef] [Scilit]
  31. Klyuev, R.V.; Morgoev, I.D.; Morgoeva, A.D.; Gavrina, O.A.; Martyushev, N.V.; Efremenkov, E.A.; Mengxu, Q. Methods of forecasting electric energy consumption: A literature review. Energies 2022, 15, 8919. [Google Scholar] [CrossRef] [Scilit]
  32. Kong, W.; Dong, Z.Y.; Jia, Y.; Hill, D.J.; Xu, Y.; Zhang, Y. Short-term residential load forecasting based on LSTM recurrent neural network. IEEE Trans. Smart Grid 2017, 10, 841–851. [Google Scholar] [CrossRef] [Scilit]
  33. L’Heureux, A.; Grolinger, K.; Capretz, M.A. Transformer-based model for electrical load forecasting. Energies 2022, 15, 4993. [Google Scholar] [CrossRef] [Scilit]
  34. Wang, C.; Wang, Y.; Ding, Z.; Zheng, T.; Hu, J.; Zhang, K. A transformer-based method of multienergy load forecasting in integrated energy system. IEEE Trans. Smart Grid 2022, 13, 2703–2714. [Google Scholar] [CrossRef] [Scilit]
  35. Fan, G.F.; Han, Y.Y.; Li, J.W.; Peng, L.L.; Yeh, Y.H.; Hong, W.C. A hybrid model for deep learning short-term power load forecasting based on feature extraction statistics techniques. Expert Syst. Appl. 2024, 238, 122012. [Google Scholar] [CrossRef] [Scilit]
  36. Hersbach, H.; Bell, B.; Berrisford, P.; Hirahara, S.; Horányi, A.; Muñoz-Sabater, J.; Nicolas, J.; Peubey, C.; Radu, R.; Schepers, D.; et al. The ERA5 global reanalysis. Q. J. R. Meteorol. Soc. 2020, 146, 1999–2049. [Google Scholar] [CrossRef] [Scilit]
  37. Zohaib, A.; Akram, F.; Khalid, S.; Nawaz, H.; Rehman, M.U. Hybrid deep learning based load forecasting and AI-driven energy management for grid-connected multi-microgrids. Comput. Electr. Eng. 2026, 131, 110915. [Google Scholar] [CrossRef] [Scilit]
  38. Lim, S.; Lee, J.; Lee, S. Model predictive control-based energy management system for cooperative optimization of grid-connected microgrids. Energies 2025, 18, 1696. [Google Scholar] [CrossRef] [Scilit]
  39. Abdollahi, A.; Amato, G.; Savastio, L.P.; De Tuglie, E.E.; Rasolomampionona, D.D. Synergistic approach for congestion management using hydrogen storage and ancillary services. J. Energy Storage 2026, 152, 120746. [Google Scholar] [CrossRef] [Scilit]
  40. Zhang, L.; Huo, M.; Zhou, T.; Pan, J.; Xu, Y. Energy Flexibility Realization in Grid-Interactive Buildings for Demand Response: State-of-the-Art Review on Strategies, Resources, Control, and KPIs. Energies 2025, 18, 4960. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Proposed hybrid deep learning framework for grid-aware demand and stress prediction.
Figure 1. Proposed hybrid deep learning framework for grid-aware demand and stress prediction.
Electricity 07 00061 g001
Figure 2. Actual vs. predicted electricity demand.
Figure 2. Actual vs. predicted electricity demand.
Electricity 07 00061 g002
Figure 3. Model performance under peak demand conditions: Captures peak trends but underestimates extreme spikes.
Figure 3. Model performance under peak demand conditions: Captures peak trends but underestimates extreme spikes.
Electricity 07 00061 g003
Figure 4. True vs. predicted demand ramp dynamics.
Figure 4. True vs. predicted demand ramp dynamics.
Electricity 07 00061 g004
Figure 5. Distribution of prediction errors.
Figure 5. Distribution of prediction errors.
Electricity 07 00061 g005
Figure 6. Relationship between demand and predicted Grid Stress Index.
Figure 6. Relationship between demand and predicted Grid Stress Index.
Electricity 07 00061 g006
Figure 7. Effect of adaptive mitigation on predicted electricity demand.
Figure 7. Effect of adaptive mitigation on predicted electricity demand.
Electricity 07 00061 g007
Table 1. Forecasting performance on the test set.
Table 1. Forecasting performance on the test set.
ModelMAE (MW)RMSE (MW)Peak MAE (MW)Ramp Error (MW)
Persistence Baseline>2000>2700
Proposed Framework1827.512505.221183.79393.83
Table 2. Operational impact of adaptive mitigation.
Table 2. Operational impact of adaptive mitigation.
MetricBefore ControlAfter Control
Peak Demand (MW)43,946.3341,586.24
Peak Reduction (%)5.37
Max Ramp (MW/step)3776.003772.82
Ramp Reduction (MW/step)3.18
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

Ogabi, A.; Aggarwal, G.; Pillai, G. A Hybrid Deep Learning Framework for Smart Grid Stress Prediction and Adaptive Mitigation Under Extreme Weather Conditions. Electricity 2026, 7, 61. https://doi.org/10.3390/electricity7030061

AMA Style

Ogabi A, Aggarwal G, Pillai G. A Hybrid Deep Learning Framework for Smart Grid Stress Prediction and Adaptive Mitigation Under Extreme Weather Conditions. Electricity. 2026; 7(3):61. https://doi.org/10.3390/electricity7030061

Chicago/Turabian Style

Ogabi, Adewale, Geetika Aggarwal, and Gobind Pillai. 2026. "A Hybrid Deep Learning Framework for Smart Grid Stress Prediction and Adaptive Mitigation Under Extreme Weather Conditions" Electricity 7, no. 3: 61. https://doi.org/10.3390/electricity7030061

APA Style

Ogabi, A., Aggarwal, G., & Pillai, G. (2026). A Hybrid Deep Learning Framework for Smart Grid Stress Prediction and Adaptive Mitigation Under Extreme Weather Conditions. Electricity, 7(3), 61. https://doi.org/10.3390/electricity7030061

Article Metrics

Back to TopTop