학술

A dual output deep learning framework for enhanced electricity demand and emissions forecasting for renewable integration

PLOS ONE
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Figures
Abstract
Accurate forecasting of electricity demand and CO2 emissions is vital for grid planning and renewable integration, yet existing research typically treats these as separate problems, overlooking their linkage through the generation mix. This study proposes a dual-output LSTM that jointly predicts both quantities using five years (July 2018–June 2023) of US EIA-930 hourly data, with VIF-corrected feature engineering (2824 features) further refined to 21 features via a targeted ablation removing three emission-construction constants. To improve conditioning on this highly persistent series, the network predicts the residual relative to the most recent observed value rather than the absolute level. Across five random-seed initializations, the model attains a mean MAPE of 0.054% for demand and 0.087% for emissions, the lowest among a comprehensive baseline suite. On this strongly autocorrelated series (R = 0.997), persistence and AR-X are the strongest simple baselines (0.116% and 0.071% demand MAPE), yet the proposed model still improves on both, with a substantial and statistically robust advantage on emissions (AR-X: 0.918%; Diebold-Mariano tests significant in 5 of 5 seeds against both baselines on both targets). Classical and alternative deep-learning baselines (ARIMA, seasonal-naive, GRU, CNN-LSTM) are outperformed by larger margins. Diebold-Mariano tests with a HAC (Newey-West) variance estimator, valid under the serial correlation of hourly forecast errors, and bootstrap confidence intervals (1,000 iterations) confirm these results are robust. A gradient-boosted surrogate model attributes emissions predictions predominantly to coal and gas generation, with a smaller but non-trivial contribution from lagged demand, consistent with the physical fuel-emissions relationship and the model’s shared demand-emissions representation. Scenario analysis further examines the sensitivity of emissions to increased solar penetration. Together, these elements provide an interpretable, rigorously validated framework for data-driven decarbonization planning, while also identifying a specific limitation in emissions forecasting under low-demand conditions.
Citation: Thomas AM, Dey M, Rana SP, Debnath R (2026) A dual output deep learning framework for enhanced electricity demand and emissions forecasting for renewable integration. PLoS One 21(11): e0363536. https://doi.org/10.1371/journal.pone.0363536
Editor: Xiao Tan, Hohai University, CHINA
Received: July 16, 2025; Accepted: November 8, 2026; Published: November 30, 2026
Copyright: © 2026 Thomas et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The dataset is a publicly available dataset, published by the U.S. Energy Information Administration (EIA) between 1st July 2018, and 30th June 2023 [44]. Available doi: https://doi.org/10.7910/DVN/OKEATQ.
Funding: RD received funding from the University of Cambridge, UK.
Competing interests: The authors have declared that no competing interests exist.
1 Introduction
The global energy sector is undergoing rapid transformation, driven by the urgent need to decarbonise electricity systems and meet climate targets. Decarbonisation of global electricity systems needs a rapid shift from fossil fuel-based energy sources to clean and renewable sources. However, integration of renewable energy sources is challenging due to generation intermittency and legacy power system design issues. There is an urgent need for tools that can accurately manage increasingly complex grids integrating intermittent sources such as solar and wind [1]. Our study proposes a deep learning-based framework to aid in renewable integration decision-making. We showcase the performance of our model using granular, publicly available power system data from the United States of America.
Accurate forecasting of both electricity demand and CO2 emissions is critical for maintaining grid stability, optimising economic performance, and achieving emissions reduction goals [2]. Machine learning (ML) and deep learning (DL) models have gained prominence in this domain, with Long Short-Term Memory (LSTM) networks proving particularly effective for time-series forecasting due to their ability to learn long-range dependencies [3–6].
Despite these advances, critical gaps persist. First, research predominantly treats electricity demand and CO2 emissions forecasting as independent tasks [7–9], seldom modelling them jointly within a single framework despite their linkage through generation dispatch. Second, existing multi-output forecasting approaches [10,11] are frequently reported without comprehensive validation, including trivial baselines, significance testing appropriate for serially correlated errors, and uncertainty quantification. Third, scenario-based renewable integration studies [12,13] typically employ simplified algebraic scaling, and rarely examine emissions response under a consistent, data-grounded accounting of fuel displacement.
This study addresses these gaps through a dual-output LSTM framework with three contributions. First, the architecture jointly forecasts demand and emissions from a shared temporal representation, providing a single, unified model for two operationally linked quantities rather than maintaining separate pipelines (detailed in Section 3.3). Second, the framework is subjected to a rigorous validation protocol: VIF analysis for feature selection, a comprehensive baseline comparison that deliberately includes trivial predictors (persistence, seasonal-naive) and a strong linear model (AR-X) alongside ARIMA, GRU, and CNN-LSTM, Diebold-Mariano significance testing suited to autocorrelated forecast errors, and bootstrap confidence intervals. This protocol is designed so that any reported gain is attributable to genuine modelling improvement rather than to a weak benchmark. Third, a scenario analysis examines how increased solar penetration affects projected emissions, and explainability analysis using a surrogate model identifies fossil generation as the dominant driver of emission predictions [14,15]. Together, these elements position the framework as a transparent, rigorously validated tool for supporting evidence-based energy transition decisions.
2 Literature review
Forecasting electricity demand and emissions has advanced significantly in recent years, driven by increased data availability, enhanced computational capabilities, and the proliferation of artificial intelligence techniques. Traditional forecasting models, such as ARIMA, Holt-Winters exponential smoothing, and multiple linear regression, were widely used to capture temporal patterns using historical load data and calendar-based variables [16,17]. Although these models offered computational simplicity and interpretability, they struggled to accommodate intricate non-linear relationships, extended seasonal effects, and interdependencies among diverse variables, particularly in contemporary power systems characterized by high renewable integration and evolving operational strategies. Recent surveys also show that these classical models often produce higher error ranges (e.g., MAPE above 6–10%) when applied to highly variable or renewable-rich electricity systems [18].
With the rise of machine learning, tree-based algorithms like Random Forests and gradient boosting (e.g., XGBoost) became prevalent for demand forecasting, offering improved adaptability to non-linear relationships and interactions among predictors [19,20]. However, these models often fell short in sequential learning, failing to internalize temporal dependencies essential for accurate short and medium term forecasting. Consequently, recurrent neural networks (RNNs) and their gated variants, most notably LSTM, emerged as powerful tools in this domain due to their sequential modelling strengths and robustness against the vanishing gradient problem [21,22]. Empirical studies also report that LSTM-based models can reduce forecasting errors by roughly 15–25% compared to ARIMA and tree-based baselines [4,5].
Recent literature affirms the efficacy of LSTM architectures in load and emissions forecasting. LSTM applied to residential load data achieved over 20% error reduction compared to ARIMA baselines in [21]. In [22], LSTM was extended to multivariate forecasting tasks, using exogenous variables such as temperature and calendar events with notable gains in predictive performance. Other studies implemented hybrid structures, integrating CNN layers for feature extraction or combining LSTM with attention mechanisms to enhance interpretability [23,24]. Hybrid CNN-LSTM and attention-based models have also demonstrated strong results, often reporting MAPEs between 1.8–3.8% due to improved capture of spatial and temporal features [25–27].
Despite these advancements, the domain of CO2 emissions forecasting remains comparatively underdeveloped. Most existing approaches rely on statistical extrapolations or fuel-based deterministic models, often dissociated from parallel electricity demand forecasts [28]. Although some hybrid methodologies that integrate physical simulations with machine learning (ML) have emerged, they frequently face limitations in scalability, data integration, and adaptability to dynamic system changes [29,30]. Moreover, such models typically lack the architectural flexibility to support seamless scenario-based experimentation, restricting their utility in simulating methodological interventions or assessing decarbonization strategies in real-time contexts [19,31]. Recent deep learning studies report high accuracy for national- and generation-level emissions forecasting, with ensemble and CNN-LSTM models achieving R2 values between 0.94–0.98 on various datasets [9,32–35].
However, most emissions models still lack flexibility for scenario-based experimentation, and many studies do not include thorough validation such as statistical significance testing appropriate for autocorrelated data, or uncertainty quantification [36,37].
Another emerging direction is multitask learning, where models simultaneously predict multiple related outputs. Recent work has explored joint price and demand forecasts in electricity markets, showing that shared representations can improve overall accuracy [19]. Newer multi-task temporal models have also been applied to multi-energy and financial forecasting, demonstrating that shared learning across correlated targets can improve generalisation [10,11,38]. However, fewer applications extend this strategy to model emissions and demand within the same framework, despite the natural interdependence between the generation mix and consumption levels.
Explainable Artificial Intelligence (XAI) has also gained traction. Techniques like SHapley Additive exPlanations (SHAP), Local Interpretable Model-Agnostic Explanations (LIME), and attention weighting have been applied to energy forecasting models to increase transparency, especially in decision-critical contexts [39]. Recent studies applying SHAP and related interpretability techniques to emissions and carbon-intensity forecasting highlight the importance of understanding feature drivers for policy and operational decisions [14,40]. Despite progress, most XAI applications still focus on single-output models, and dual-output or coupled demand-emission explainability remains largely underexplored.
Table 1 summarises key studies on electricity demand and CO2 emission forecasting, highlighting diverse methods and contributions. This tabulation helps establish the foundation and direction of the proposed work by identifying effective approaches and research gaps.
2.1 Research contributions
This study addresses the identified gaps through the following contributions. First, a dual-output LSTM architecture with a shared temporal representation jointly forecasts demand and emissions within a single model, offering an integrated alternative to maintaining separate pipelines for two operationally linked quantities [5,7,9]. Second, a rigorous validation protocol is applied: VIF analysis and a targeted construct-leakage ablation for feature selection, ruling out reliance on emission-construction constants as a shortcut; a comprehensive baseline comparison that deliberately includes trivial predictors (persistence, seasonal-naive) and a strong linear model (AR-X) alongside ARIMA, GRU, and CNN-LSTM; Diebold-Mariano significance testing with a HAC variance estimator appropriate for serially correlated forecast errors; and bootstrap confidence intervals [6,10,32]. This protocol is designed so that any reported improvement is attributable to genuine modelling gains rather than to a weak benchmark, directly addressing a common gap in prior work. Third, a scenario analysis examines emissions response under increased solar penetration, and a surrogate-based SHAP analysis provides transparent, quantitative feature-contribution estimates for both outputs, extending explainability practice beyond the single-output models that dominate the literature [14,40,43].
3 Data and methods
This research implements a data-driven, deep learning-based forecasting framework to predict hourly electricity demand and corresponding CO2 emissions in the U.S. power sector. The methodology is organized into seven phases: (1) data description and preprocessing, (2) temporal feature engineering, (3) dual output long-short-term memory (LSTM) model design, (4) construct-leakage ablation and feature finalization (5) solar penetration scenario simulation, (6) performance evaluation and (7) explainable modeling analysis, which have been experimented throughout this study. A visual overview of this framework is presented in Fig 1.
3.1 Data description and preprocessing
This study used high-resolution, real-world operational datasets provided by the US Energy Information Administration (EIA), specifically from the EIA-930 portal, which aggregates hourly metrics across all balancing authorities in the United States [44]. The data span from July 1, 2018, to June 30, 2023, and after national aggregation and quality filtering comprise approximately 43,785 hourly records per variable (from a nominal 43,824 calendar hours), thereby enabling robust temporal modeling. The dataset includes three primary categories: net electricity demand (in MW), generation by fuel type (solar, wind, coal, gas, hydro, etc.), and associated CO2 emissions (in metric tons) estimated using emission intensity coefficients for each fuel type [45].
To quantify uncertainty introduced by estimated emission coefficients, Monte Carlo simulation was conducted with 10,000 iterations using EPA uncertainty ranges: coal (2.23 lb CO2 /kWh, 5%), natural gas (0.91 lb CO2 /kWh, 4%), and oil (2.13 lb CO2 /kWh, 5%) [36]. Analysis of 10,000 representative hourly samples revealed a mean relative uncertainty of 4.85% with a 95% confidence interval of 9.54% for emission estimates. Coal-dominated hours exhibited higher uncertainty (4.70%) compared to gas-dominated hours (1.94%), reflecting wider variability in coal emission coefficients. This measurement-level uncertainty (9.54%) characterizes the reliability of the underlying emissions accounting itself and is independent of forecasting error; it is reported to contextualize the data rather than as a model performance benchmark [40].
The focus on national aggregation allows for the evaluation of macro-level forecasting performance, avoiding idiosyncrasies from localized weather anomalies or regulatory heterogeneity. While regional heterogeneity exists, coal-dependent regions like the Midwest exhibit different emission profiles than renewable-rich regions like California, national aggregation reduces noise from localized disturbances while preserving broader temporal dynamics governing demand and emissions. The 43,785-hour national dataset with complete generation mix coverage provides a stable foundation for policy-level forecasting and nationwide decarbonization scenario analysis; future work will extend this framework to regional models. However, exploratory regional analysis (Fig 2) was employed to validate representational fairness across different grid zones.
The raw data exhibited minor timestamp irregularities due to daylight saving transitions and data entry delays. All timestamps were standardized to Coordinated Universal Time (UTC) and resampled to a uniform hourly frequency using a fixed interval-based reindexing method. The missing values accounted for approximately 1.6% of the dataset and were interpolated using linear imputation, followed by forward filling for edges. This method preserved temporal coherence without introducing synthetic trends.
Anomalous data points, such as sudden spikes in negative generation or zero demand, were filtered using a rolling z-score window of size n = 24 hours. Points with z-scores |z| > 3 were flagged and replaced by local polynomial regression smoothing, ensuring the preservation of cyclical patterns.
To prepare the data for deep learning input, all numerical features were scaled to a bounded interval using Min-Max normalization. This transformation was implemented in Eq. 1 as follows:
(1)where x is the original feature value and is the normalized output, constrained to the range [0,1]. This step was applied independently to training and test sets to prevent information leakage, according to best practices [41,46].
The dataset was partitioned chronologically into three strictly non-overlapping sets: Training set (70%, approximately 30,650 samples, July 2018 – approximately December 2021), Validation set (10%, approximately 4,379 samples, approximately December 2021 – approximately June 2022), and Test set (20%, approximately 8,756 samples, approximately July 2022 – June 2023). Splits are computed as strict chronological proportions of the full sequence set, with programmatic assertions ensuring no temporal overlap between partitions. The sample counts are exact; boundary dates are approximate and shift slightly depending on the lookback window applied during sequence creation. This 70/10/20 split ensures sufficient training data (over three years) while providing robust validation for early stopping (patience = 15 epochs on validation loss) and comprehensive testing across a full calendar year. All performance metrics reported in the Results section are computed exclusively on the held-out test set.
Although the predictive modelling is performed at a national scale, regional heterogeneity offers critical insight into spatial variation in energy dynamics. Fig 2 shows electricity demand by region (green bars on the left y-axis) and the related CO2 emissions (red line on the right y-axis) for 2023. The chart highlights big differences between regions because of varying fuel sources and usage patterns.The x-axis lists the standard U.S. electricity market regions defined by the EIA. Regions like the Midwest (MIDW and Mid-Atlantic (MIDA) have much higher demand and emissions, as they include many states with high electricity use, which raises their totals. The chart highlights that some regions have a bigger environmental impact, mainly due to heavy use of fossil fuels and large industrial demand.
3.2 Temporal feature engineering
Effective feature engineering is pivotal to enhancing the learning capacity of time-series models like LSTM. This study implemented a diverse array of temporal, statistical, and operational characteristics to encapsulate the cyclical, autoregressive, and system-dependent dynamics of the US power grid. Fundamental temporal variables, such as hour of the day, day of the week, and month of the year, were extracted from timestamped data to capture daily and seasonal trends in electricity consumption. These variables were numerically encoded and integrated into the LSTM forecasting model.
To capture autoregressive dependencies on electricity demand and CO2 emissions, lag characteristics were created using values of 1 hour (t–1), 1 day (t – 24) and 1 week (t −168) earlier. These lagged inputs allow the LSTM model to learn both short-term and weekly consumption dynamics. Fig 3a presents a heat map of the average hourly demand by day of the week (2018–2023), revealing consistent diurnal patterns, with demand peaks occurring in the evening hours on weekdays, underscoring the temporal regularity that supports the modeling based on delays.
(a) Daily patterns of week. (b) Monthly patterns of year.
Fig 3b extends this analysis by illustrating intraday and intraannual variations in demand. A strong daily cycle is evident, with demand rising from early in the morning and peaking between 17:00 and 20:00, aligning with residential and commercial energy use. Seasonally, demand surges during the summer months (June-August), primarily due to air conditioning loads, while the winter months show elevated evening peaks driven by heating, although generally of lower magnitude.
To enhance the model’s ability to capture both short-term variability and broader temporal trends, rolling window statistics with 3- and 24-hour intervals were incorporated. These features smooth short-term fluctuations while preserving important diurnal and seasonal patterns critical for accurate forecasting. The observed dual temporal patterns – daily demand cycles and seasonal changes – further justify this approach, allowing the model to better reflect localized dynamics, such as load variability and sudden emission changes. This improves both the accuracy and robustness of the model in near-term predictions and long-term planning scenarios.
Specifically, two time-window configurations were implemented: (1) a short-term window of 3 hours and (2) a daily window of 24 hours. The 3-hour window captures recent fluctuations and short-term consumption volatility, critical for modelling immediate operational responses in grid dynamics. In contrast, the 24-hour window encapsulates broader daily cycles, enabling the model to account for typical consumption baselines and diurnal patterns. These choices align with prior literature and reflect empirical observations of electricity usage behaviours, ensuring that the model benefits from both high-frequency and periodic trend information. For each window size w, two key rolling features – mean and standard deviation – were derived and are formally expressed in Equations 2 and 3.
- Rolling Mean (): The rolling mean calculates the average of a time series x over a defined window of size w, ending at time step t, as shown in Eq. 2:
This transformation is useful in mitigating the effects of short-term volatility and noise in the input signal, thereby enhancing the model’s ability to capture the underlying temporal structure. By smoothing fluctuations, the rolling mean accentuates broader trends in electricity demand or emissions, such as diurnal patterns or seasonal cycles. The choice of window size (w), a short-term window of 3 hours and a longer 24-hour period, was empirically determined based on observed intra-day and daily demand fluctuations in the dataset.
- Rolling Standard Deviation (): The rolling standard deviation measures the dispersion of values in a time series within a specified window of size w, ending at time step t, relative to the corresponding rolling mean. It is defined as in Eq 3:
This statistic captures local volatility in the signal, providing a dynamic measure of uncertainty or variation over time. In the context of emissions and demand forecasting, it highlights periods of rapid change or operational instability, such as sudden shifts in fossil generation or peak load events, which are critical for enhancing the temporal sensitivity of predictive models. Including both short (3-hour) and long (24-hour) windows allows the model to discriminate between transient spikes and more sustained variability. Where w is the window size, the value at time i, the moving average, and the moving standard deviation.
By incorporating both the rolling mean 2 and standard deviation 3 as features, the model is better equipped to recognize the temporal zones of stability (low variance) versus instability (high variance). This is particularly relevant for emissions forecasting, where sudden operational shifts (e.g., ramping up fossil generation) may introduce spikes that these features help contextualize. Rolling features were applied independently to both the electricity demand and the CO2 emissions signals, ensuring the model could learn from both absolute levels and localized fluctuations. These features complement lag variables by adding statistical structure to the input sequence and have been validated in previous energy forecasting research as effective predictors of time-dependent volatility [16].
To capture real-world power system dynamics and their effect on CO2 emissions, two derived characteristics were introduced: (1) Solar share and (2) Fossil share. Equations 4 and 5 are instrumental in enabling Solar Penetration Scenario Simulation of future emission outcomes by varying fuel composition inputs to the predictive model. These ratios quantify the proportion of electricity generated from solar and fossil sources relative to the total generation at each time step t. They play a crucial role in modeling emission dynamics and renewable integration scenarios.
- Solar Share (Sshare):
- Fossil Share (Fshare):
Fig 4 presents monthly trends in electricity demand and CO2 emissions, decomposed by generation type. The x-axis indicates time (in months from 2018 to 2023), while the y-axis represents the generation output (in MWh) and emissions (in tons), respectively. Each colored band on the stacked area chart represents a different energy source: coal (blue), gas (orange), nuclear (green), hydro (red), and solar (purple). Fig 4a shows that natural gas and coal dominate generation throughout all months, but notable seasonal fluctuations are evident, especially in gas usage. Fig 4b shows that fossil fuel sources contribute disproportionately to CO2 emissions, with coal being the most carbon-intensive source. The upper purple band, although smaller, shows the gradual increase in solar generation, a signal of progress toward decarbonization.
Coal and gas remain the largest contributors to demand and emissions, while solar grows steadily. (a) Electricity generation by source (MWh). (b) CO2 Emissions by source (tons).
To analyze these trends at the national level, Fig 5 illustrates the share of CO2 emissions by generation source. The pie chart shows that gas and coal together account for more 90% of total emissions: gas (39. 7%), coal (59. 4%) – while nuclear and renewable sources contribute a negligible fraction. This validates the focus on fossil share (Fshare) as a key driver in forecasting and scenario testing.
All derived features were subsequently tested using variance inflation factor (VIF) analysis to mitigate multicollinearity and validated using time leakage audits to ensure that only past information was used during model training [41]. Initial VIF analysis on 28 features revealed severe multicollinearity, with 14 features exhibiting VIF > 10 and a maximum VIF of 43,448.44 for Season-Autumn. The four seasonal dummy variables (Season-Spring: 40,766.89, Season-Summer: 39,079.22, Season-Autumn: 43,448.44, Season-Winter: 40,342.86) exhibited extreme multicollinearity due to perfect linear dependence with the Month feature, a classic dummy variable trap. Removing these four redundant seasonal dummies reduced the feature set to 24 features while retaining the Month encoding (1–12) for seasonality. Post-removal VIF analysis confirmed substantial improvement: maximum VIF decreased to 8.29 (Demand-Rolling-Mean-24H), well below the threshold of 10, indicating acceptable multicollinearity levels [6].
While VIF filtering addresses collinearity among varying features, it cannot detect a distinct failure mode: features that are constant or near-constant in value carry no variance and therefore cannot appear collinear with anything, regardless of their relationship to the target. Two of the retained 24 features, CO2_Factor_Coal and CO2_Factor_Gas, are exactly this case: EPA emission coefficients that are time-invariant constants across the entire study period. A third, CO2_Intensity_Generated, is a near-restatement of the emissions-to-generation ratio used to construct the CO2 target itself. Because all three are components of the formula used to estimate CO2 emissions from fuel-specific generation, their presence as model inputs risks giving the network access to the constants used to build its own target, independently of any collinearity diagnostic. To test this directly, we conducted a targeted ablation (Section 3.5) removing these three features and re-evaluating performance under an identical training protocol. The ablation showed that removing them did not degrade performance – it substantially improved it, indicating these features contributed measurement-construction noise rather than genuine predictive signal. The final feature set therefore comprises 21 features, presented in Table 2.
Table 2 presents the complete list of 21 features retained after VIF filtering, grouped by category, along with the sequence length k = 30 hours referenced in Equation 6. All lag and rolling features are strictly causal: lag features are computed using positive .shift( ) offsets referencing only past values, and rolling statistics use trailing windows. Table 3 provides a complete data leakage audit confirming that no future information enters the model at any stage.
3.3 Dual-output LSTM model architecture
The predictive core of this study is a Long Short-Term Memory (LSTM) network, a specialized form of recurrent neural network (RNN) tailored for sequence modeling tasks. LSTMs are particularly effective for time series forecasting due to their internal memory gates that allow selective retention and forgetting of information over long temporal spans [47]. This architecture avoids the vanishing gradient issues that plague standard RNNs, making it well suited to capture weekly, daily, and seasonal cyclicality in energy data [31].
The architecture implemented in this study is a dual-output LSTM with a single recurrent layer of 32 hidden units. To avoid overfitting and improve generalization, a dropout layer with a rate of 0.1 follows the recurrent layer. The network concludes with a fully connected dense layer with two output neurons, designed for the simultaneous forecasting of electricity demand and CO2 emissions. This compact configuration (32 units, single layer, dropout 0.1) was selected through a validation-based search over layer width, depth, and dropout rate; larger configurations did not improve validation performance. The 30-hour lookback window was similarly selected via validation-based search over candidate windows spanning one day (24h), slightly beyond one day (30h), and one week (168h); 30 hours captures a full diurnal cycle plus a short lead-in from the prior day without the added parameter count and training cost of a week-length window, and yielded the lowest validation MAPE among the candidates tested. Critically, rather than predicting absolute target values directly, the network predicts the residual relative to the most recent observed value, that is, , where is the model output. This residual formulation is motivated by the very high hour-to-hour autocorrelation of the series (R = 0.997): learning the small deviation from the previous value is better conditioned than learning the full value, and it prevents dropout from degrading the near-identity mapping that dominates short-horizon forecasting. The multi-output model structure is formally expressed in Equation 6:
(6)Here, denotes the vector of predicted values in time t, with representing the electricity demand and denoting the CO2 emissions. The input sequence contains all the engineered features in a previous window of length k, and denotes the set of model parameters that can be learned.
The model performs one-step-ahead (t + 1) hourly forecasting: both electricity demand and CO2 emissions are predicted for hour t using a 30-hour input window spanning timesteps to (k = 30 hours in Equation 6). The sequence construction loop takes the form , so each input sequence ends at row and the target is row i; no feature values at the prediction timestep t are available to the model during inference. Generation mix variables – including Coal_Gen, Gas_Gen, Nuclear_Gen, Hydro_Gen, Solar_Gen, Renewable_Pct, and Fossil_Pct – enter the sequence only at their historical values from through . EIA-930 publishes hourly fuel generation data with approximately one hour of latency, so generation values at are operationally available when issuing a forecast for t. The forecasting task is therefore strictly causal and consistent with real-time grid operations.
To train the model, the Adam optimization algorithm was used, chosen for its ability to adapt learning rates for individual parameters and its robustness in the presence of sparse or noisy gradients [48]. The loss function used for optimization is the mean squared error (MSE), which quantifies the average squared deviation between predicted and actual values. The MSE loss is defined in Equation 7:
(7)where n is the number of samples, is the actual target value, and is the predicted value. To prevent overfitting and ensure convergence, early stopping was applied with a patience threshold of 15 epochs, stopping training when validation loss no longer improved.
Both target variables – Demand (MWh) and CO2 Emissions (metric tons) – are modeled on the residual (per-hour change) scale: the change relative to the previous hour is standardized using statistics fitted exclusively on the training partition, preventing information leakage from validation or test data. The MSE loss in Equation 7 is computed jointly over both standardized outputs, so that after standardization each target contributes comparably to the loss without the larger-magnitude target (Demand) dominating the smaller-magnitude target (CO2). All performance metrics reported in Tables 6 and 7 are computed on predictions reconstructed to their original physical units (MWh for demand, metric tons for CO2) by adding the predicted residual back to the previous observed value.
3.4 Baseline model comparison
To situate the proposed dual-output LSTM against methods of varying complexity, it is compared with a comprehensive baseline suite trained on identical data splits and, where applicable, identical input features. (1) Persistence () and Seasonal-Naive () are zero-parameter naive predictors, included because on data with R = 0.997 autocorrelation such methods establish a demanding accuracy floor that any learned model must exceed to justify its complexity. (2) AR-X is a linear regression on the same 21 engineered features, using only the values at the most recent timestep () rather than the full 30-hour window; this is not a handicap relative to the LSTM, since the feature set itself already encodes multi-horizon history through explicit lag and rolling-window features (Demand_Prev_Hour, Demand_Yesterday_Same_Hour, Demand_Last_Week_Same_Hour, Rolling_Mean_3H, Rolling_Mean_24H), giving AR-X access to the same temporal information the LSTM would extract from its full sequence, without requiring AR-X to itself model sequential structure. (3) ARIMA(5,1,0) is trained independently for demand and emissions as a classical univariate statistical baseline [18]. The order (5,1,0) was selected via AIC minimization over a grid of candidate orders (, , ) on the training partition, consistent with standard Box-Jenkins model selection practice. (4) GRU: dual-output Gated Recurrent Unit (two stacked layers, 64 units, dropout = 0.2), serving as a comparable neural baseline [49]. (5) CNN-LSTM: 1D convolutional layers (two layers, 64 filters, kernel size = 3) followed by an LSTM layer (one layer, 64 units) and a dual-output dense layer [25,26]. All models use the 70/10/20 train/validation/test split with identical training procedures (Adam optimizer, MSE loss, early stopping), ensuring fair comparison.
A fully seasonal ARIMA specification at weekly periodicity (s = 168) was attempted but did not converge within a practical time budget at this data volume (30,650 hourly training observations); the tractable non-seasonal ARIMA(5,1,0) is therefore reported. ARIMA is kept univariate because it serves to measure the predictive signal available from temporal structure alone; including the same exogenous features as the LSTM would eliminate the independence of the comparison. The proposed LSTM was evaluated across five random seeds (42, 123, 2024, 7, 999) to characterize seed-to-seed variability in the primary result. GRU and CNN-LSTM, included as comparison baselines rather than as the paper’s central claim, were evaluated at a single representative seed (42) to reduce computational cost; this is a deliberate scope decision for baseline comparisons, not a methodological inconsistency, since their role is to situate the proposed model’s accuracy rather than to support a standalone multi-seed robustness claim of their own. Table 4 summarises all baseline hyperparameters and training configurations.
3.5 Construct-leakage ablation
A central methodological concern for any CO2 emissions model built on EIA-930 data is that the target itself is not an independent measurement: EIA-930 does not report directly measured hourly CO2, but computes it as a linear function of fuel-specific generation and published EPA emission factors. Three of the original 24 features - CO2_Factor_Coal, CO2_Factor_Gas, and CO2_Intensity_Generated - are directly implicated in this construction: the first two are the EPA coefficients used to compute the target, and the third is a near-restatement of the emissions-to-generation ratio. Their presence as model inputs raises the possibility that reported accuracy partly reflects the model recovering a near-algebraic identity rather than learning genuine predictive structure, particularly given the high autocorrelation of dispatch mix from one hour to the next (R = 0.997).
To test this directly, we retrained the primary dual-output LSTM architecture – identical hyperparameters, lookback window, and training protocol to the full-feature model (Section 3.3) – under two ablated feature sets, each evaluated across the same five random seeds (42, 123, 2024, 7, 999) used throughout this study: (1) removing all three implicated features (CO2_Factor_Coal, CO2_Factor_Gas, CO2_Intensity_Generated), yielding a 21-feature model; and (2) removing CO2_Intensity_Generated alone, yielding a 23-feature model, to isolate its individual contribution.
Table 5 reports test-set MAPE for both ablated configurations against the original 24-feature model. Rather than degrading performance – which would indicate the full model was leaning on the emission-construction constants – both ablations improved performance on both outputs, with the largest gain from removing all three implicated features together: mean demand MAPE fell from 0.089% to 0.054%, and mean emissions MAPE fell from 0.158% to 0.087%, with lower seed-to-seed variance in both cases (demand SD: 0.008% 0.002%; emissions SD: 0.027% 0.002%). This result rules out the near-algebraic-identity failure mode the ablation was designed to detect: had the model been relying on the emission-factor features as a shortcut, their removal would have caused a sharp performance collapse rather than a consistent improvement.
We attribute the improvement to the specific nature of two of the three removed features rather than to feature count alone. CO2_Factor_Coal and CO2_Factor_Gas are time-invariant constants across the full study period; VIF filtering, which measures collinearity among varying features, cannot detect this failure mode, since a constant column exhibits no variance to be collinear with anything. Under Min-Max normalization, a zero-variance input column contributes a degenerate, uninformative channel to every input sequence, which may introduce noise rather than signal into the residual-formulation LSTM. CO2_Intensity_Generated, meanwhile, closely restates information already available to the model through the retained generation-mix and lagged CO2-intensity features, and its removal alone (23-feature ablation) recovered a smaller but still consistent share of the improvement (Table 5).
Based on this evidence, we adopted the 21-feature configuration as the final model reported throughout the remainder of this manuscript. All results in Section 4 onward reflect this ablated feature set unless otherwise noted.
3.6 Solar penetration scenario simulation
To evaluate the responsiveness and flexibility of the proposed deep learning framework, simulations of solar penetration scenarios were carried out to examine the effect of increased solar energy penetration on national CO2 emissions. The approach adopted a counterfactual design: the input variable of the solar share was synthetically adjusted in controlled increments (), while all other input features remained fixed. This allowed isolation of the influence of the solar variable and emulated realistic policy-driven adjustments to energy portfolios.
Let Sshare(t) represent the baseline solar energy contribution at time t. The modified solar share is expressed as:
(8)For each increment , a separate dual-output LSTM model is retrained on the modified dataset in which the historical renewable share is replaced with (Equation 8). All five scenario models share the same architecture, lookback window, and training-epoch configuration as the primary model (Section 3.3); this configuration was selected via a validation-based search using held-out validation MAPE as the selection criterion, not the resulting emissions estimate, ensuring that model choice is not conditioned on the outcome being evaluated. The perturbed input corresponds to the combined renewable generation share (solar, wind, and hydro) available in the EIA-930 feature set. In this dataset, solar accounts for approximately 99% of renewable generation, with wind and hydro contributing a negligible share; the renewable-share perturbation is therefore treated as effectively equivalent to solar-share perturbation, and the solar-penetration framing is retained throughout for consistency with the section title and Equation 8. This data-driven methodology captures nonlinear interactions between renewable penetration and fossil fuel curtailment that algebraic rescaling cannot represent, providing realistic counterfactual analysis for policy evaluation while respecting physical system constraints [12,13].
This mirrors policy evaluations where decarbonization trajectories are projected without changing underlying model assumptions. The resulting emission trajectories under various renewable penetration levels were analyzed both historically and prospectively. Simulation outputs reveal that increasing the hypothetical solar share yields a monotonic decline in predicted CO2 emissions, underscoring the model’s internal consistency and supporting its utility in sustainability-driven energy planning.
3.6.1 Explainable modeling using SHAP.
To enhance interpretability and ensure transparency in forecasting outcomes, SHapley Additive exPlanations (SHAP) were employed as a core component of the post hoc analysis pipeline. SHAP quantifies the marginal contribution of each input feature to a model prediction, allowing transparent attribution between features [39].
In this study, a surrogate XGBoost regressor was trained on the same engineered features used in the LSTM architecture to estimate CO2 emissions. This surrogate model was employed specifically for SHAP analysis, as the LSTM model’s 3D input structure, required to capture temporal dependencies, is inherently incompatible with SHAP explainers, which are optimized for 2D tabular data formats. This surrogate approach remains appropriate for the ablation-validated 21-feature model specifically: the construct-leakage ablation (Section 3.5) altered which features the LSTM receives, not the architectural incompatibility between SHAP’s TreeExplainer and a recurrent, sequence-based model, which is the reason a surrogate is needed in t he first place. Retraining the surrogate on the same 21-feature, ablation-validated set as the primary model – rather than reusing an explainer fit to the pre-ablation feature space – ensures the attributions reflect the features the reported model actually uses, and that the surrogate’s own performance (reported below) is evaluated on a like-for-like basis with the primary result. Two limitations are stated explicitly: the resulting attributions describe the surrogate’s decision surface rather than the LSTM directly, and the surrogate was trained on 19 of the model’s 21 features (excluding the raw Demand and CO2_Intensity_Consumed sequences). While SHAP does not directly explain LSTM internal states or gating mechanisms, it reveals which input features most strongly influence predictions. The attributions should therefore be read as an approximate, physically interpretable guide to feature importance rather than an exact decomposition of the LSTM [14].
The SHAP analysis identified the following features as having the most influence on the model’s emission forecasts:
- Net Generation and Demand: Higher system-level generation and demand correlate strongly with increased emissions, reflecting load-driven fossil fuel utilization.
- Fossil and Renewable Composition: A higher percentage of fossil generation increases emissions, whereas a greater renewable share, especially solar, contribues to reductions.
- Hydro and Solar Generation: These specific renewable components show varied impacts depending on their proportional availability and dispatch levels.
Positive SHAP values mean that a feature increases the predicted emissions, while negative values mean it reduces them. The size of the SHAP value shows how strongly the feature affects the forecasted CO2 emissions. These insights inform emissions mitigation strategies by identifying which operational levers, such as increasing renewable share or moderating peak demand, offer the greatest impact potential. Beyond directional impact, SHAP values are converted to percentage contributions by normalizing absolute SHAP values: , where is the SHAP value for feature i. This quantitative analysis reveals that, on the surrogate basis, coal generation contributes 43.70% to CO2 predictions, natural gas 27.30%, and lagged demand from the previous day at the same hour 23.60%; combined, coal and gas account for 71.01%, consistent with the physical fuel-emissions relationship, while the demand-lag contribution reflects the dual-output architecture’s shared temporal representation between demand and emissions. For demand forecasting, lagged demand features and the 24-hour rolling mean dominate (93.34% combined), confirming strong temporal autocorrelation [40].
3.7 Performance evaluation
The predictive performance of the proposed LSTM-based framework was quantitatively assessed using three standard regression evaluation metrics: Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). These metrics offer complementary perspectives on model accuracy, robustness, and reliability in forecasting both electricity demand and CO2 emissions.
- Mean Absolute Error (MAE) evaluates the average magnitude of prediction errors, irrespective of direction. It is defined as:
where and denote the actual and predicted values at time step i, respectively, and n is the number of observations. MAE is robust to outliers and provides an interpretable scale for error magnitudes.
- Root Mean Squared Error (RMSE) gives higher weight to larger errors, making it particularly sensitive to variance and extreme deviations. It is computed as:
RMSE is widely used in energy forecasting where penalty for large deviations is necessary due to system stability concerns.
- Mean Absolute Percentage Error (MAPE) measures the average absolute error as a percentage of the actual value, thus providing a scale-independent error metric:
MAPE is intuitive and widely adopted for reporting model performance in renewable energy forecasting, especially where interpretability for stakeholders is critical.
Performance metrics were computed independently for both model outputs—electricity demand and CO2 emissions. This dual-target evaluation provides a comprehensive understanding of the model’s capacity to balance operational and environmental objectives. Furthermore, the metrics were recalculated under each Solar Penetration Scenario Simulation, enabling a consistent assessment of how renewable integration levels influence prediction accuracy.
3.7.1 Statistical validation.
Comprehensive statistical validation ensures that observed performance differences are not artifacts of a particular test sample. Bootstrap Confidence Intervals: non-parametric bootstrap resampling (1,000 iterations) of the test-set predictions of a representative trained model generates empirical distributions of MAPE for both outputs, with 2.5th and 97.5th percentiles defining 95% confidence intervals [32]. 1,000 iterations were used throughout, following standard practice for percentile-based bootstrap confidence intervals; given the resulting margins were already narrow (±0.001% demand MAPE, ± 0.002% emissions MAPE), additional iterations would be expected to tighten these bounds only marginally. Diebold-Mariano Significance Testing: pairwise forecast-accuracy differences between the LSTM and each baseline are assessed using the Diebold-Mariano test with a Newey-West (HAC) variance estimator. This test is used in preference to the paired t-test because the loss-differential series inherits the strong serial correlation of hourly grid data, which violates the independence assumption of the t-test and inflates its significance; the HAC correction (48-lag window) accounts for this dependence. A Bonferroni correction controls the family-wise error rate across the multiple pairwise comparisons. Bonferroni correction was preferred over less conservative alternatives (e.g., Benjamini-Hochberg) given the small, fixed number of pairwise comparisons in this study (5 seeds 2 targets 2 baselines = 20), where the more conservative control reduces the risk of a false-positive significance claim for the paper’s central comparisons. Five seeds were chosen as a balance between characterizing seed-to-seed variability and the computational cost of full retraining per seed; the seed values themselves (42, 123, 2024, 7, 999) were fixed before any results were observed and were not selected or filtered based on performance.
3.8 Extreme weather robustness evaluation
To assess model stability under operational stress, the test set is stratified into three conditions using demand as a proxy for extreme weather (high demand correlates with severe heat/cold, low demand with mild conditions): Extreme High (demand percentile, top 5% of hours), Normal ( <demand < percentile, typical 90%), and Extreme Low (demand percentile, bottom 5%). The 95th/5th percentile thresholds were chosen to isolate a operationally meaningful tail (approximately the top and bottom 5% of hours, or roughly 18 days per year each) while retaining enough samples per stratum (438 hours) for stable MAPE estimation;more extreme cutoffs (e.g., 99th/1st percentile) would yield strata too small to support reliable per-condition error estimates. MAPE is computed independently for each condition for both outputs. Differences between strata are assessed using a 48-hour moving-block bootstrap (1,000 resamples), which preserves the temporal ordering and autocorrelation structure of hourly forecast errors; this is consistent with the Diebold-Mariano/HAC approach used elsewhere in this study (Section 3.7.1) and avoids the independence assumption that a standard t-test would require. The 48-hour block length matches the lag window used in the Newey-West HAC estimator (Section 3.7.1), ensuring the same assumed autocorrelation horizon is applied consistently across every statistical test in this study [43]..
With the dual-output LSTM architecture validated for accuracy and robustness, the next section delves into empirical findings. It presents the impact of renewable energy penetration on projected CO2 emissions and evaluates the interpretability of predictions using explainability tools such as SHAP, supporting both analytical rigour and decision-making transparency.
4 Results
This section presents a comprehensive evaluation of the proposed LSTM-based forecasting framework, the core aspects are addressed: (1) LSTM performance in forecasting electricity demand and CO2 emissions, and (2) Solar Penetration Scenario Simulations assessing the impact of increased solar penetration, and (3) feature analysis results from SHAP analysis are also elaborated in the context of these findings.
4.1 Model performance evaluation
The predictive accuracy of the LSTM model was assessed using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). Table 6 reports the results for both electricity demand and CO2 emissions under baseline (non-simulated) conditions [19,50].
Across five random-seed initializations, the model attained a mean MAPE of 0.054% (0.002%) for demand and 0.087% (0.002%) for emissions; the low seed-to-seed variability indicates that performance is stable with respect to random initialization. For a representative run, 95% bootstrap confidence intervals (1,000 resampling iterations of the test-set predictions) were narrow for both outputs (±0.001% for demand MAPE, ± 0.002% for emissions MAPE), confirming reproducible performance and minimal sampling uncertainty. The values reported in Table 6 are from this representative run, while all headline figures quoted in the text are the five-seed means. Seed 42 is reported as the representative run throughout because its individual performance (0.052% demand MAPE, 0.085% emissions MAPE) closely matches the five-seed mean (0.054%, 0.087%), rather than because it was the most favorable of the five; it was also the seed used in the construct-leakage ablation (Section 3.5) and is retained for consistency across all reported tables.
The low MAPE values are consistent with the strong autocorrelation in hourly power system data, where demand shows a correlation of 0.997 from one hour to the next. This level of temporal continuity allows accurate short-term forecasting when lag features are included, and it is also why simple baselines (persistence, AR-X) are competitive on this data; a deliberate contribution of this work is to report those baselines transparently rather than benchmark only against weaker classical models (Section 3.4). The train-test MAPE differences are small (demand +0.004%, emissions +0.010%), indicating that the model generalizes well and is not overfitting. Strict chronological splitting, training ending in mid-2022 and testing covering July 2022 to June 2023, ensured that no future information entered the training process, and normalization was applied separately to each split to avoid leakage. These results align with recent studies that also report sub-1% MAPEs for high-frequency energy forecasting [5,25]. The residual (delta) output formulation contributes to this accuracy: because the model predicts the deviation from the previous observed value rather than the absolute level, it is well-conditioned on a near-persistent series and cannot, by construction, perform worse than a persistence forecast in the limit of an uninformative correction. All emission values reported in Table 6 are in metric-tons CO2; MAE and RMSE for demand are in megawatt-hours (MWh).
A contiguous test set covering July 2022 to June 2023 was used so that the model would be evaluated across a full year of seasonal shifts. This design mirrors realistic deployment, where the goal is to predict future periods rather than randomly selected hours. Random sampling would mix future data into the validation process and distort temporal structure, whereas a continuous, forward-looking hold-out set follows established practice for time-series model evaluation. To contextualise these results, the proposed LSTM was benchmarked against a comprehensive baseline suite spanning zero-parameter naive predictors (persistence, seasonal-naive), a strong linear model (AR-X), a traditional statistical method (ARIMA), and two alternative deep learning architectures (GRU and CNN-LSTM)
Table 7 compares the models on two targets – electricity demand and CO2 emissions – using three error metrics (MAE, RMSE, MAPE). The proposed LSTM attains the lowest error on both targets. Its advantage over ARIMA, seasonal-naive, GRU, and CNN-LSTM is large; against the strongest simple baselines, persistence (0.116%) and AR-X (0.071%), the proposed model (0.052%) still improves on demand, and its advantage on emissions is substantial (AR-X 0.918%, persistence 0.225%, versus 0.085%). Notably, AR-X’s emissions MAPE increased relative to the pre-ablation feature set (0.601% 0.918%), while its demand MAPE improved (0.096% 0.071%); we attribute this to the linear model’s greater reliance on the removed near-constant emission-factor features for emissions specifically, a reliance the nonlinear LSTM did not exhibit. Reporting these naive and linear baselines transparently, including this asymmetric effect, confirms that the model’s gains are genuine rather than artifacts of a weak or inconsistently-constructed benchmark.
Fig 6 visualises this performance comparison across all models.
Beyond aggregate metrics, examining temporal prediction patterns reveals how well the model captures real-world demand and emissions dynamics. Fig 7 illustrate the predictive fidelity of the proposed dual-output LSTM model across two key operational metrics: electricity demand (in Mwh) and CO2 emissions (in metric-tons). The figures present year-long time series comparisons (July 2022 to June 2023) between actual and forecasted values. Fig 7a corresponds to electricity demand and Fig 7b to CO2 emissions. For both targets, the orange dashed line represents model predictions, while the solid blue line shows ground truth observations.
(a) Actual and predicted electricity demand. (b) Actual and predicted CO2 emissions.
The electricity demand forecast aligns tightly with actual values, capturing both intra-day fluctuations and broader seasonal shifts. This precision is quantitatively supported by the low demand MAPE of 0.052%, confirming the model’s robustness in learning high-frequency and cyclical load behaviors. Fig 7a further isolates electricity demand forecasts over the same test period to emphasize temporal learning. The model successfully captures diurnal cycles, weekly demand oscillations, and transitions between seasons. Notably, demand peaks during summer and winter months are precisely anticipated, underscoring the LSTM’s proficiency in long-horizon temporal modeling.
In Fig 7b, the model’s CO2 emission predictions (in metric-tons) also track the actual emissions with high reliability, although small divergences are visible during periods with sharp shifts in generation composition. The emissions forecast achieves a mean MAPE of 0.085%, indicating effective generalization.
Statistical confidence bands (95% bootstrap intervals) are reported numerically in Table 8 and discussed in the text. Visual overlays on time-series plots are omitted to preserve figure clarity given the high temporal resolution (8,760 hourly predictions). The narrow bootstrap confidence intervals indicate that prediction-uncertainty bands would be visually indistinguishable from the main prediction line at this scale.
While descriptive metrics indicate superior performance, formal statistical testing is required to confirm these differences are not attributable to chance.
Table 8 reports Diebold-Mariano (DM) tests comparing the proposed model against Persistence and AR-X, using a Newey-West (HAC) variance estimator to account for the strong serial correlation of hourly forecast errors (a paired t-test is invalid here, as it assumes independent observations). A negative DM statistic indicates the proposed model has significantly lower loss. On the ablation-validated 21-feature set, the model significantly outperforms Persistence on both targets across all five seeds (all p < 0.0001), and, unlike on the pre-ablation feature set, now also significantly outperforms the strong AR-X baseline on both demand and emissions in all five seeds (demand p < 0.0001; emissions , still below the Bonferroni-corrected threshold of 0.0025). This is a stronger and more consistent result than the pre-ablation comparison, in which the LSTM’s advantage over AR-X was significant in only two of five seeds on demand and none on emissions – consistent with the construct-leakage ablation (Section 3.5) removing noise that had previously obscured the model’s genuine advantage. Reliable deployment also requires consistent accuracy during atypical operating conditions, such as extreme weather events that drive unusual demand patterns, shown in Table 9.
Under extreme high-demand conditions (top 5% of hours, corresponding to severe heat or cold), demand forecasting accuracy is comparable to normal conditions (0.059% versus 0.051% MAPE), and emissions forecasting is slightly better than normal (0.072% versus 0.083%). Under extreme low-demand conditions (bottom 5%, corresponding to unusually mild periods), demand accuracy again remains close to normal (0.060% versus 0.051%), but emissions forecasting degrades substantially, rising to 0.137% MAPE, a 64.7% relative increase over the normal-condition value. A 48-hour moving-block bootstrap (1,000 resamples), which preserves the temporal autocorrelation of hourly errors, confirms these differences are statistically significant for both targets (demand p = 0.046; emissions p = 0.049). In absolute terms, all strata remain below 0.2% MAPE, and demand forecasting is stable across the full range of operating conditions tested. Emissions forecasting under low-demand conditions is the one area where this study finds a genuine, statistically supported degradation in performance, and we report it plainly here rather than only in aggregate: mild-weather, low-load periods are associated with more irregular cycling of thermal generation and greater curtailment of renewables to match reduced demand, which plausibly gives the model less consistent signal to learn from in this regime specifically. This is discussed further as a limitation in Section 5.
For grid-planning applications specifically, low-demand hours typically carry lower operational risk than high-demand hours, since they present minimal danger of supply shortfall; the degradation identified here is therefore most consequential for emissions-accounting and regulatory-reporting use cases, where accuracy is required across the full demand distribution rather than concentrated at peak load.
4.2 Forecasting analysis for solar energy
To assess how increased solar deployment would impact emissions, counterfactual simulations were conducted by synthetically increasing the ‘solar share’ input variable (see Equation 8). The model was then used to predict emissions under these adjusted conditions.
Fig 8a illustrates the impact of a hypothetical 30% increase in solar share on CO2 emissions over the second half of June 2023 (approximately 14–30 June 2023). The x-axis shows daily timestamps, while the y-axis represents total emissions (in tons). The plot compares two trajectories: the solid black line reflects actual historical emissions, and the green dashed line (labelled “Simulated CO2 (+30% Renewables)” in the figure legend) shows simulated emissions under the increased solar scenario. The simulated emissions remain below the actual emissions throughout the period shown and follow the same overall pattern, including the dip around 17–18 June and the rise towards the end of the month, reflecting the displacement of carbon-intensive generation by renewables. This supports the model’s reliability in simulating policy-driven changes.
(a) shows reduced emissions during the second half of June 2023 (approximately 14–30 June), while (b) presents a year-long forecast (July 2023–June 2024) with consistently lower peaks and smoothed seasonal trends under increased solar share. (a) Simulated vs. actual CO2 emissions for approximately 14–30 June 2023 under a + 30% solar scenario. (b) Forecasted CO2 emissions (July 2023–June 2024) under baseline and +30% solar scenarios.
Extending this analysis, Fig 8b presents projected CO2 emissions over a full annual cycle (July 2023 to June 2024), comparing the baseline (orange line) with the + 30% solar scenario (green dashed line). Although both trajectories exhibit clear seasonal trends, the solar-enhanced scenario shows consistently lower emission peaks and smoother troughs. These results highlight the model’s ability to capture structural changes in energy supply and quantify the emission-reduction benefits of increased solar penetration.
Fig 9 offers a parametric sensitivity analysis by mapping solar share increments (10% to 50%) on the x-axis against average predicted CO2 emissions on the y-axis. Each point corresponds to a discrete simulation run, and the blue dashed line interpolates the emission trend across scenarios. The monotonically decreasing profile highlights a negative correlation: greater renewable penetration leads to systematically lower emissions. This validates the internal logic of the model, supports its application in climate mitigation forecasting, and supports the case for aggressive policies of renewable integration.
After performing the parametric sensitivity analysis, the scenario accounting was applied across the different solar share levels (from 10% to 50%), with the trained LSTM evaluated on the same perturbed inputs as a consistency check. The results are presented in Table 10.
The 6.78% emission reduction observed at 50% solar penetration corresponds to 11,277 metric tons of CO2 avoided in the test period. When scaled to a full year using the same sampling ratio (52.14), this equates to roughly 588,000 metric tons of CO2 annually. Using the EPA estimate of 4.6 metric tons of CO2 per vehicle per year, this reduction is comparable to removing about 128,000 passenger cars from the road for one year. The steady decline in emissions across increasing solar penetration levels shows that the model behaves consistently with the underlying physics of fuel displacement. In addition, forecast accuracy remains stable across all simulated scenarios (MAPE < 0.7%), indicating that changes in renewable share do not degrade model performance.
4.3 Feature analysis via SHAP
In the context of energy system modelling, interpretability is essential not only for model validation but also for policy formulation and operational trust. To support this, a gradient-boosted surrogate model (trained on the same engineered features) was analysed with SHAP to quantify the marginal contribution of each feature toward predicted CO2 emissions. As noted in Section 3.6.1, these attributions approximate, rather than exactly decompose, the LSTM, and the surrogate uses 19 of the 21 features.
Quantitative SHAP analysis.
SHAP values were converted to percentage contributions by normalizing absolute SHAP values across all 19 surrogate features. On this basis, coal generation dominates CO2 attributions with 43.70%, followed by natural gas (27.30%) and, notably, lagged demand from the previous day at the same hour (23.60%); combined, coal and gas account for 71.01%, consistent with the physical fuel-emissions relationship, while the demand-lag contribution reflects the dual-output architecture’s shared temporal representation between demand and emissions forecasting. For demand forecasting, lagged demand features and the 24-hour rolling mean overwhelmingly dominate (93.34% combined), consistent with strong temporal autocorrelation, while generation-mix and seasonal variables contribute the remainder. These attributions indicate that short-term load patterns govern demand prediction, while fossil-fuel composition together with recent demand history governs emissions – a more nuanced picture than fossil generation alone, and one that is only visible because the surrogate was retrained on the ablation-validated feature set rather than reusing pre-ablation attributions.
As illustrated in Fig 10a and Fig 11b, the SHAP analysis identifies the following variables as the dominant contributors to model output:
- Lagged Demand (Demand Forecasting): Demand_Yesterday_Same_Hour (81.29%) and Demand_Last_Week_Same_Hour (8.03%) dominate demand attribution, confirming strong temporal autocorrelation as the primary predictive signal.
- Fossil Generation (Coal & Gas, CO2 Forecasting): Coal_Gen (43.70%) and Gas_Gen (27.30%) are the strongest •emission drivers, combined contribution 71.01%, validating physical system dynamics.
- Lagged Demand (CO2 Forecasting): Demand_Yesterday_Same_Hour also contributes materially to emissions attribution (23.60%), reflecting the shared demand-emissions representation in the dual-output architecture rather than a purely fuel-mix-driven signal.
- Renewable Sources: Solar, hydro, and the aggregate Renewable_Pct/Fossil_Pct features contribute smaller but non-negligible shares to emissions attribution, consistent with their decarbonisation role.
By adding this SHAP layer of interpretability, the modelling framework gains explanatory power and regulatory transparency, supports data-driven scenario planning, and provides concrete levers for emission mitigation in power system operations. Additional sensitivity tests confirmed the stability of SHAP values across random data subsets, lending further robustness to the identified feature attributions.
5 Discussion
The proposed dual-output LSTM model demonstrates a strong capability in capturing the nonlinear, temporally dependent dynamics of electricity demand and CO2 emissions, achieving mean MAPEs of 0.054% and 0.087%, respectively (Table 6). These results substantially exceed traditional statistical methods (ARIMA: 9.14% demand, 15.43% emissions) and alternative deep learning architectures on the pre-ablation feature set (GRU: 2.65% demand, 3.95% emissions; CNN-LSTM: 5.53% demand, 5.95% emissions), both of which also improve substantially once retrained on the ablation-validated feature set, as detailed below. Against simple but strong baselines, the model now shows a clear, statistically robust advantage on both targets: persistence (0.116%) and AR-X (0.071%) remain the strongest simple baselines on demand, yet the proposed model (0.052%) still improves on both, and its advantage on emissions is substantial (AR-X: 0.918%). Diebold-Mariano tests with a HAC variance estimator confirm these differences are significant in 5 of 5 seeds against both Persistence and AR-X on both targets (Table 8), a stronger and more consistent result than on the pre-ablation feature set, where the LSTM’s advantage over AR-X was significant in only two of five seeds on demand and none on emissions.
On the ablation-validated 21-feature set, both GRU and CNN-LSTM improved substantially relative to the pre-ablation feature set (GRU: 2.65%/3.95% 0.39%/0.99% demand/emissions MAPE; CNN-LSTM: 5.53%/5.95% 0.51%/0.82%), consistent with the construct-leakage features having introduced noise across architectures generally, not only for the primary model. Notably, CNN-LSTM’s relative standing changed: it continues to underperform GRU on demand, but now outperforms it on emissions (0.82% versus 0.99%), suggesting its earlier, larger underperformance was partly attributable to the removed features rather than solely an architectural limitation of the CNN-LSTM design.
These results reinforce prior evidence on the efficacy of memory-augmented neural architectures for energy forecasting tasks involving complex time-series patterns [22,24], while achieving performance competitive with recent deep learning approaches for hourly energy forecasting [5,25].
The low forecasting errors arise from underlying properties of hourly power system behavior rather than from model-specific effects. Hourly electricity demand shows extremely high autocorrelation (R = 0.997) because grid operations cannot change generation sharply within short periods; ramping limits, reserve requirements, and slow demand-response actions create strong continuity from one hour to the next. When appropriate lag features are included, short-term demand becomes highly predictable. The dual-output model shares inputs relevant to both targets. In real systems, CO2 output changes with the generation mix: coal units adjust slowly and act as baseload, while gas units change output more frequently to meet short-term demand variations. By predicting demand and emissions within a single model, the framework provides a unified representation of these operationally linked quantities. This reflects actual grid behavior, where emission intensity shifts with both demand level and fuel dispatch patterns [12,13].
Unlike conventional univariate models, forecasting both demand and emissions within one framework provides a more coherent, single-pipeline view of the energy system. By sharing inputs such as solar/fossil share, seasonality indicators, and autoregressive features, the model produces consistent joint forecasts of operational load and environmental impact (Figs 7a, 7b). Small train-test MAPE gaps of only +0.018% (demand) and +0.035% (emissions) confirm genuine generalization without data leakage, as detailed in Section 4.1.
The feature engineering strategy was central to this success. Lagged variables, rolling means, and temporal encodings provided a rich temporal structure, while system-level indicators, especially solar and fossil shares, proved crucial in explaining emissions variability under both baseline and simulated conditions. These were examined through both model performance metrics and SHAP-based explainability applied to a gradient-boosted surrogate retrained on the ablation-validated feature set, which attributes CO2 predictions predominantly to coal generation (43.70%) and natural gas (27.30%), with a further 23.60% attributable to lagged demand from the same hour one day prior – consistent with the physical fuel-emissions relationship and with the dual-output model’s shared temporal representation between demand and emissions (Figs 10a-11b). As the attributions derive from a surrogate trained on 19 of the 21 features, they approximate rather than exactly decompose the LSTM.
The framework is computationally efficient and suitable for real-time use. Training required approximately 1.8 minutes on CPU (Intel Core Ultra 7 268V, 32 GB RAM) using 21 VIF-filtered, ablation-validated features and approximately 30,650 training samples. This lightweight computational footprint supports practical deployment in operational settings without specialized hardware. After training, the model produces hourly forecasts almost instantly, taking less than one second to generate a full year of predictions (8,760 hours). The limited feature set reduces data requirements without reducing accuracy, and early stopping with a patience of 15 epochs prevents overfitting without the need for extensive hyperparameter search. These characteristics allow the model to be retrained regularly as new data arrives, making it practical for ongoing operational forecasting in power system environments [25,43].
Simulations of solar penetration scenarios provide further insight into the environmental consequences of renewable integration. Increasing the hypothetical solar share from 10% to 50% consistently reduced projected CO2 emissions, with a peak reduction of 6.78% at 50% integration (Fig 9, Table 10). As quantified in Section 4.2, this represents approximately 588,000 metric tons CO2 reduction annually at national scale, equivalent to removing approximately 128,000 passenger vehicles from roads, demonstrating substantial real-world environmental benefit despite the seemingly modest percentage. The monotonic emissions-solar relationship validates the model’s physical consistency and internal logic.
Historical and future simulations (Figs 8a, 8b) confirm that the model captures these reductions under diverse system dynamics.
Model performance was also tested under operational stress by separating the test set into extreme high- and low-demand periods (Table 9). Demand forecasting is stable across all conditions tested (0.051–0.060% MAPE). Emissions forecasting shows a genuine, statistically supported limitation: under extreme low-demand conditions (5th percentile, typically mild weather), emissions MAPE rises to 0.137%, a 64.7% relative increase over normal conditions, confirmed by a 48-hour moving-block bootstrap (p = 0.049) that respects the autocorrelation of hourly errors. Under extreme high-demand conditions, emissions forecasting is if anything slightly better than normal (0.072% versus 0.083%, p = 0.046 for the high/low comparison as a whole). We interpret the low-demand degradation as reflecting reduced regularity in generation dispatch during mild-weather, low-load periods, when renewable curtailment and non-baseload cycling of thermal generation are more common and less predictable from historical patterns than the steadier dispatch seen under high demand. In absolute terms, emissions MAPE remains below 0.14% even in the affected stratum, but we report this limitation plainly rather than only in aggregate, since it represents the clearest boundary condition identified for the proposed model’s emissions forecasts.
To provide a clearer understanding of how fossil-based emissions are reduced during such scenarios, Fig 12 compares the breakdown of emissions by fuel type, coal and gas, before and after a 30% fossil replacement with renewables. The visualization shows a sharp drop in emissions from both sources, with coal emissions reducing more significantly than gas, reflecting the higher intensity of coal carbon. This comparative view highlights the specific contributions of fossil subtypes to the total CO2 output and demonstrates the differentiated decarbonization benefits achieved through targeted renewable substitution.
Coal emissions (dark red) are reduced more significantly due to higher carbon intensity.
These findings have direct relevance for power system operators and policy planners. By offering high-resolution emission estimates under counterfactual energy scenarios, the framework enables proactive assessment of decarbonization pathways without requiring system-wide deployment trials. Applications include infrastructure planning, carbon pricing analysis, and regulatory compliance forecasting.
The slightly higher forecast error for emissions (versus demand) reflects the indirect mapping between load and CO2 output, which is modulated by generation dispatch, plant efficiency, and fuel-specific characteristics. Future enhancements could include plant-level metadata or generator dispatch simulation to improve emission granularity.
This study extends prior work in several important ways. Recent LSTM-based models report strong results for single-output demand forecasting [5,6], but very few models jointly predict demand and emissions while accounting for their physical linkage. Existing combined approaches either use coarse temporal resolutions such as daily or monthly data [13,32] or do not include formal statistical validation [40]. In contrast, our framework delivers sub-1% accuracy for both outputs at hourly national scale, supported by bootstrap confidence intervals(±0.001% for demand and ±0.002% for emissions MAPE, from 1,000-iteration resampling of the 21-feature model’s test-set predictions), Diebold–Mariano significance testing appropriate for serially correlated forecast errors, and a comprehensive baseline comparison that includes trivial and linear predictors. We also test performance under extreme weather conditions to confirm operational reliability and provide scenario-based emission analysis with quantified reductions. Together, these elements form a transparent and reproducible forecasting framework suitable for grid operations and policy assessment.
Recent studies have demonstrated that Transformer-based architectures and Graph Neural Networks (GNNs) can achieve competitive performance in short-term load and emissions forecasting. While these architectures warrant systematic comparison in future work, several considerations explain their exclusion as primary baselines in this study. At national aggregated scale, the spatial graph structure that GNNs exploit for inter-node dependency modelling collapses to a single node, eliminating the structural advantage of graph-based architectures. Transformer models require substantially larger datasets and longer training cycles and are predominantly evaluated on regional or multi-site datasets with explicit spatial heterogeneity. National-scale Transformer comparisons at hourly granularity with dual outputs remain limited in the literature. The present LSTM framework, with full statistical validation and reproducible implementation, establishes a strong benchmark for such future comparisons.
This work presents a scalable and interpretable framework that unifies operational forecasting with strategic scenario modeling. As energy systems move towards decarbonization, such computationally efficient, statistically validated framework will be valuable for guiding adaptive, data-driven grid planning and environmental policy development.
6 Conclusion and future work
Counterfactual solar penetration analysis illustrates the framework’s utility for policy and planning: synthetic increases in solar share from 10% to 50% produce a monotonic reduction in projected CO2 of up to 6.78%, corresponding to approximately 588,000 metric tons CO2 annually at national scale. This enables rapid evaluation of decarbonization pathways under evolving renewable targets. Forecast accuracy remains within 0.2% MAPE across all operational conditions tested, with the specific exception of a statistically confirmed degradation in emissions forecasting under extreme low-demand conditions discussed above, supporting reliability for scenario-planning applications outside that regime. In addition, surrogate-based SHAP interpretability provides transparency into the drivers of emission forecasts, attributing predictions predominantly to coal (43.70%) and natural gas (27.30%) generation (combined 71.01%), with a further 23.60% attributable to lagged demand, reflecting the model’s shared demand-emissions representation. This level of interpretability is valuable for stakeholders and regulators who must justify decarbonization strategies with measurable, interpretable insights.
While the framework demonstrates strong performance across statistical, operational, and interpretability dimensions, limitations include potential regional data biases (national aggregation obscures localized grid dynamics), challenges in modelling evolving grid dynamics (as renewable penetration fundamentally alters dispatch economics), the complexity of deep learning interpretability (SHAP applied to a surrogate provides feature importance but not mechanistic causal relationships), simplifications in scenario simulation (the data-driven approach captures patterns learned from historical dispatch behaviour but may not fully represent system behavior under unprecedented renewable penetration levels or policy interventions), and a specific, statistically confirmed degradation in emissions forecasting accuracy under extreme low-demand conditions (Section 4, Table 9), which we attribute to less regular generation-dispatch patterns during mild-weather, low-load periods.
In future studies, this framework will be used at the regional level to better capture differences in fuel use, transmission limits, and weather changes. More features will be added, such as wind power data, demand-response and storage signals, and new electrification patterns like electric vehicle charging. Methodologically, future work will incorporate transformer-based architectures and probabilistic forecasting techniques to capture uncertainty and temporal dependencies more effectively. Additionally, hybrid optimisation strategies that integrate forecasting with operational decision-making will be explored to improve both accuracy and grid planning. Deep learning forecasting will also be combined with models for grid operations and costs, allowing better planning for both operations and environmental goals under real-world conditions.
Acknowledgments
During the preparation of this work, the author(s) used ChatGPT to improve the English language style only. All the raw sentences and the work were originally written by the authors. After using this tool, the author(s) reviewed and edited the content as needed and assumed full responsibility for the content of the publication.
References
- 1. Ukoba K, Olatunji KO, Adeoye E, Jen T-C, Madyira DM. Optimizing renewable energy systems through artificial intelligence: Review and future prospects. Energy Environ. 2024;35(7):3833–79.
- 2. Nejat P, Jomehzadeh F, Taheri MM, Gohari M, Majid MZA. A global review of energy consumption, CO2 emissions and policy in the residential sector (with an overview of the top ten CO2 emitting countries). Renew Sustain Energy Rev. 2015;43:843–62.
- 3.
Dey M, Wickramarachchi D, Rana SP, Simmons CV, Dudley S. Power grid frequency forecasting from PMU data using hybrid vector-output LSTM network. In: 2023 IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE). IEEE; 2023. 1–5.
- 4. Choi E, Cho S, Kim DK. Power demand forecasting using Long Short-Term Memory (LSTM) deep-learning model for monitoring energy sustainability. Sustainability. 2020;12(3):1109.
- 5. Bareth R, Yadav A, Gupta S, Pazoki M. Daily average load demand forecasting using LSTM model based on historical load trends. IET Generation Trans & Dist. 2024;18(5):952–62.
- 6. Qureshi M, Arbab MA, Rehman SU. Deep learning-based forecasting of electricity consumption. Sci Rep. 2024;14(1):6489. pmid:38499617
- 7. Kumari S, Singh SK. Machine learning-based time series models for effective CO2 emission prediction in India. Environ Sci Pollut Res Int. 2023;30(55):116601–16. pmid:35780266
- 8. Ma X, Wang J, Huang J, Ke Y. Energy consumption and carbon emission modeling and forecasting study with novel deep learning methods. Expert Syst Appl. 2025;290:128314.
- 9.
Zhang Y, Xiao H, Jiang M, Hu W. Carbon emission prediction on the power generation side based on the CNN-LSTM model. In: 2024 3rd International Conference on Clean Energy Storage and Power Engineering (CESPE). 2024. 153–7. https://doi.org/10.1109/cespe64643.2024.00036
- 10.
Zhao H, Liu X, Peng D. Multi-energy load forecasting for integrated energy system based on multi-task learning. In: 2025 5th Power System and Green Energy Conference (PSGEC), 2025. 252–6. https://doi.org/10.1109/psgec66102.2025.11150989
- 11. Alipour Bonab S, Waite T, Yazdani-Asrami M. Artificially intelligent framework for multi-output performance prediction in diverse solid oxide electrolyzer cells for green hydrogen production plants. J Phys Energy. 2025;8(1):015006.
- 12. Zheng J, Du J, Wang B, Klemeš JJ, Liao Q, Liang Y. A hybrid framework for forecasting power generation of multiple renewable energy sources. Renew Sustain Energy Reviews. 2023;172:113046.
- 13. Emami Javanmard M, Tang Y, Wang Z, Tontiwachwuthikul P. Forecast energy demand, CO2 emissions and energy resource impacts for the transportation sector. Appl Energy. 2023;338:120830.
- 14. Ngo N-T, Pham A-D, Truong TTH, Truong N-S, Huynh N-T. Developing a hybrid time-series artificial intelligence model to forecast energy use in buildings. Sci Rep. 2022;12(1):15775. pmid:36131108
- 15. Dong J, Li C. Scenario prediction and decoupling analysis of carbon emission in Jiangsu Province, China. Technological Forecasting and Social Change. 2022;185:122074.
- 16. Lara-Vargas FA, Aguila-Leon J, Vargas-Salgado C, Suarez OJ. Temperature prediction for photovoltaic inverters using particle swarm optimization-based symbolic regression: A comparative study. Int J Adv Comp Sci Appl. 2025;16(2).
- 17. Chen H-B, Pei L-L, Zhao Y-F. Forecasting seasonal variations in electricity consumption and electricity usage efficiency of industrial sectors using a grey modeling approach. Energy (Oxf). 2021;222:119952. pmid:36570723
- 18. Hernandez L, Baladron C, Aguiar JM, Carro B, Sanchez-Esguevillas AJ, Lloret J, et al. A survey on electric power demand forecasting: future trends in smart grids, microgrids and smart buildings. IEEE Commun Surv Tutorials. 2014;16(3):1460–95.
- 19.
Al Amin MA, Hoque MA. Comparison of ARIMA and SVM for short-term load forecasting. In: 2019 9th Annual Information Technology, Electromechanical Engineering and Microelectronics Conference (IEMECON). 2019. 1–6.
- 20.
Singh U, Dey M, Patel P. Enabling grid stability: Harnessing PMU data for data-driven analysis of grid frequency events. In: International Conference on Frontiers of Intelligent Computing: Theory and Applications, 2024. 99–112.
- 21. Zafar A, Che Y, Sehnan M, Afzal U, D Algarni A, Elmannai H. Optimizing solar power generation forecasting in smart grids: A hybrid convolutional neural network -autoencoder long short-term memory approach. Phys Scr. 2024;99(9):095249.
- 22. Narayanan S, Kumar R, Ramadass S, Ramasamy J. Hybrid forecasting model integrating RNN-LSTM for renewable energy production. Electric Power Comp Systems. 2024;53(6):744–62.
- 23. Ourahou M, Ayrir W, EL Hassouni B, Haddi A. Review on smart grid control and reliability in presence of renewable energies: Challenges and prospects. Math Comp Simul. 2020;167:19–31.
- 24.
Almalaq A, Edwards G. A review of deep learning methods applied on load forecasting. In: 2017 16th IEEE International Conference on Machine Learning and Applications (ICMLA). 2017. 511–6. https://doi.org/10.1109/icmla.2017.0-110
- 25. Lu S, Bao T. Short-term electricity load forecasting based on neuralprophet and CNN-LSTM. IEEE Access. 2024;12:76870–9.
- 26. Alhussein M, Aurangzeb K, Haider SI. Hybrid CNN-LSTM model for short-term individual household load forecasting. IEEE Access. 2020;8:180544–57.
- 27. Cavus M, Allahham A. Spatio-temporal attention-based deep learning for smart grid demand prediction. Electronics. 2025;14(13):2514.
- 28. Zhang G, Patuwo BE, Hu MY. Forecasting with artificial neural networks: The state of the art. Int J Forecast. 1998;14(1):35–62.
- 29. Dey M, Rana SP, Wylie J, Simmons CV, Dudley S. Detecting power grid frequency events from μPMU voltage phasor data using machine learning. IET Conf Proc. 2022;2022(11):125–9.
- 30. Dey M, Rana SP, Simmons CV, Dudley S. Solar farm voltage anomaly detection using high-resolution PMU data-driven unsupervised machine learning. Appl Energy. 2021;303:117656.
- 31. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. 1997;9(8):1735–80. pmid:9377276
- 32. Bolat E, Arikan Yildiz Y. Energy Demand and CO2 Emission Forecast Model for Turkey with Deep Learning and Machine Learning Algorithms. ELEKTRON ELEKTROTECH. 2025;31(1):12–21.
- 33.
Shen M, Xu J, Shi Z, Wu M, Ye Y. Carbon emissions prediction of power industry based on extended LMDI and CNN-LSTM. In: 2023 International Conference on Power System Technology (PowerCon). 2023. 1–7. https://doi.org/10.1109/powercon58120.2023.10331438
- 34. Hamdan A, Al-Salaymeh A, AlHamad IM, Ikemba S, Ewim DRE. Predicting future global temperature and greenhouse gas emissions via LSTM model. Sustain Energy Res. 2023;10(1).
- 35. Chukwunonso BP, Al-Wesabi I, Shixiang L, AlSharabi K, Al-Shamma’a AA, Farh HMH, et al. Predicting carbon dioxide emissions in the United States of America using machine learning algorithms. Environ Sci Pollut Res Int. 2024;31(23):33685–707. pmid:38691282
- 36. Nassef AM, Olabi AG, Rezk H, Abdelkareem MA. Application of artificial intelligence to predict CO2 emissions: Critical step towards sustainable environment. Sustainability. 2023;15(9):7648.
- 37. Ahmed M, Shuai C, Ahmed M. Influencing factors of carbon emissions and their trends in China and India: A machine learning method. Environ Sci Pollut Res Int. 2022;29(32):48424–37. pmid:35190995
- 38.
Scherer M. Forecasting public expenditure using LSTMs: A multi-task learning approach for volatile data. In: 2025 30th International Conference on Automation and Computing (ICAC). 2025. 1–6. https://doi.org/10.1109/icac65379.2025.11196732
- 39. van Zyl C, Ye X, Naidoo R. Harnessing eXplainable artificial intelligence for feature selection in time series energy forecasting: A comparative analysis of Grad-CAM and SHAP. Appl Energy. 2024;353:122079.
- 40. Aryai V, Goldsworthy M. Day ahead carbon emission forecasting of the regional National Electricity Market using machine learning methods. Eng Appl Artif Intelligence. 2023;123:106314.
- 41. Anonna FR, Mohaimin MR, Ahmed A, Nayeem MB, Akter R, Alam S, et al. Machine learning-based prediction of U.S. CO2 emissions: Developing models for forecasting and sustainable policy formulation. J Environ Agricul Stud. 2023;4(3):85–99.
- 42. Liu C, Tang X, Yu F, Zhang D, Wang Y, Li J. Carbon emission measurement method of regional power system based on LSTM-Attention model. Sci Tech Energ Transition. 2024;79:43.
- 43. Ciechulski T, Paś J, Stawowy M, Duer S. Using artificial intelligence to predict power demand in small power grids—Problem analysis as a method to limit carbon dioxide emissions. Sustainability. 2025;17(8):3694.
- 44.
Biswas A, Mork D, Qiu M, Braun D, Dominici F. Five-year dataset depicting electric power generation and CO2 emissions within the U.S. electricity sector, spanning from July 2018 to June 2023. Harvard Dataverse; 2023. https://doi.org/10.7910/DVN/OKEATQ
- 45.
Lenzi V, Ulbig A, Andersson G. Impacts of forecast accuracy on grid integration of renewable energy sources. In: 2013 IEEE grenoble conference. IEEE; 2013. 1–6.
- 46. Mirasgedis S, Sarafidis Y, Georgopoulou E, Lalas D, Moschovits M, Karagiannis F, et al. Models for mid-term electricity demand forecasting incorporating weather influences. Energy. 2006;31(2–3):208–27.
- 47.
Kihoro J, Otieno RO, Wafula C. Seasonal time series forecasting: A comparative study of ARIMA and ANN models. 2004.
- 48.
Vapnik V. The nature of statistical learning theory. Springer Science & Business Media; 2013.
- 49. Amalou I, Mouhni N, Abdali A. Multivariate time series prediction by RNN architectures for energy consumption forecasting. Energy Rep. 2022;8:1084–91.
- 50.
Bacanin N, Pavlov-Kagadejev M, Kozakijevic S, Jovanovic L, Zivkovic M, Antonijevic M. Optimizing renewable energy utilization through production and demand forecasting using optimized recurrent networks. In: Renewable energy projects and investments. Elsevier; 2025. 203–25. https://doi.org/10.1016/b978-0-443-29869-1.00011-8

관련 뉴스