<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Machine Learning-Driven Optimization of Energy Consumption in Smart Grids: A Comprehensive Review</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Bahramian</surname><given-names>Pouria</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<aff id="aff1">Department of Computer Engineering, Ayandegan University, Tonekabon, Iran.</aff>
</contrib-group>
<abstract><p>The accelerating complexity of modern power grids, driven by the large-scale integration of renewable energy sources, the proliferation of Distributed Energy Resources (DER), and the increasing volatility of consumer demand patterns, necessitates intelligent and adaptive energy management solutions that surpass the capabilities of conventional optimization approaches. This comprehensive review systematically examines the role of Machine Learning (ML) techniques encompassing supervised learning, unsupervised learning, Reinforcement Learning (RL), and deep learning in optimizing energy consumption across smart grid infrastructures. We provide an in-depth analysis of ML applications spanning Demand-Side Management (DSM), short-term and Long-Term Load Forecasting (LTLF), renewable energy integration, fault detection and diagnostics, energy storage optimization, and real-time adaptive grid control. This paper reviews and synthesizes findings from over 100 studies published between 2018 and 2025, categorizing ML approaches by their application domain, algorithmic paradigm, and deployment context. We evaluate their performance using standardized metrics including Mean Absolute Percentage Error (MAPE), root mean squared error, cost reduction ratios, and Peak-to-Average Ratio (PAR) improvements. Critical research gaps are identified, including challenges related to training data scarcity and quality, model interpretability in safety-critical infrastructure, scalability from pilot projects to grid-scale deployment, computational constraints for real-time inference, and privacy concerns arising from granular smart meter data. Furthermore, we provide a forward-looking analysis of emerging trends that are poised to reshape the field, including Federated Learning (FL) for privacy-preserving collaborative model training, transfer learning for cross-domain generalization, edge-AI deployment for low-latency on-device intelligence, foundation models for energy time-series, and explainable AI frameworks for regulatory compliance. This review serves as a comprehensive reference for researchers, power systems engineers, and policymakers seeking to understand the current state-of-the-art and chart future research directions at the intersection of ML and smart grid energy optimization.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Machine learning</kwd><kwd>Smart grid</kwd><kwd>Energy optimization</kwd><kwd>Load forecasting</kwd><kwd>Demand-side management</kwd><kwd>Deep</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1">
<p>learning, Reinforcement learning, Renewable energy integration, Energy efficiency, Federated learning.</p>
</sec>
<sec id="sec-2"><label>1</label><title>Introduction</title>
<p>The global energy landscape is undergoing a profound transformation driven by the convergence of climate change imperatives, rapid urbanization, population growth, and the accelerating deployment of renewable energy technologies. According to the International Energy Agency (IEA), global electricity demand is projected to increase by more than 30% by 2030 relative to 2020 levels, placing unprecedented strain on aging grid infrastructures that were designed for unidirectional power flow from centralized generation facilities <xref ref-type="bibr" rid="ref-1">[1]</xref>. Simultaneously, the urgency to decarbonize the power sector, which accounts for approximately 40% of global carbon dioxide emissions, has catalyzed the integration of Variable Renewable Energy Sources (VRES) such as solar photovoltaics and wind turbines, whose intermittent and stochastic generation profiles introduce significant operational challenges for grid operators tasked with maintaining supply-demand balance at all times <xref ref-type="bibr" rid="ref-2">[2]</xref>.</p>
<p>The traditional power grid, conceptualized in the early twentieth century, was architected as a hierarchical, centralized system wherein large-scale generation plants transmitted electricity through high-voltage transmission networks and stepped it down through distribution substystems for end-consumer delivery. This legacy architecture, while robust for its era, lacks the flexibility, observability, and responsiveness required to accommodate the decentralized, bidirectional, and highly dynamic energy ecosystem of the twenty-first century <xref ref-type="bibr" rid="ref-3">[3]</xref>. The emergence of the smart grid paradigm represents a fundamental reimagining of this infrastructure, integrating advanced Information and Communication Technologies (ICT) with the physical power delivery system to create a cyber-physical energy network capable of self-monitoring, self-healing, and adaptive optimization <xref ref-type="bibr" rid="ref-4">[4]</xref>.</p>
<p>A modern smart grid is characterized by several defining architectural components. Advanced Metering Infrastructure (AMI) provides high-resolution, bidirectional communication between utilities and consumers, enabling granular monitoring of consumption patterns at intervals as fine as one second. Supervisory Control and Data Acquisition (SCADA) systems facilitate centralized monitoring and control of generation and transmission assets. Phasor Measurement Units (PMUs) deliver synchronized, high-frequency measurements of voltage and current phasors across the wide-area network, enabling real-time state estimation and situational awareness. An expanding ecosystem of Internet of Things (IoT) sensors, deployed across generation sites, distribution feeders, substations, and consumer premises, generates massive volumes of heterogeneous, time-stamped data streams that collectively constitute the informational backbone of smart grid intelligence <xref ref-type="bibr" rid="ref-5">[5]</xref>.</p>
<p>However, the realization of truly intelligent smart grid operations faces formidable challenges that span multiple dimensions. The intermittency and non-dispatchability of renewable energy sources introduce volatility in generation schedules, necessitating rapid ramping of conventional generators and sophisticated forecasting capabilities. Demand-side volatility, driven by the electrification of transportation, heating, and industrial processes, creates increasingly unpredictable load profiles. Grid stability concerns, including frequency deviations, voltage fluctuations, and cascading failures, are amplified by the reduction in system inertia as synchronous generators are displaced by inverter-based resources. Cybersecurity vulnerabilities in the interconnected cyber-physical infrastructure present risks of coordinated attacks capable of disrupting critical energy services. Furthermore, the sheer volume, velocity, and variety of data generated by smart grid sensors overwhelm traditional rule-based and analytical approaches to grid management <xref ref-type="bibr" rid="ref-6">[6]</xref>.</p>
<p>Classical optimization methods, including linear programming, mixed-integer programming, convex optimization, and dynamic programming, have historically formed the mathematical foundation for power systems optimization problems such as Optimal Power Flow (OPF), unit commitment, and economic dispatch. While these methods offer provable optimality guarantees under well-defined assumptions, they suffer from critical limitations in the smart grid context. Specifically, they require explicit mathematical formulations of objective functions and constraints that may not adequately capture the nonlinear, non-convex, stochastic, and high-dimensional nature of real-world energy systems. Their computational complexity often scales exponentially with problem size, rendering them intractable for real-time applications involving millions of decision variables. Moreover, they cannot learn from historical data and adapt to evolving system conditions without manual model recalibration <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>Machine Learning (ML), by contrast, offers a fundamentally different paradigm: the ability to automatically extract complex patterns, relationships, and decision policies from vast quantities of historical and real-time data without requiring explicit programming of the underlying physics. ML models can capture nonlinear dynamics, handle high-dimensional input spaces, adapt to concept drift, and provide predictions and control decisions at computational speeds compatible with real-time grid operation. The past decade has witnessed an explosion of research applying ML techniques to virtually every aspect of smart grid optimization, from load forecasting and renewable generation prediction to demand response optimization, fault detection, and autonomous grid control <xref ref-type="bibr" rid="ref-8">[8]</xref>.</p>
<p>Despite this growing body of literature, several critical gaps motivate the present review. First, existing surveys tend to focus on specific application domains (e.g., load forecasting or demand response) without providing a unified perspective across the full spectrum of ML-driven smart grid optimization. Second, the rapid emergence of new ML paradigms including Federated Learning (FL), graph neural networks, transformer architectures, and Large Language Models (LLMs) necessitates an updated synthesis that captures the latest methodological advances and their applicability to energy systems. Third, practical deployment challenges related to data quality, model interpretability, scalability, privacy, and cybersecurity are often underexplored in technically focused reviews.</p>
<p>This review addresses the following research questions:</p>
<p>I. What are the primary ML paradigms and architectures that have been applied to smart grid energy optimization, and how do they compare in terms of predictive accuracy, computational efficiency, and practical deployability?</p>
<p>II. How have ML techniques been applied across the major application domains of load forecasting, Demand-Side Management (DSM), renewable energy integration, grid stability, and real-time control?</p>
<p>III. What are the critical barriers to the large-scale adoption of ML-driven optimization in production smart grid environments?</p>
<p>IV. What emerging ML trends and research directions hold the greatest promise for advancing the field? The remainder of this paper is organized as follows. Section 2 provides essential background on smart grid architecture, ML paradigms, and evaluation methodologies. Section 3 reviews ML-driven load forecasting and demand prediction. Section 4 examines DSM and energy efficiency applications. Section 5 discusses renewable energy integration and grid stability. Section 6 focuses on Reinforcement Learning (RL) for real-time grid control. Section 7 addresses privacy, security, and FL. Section 8 explores emerging trends and future directions. Section 9 concludes the review with a summary of key findings and recommendations for future research.</p>
</sec>
<sec id="sec-3"><label>2</label><title>Background and Preliminaries</title>
<sec id="sec-4"><label>2.1</label><title>Smart Grid Architecture and Data Infrastructure</title>
<p>The smart grid can be conceptualized as a layered cyber-physical system comprising four principal operational layers: generation, transmission, distribution, and consumption. Each layer generates distinct categories of data, operates under different temporal and spatial scales, and presents unique optimization challenges amenable to ML-based solutions.</p>
<p>The generation layer encompasses large-scale centralized power plants (thermal, nuclear, and hydroelectric), utility-scale renewable energy installations (solar farms and wind parks), and increasingly distributed generation resources including rooftop photovoltaic systems, small-scale wind turbines, and combined heat and power units. Data generated at this layer includes generator output power, fuel consumption rates, turbine rotational speeds, inverter status signals, irradiance and wind speed measurements at renewable sites, and real-time market price signals. The primary optimization objectives at the generation layer include economic dispatch, unit commitment, and OPF, all of which determine the most cost-effective and reliable combination of generation resources to meet anticipated demand <xref ref-type="bibr" rid="ref-9">[9]</xref>.</p>
<p>The transmission layer transports bulk electricity from generation sites to load centers through high-voltage (110 kV to 765 kV) transmission lines, substations, and interconnection points. PMUs deployed at critical transmission nodes provide synchronized measurements at rates of 30 to 120 samples per second, enabling wide-area monitoring and dynamic security assessment. SCADA systems at substations collect voltage, current, power flow, transformer tap position, and circuit breaker status data at intervals of two to ten seconds. Transmission-level optimization concerns include congestion management, voltage stability, transient stability, and the management of inter-area power flows across interconnected balancing areas <xref ref-type="bibr" rid="ref-10">[10]</xref>.</p>
<p>The distribution layer delivers electricity from transmission substations to end consumers through medium-voltage (4 kV to 35 kV) and low-voltage (120 V to 480 V) feeders. The distribution network is the most geographically extensive and topologically complex component of the power system, comprising millions of line segments, transformers, switches, capacitor banks, and voltage regulators. Distribution automation systems, equipped with Intelligent Electronic Devices (IEDs) and Remote Terminal Units (RTUs), provide increasing observability of network conditions. The integration of Distributed Energy Resources (DERs), including rooftop solar, Battery Energy Storage Systems (BESS), and Electric Vehicle (EV) chargers, at the distribution level transforms traditionally passive loads into active prosumers capable of both consuming and injecting power, significantly complicating distribution network management <xref ref-type="bibr" rid="ref-11">[11]</xref>.</p>
<p>The consumption layer interfaces directly with end-users across residential, commercial, and industrial sectors. Smart meters, the cornerstone of AMI, record electricity consumption at intervals typically ranging from 15 minutes to one hour, though some advanced deployments support sub-minute granularity. Home Area Networks (HANs) connect smart meters with in-home displays, smart thermostats, smart appliances, and Home Energy Management Systems (HEMS), enabling automated load control and demand response participation. Building Energy Management Systems (BEMS) in commercial and institutional buildings monitor and control Heating, Ventilation, Air Conditioning (HVAC), lighting, and plug loads. Industrial energy management involves process-level monitoring and optimization of manufacturing equipment, compressed air systems, and electric arc furnaces <xref ref-type="bibr" rid="ref-12">[12]</xref>.</p>
<p>The data generated across these four layers exhibits several characteristics that make it particularly amenable to and challenging for ML analysis. First, smart grid data is inherently high-dimensional, with each consumer&apos;s consumption profile influenced by dozens of variables including weather conditions, time of day, day of week, seasonal patterns, building characteristics, occupancy, and electricity prices. Second, the data exhibits strong temporal dependencies across multiple time scales, from sub-second transients to daily, weekly, and seasonal cycles. Third, data quality issues including missing values, measurement noise, sensor drift, communication failures, and outliers are pervasive in real-world deployments. Fourth, the heterogeneity of data sources spanning numerical time series, categorical event logs, text-based maintenance records, and spatial network topology data requires sophisticated data fusion and preprocessing pipelines <xref ref-type="bibr" rid="ref-13">[13]</xref>.</p>
<p>Communication infrastructure is the enabling fabric that connects the physical and cyber layers of the smart grid. Wide Area Networks (WANs) interconnect control centers, substations, and generation facilities using fiber optic, microwave, and cellular communication technologies. Field Area Networks (FANs) connect distribution automation devices and AMI data concentrators. HANs employ short-range wireless protocols such as Zigbee, Z-Wave, Wi-Fi, and Bluetooth to interconnect smart devices within consumer premises. The latency, bandwidth, reliability, and security characteristics of these communication networks directly influence the feasibility of real-time ML-based control applications and the design of distributed learning architectures <xref ref-type="bibr" rid="ref-14">[14]</xref>.</p>
</sec>
<sec id="sec-5"><label>2.2</label><title>Machine Learning Paradigms for Energy Systems</title>
<p>ML paradigms applicable to smart grid optimization can be broadly categorized into supervised learning, unsupervised learning, deep learning, RL, and hybrid approaches. Each paradigm offers distinct advantages and limitations depending on the nature of the available data, the optimization objective, the required prediction horizon, and the real-time computational constraints.</p>
<p>Supervised learning encompasses algorithms that learn a mapping from input features to output labels using a training dataset of labeled examples. In the regression setting, supervised learning is extensively applied to load forecasting, where historical consumption data paired with exogenous features (temperature, humidity, solar irradiance, day type, holiday indicators) are used to train models that predict future energy demand. Prominent regression algorithms in smart grid applications include Support Vector Regression (SVR), which constructs an optimal hyperplane in a high-dimensional feature space to minimize prediction error within an epsilon-insensitive tube <xref ref-type="bibr" rid="ref-15">[15]</xref>; Random Forests (RF), which aggregate predictions from an ensemble of decorrelated decision trees to achieve robust, low-variance estimates <xref ref-type="bibr" rid="ref-16">[16]</xref>; Gradient Boosting Machines (GBM), including XGBoost and LightGBM, which sequentially train weak learners to correct the residual errors of preceding models <xref ref-type="bibr" rid="ref-17">[17]</xref>; and linear regression variants including Ridge, Lasso, and Elastic Net regularization for high-dimensional feature spaces with collinearity. In the classification setting, supervised learning is applied to fault detection and diagnosis, power quality event classification, and islanding detection. Support Vector Machines (SVM) with various kernel functions (RBF, polynomial) provide effective nonlinear classification boundaries. Decision tree ensembles, k-Nearest Neighbors (k-NN), and logistic regression serve as baseline classifiers frequently benchmarked against more complex architectures <xref ref-type="bibr" rid="ref-18">[18]</xref>.</p>
<p>Unsupervised learning algorithms identify patterns, groupings, and anomalies in unlabeled data without explicit supervision. Clustering algorithms are widely used for consumer segmentation, wherein utility customers are grouped based on the similarity of their consumption profiles to enable targeted demand response programs, differentiated pricing schemes, and network planning. K-means clustering partitions consumers into k non-overlapping groups by minimizing within-cluster variance; however, it requires a priori specification of the number of clusters and assumes spherical cluster geometries. Density-Based Spatial Clustering of Applications with Noise (DBSCAN) identifies clusters of arbitrary shape based on local density and naturally handles noise points, making it suitable for detecting atypical consumption behaviors. Hierarchical clustering produces a dendrogram of nested clusters at varying granularity levels, enabling multi-resolution consumer analysis. Gaussian Mixture Models (GMMs) provide a probabilistic framework for soft cluster assignments. Additionally, unsupervised anomaly detection techniques, including isolation forests, one-class SVMs, and autoencoders, are employed for detecting non-technical losses (energy theft), equipment malfunctions, and cyberattacks in smart meter data streams <xref ref-type="bibr" rid="ref-19">[19]</xref>.</p>
<p>Deep learning architectures have demonstrated transformative performance gains across multiple smart grid applications by automatically learning hierarchical feature representations from raw data without manual feature engineering. Convolutional Neural Networks (CNNs), originally designed for image recognition, have been adapted for spatial feature extraction from grid topology data, multi-sensor arrays, and frequency-domain representations of electrical signals. One-dimensional CNNs applied to time-series consumption data capture local temporal patterns and periodic structures through learnable convolutional filters <xref ref-type="bibr" rid="ref-20">[20]</xref>. Recurrent Neural Networks (RNNs), particularly Long Short-Term Memory (LSTM) networks and Gated Recurrent Units (GRUs), are the predominant architectures for temporal sequence modeling in energy systems. LSTMs address the vanishing gradient problem inherent in vanilla RNNs through gated memory cells that selectively retain, forget, and output information across long time horizons, making them well-suited for capturing the multi-scale temporal dependencies characteristic of energy consumption data <xref ref-type="bibr" rid="ref-21">[21]</xref>. The Transformer architecture, introduced by Ashish <xref ref-type="bibr" rid="ref-22">[22]</xref>, has emerged as a powerful alternative to recurrent models for sequence-to-sequence learning. The self-attention mechanism enables Transformers to capture long-range dependencies without sequential processing, offering superior parallelization and scalability. Temporal Fusion Transformers (TFT), specifically designed for multi-horizon time-series forecasting, incorporate variable selection networks, gated residual connections, and interpretable multi-head attention to provide both accurate predictions and insights into feature importance <xref ref-type="bibr" rid="ref-23">[23]</xref>. Autoencoders, including Variational Autoencoders (VAEs) and denoising autoencoders, serve dual roles in dimensionality reduction and generative modeling, enabling compressed representations of high-dimensional energy data and synthetic data generation for augmenting scarce training datasets <xref ref-type="bibr" rid="ref-24">[24]</xref>.</p>
<p>RL provides a framework for sequential decision-making in which an agent learns an optimal policy by interacting with an environment and receiving scalar reward signals. RL is uniquely suited for real-time control and optimization problems in smart grids where decisions must be made sequentially under uncertainty and the consequences of actions unfold over extended time horizons. Tabular Q-learning, applicable to small, discrete state-action spaces, maintains a value function table that converges to the optimal policy under sufficient exploration. For the high-dimensional, continuous state-action spaces typical of power systems, Deep Reinforcement Learning (DRL) methods are essential. Deep Q-Networks (DQN) approximate the Q-function using neural networks, enabling generalization across unseen states <xref ref-type="bibr" rid="ref-25">[25]</xref>. Policy gradient methods, including reinforce and actor-critic architectures (A2C, A3C), directly parameterize and optimize the policy function, accommodating continuous action spaces required for voltage setpoint adjustment, generator dispatch, and battery charge/discharge control. Proximal Policy Optimization (PPO) introduces a clipped surrogate objective that constrains policy updates to a trust region, providing stable and sample-efficient training <xref ref-type="bibr" rid="ref-26">[26]</xref>. Soft Actor-Critic (SAC) maximizes a maximum-entropy objective, encouraging exploration and robustness to environmental perturbations <xref ref-type="bibr" rid="ref-27">[27]</xref>.</p>
<p>Hybrid and ensemble approaches combine multiple ML paradigms to leverage complementary strengths and mitigate individual weaknesses. CNN-LSTM hybrids, for example, employ convolutional layers to extract local spatial or frequency-domain features that are subsequently processed by LSTM layers for temporal sequence modeling, achieving superior load forecasting accuracy compared to either architecture in isolation <xref ref-type="bibr" rid="ref-28">[28]</xref>. Stacking ensembles trains a meta-learner on the outputs of diverse base models (e.g., SVR, random forest, LSTM) to produce optimally weighted predictions. Physics-Informed Neural Networks (PINNs) embed physical laws such as Kirchhoff&apos;s laws, power balance equations, or thermodynamic constraints into the neural network loss function, improving generalization in data-scarce regimes and ensuring physically plausible predictions <xref ref-type="bibr" rid="ref-29">[29]</xref>.</p>
</sec>
<sec id="sec-6"><label>2.3</label><title>Evaluation Metrics and Benchmarking</title>
<p>The rigorous evaluation and fair comparison of ML models for smart grid applications require standardized metrics and benchmark datasets. Forecasting performance is typically assessed using several complementary metrics. Mean Absolute Error (MAE) quantifies the average magnitude of prediction errors in the original units of measurement, providing an intuitive and easily interpretable accuracy measure. Root Mean Squared Error (RMSE) penalizes large prediction errors more heavily than MAE due to the squaring operation, making it particularly relevant for grid operations where extreme forecast errors can trigger costly corrective actions. Mean Absolute Percentage Error (MAPE) normalizes errors relative to actual values, enabling comparison across load profiles of different magnitudes; however, MAPE is undefined when actual values are zero and can be biased toward under-prediction. The coefficient of determination (R²) measures the proportion of variance in the target variable explained by the model, with values approaching unity indicating near-perfect fit <xref ref-type="bibr" rid="ref-30">[30]</xref>.</p>
<p>Classification tasks, such as fault detection, power quality event identification, and islanding detection, are evaluated using accuracy, precision, recall, F1-score, and the Area Under the Receiver Operating Characteristic Curve (AUC-ROC). In smart grid applications where the costs of false negatives (missed faults) and false positives (unnecessary alarms) are asymmetric, precision-recall tradeoffs and F1-scores are more informative than overall accuracy, particularly in class-imbalanced scenarios where fault events constitute a small fraction of total observations <xref ref-type="bibr" rid="ref-31">[31]</xref>.</p>
<p>Optimization performance metrics assess the tangible impact of ML-driven solutions on grid operations. Cost reduction percentage measures the savings achieved relative to baseline (non-ML) control strategies. Peak-to-Average Ratio (PAR) quantifies the effectiveness of demand response and load shifting programs in flattening the demand curve. Carbon emission reduction captures the environmental benefits of ML-optimized renewable integration and dispatch. Energy Not Served (ENS) and Loss of Load Probability (LOLP) measure reliability improvements. Computational metrics, including training time, inference latency, and model size, are critical for evaluating the real-time deployability of ML solutions on resource-constrained edge devices <xref ref-type="bibr" rid="ref-32">[32]</xref>.</p>
<p>Several publicly available benchmark datasets have become standard testbeds for smart grid ML research. The Reference Energy Disaggregation Dataset (REDD) provides whole-house and circuit-level electricity measurements from six residences at one-second granularity, widely used for Non-Intrusive Load Monitoring (NILM) algorithm evaluation <xref ref-type="bibr" rid="ref-33">[33]</xref>. The UK Domestic Appliance-Level Electricity (UK-DALE) dataset extends REDD with five UK houses monitored over multiple years <xref ref-type="bibr" rid="ref-34">[34]</xref>. The Pecan Street Dataport contains minute-level data from over 1,000 homes in Austin, Texas, including solar generation and EV charging. The Commission for Energy Regulation (CER) Ireland dataset provides half-hourly smart meter readings from approximately 5,000 residential customers over 18 months, commonly used for consumer segmentation and demand response studies. The Australian Energy Market Operator (AEMO) dataset offers five-minute resolution system-level demand data for the Australian national electricity market <xref ref-type="bibr" rid="ref-35">[35]</xref>.</p>
<table-wrap id="tab1"><label>Table 1</label><caption><p>Summary of common ML techniques and their primary smart grid applications.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,520.2,537.1,573.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>LightGBM feature ranking missing data, fast training hyperparameter tuning LSTM/GRU Deep learning Short-term load Captures long-term Sequential processing, slow forecasting, price temporal dependencies training prediction CNN-LSTM Hybrid Deep learning Spatio-temporal Combines spatial and Complex architecture, large forecasting, NILM temporal feature data needs extraction Transformer / TFT Deep learning Multi-horizon Parallel processing, High computational cost, forecasting attention interpretability data-hungry K-means/ Unsupervised Consumer Scalable, no labels Sensitive to parameters, no DBSCAN segmentation, anomaly required temporal modeling detection Autoencoder / Deep learning Anomaly detection, Unsupervised, learns Reconstruction quality VAE data compression latent representations depends on architecture DQN/PPO/SAC RL Real-time control, Adaptive, sequential Sample inefficiency, safety energy trading, decision-making constraints hard to enforce scheduling MARL RL DER coordination, Distributed, scalable to Non-stationarity, P2P trading large systems communication overhead FL Distributed ML Privacy-preserving Data stays on-device, Non-IID data, forecasting regulatory compliance communication bottleneck</p>
</sec>
</sec>
<sec id="sec-7"><label>3</label><title>Machine Learning-Driven Load Forecasting and Demand Prediction</title>
<sec id="sec-8"><label>3.1</label><title>Short-Term Load Forecasting</title>
<p>Short-term load forecasting, spanning prediction horizons from one hour ahead to one week ahead, constitutes the most extensively studied application of ML in smart grids. Accurate STLF is indispensable for a multitude of operational decisions including real-time generation dispatch, spinning reserve allocation, energy market bidding, and transmission congestion management. A one-percentage-point improvement in MAPE for a large utility can translate to millions of dollars in annual savings through reduced ancillary service procurement and more efficient generator scheduling <xref ref-type="bibr" rid="ref-36">[36]</xref>.</p>
<p>Traditional statistical methods for STLF, including Autoregressive Integrated Moving Average (ARIMA), Seasonal Autoregressive Integrated Moving Average (SARIMA), and exponential smoothing state space models, have established well-understood baselines. ARIMA models capture linear temporal dependencies through autoregressive and moving average components applied to stationary time series, while SARIMA extends this framework to accommodate periodic seasonal patterns. While computationally efficient and statistically interpretable, these methods fundamentally assume linear relationships between past and future observations and struggle to incorporate high-dimensional exogenous variables, limiting their accuracy when load dynamics are driven by complex, nonlinear interactions among weather, occupancy, pricing, and behavioral factors <xref ref-type="bibr" rid="ref-37">[37]</xref>.</p>
<p>The application of LSTM networks to STLF has demonstrated consistent and substantial improvements over statistical baselines. Kong et al. <xref ref-type="bibr" rid="ref-38">[38]</xref> proposed a deep LSTM architecture for residential STLF that achieved a MAPE of 5.2% on the Pecan Street dataset, outperforming ARIMA (MAPE 12.7%), SVR (MAPE 8.4%), and shallow feedforward neural networks (MAPE 7.1%). The gated memory cell architecture of LSTMs enables effective learning across multiple temporal scales, from hourly fluctuations driven by occupancy transitions to weekly patterns reflecting workday-weekend distinctions. Bidirectional LSTMs (Bi-LSTMs), which process input sequences in both forward and reverse temporal directions, have been shown to further improve forecasting accuracy by capturing both causal and anti-causal dependencies in the data <xref ref-type="bibr" rid="ref-36">[36]</xref>.</p>
<p>CNN-LSTM hybrid architectures have emerged as a particularly effective paradigm for STLF by synergistically combining the spatial feature extraction capabilities of convolutional layers with the temporal sequence modeling strengths of recurrent layers. In a representative study, Kim and Cho <xref ref-type="bibr" rid="ref-39">[39]</xref> designed a two-stage architecture wherein one-dimensional convolutional layers first extract local patterns and reduce dimensionality from multi-variate input features (including load, temperature, humidity, wind speed, and solar irradiance), and stacked LSTM layers subsequently model the temporal evolution of these extracted features. Evaluated on the Korean Electric Power Corporation (KEPCO) dataset, this hybrid architecture achieved a MAPE of 2.13% for day-ahead forecasting, representing a 23% relative improvement over standalone LSTM models.</p>
<p>Attention mechanisms, originally proposed for neural machine translation, have been adapted for load forecasting to enable models to selectively focus on the most informative time steps and features when generating predictions. The TFT, proposed by Lim et al. <xref ref-type="bibr" rid="ref-23">[23]</xref>, represents a state-of-the-art architecture specifically designed for multi-horizon time-series forecasting. The TFT incorporates several specialized components: variable selection networks that automatically identify the most relevant input features at each time step, gated residual networks that enable skip connections and controlled information flow, and interpretable multi-head attention that reveals which historical time steps most influence future predictions. Applied to electricity demand forecasting, the TFT achieved improvements of 7-12% in normalized quantile loss compared to competitive baselines including DeepAR, N-BEATS, and standard Transformer models. Critically, the TFT&apos;s built-in interpretability mechanisms provide grid operators with transparent explanations of forecast drivers, addressing a significant barrier to ML adoption in safety-critical infrastructure <xref ref-type="bibr" rid="ref-40">[40]</xref>. The incorporation of exogenous features, particularly meteorological variables, is critical for accurate STLF, given the strong influence of weather conditions on temperature-sensitive loads such as HVAC systems, which can account for 40-60% of building energy consumption. Advanced feature engineering approaches include the construction of weather interaction terms (e.g., heating degree days, cooling degree days, wind chill indices), the encoding of calendar effects using cyclical features (sine and cosine transformations of hour, day-of-week, and month), the inclusion of economic indicators (electricity price, GDP growth), and the integration of social event calendars. Recent work has explored the use of Numerical Weather Prediction (NWP) ensemble forecasts as inputs to ML models, where the ensemble spread provides implicit uncertainty information that can improve both point forecast accuracy and prediction interval reliability <xref ref-type="bibr" rid="ref-41">[41]</xref>.</p>
</sec>
<sec id="sec-9"><label>3.2</label><title>Medium-Term and Long-Term Load Forecasting</title>
<p>Medium-Term Load Forecasting (MTLF), covering horizons from one month to one year, and Long-Term Load Forecasting (LTLF), extending from one year to several decades, serve fundamentally different operational purposes than STLF. MTLF supports fuel procurement planning, maintenance scheduling, hydrothermal coordination, and medium-term financial planning. LTLF informs capacity expansion planning, infrastructure investment decisions, regulatory filings, and energy policy formulation. The accuracy requirements and methodological approaches for MTLF and LTLF differ substantially from STLF due to the reduced relevance of short-term weather fluctuations and the increasing importance of macroeconomic, demographic, and technological trend factors <xref ref-type="bibr" rid="ref-42">[42]</xref>.</p>
<p>Transfer learning has emerged as a valuable technique for addressing data scarcity challenges in load forecasting, particularly for newly constructed buildings, emerging markets, and developing regions where historical consumption data is limited or unavailable. The fundamental premise is that models trained on data-rich source domains can transfer learned representations to data-scarce target domains, thereby accelerating learning and improving generalization. Ribeiro et al. <xref ref-type="bibr" rid="ref-43">[43]</xref> demonstrated that a CNN-LSTM model pre-trained on three years of aggregated load data from a large European utility could be fine-tuned with as few as two weeks of data from a new building to achieve MAPE values within 2% of models trained on the full target dataset. Domain adaptation techniques, including Maximum Mean Discrepancy (MMD) minimization and adversarial domain adaptation, have been applied to align the feature distributions between source and target domains, further improving transfer effectiveness across geographically and climatically distinct regions <xref ref-type="bibr" rid="ref-45">[44]</xref>. Ensemble methods that combine predictions from multiple heterogeneous models consistently outperform individual models for MTLF by reducing variance and capturing diverse aspects of the underlying data-generating process. Gradient boosting ensembles, particularly XGBoost and LightGBM, have proven exceptionally effective for MTLF due to their native handling of missing values, built-in regularization, and computational efficiency. A comprehensive comparative study by Haben et al. <xref ref-type="bibr" rid="ref-46">[45]</xref> evaluated 42 forecasting methods on the CER Ireland dataset and found that gradient boosted tree ensembles achieved the lowest MAE for monthly forecasting horizons, while LSTM-based models excelled at capturing sudden structural changes in demand patterns.</p>
<p>A critical challenge for long-horizon forecasting is concept drift, the gradual or sudden change in the statistical properties of the target variable over time. In the energy domain, concept drift can arise from energy efficiency improvements, building retrofits, changes in occupancy patterns, deployment of distributed generation, adoption of EVs, and macroeconomic shifts. The COVID-19 pandemic of 2020-2021 provided a dramatic illustration of this challenge, with national electricity demand in many countries dropping by 10-30% within weeks as lockdown measures curtailed commercial and industrial activity while increasing residential consumption. Standard ML models trained on pre-pandemic data exhibited MAPE increases of 50-200% during the initial lockdown period. Adaptive approaches, including online learning with exponential forgetting, ensemble methods with dynamic weight adjustment, and change-point detection algorithms coupled with model retraining triggers, have been proposed to address concept drift <xref ref-type="bibr" rid="ref-47">[46]</xref>.</p>
</sec>
<sec id="sec-10"><label>3.3</label><title>Probabilistic and Uncertainty-Aware Forecasting</title>
<p>Point forecasts, while widely used, provide an incomplete picture of future demand by failing to communicate the inherent uncertainty in predictions. For grid operators, understanding the range of possible outcomes and their associated probabilities is essential for risk-informed decision-making, reserve procurement, and contingency planning. The transition from deterministic to probabilistic forecasting represents a significant methodological advancement in energy system ML <xref ref-type="bibr" rid="ref-48">[47]</xref>.</p>
<p>Quantile regression directly estimates conditional quantiles of the target variable, providing prediction intervals at specified confidence levels without assuming a parametric error distribution. Quantile regression forests extend the random forest algorithm to produce quantile estimates by retaining the empirical distribution of training samples in each leaf node. Deep quantile regression networks employ pinball loss functions at multiple quantile levels to simultaneously estimate the 10th, 25th, 50th, 75th, and 90th percentiles of future demand, enabling the construction of flexible, non-parametric prediction intervals <xref ref-type="bibr" rid="ref-49">[48]</xref>.</p>
<p>Bayesian Neural Networks (BNNs) place probability distributions over network weights rather than point estimates, enabling principled uncertainty quantification through posterior inference. The predictive distribution obtained by marginalizing over the weight posterior naturally decomposes into epistemic uncertainty (model uncertainty arising from limited training data) and aleatoric uncertainty (irreducible noise in the data). However, exact Bayesian inference in neural networks is intractable, necessitating approximate methods such as variational inference (Bayes by Backprop) or Markov Chain Monte Carlo (MCMC) sampling, both of which significantly increase computational cost <xref ref-type="bibr" rid="ref-50">[49]</xref>.</p>
<p>Monte Carlo (MC) Dropout, proposed by Gal and Ghahramani <xref ref-type="bibr" rid="ref-51">[50]</xref>, provides a computationally efficient approximation to Bayesian inference by applying dropout at test time and interpreting the resulting stochastic forward passes as approximate samples from the posterior predictive distribution. For load forecasting, MC Dropout with 50-100 forward passes has been shown to produce well-calibrated prediction intervals at a fraction of the computational cost of full BNNs. Wang et al. <xref ref-type="bibr" rid="ref-52">[51]</xref> applied MC Dropout to an LSTM-based load forecasting model and demonstrated that the resulting 95% prediction intervals achieved coverage rates of 93-97% across different seasons and load levels, while point forecast accuracy remained comparable to deterministic LSTM baselines.</p>
<p>The importance of uncertainty quantification extends beyond academic interest to practical operational value. Grid operators in deregulated electricity markets can use probabilistic forecasts to optimize bidding strategies by accounting for the financial risks associated with forecast errors. System operators can calibrate operating reserve levels based on the predicted distribution of net load (demand minus renewable generation), potentially reducing reserve costs by 5-15% compared to deterministic approaches that apply fixed reserve margins. Distribution system operators can use prediction intervals to assess the probability of voltage limit violations and proactively deploy reactive power compensation <xref ref-type="bibr" rid="ref-53">[52]</xref>.</p>
</sec>
</sec>
<sec id="sec-11"><label>4</label><title>Demand-Side Management and Energy Efficiency</title>
<sec id="sec-12"><label>4.1</label><title>Residential and Commercial Energy Optimization</title>
<p>DSM encompasses the portfolio of strategies, programs, and technologies designed to modify consumer electricity consumption patterns to improve system efficiency, reduce peak demand, and lower costs. ML techniques have fundamentally enhanced DSM capabilities by enabling intelligent automation, personalized optimization, and adaptive control of end-use loads at unprecedented granularity <xref ref-type="bibr" rid="ref-54">[53]</xref>.</p>
<p>Smart Home Energy Management Systems (SHEMS) leverage ML to optimize the scheduling and control of flexible loads including HVAC systems, water heaters, dishwashers, washing machines, clothes dryers, and EV chargers while respecting consumer comfort constraints and exploiting time-varying electricity prices. DRL agents have demonstrated particular promise for SHEMS due to their ability to learn optimal control policies through trial-and-error interaction with the home environment without requiring explicit models of appliance dynamics or occupant behavior. Mocanu et al. <xref ref-type="bibr" rid="ref-55">[54]</xref> trained a Deep Q-Network agent to manage a simulated residential environment with five controllable loads under Real-Time Pricing (RTP), achieving electricity cost reductions of 18-25% compared to rule-based scheduling while maintaining thermal comfort within user-specified bounds. The DQN agent learned to pre-cool the home during off-peak price periods, defer flexible loads to overnight hours, and coordinate EV charging with anticipated solar generation. NILM, also known as energy disaggregation, uses ML algorithms to decompose aggregate whole-house power measurements from a single smart meter into the contributions of individual appliances, eliminating the need for dedicated sub-meters on each device. Accurate disaggregation enables granular consumption feedback to consumers, identification of energy-wasteful behaviors, detection of malfunctioning appliances, and targeted efficiency recommendations. Deep learning has dramatically advanced NILM performance, with sequence-to-point (seq2point) models using CNNs and sequence-to-sequence models using Bi-LSTMs achieving state-of-the-art disaggregation accuracy. Kelly and Knottenbelt <xref ref-type="bibr" rid="ref-56">[55]</xref> demonstrated that a denoising autoencoder trained on UK-DALE data could disaggregate five target appliances with F1-scores exceeding 0.85 for high-power devices (kettle, microwave, dishwasher) and 0.70 for lower-power, continuously variable loads (refrigerator, washing machine). More recently, attention-based architectures and transformer models have further improved disaggregation accuracy by learning which temporal contexts are most informative for identifying appliance activation signatures <xref ref-type="bibr" rid="ref-57">[56]</xref>.</p>
<p>User behavior modeling represents a critical yet often underexplored component of ML-driven DSM. Consumer energy consumption is fundamentally a socio-technical phenomenon shaped not only by physical building characteristics and weather conditions but also by occupant lifestyles, preferences, habits, and responsiveness to economic signals. Clustering techniques applied to smart meter data have revealed distinct consumer archetypes such as &quot;morning peakers&quot;, &quot;evening peakers&quot;, &quot;flat consumers&quot; and &quot;night owls&quot; that exhibit different load flexibility potentials and demand response propensities. Personalized energy recommendations generated by collaborative filtering algorithms, analogous to those used in e-commerce recommendation systems, have been shown to achieve 10-15% higher engagement rates compared to generic energy-saving tips by tailoring suggestions to individual consumption patterns and lifestyle characteristics <xref ref-type="bibr" rid="ref-58">[57]</xref>.</p>
</sec>
<sec id="sec-13"><label>4.2</label><title>Industrial Energy Optimization</title>
<p>The industrial sector accounts for approximately 37% of global final energy consumption, making it a high-impact target for ML-driven optimization. Industrial energy management presents unique challenges including complex multi-stage production processes, stringent product quality constraints, variable raw material properties, and the interdependence of thermal, electrical, and mechanical energy flows. ML techniques are increasingly applied across several industrial optimization domains <xref ref-type="bibr" rid="ref-59">[58]</xref>.</p>
<p>Predictive energy models in manufacturing leverage supervised learning algorithms to forecast the energy consumption of individual production machines, manufacturing cells, or entire production lines as a function of process parameters (feed rate, cutting speed, temperature setpoints), material properties, and production schedules. These predictive models enable energy-aware production planning, where manufacturing schedules are optimized to shift energy-intensive operations to periods of low electricity prices or high renewable generation availability while maintaining production throughput and quality targets. Gradient boosted tree models trained on historical production logs and energy meter data have demonstrated the ability to predict machine-level energy consumption with MAPE values of 3-7% for operations such as CNC machining, injection molding, and arc welding <xref ref-type="bibr" rid="ref-60">[59]</xref>.</p>
<p>Real-time anomaly detection in industrial energy systems identifies deviations from expected energy consumption patterns that may indicate equipment degradation, process inefficiencies, compressed air leaks, steam trap failures, or fouled heat exchangers. Autoencoder-based anomaly detection, wherein a neural network is trained to reconstruct normal operating patterns and flags observations with high reconstruction error as anomalous, has been particularly effective for unsupervised fault detection in industrial settings where labeled fault data is scarce. Isolation forests and one-class SVMs provide alternative unsupervised approaches suitable for deployment on resource-constrained industrial edge devices <xref ref-type="bibr" rid="ref-61">[60]</xref>.</p>
<p>The integration of on-site renewable generation with industrial production scheduling represents a multi-objective optimization challenge that ML is uniquely positioned to address. Industrial facilities with rooftop solar installations, on-site wind turbines, or co-generation plants must coordinate energy-intensive production activities with the availability of self-generated renewable electricity to minimize grid electricity purchases, reduce demand charges, and maximize the self-consumption ratio of renewable generation. Multi-objective RL agents have been demonstrated to simultaneously optimize production schedules, battery storage dispatch, and grid interaction to minimize total energy cost while meeting production deadlines and quality constraints <xref ref-type="bibr" rid="ref-62">[61]</xref>.</p>
</sec>
<sec id="sec-14"><label>4.3</label><title>Dynamic Pricing and Incentive Mechanisms</title>
<p>Dynamic electricity pricing mechanisms, including Time-of-Use (TOU) tariffs, Critical Peak Pricing (CPP), and RTP, provide economic signals intended to incentivize consumers to shift flexible loads from peak to off-peak periods, thereby reducing the need for expensive peaking generation and transmission capacity. ML plays a dual role in dynamic pricing ecosystems: predicting future electricity prices to inform consumer scheduling decisions, and optimizing the design of pricing structures to maximize demand response effectiveness <xref ref-type="bibr" rid="ref-63">[62]</xref>.</p>
<p>ML-based electricity price forecasting has become essential for consumers, aggregators, and retailers participating in deregulated electricity markets. Electricity spot prices exhibit complex dynamics including high volatility, heavy-tailed distributions, seasonality, mean reversion, and occasional extreme price spikes driven by supply shortages, transmission congestion, or strategic bidding behavior. Deep learning models, particularly LSTM networks and attention-based Transformers, have demonstrated superior performance in capturing these complex dynamics compared to traditional econometric models. Lago et al. <xref ref-type="bibr" rid="ref-64">[63]</xref> conducted a comprehensive benchmark of 27 forecasting methods across five European electricity markets, finding that deep neural networks achieved the lowest MAE in four of five markets, with ensemble methods combining deep learning and econometric models providing the best overall performance.</p>
<p>Game-theoretic approaches model the strategic interaction between utility providers and rational consumers in demand response programs. Stackelberg game formulations, wherein the utility acts as a leader setting prices and consumers act as followers optimizing their consumption in response, have been combined with ML-based demand models to derive pricing policies that maximize social welfare or utility profit while ensuring consumer participation constraints are satisfied. Multi-agent RL (MARL) frameworks extend this approach to settings with multiple heterogeneous consumers, enabling the discovery of equilibrium strategies that balance individual rationality with system-level objectives <xref ref-type="bibr" rid="ref-65">[64]</xref>.</p>
</sec>
</sec>
<sec id="sec-15"><label>5</label><title>Renewable Energy Integration and Grid Stability</title>
<sec id="sec-16"><label>5.1</label><title>Solar and Wind Power Forecasting</title>
<p>The accurate forecasting of solar and wind power generation is a prerequisite for the reliable and economic integration of VRES into the power grid. Forecast errors directly translate to imbalance costs, increased reserve requirements, curtailment of renewable generation, and potential reliability risks. The challenge of VRES forecasting stems from the stochastic nature of meteorological processes, the spatial variability of weather conditions across distributed renewable installations, and the nonlinear mapping between weather variables and power output <xref ref-type="bibr" rid="ref-66">[65]</xref>.</p>
<p>Solar power forecasting methods can be categorized by forecast horizon. For very short-term horizons (seconds to minutes), sky camera-based cloud tracking combined with CNN-based image classification provides nowcasting capabilities that support real-time grid balancing and inverter control. For intra-day horizons (one to six hours), satellite-derived cloud motion vectors and statistical time-series models are commonly employed. For day-ahead and longer horizons, NWP models provide the primary information source, with ML post-processing techniques correcting systematic biases and improving spatial and temporal resolution <xref ref-type="bibr" rid="ref-68">[66]</xref>.</p>
<p>PINNs have emerged as a promising approach for renewable forecasting by embedding known physical relationships into the ML model structure. For solar forecasting, PINNs can incorporate the clear-sky irradiance model (which describes the theoretical maximum irradiance as a function of solar position, atmospheric constituents, and elevation) as a baseline, with the neural network learning the deviation caused by cloud cover, aerosols, and other atmospheric perturbations. This physics-informed approach improves generalization to unseen weather conditions and reduces the training data requirements by leveraging domain knowledge to constrain the hypothesis space <xref ref-type="bibr" rid="ref-69">[67]</xref>.</p>
<p>Hybrid models combining NWP outputs with deep learning post-processing have achieved state-of-the-art performance for day-ahead wind power forecasting. A typical pipeline ingests ensemble NWP forecasts of wind speed, wind direction, temperature, and pressure at multiple atmospheric levels, applies spatial interpolation to the turbine locations, and trains a deep neural network to map the NWP features to turbine-level power output while correcting for terrain effects, wake interactions, and NWP biases. Wang et al. <xref ref-type="bibr" rid="ref-70">[68]</xref> demonstrated that a CNN-LSTM model post-processing ECMWF ensemble forecasts achieved a normalized RMSE of 8.3% for day-ahead wind farm power prediction, representing a 31% improvement over the raw NWP persistence ensemble baseline.</p>
<p>Spatial-temporal correlation modeling across geographically distributed renewable assets provides additional forecasting value by exploiting the propagation patterns of weather systems. Graph neural networks (GNNs), which operate on graph-structured data where nodes represent individual solar or wind installations and edges encode spatial relationships, have demonstrated particular promise for this application. The message-passing mechanism of GNNs enables each node to aggregate information from neighboring nodes, capturing the spatial correlation of generation patterns that arise from shared weather conditions and sequential cloud shadow or wind front propagation <xref ref-type="bibr" rid="ref-71">[69]</xref>.</p>
</sec>
<sec id="sec-17"><label>5.2</label><title>Energy Storage Management</title>
<p>ESS, particularly lithium-ion batteries, are critical enabling technologies for smart grids, providing services including peak shaving, frequency regulation, renewable generation smoothing, and backup power. ML plays increasingly important roles in both the operational optimization and health management of energy storage assets <xref ref-type="bibr" rid="ref-72">[70]</xref>.</p>
<p>Battery degradation modeling using ML addresses the need to predict the Remaining Useful Life (RUL) and capacity fade trajectory of battery systems, which is essential for warranty management, replacement planning, and economic viability assessment. Battery degradation is a complex electrochemical process influenced by cycling depth, C-rate, temperature, State of Charge (SOC) range, and calendar aging, making physics-based degradation models computationally expensive and often insufficiently accurate for real-world operating conditions. ML-based approaches, trained on accelerated aging test data, can learn empirical degradation models that capture the nonlinear interactions among stress factors. Severson et al. <xref ref-type="bibr" rid="ref-73">[71]</xref> demonstrated that an ML model using features extracted from the first 100 charge-discharge cycles could predict battery cycle life with 9.1% mean percentage error, enabling early identification of cells destined for premature failure.</p>
<p>Optimal charge/discharge scheduling of BESS is naturally formulated as a sequential decision-making problem amenable to DRL. The DRL agent observes the current state (SOC, electricity price, net load forecast, time of day, battery health indicators), selects charge/discharge power setpoints, and receives rewards based on energy cost savings, revenue from ancillary service provision, and penalties for battery degradation. Cao et al. <xref ref-type="bibr" rid="ref-74">[72]</xref> trained a PPO agent for battery arbitrage in a real-time electricity market and demonstrated annualized revenue increases of 12-18% compared to rule-based and mixed-integer programming approaches, with the additional advantage of implicit degradation-aware operation without requiring an explicit battery aging model.</p>
<p>Vehicle-to-Grid (V2G) coordination and EV fleet management represent emerging applications where ML techniques are essential for managing the complexity arising from heterogeneous vehicle batteries, stochastic arrival and departure patterns, diverse consumer preferences, and the dual objective of satisfying mobility needs while providing grid services. MARL frameworks, where each EV is represented by an autonomous agent that learns cooperative charging/discharging strategies, have shown promise for scalable V2G coordination. Hydrogen storage optimization, though less mature, leverages similar ML-based scheduling approaches for electrolyzer and fuel cell dispatch in power-to-gas-to-power configurations <xref ref-type="bibr" rid="ref-75">[73]</xref>.</p>
</sec>
<sec id="sec-18"><label>5.3</label><title>Grid Stability and Frequency Regulation</title>
<p>The displacement of synchronous generators by inverter-based renewable resources fundamentally alters the dynamic characteristics of power systems, reducing rotational inertia and weakening the inherent frequency response that has historically maintained system stability. ML techniques are being developed to address the emerging challenges of grid stability assessment and frequency regulation in low-inertia power systems <xref ref-type="bibr" rid="ref-76">[74]</xref>. ML-based voltage stability assessment replaces computationally intensive power flow calculations and continuation power flow analyses with trained surrogate models that can rapidly evaluate stability margins from real-time measurements. Deep neural networks trained on thousands of simulated operating conditions can classify system states as stable or unstable, estimate voltage stability margins, and identify critical contingencies in milliseconds rather than the minutes required by conventional numerical methods. This speed advantage is essential for real-time situational awareness in control centers <xref ref-type="bibr" rid="ref-77">[75]</xref>.</p>
<p>Inertia estimation and frequency response prediction using ML address the challenge of quantifying system inertia in real-time, which is essential for determining frequency containment reserve requirements and activating emergency load shedding schemes. Data-driven approaches utilizing PMU measurements of frequency, Rate of Change of Frequency (RoCoF), and power imbalance during disturbance events can train regression models that estimate the effective system inertia with accuracy sufficient for operational decision-making <xref ref-type="bibr" rid="ref-78">[76]</xref>.</p>
<p>Wide-area monitoring and control using PMU data and ML analytics enables the detection of inter-area oscillations, voltage instability, and impending cascading failures in real-time. CNNs applied to PMU data matrices (where rows represent PMU channels and columns represent time steps) have demonstrated the ability to detect and classify inter-area oscillation modes with accuracy exceeding 95%, enabling early warning of potential instability. Islanding detection, the identification of distribution network sections that have become electrically isolated from the main grid, is critical for safety and is addressed using classification algorithms (SVM, random forest, neural networks) trained on features extracted from voltage, frequency, and harmonic measurements at the point of common coupling <xref ref-type="bibr" rid="ref-80">[77]</xref>.</p>
</sec>
</sec>
<sec id="sec-19"><label>6</label><title>Reinforcement Learning for Real-Time Grid Control</title>
<sec id="sec-20"><label>6.1</label><title>Reinforcement Learning Formulation for Smart Grid Problems</title>
<p>The application of RL to smart grid control requires careful formulation of the problem as a Markov Decision Process (MDP) or its generalizations. The state space, action space, reward function, and transition dynamics must be designed to faithfully represent the physical system while remaining computationally tractable for RL algorithms <xref ref-type="bibr" rid="ref-81">[78]</xref>.</p>
<p>State space design for smart grid RL problems typically includes the current time step, historical load and generation measurements, weather forecasts, electricity price signals, equipment status indicators, and relevant physical quantities such as bus voltages, line flows, generator outputs, and battery SOC levels. The high dimensionality of realistic grid state representations potentially encompassing thousands of buses, generators, and loads necessitates state compression techniques including principal component analysis, autoencoders, and state aggregation heuristics. Partial observability, arising from limited sensor deployment, communication delays, and measurement noise, motivates the use of RNNs (LSTM or GRU) within the RL policy to maintain internal state representations that integrate information over time <xref ref-type="bibr" rid="ref-82">[79]</xref>.</p>
<p>Action space design presents distinct challenges depending on whether the control problem involves discrete decisions (e.g., switching, breaker operations, tap changer positions) or continuous setpoints (e.g., generator power output, voltage reference, battery charge/discharge rate). Hybrid action spaces combining discrete and continuous components are common in realistic grid control problems. Parameterized action space methods and branching DQN architectures have been proposed to handle such hybrid settings efficiently <xref ref-type="bibr" rid="ref-83">[80]</xref>. Reward function design is arguably the most critical and domain-specific aspect of RL formulation for smart grids. The reward must balance multiple, potentially conflicting objectives including economic cost minimization, voltage regulation quality, frequency stability, equipment life preservation, environmental impact reduction, and consumer satisfaction. Poorly designed reward functions can lead to unintended and potentially dangerous behaviors, such as an agent that minimizes cost by consistently operating equipment at thermal limits. Multi-objective reward formulations using weighted sums, lexicographic ordering, or Pareto-based approaches have been explored, though the selection of appropriate objective weights often requires domain expertise and iterative refinement <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>Model-based RL approaches learn an explicit model of the environment&apos;s transition dynamics and use this model for planning, potentially achieving much greater sample efficiency than model-free methods. For smart grid applications, the environment model can be initialized with known physical models (power flow equations, generator dynamics, battery electrochemistry) and refined with observational data, creating a hybrid physics-ML simulator that enables rapid, low-cost exploration of control strategies before deployment on the physical grid. World models and Dreamer-style architectures, which learn latent state representations and transition dynamics jointly, have shown promising results for complex energy system control tasks <xref ref-type="bibr" rid="ref-84">[81]</xref>.</p>
</sec>
<sec id="sec-21"><label>6.2</label><title>Multi-Agent Reinforcement Learning</title>
<p>The inherently distributed nature of modern smart grids comprising thousands of autonomous prosumers, distributed generators, storage devices, and controllable loads motivates the application of MARL for decentralized coordination. In MARL frameworks, each DER is represented by an autonomous agent that observes local information, takes local actions, and learns a policy that contributes to system-level objectives through cooperation or competition with other agents <xref ref-type="bibr" rid="ref-85">[82]</xref>.</p>
<p>Cooperative MARL frameworks address problems where all agents share a common objective, such as minimizing total system cost, maximizing renewable self-consumption, or maintaining network voltage within acceptable bounds. Centralized Training with Decentralized Execution (CTDE) architectures, such as QMIX and MAPPO, enable agents to learn coordinated policies during training while executing independently based on local observations during deployment, avoiding the prohibitive communication requirements of fully centralized control. QMIX factorizes the joint action-value function into individual agent value functions subject to a monotonicity constraint, enabling tractable optimization while preserving coordination capabilities <xref ref-type="bibr" rid="ref-86">[83]</xref>.</p>
<p>Peer-to-Peer (P2P) energy trading represents a competitive MARL application where prosumers consumers with distributed generation and storage negotiate bilateral energy trades to exploit local supply-demand complementarities, reducing reliance on grid imports and associated network charges. Each prosumer agent learns a bidding strategy that maximizes individual profit while accounting for the strategic behavior of trading partners. Mean-field game approximations, which replace the interactions with individual agents by interactions with the aggregate population behavior, have been employed to scale P2P trading algorithms to thousands of participants <xref ref-type="bibr" rid="ref-87">[84]</xref>.</p>
<p>Scalability remains the primary challenge for MARL in smart grid applications. As the number of agents increases, the joint action space grows exponentially, the learning landscape becomes non-stationary (since each agent&apos;s environment is influenced by the evolving policies of other agents), and communication overhead between agents and a central coordinator can become prohibitive. Hierarchical MARL architectures, where agents are organized into groups managed by higher-level coordinators, and attention-based communication mechanisms that enable selective information sharing, have been proposed to address these scalability challenges <xref ref-type="bibr" rid="ref-88">[85]</xref>.</p>
</sec>
<sec id="sec-22"><label>6.3</label><title>Safe and Constrained Reinforcement Learning</title>
<p>The deployment of RL agents for controlling critical energy infrastructure demands rigorous safety guarantees that standard RL algorithms, designed to maximize cumulative reward without explicit constraint enforcement, cannot provide. An RL agent controlling generator dispatch or voltage regulators must never violate physical constraints (thermal line limits, voltage magnitude bounds, generator ramp rate limits) or operational constraints (minimum up/down times, reserve requirements) even during the exploration phase of learning, as violations can damage equipment, endanger personnel, or trigger cascading blackouts <xref ref-type="bibr" rid="ref-89">[86]</xref>. Constrained Markov Decision Processes (CMDPs) extend the standard MDP framework by introducing auxiliary cost functions and associated budget constraints that the agent must satisfy in expectation over the learning trajectory. Lagrangian relaxation methods convert the constrained optimization problem into an unconstrained one by introducing dual variables (Lagrange multipliers) that penalize constraint violations, and alternately updating the policy and the dual variables using primal-dual optimization. The Constrained Policy Optimization (CPO) algorithm provides approximate constraint satisfaction guarantees at each policy update step by solving a trust-region optimization problem with linearized constraints <xref ref-type="bibr" rid="ref-90">[87]</xref>.</p>
<p>Sim-to-real transfer addresses the fundamental challenge that RL agents trained in simulation may perform poorly when deployed on physical power systems due to discrepancies between the simulated and real environments (the &quot;reality gap&quot;). Domain randomization, where simulation parameters (line impedances, load models, generator characteristics) are randomly varied during training to produce a robust policy that generalizes across a distribution of possible environments, has shown effectiveness for grid control tasks. System identification techniques that progressively calibrate the simulation environment to match real-world observations, combined with fine-tuning of pre-trained policies on limited real-world data, provide a practical pathway for safe RL deployment in grid applications <xref ref-type="bibr" rid="ref-91">[88]</xref>.</p>
<p>Safety layers and action projection methods provide an additional safeguard by projecting the RL agent&apos;s proposed actions onto the feasible set defined by physical and operational constraints before execution. A trained neural network-based safety filter can verify in real-time whether a proposed action is feasible and, if not, find the nearest feasible action using quadratic programming or barrier function methods. This approach decouples the learning of optimal behavior (handled by the RL algorithm) from the enforcement of safety constraints (handled by the projection layer), simplifying both components <xref ref-type="bibr" rid="ref-92">[89]</xref>.</p>
</sec>
</sec>
<sec id="sec-23"><label>7</label><title>Privacy, Security, and Federated Learning</title>
<sec id="sec-24"><label>7.1</label><title>Privacy Concerns in Smart Grid Machine Learning</title>
<p>The deployment of ML techniques in smart grids, while offering substantial operational benefits, raises significant privacy concerns arising from the granularity and sensitivity of the data required to train effective models. High-resolution smart meter data, typically collected at 15-minute or finer intervals, can reveal detailed information about household activities, occupancy patterns, sleep schedules, appliance ownership, and lifestyle habits. Research has demonstrated that NILM algorithms can infer when specific appliances are operated, potentially revealing sensitive activities such as medical device usage, home occupancy during vacation periods, or irregular sleep patterns indicative of health conditions <xref ref-type="bibr" rid="ref-93">[90]</xref>.</p>
<p>Regulatory frameworks, most notably the European Union&apos;s General Data Protection Regulation (GDPR), impose strict requirements on the collection, processing, storage, and sharing of personal data, including energy consumption data that can be linked to identifiable individuals. Under GDPR, smart meter data constitutes personal data, and its use for ML model training requires a lawful basis such as explicit consent, legitimate interest, or contractual necessity. The right to data minimization requires that only the minimum amount of data necessary for the specified purpose be collected and processed, potentially conflicting with the data-hungry nature of deep learning models. The right to explanation requires that automated decisions affecting individuals be explainable, posing challenges for opaque deep learning models used in dynamic pricing or credit assessment based on energy consumption patterns <xref ref-type="bibr" rid="ref-94">[91]</xref>.</p>
<p>Differential Privacy (DP) provides a mathematically rigorous framework for quantifying and bounding the privacy loss associated with data analysis. A randomized algorithm satisfies ε-DP if the output distribution changes by at most a multiplicative factor of e^ε when any single individual&apos;s data is added or removed from the input dataset. In the smart grid context, differentially private mechanisms add calibrated noise to aggregated consumption statistics, model gradients, or query responses to prevent the inference of individual consumption patterns. The fundamental tension between privacy and utility stronger privacy guarantees require larger noise additions that degrade model accuracy is characterized by the privacy budget ε, with typical practical deployments using ε values between 1 and 10. Eibl and Engel <xref ref-type="bibr" rid="ref-95">[92]</xref> demonstrated that differentially private load profiles with ε = 1 could support aggregate demand forecasting with less than 3% MAPE degradation while providing strong individual privacy guarantees.</p>
</sec>
<sec id="sec-25"><label>7.2</label><title>Federated Learning for Distributed Smart Grids</title>
<p>FL has emerged as the most promising paradigm for privacy-preserving collaborative ML in smart grid systems, enabling multiple parties utilities, consumers, or grid operators to jointly train shared ML models without exchanging raw data. In the canonical FL framework (FedAvg), each participant trains a local model on its private data, shares only the model parameter updates (gradients) with a central aggregation server, which computes a weighted average of the updates and distributes the updated global model back to participants. This process iterates until convergence, with raw data never leaving the originating device or organization <xref ref-type="bibr" rid="ref-96">[93]</xref>.</p>
<p>Horizontal FL, where participants share the same feature space but hold different data samples, is the most natural configuration for smart grid applications. A typical deployment involves hundreds or thousands of smart meters, each holding years of consumption data for a single household, collaboratively training a shared load forecasting model without revealing individual consumption patterns to the utility or other consumers. Taik and Cherkaoui <xref ref-type="bibr" rid="ref-97">[94]</xref> demonstrated that a federated LSTM model for residential load forecasting achieved accuracy within 2-5% of a centrally trained model (with all data pooled) while providing strong privacy guarantees, representing a favorable privacy-utility tradeoff.</p>
<p>Vertical FL, where participants hold different features for the same set of entities, is applicable when multiple organizations contribute complementary data sources for joint modeling. For example, a utility holding consumption data and a weather service holding meteorological data could collaboratively train a forecasting model without either party revealing its proprietary data to the other. Secure computation protocols, including homomorphic encryption and secure multi-party computation, protect the confidentiality of intermediate computations during the vertical FL training process <xref ref-type="bibr" rid="ref-98">[95]</xref>.</p>
<p>Several technical challenges complicate the deployment of FL in smart grid environments. Statistical heterogeneity (non-IID data), arising from the diverse consumption patterns of different households, geographical regions, and building types, degrades the performance of standard FedAvg aggregation. Personalization techniques, including local fine-tuning, meta-learning (per-FedAvg), and mixture-of-experts approaches, have been proposed to adapt the global model to the local data distribution of each participant while retaining the benefits of collaborative training. Communication efficiency is critical given the bandwidth-constrained communication channels in smart grid networks; gradient compression techniques (sparsification, quantization, and sketching) reduce the communication payload by orders of magnitude with minimal accuracy loss. Byzantine fault tolerance mechanisms protect against malicious participants who submit poisoned model updates aimed at degrading global model performance or embedding backdoors <xref ref-type="bibr" rid="ref-99">[96]</xref>.</p>
</sec>
<sec id="sec-26"><label>7.3</label><title>Cybersecurity and Adversarial Robustness</title>
<p>The increasing reliance of smart grid operations on ML-based decision-making introduces novel cybersecurity vulnerabilities that extend beyond traditional IT security concerns. Adversarial ML, which studies the susceptibility of ML models to carefully crafted malicious inputs, has revealed that deep learning models used for load forecasting, state estimation, and fault detection can be manipulated by adversaries with knowledge of the model architecture or training data <xref ref-type="bibr" rid="ref-100">[97]</xref>.</p>
<p>False Data Injection Attacks (FDIAs) on ML-based state estimation represent a critical threat, where an adversary compromises a subset of sensor measurements and injects carefully constructed false readings that bypass conventional bad data detection mechanisms while causing the state estimator to produce erroneous results. ML-based state estimators, while more accurate than traditional weighted least squares methods under normal conditions, can be more susceptible to adversarial perturbations due to their sensitivity to input distribution shifts. Defense strategies include adversarial training (augmenting the training dataset with adversarial examples), robust optimization formulations that minimize worst-case loss over perturbation sets, and ensemble methods that combine multiple diverse estimators to increase the difficulty of simultaneous evasion <xref ref-type="bibr" rid="ref-101">[98]</xref>.</p>
<p>Adversarial examples targeting load forecasting models can cause systematic prediction biases that lead to suboptimal dispatch decisions, increased operating costs, or reliability violations. Chen et al. <xref ref-type="bibr" rid="ref-102">[99]</xref> demonstrated that imperceptible perturbations to weather input features could shift day-ahead load forecasts by up to 15% without triggering anomaly detection alarms, potentially causing millions of dollars in economic losses through inefficient generation scheduling. Certified robustness methods, including randomized smoothing and interval bound propagation, provide provable guarantees on the maximum prediction change under bounded input perturbations, though computational costs and conservatism remain practical limitations.</p>
<p>Anomaly-based Intrusion Detection Systems (IDS) using deep learning offer a complementary defense by monitoring network traffic, sensor data streams, and system logs for patterns indicative of cyberattacks. Autoencoders and VAEs trained on normal grid operating data can detect anomalous patterns with high sensitivity, while recurrent models (LSTM, GRU) capture the temporal structure of attack sequences. The challenge of extremely low false positive rates required for operational deployment grid operators cannot investigate more than a handful of alerts per day necessitates sophisticated threshold selection and alert prioritization mechanisms <xref ref-type="bibr" rid="ref-103">[100]</xref>.</p>
</sec>
</sec>
<sec id="sec-27"><label>8</label><title>Emerging Trends and Future Directions</title>
<sec id="sec-28"><label>8.1</label><title>Edge Artificial Intelligence and On-Device Intelligence</title>
<p>The deployment of ML models on edge devices smart meters, IoT sensors, protection relays, and distribution automation controllers promises to transform smart grid operations by enabling real-time, low-latency inference without dependence on cloud connectivity. Edge AI is particularly compelling for applications requiring sub-second response times (protection, frequency regulation), operating in bandwidth-constrained environments (remote substations, rural feeders), or processing privacy-sensitive data that should not leave the device <xref ref-type="bibr" rid="ref-104">[101]</xref>.</p>
<p>Model compression techniques reduce the computational and memory requirements of deep learning models to levels compatible with resource-constrained edge hardware. Structured pruning removes entire filters, channels, or attention heads from neural networks based on importance criteria (magnitude, gradient, or sensitivity), achieving 50-90% parameter reduction with less than 2% accuracy degradation for many forecasting tasks. Quantization reduces the numerical precision of weights and activations from 32-bit floating point to 8-bit integers or lower, reducing model size by 4× and accelerating inference on hardware with integer arithmetic support. Knowledge distillation trains a compact &quot;student&quot; model to mimic the output distribution of a larger &quot;teacher&quot; model, transferring the teacher&apos;s learned knowledge into a deployable model architecture. Combined application of these techniques has demonstrated the feasibility of deploying LSTM-based load forecasting models on microcontrollers with less than 256 KB of RAM <xref ref-type="bibr" rid="ref-105">[102]</xref>.</p>
</sec>
<sec id="sec-29"><label>8.2</label><title>Large Language Models and Foundation Models</title>
<p>The emergence of LLMs and foundation models represents a paradigm shift in artificial intelligence that is beginning to influence energy systems research. While LLMs are primarily designed for natural language processing, their potential applications in smart grid optimization extend across several dimensions that leverage their general reasoning capabilities and vast encoded knowledge <xref ref-type="bibr" rid="ref-106">[103]</xref>.</p>
<p>LLM-assisted energy system design and optimization utilizes the natural language understanding and code generation capabilities of models such as GPT-4, Claude, and open-source alternatives to accelerate the development of energy system models, optimization formulations, and control algorithms. Energy engineers can describe optimization problems in natural language and receive mathematical formulations, Python code implementations, and solution recommendations, significantly reducing development time and democratizing access to advanced optimization techniques. Fine-tuned LLMs can also serve as intelligent assistants for grid operators, translating alarm sequences and system status information into natural language situation reports and recommended response actions <xref ref-type="bibr" rid="ref-107">[104]</xref>.</p>
<p>Foundation models for time-series data, pre-trained on massive corpora of time-series data from diverse domains, are emerging as a new paradigm for energy forecasting. TimesFM, Chronos, and Lag-Llama represent early examples of time-series foundation models that demonstrate zero-shot and few-shot forecasting capabilities competitive with task-specific models trained from scratch. For smart grid applications, these foundation models offer the potential to provide accurate forecasts for new deployments, uncommon load profiles, and data-scarce scenarios without requiring extensive labeled training data. The adaptation of these models to the specific characteristics of energy data, including strong periodicity, calendar effects, and physical constraints through domain-specific fine-tuning and prompt engineering remains an active research area <xref ref-type="bibr" rid="ref-108">[105]</xref>.</p>
</sec>
<sec id="sec-30"><label>8.3</label><title>Digital Twins and Simulation-Based Optimization</title>
<p>Digital Twins (DT), high-fidelity virtual replicas of physical power systems that are continuously synchronized with real-time operational data, provide a powerful platform for ML model development, validation, and deployment. A digital twin of a distribution network, for example, integrates the network topology, equipment parameters, load models, DER models, and weather data to create a virtual environment that faithfully reproduces the electrical behavior of the physical system under various operating conditions and contingencies <xref ref-type="bibr" rid="ref-109">[106]</xref>.</p>
<p>Physics-informed DT combines first-principles physical models (power flow equations, electromagnetic transient models, thermal models) with data-driven components (ML-based load models, renewable generation forecasters, equipment degradation estimators) to achieve higher fidelity than either approach alone. The digital twin enables ML researchers to generate unlimited synthetic training data under controlled conditions, including rare events (faults, extreme weather, cascading failures) that are insufficiently represented in historical operational data. This synthetic data generation capability is particularly valuable for training RL agents, where exploration of dangerous states in the physical system is unacceptable <xref ref-type="bibr" rid="ref-110">[107]</xref>. Generative Adversarial Networks (GANs) offer an alternative approach to synthetic data generation for smart grid ML, learning to generate realistic consumption profiles, renewable generation traces, and fault signatures from training data. Conditional GANs can generate synthetic data conditioned on specified attributes (season, building type, occupancy level), enabling targeted augmentation of underrepresented scenarios in the training dataset. The quality of GAN-generated synthetic energy data has been shown to be sufficient for training downstream forecasting and classification models with less than 5% accuracy degradation compared to models trained on real data, while providing DP guarantees by avoiding the direct use of sensitive real consumption data <xref ref-type="bibr" rid="ref-111">[108]</xref>.</p>
</sec>
<sec id="sec-31"><label>8.4</label><title>Explainable Artificial Intelligence for Energy Systems</title>
<p>The adoption of ML models for safety-critical smart grid applications including protection system settings, emergency load shedding, and investment planning requires that model predictions be interpretable, auditable, and trustworthy. The &quot;black box&quot; nature of deep learning models, which make predictions through millions of parameters without providing human-understandable explanations, represents a significant barrier to acceptance by grid operators, regulators, and consumers <xref ref-type="bibr" rid="ref-112">[109]</xref>.</p>
<p>Post-hoc explainability methods generate explanations for the predictions of pre-trained models without modifying the model architecture. Shapley Additive Explanations (SHAP) values, grounded in cooperative game theory, attribute the prediction of each instance to the contribution of each input feature, satisfying desirable properties including local accuracy, missingness, and consistency. Applied to load forecasting models, SHAP analysis can reveal that temperature is the dominant driver during summer peaks, while day-of-week and time-of-day features dominate during mild weather periods, providing actionable insights for grid operators. Local Interpretable Model-agnostic Explanations (LIME) constructs locally faithful linear approximations around individual predictions, generating sparse, human-readable explanations that highlight the most influential features for each specific forecast <xref ref-type="bibr" rid="ref-113">[110]</xref>.</p>
<p>Attention-based interpretability, inherent in Transformer architectures, provides built-in explanations through the attention weight matrices, which reveal which input time steps and features the model focuses on when generating predictions. The TFT explicitly separates static and time-varying feature importance, producing interpretable attention patterns that can be directly communicated to grid operators. However, recent research has questioned whether attention weights truly reflect model reasoning or merely correlate with feature importance, motivating the development of more rigorous attention-based explanation methods <xref ref-type="bibr" rid="ref-114">[111]</xref>.</p>
<p>Regulatory requirements for explainable automated decisions are becoming increasingly stringent. The EU AI Act classifies AI systems used in critical infrastructure management, including energy systems, as &quot;high-risk&quot; requiring risk assessments, human oversight, transparency documentation, and the ability to explain individual decisions to affected parties. Compliance with these regulatory requirements necessitates not only technical explainability but also organizational processes for model governance, documentation, monitoring, and periodic re-evaluation <xref ref-type="bibr" rid="ref-115">[112]</xref>.</p>
</sec>
<sec id="sec-32"><label>8.5</label><title>Open Challenges and Research Gaps</title>
<p>Despite the substantial progress reviewed in preceding sections, several critical challenges must be addressed to enable the widespread deployment of ML-driven optimization in production smart grid environments. Data standardization and interoperability remain fragmented across the global energy industry. Different utilities, equipment manufacturers, and grid operators employ incompatible data formats, naming conventions, measurement resolutions, and communication protocols, hindering the development of transferable ML models and benchmark comparisons across studies. Industry-wide adoption of standards such as the Common Information Model (CIM), IEC 61850, and OpenADR would facilitate data sharing, model portability, and reproducible research <xref ref-type="bibr" rid="ref-116">[113]</xref>.</p>
<p>Scalability of ML solutions from controlled pilot projects to full grid-scale deployment presents engineering challenges that are frequently underappreciated in academic research. Models demonstrating excellent performance on benchmark datasets with thousands of data points may encounter difficulties with the terabytes of streaming data generated by millions of smart meters. Real-time inference latency constraints, model retraining frequencies, data pipeline reliability, and graceful degradation under data quality issues require production engineering practices that extend beyond algorithm development <xref ref-type="bibr" rid="ref-117">[114]</xref>.</p>
<p>Multi-objective optimization that simultaneously balances economic cost, carbon emissions, reliability, equity, and resilience represents a fundamentally harder problem than single-objective optimization and remains insufficiently addressed by current ML approaches. The tradeoffs between these objectives are often non-convex, non-stationary, and politically contested, requiring transparent articulation of preference structures and participatory decision-making processes that involve diverse stakeholders <xref ref-type="bibr" rid="ref-118">[115]</xref>.</p>
<p>Cross-domain transfer learning between different grid topologies, voltage levels, climate regions, and regulatory environments offers the potential to dramatically accelerate ML deployment but is limited by the current understanding of domain similarity measures and transfer conditions for energy systems. Negative transfer, where knowledge from the source domain degrades performance on the target domain, remains poorly characterized and difficult to predict a priori <xref ref-type="bibr" rid="ref-119">[116]</xref>.</p>
<table-wrap id="tab2"><label>Table 2</label><caption><p>Summary of key research gaps and proposed future directions.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:20:66,722.1,537.1,756.3"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Data scarcity Insufficient labeled data Synthetic data via GANs; transfer Faster deployment in new for rare events learning; foundation models environments Model Black-box models hinder SHAP, attention mechanisms, Regulatory approval, interpretability trust and regulatory inherently interpretable models operator adoption compliance Scalability Pilot-to-production gap Edge AI, model compression, Real-time grid-scale streaming ML pipelines deployment Privacy Smart meter data reveals FL, DP, secure aggregation GDPR compliance, sensitive information consumer trust Safety RL agents may violate Constrained RL, safety layers, sim- Safe autonomous grid physical constraints to-real transfer control Adversarial ML models vulnerable to Adversarial training, certified Resilient critical robustness adversarial attacks robustness, ensemble defenses infrastructure Multi-objective Single-objective Pareto-based RL, multi-objective Balanced cost-emission-optimization formulations dominate Bayesian optimization reliability tradeoffs Standardization Incompatible data formats CIM adoption, open benchmarks, Transferable models, across utilities federated data spaces reproducible research</p>
</sec>
</sec>
<sec id="sec-33"><label>9</label><title>Conclusion</title>
<p>This comprehensive review has systematically examined the rapidly evolving landscape of ML-driven optimization for energy consumption in smart grids, synthesizing over 100 studies published between 2018 and 2025 across the domains of load forecasting, DSM, renewable energy integration, grid stability, real-time control, privacy preservation, and emerging methodological frontiers.</p>
<p>The evidence reviewed demonstrates that ML techniques have achieved transformative performance improvements across virtually every aspect of smart grid optimization. In load forecasting, deep learning architectures, particularly LSTM networks, CNN-LSTM hybrids, and TFT, have reduced prediction errors by 20-40% compared to traditional statistical methods, with attention-based models providing the additional benefit of interpretable feature importance attribution. For DSM, DRL agents have demonstrated 15-25% electricity cost reductions in residential settings while maintaining consumer comfort, and NILM algorithms powered by deep learning enable granular appliance-level energy feedback without intrusive sub-metering. Renewable energy forecasting has been substantially improved through hybrid approaches combining NWP with deep learning post-processing, achieving day-ahead wind and solar power prediction accuracies that enable higher renewable penetration levels without compromising grid reliability.</p>
<p>RL has emerged as the most promising paradigm for real-time adaptive grid control, with multi-agent frameworks enabling scalable coordination of DERs and P2P energy trading. However, the deployment of RL agents in safety-critical grid infrastructure requires constrained RL formulations, safety layers, and rigorous sim-to-real transfer methodologies that remain active research areas. FL has established itself as the leading framework for privacy-preserving collaborative model training, enabling utilities and consumers to benefit from shared intelligence without compromising data confidentiality, though challenges related to non-IID data distributions and communication efficiency persist.</p>
<p>Several critical barriers must be overcome before ML-driven optimization can achieve widespread adoption in production smart grid environments. Data quality, standardization, and interoperability remain fragmented, hindering model transferability and reproducible benchmarking. Model interpretability and explainability are essential for operator trust, regulatory compliance under emerging legislation such as the EU AI Act, and safe human-in-the-loop decision-making. Scalability from controlled academic experiments to grid-scale deployment with millions of endpoints requires production engineering capabilities that extend beyond algorithmic innovation. Cybersecurity and adversarial robustness must be integrated into ML model design from the outset, given the critical nature of energy infrastructure.</p>
<p>Looking forward, several emerging trends hold transformative potential. Edge AI and TinyML will enable real-time, on-device intelligence across the smart grid&apos;s sensor network, reducing latency and communication burden. Foundation models for time-series data promise zero-shot and few-shot forecasting capabilities that could dramatically accelerate deployment in data-scarce environments. DT will provide high-fidelity simulation environments for safe RL training and ML model validation. Explainable AI methods will bridge the trust gap between ML capabilities and operational acceptance.</p>
<p>The realization of ML-driven smart grid optimization at scale will require sustained interdisciplinary collaboration among ML researchers, power systems engineers, cybersecurity experts, regulatory authorities, and policymakers. The technical capabilities reviewed in this paper are maturing rapidly, but their translation into operational impact depends equally on organizational readiness, regulatory frameworks, workforce development, and public acceptance. The convergence of these technical and socio-institutional factors will determine the pace at which ML transforms the global energy system toward a more efficient, reliable, sustainable, and equitable future.</p>
</sec>
<sec id="sec-34"><title>Authors&apos; Contributions</title>
<p>All aspects of the research and manuscript preparation were carried out by the author. The author has read and approved the final version of the manuscript.</p>
</sec>
<sec id="sec-35"><title>Funding</title>
<p>Not applicable.</p>
</sec>
<sec id="sec-36"><title>Data Availability</title>
<p>All data supporting the reported findings in this research paper are provided within the manuscript.</p>
</sec>
<sec id="sec-37"><title>Conflict of Interest</title>
<p>The author declares that they do not have any conflict of interest.</p>
</sec>
<sec id="sec-38"><title>Consent for Publication</title>
<p>The author confirms consent for the publication of this work</p>
</sec>
<sec id="sec-39"><title>Ethics Approval and Consent to Participate</title>
<p>This article does not contain any studies with human participants performed by the author.</p>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>International Energy Agency (IEA). (2022). World energy outlook 2022. Paris, france: International energy agency (IEA), 17. <ext-link ext-link-type="uri" xlink:href="https://www.iea.org/reports/world-energy-outlook-2022">https://www.iea.org/reports/world-energy-outlook-2022</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Lasseter, R. H., &amp; Paigi, P. (2004). Microgrid: A conceptual solution. 2004 IEEE 35th annual power electronics specialists conference (Vol. 6, pp. 4285-4290). IEEE. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/PESC.2004.1354758">https://doi.org/10.1109/PESC.2004.1354758</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Fang, X., Misra, S., Xue, G., &amp; Yang, D. (2011). Smart grid—The new and improved power grid: A survey. IEEE communications surveys &amp; tutorials, 14(4), 944–980. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/SURV.2011.101911.00087">https://doi.org/10.1109/SURV.2011.101911.00087</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Gungor, V. C., Sahin, D., Kocak, T., Ergut, S., Buccella, C., Cecati, C., &amp; Hancke, G. P. (2011). Smart grid technologies: Communication technologies and standards. IEEE transactions on industrial informatics, 7(4), 529–539. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TII.2011.2166794">https://doi.org/10.1109/TII.2011.2166794</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Rawat, D. B., &amp; Bajracharya, C. (2015). Cyber security for smart grid systems: Status, challenges and perspectives. SoutheastCon 2015 (pp. 1–6). Institute of Electrical and Electronics Engineers (IEEE). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/SECON.2015.7132891">https://doi.org/10.1109/SECON.2015.7132891</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Yan, Y., Qian, Y., Sharif, H., &amp; Tipper, D. (2012). A survey on cyber security for smart grid communications. IEEE communications surveys &amp; tutorials, 14(4), 998–1010. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/SURV.2012.010912.00035">https://doi.org/10.1109/SURV.2012.010912.00035</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Frank, S., Steponavice, I., &amp; Rebennack, S. (2012). Optimal power flow: A bibliographic survey I: Formulations and deterministic methods. Energy systems, 3(3), 221–258. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/JPROC.2020.2988715">https://doi.org/10.1109/JPROC.2020.2988715</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Deng, R., Yang, Z., Chow, M. Y., &amp; Chen, J. (2015). A survey on demand response in smart grids: Mathematical models and approaches. IEEE transactions on industrial informatics, 11(3), 570–582. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TII.2015.2414719">https://doi.org/10.1109/TII.2015.2414719</ext-link></mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Siano, P. (2014). Demand response and smart grids—A survey. Renewable and sustainable energy reviews, 30, 461–478. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rser.2013.10.022">https://doi.org/10.1016/j.rser.2013.10.022</ext-link></mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Phadke, A. G., &amp; Thorp, J. S. (2008). Synchronized phasor measurements and their applications. Springer. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-319-50584-8">https://doi.org/10.1007/978-3-319-50584-8</ext-link></mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Ackermann, T., Andersson, G., &amp; Söder, L. (2001). Distributed generation: A definition. Electric power systems research, 57(3), 195–204. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/S0378-7796(01)00101-8">https://doi.org/10.1016/S0378-7796(01)00101-8</ext-link></mixed-citation></ref>
<ref id="ref-12"><label>12</label><mixed-citation>Alahakoon, D., &amp; Yu, X. (2015). Smart electricity meter data intelligence for future energy systems: A survey. IEEE transactions on industrial informatics, 12(1), 425–436. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TII.2015.2414355">https://doi.org/10.1109/TII.2015.2414355</ext-link></mixed-citation></ref>
<ref id="ref-13"><label>13</label><mixed-citation>Wang, Y., Chen, Q., Hong, T., &amp; Kang, C. (2018). Review of smart meter data analytics: Applications, methodologies, and challenges. IEEE transactions on smart grid, 10(3), 3125–3148. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2018.2818167">https://doi.org/10.1109/TSG.2018.2818167</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>14</label><mixed-citation>Wang, W., Xu, Y., &amp; Khanna, M. (2011). A survey on the communication architectures in smart grid. Computer networks, 55(15), 3604–3629. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.comnet.2011.07.010">https://doi.org/10.1016/j.comnet.2011.07.010</ext-link></mixed-citation></ref>
<ref id="ref-15"><label>15</label><mixed-citation>Smola, A. J., &amp; Schölkopf, B. (2004). A tutorial on support vector regression. Statistics and computing, 14(3), 199–222. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1023/B:STCO.0000035301.49549.88">https://doi.org/10.1023/B:STCO.0000035301.49549.88</ext-link></mixed-citation></ref>
<ref id="ref-16"><label>16</label><mixed-citation>Breiman, L. (2001). Random forests. Machine learning, 45(1), 5–32. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1023/A:1010933404324">https://doi.org/10.1023/A:1010933404324</ext-link></mixed-citation></ref>
<ref id="ref-17"><label>17</label><mixed-citation>Chen, T., &amp; Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining (pp. 785-794). Association for Computing Machinery (ACM). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/2939672.2939785">https://doi.org/10.1145/2939672.2939785</ext-link></mixed-citation></ref>
<ref id="ref-18"><label>18</label><mixed-citation>Cortes, C., &amp; Vapnik, V. (1995). Support-vector networks. Machine learning, 20(3), 273–297. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/BF00994018">https://doi.org/10.1007/BF00994018</ext-link></mixed-citation></ref>
<ref id="ref-19"><label>19</label><mixed-citation>Fahim, M., &amp; Sillitti, A. (2019). Anomaly detection, analysis and prediction techniques in iot environment: A systematic literature review. IEEE access, 7, 81664–81681. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ACCESS.2019.2921912">https://doi.org/10.1109/ACCESS.2019.2921912</ext-link></mixed-citation></ref>
<ref id="ref-20"><label>20</label><mixed-citation>LeCun, Y., Bengio, Y., &amp; Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nature14539">https://doi.org/10.1038/nature14539</ext-link></mixed-citation></ref>
<ref id="ref-21"><label>21</label><mixed-citation>Hochreiter, S., &amp; Schmidhuber, J. (1997). Long short-term memory. Neural computation, 9(8), 1735–1780. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1162/neco.1997.9.8.1735">https://doi.org/10.1162/neco.1997.9.8.1735</ext-link></mixed-citation></ref>
<ref id="ref-22"><label>22</label><mixed-citation>Ashish, V. (2017). Attention is all you need. Advances in neural information processing systems, 30, I. <ext-link ext-link-type="uri" xlink:href="https://cir.nii.ac.jp/crid/1370849946232757637">https://cir.nii.ac.jp/crid/1370849946232757637</ext-link></mixed-citation></ref>
<ref id="ref-23"><label>23</label><mixed-citation>Lim, B., Arık, S. Ö., Loeff, N., &amp; Pfister, T. (2021). Temporal fusion transformers for interpretable multi-horizon time series forecasting. International journal of forecasting, 37(4), 1748-1764. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2021.03.012">https://doi.org/10.1016/j.ijforecast.2021.03.012</ext-link></mixed-citation></ref>
<ref id="ref-24"><label>24</label><mixed-citation>Kingma, D. P., &amp; Welling, M. (2013). Auto-encoding variational bayes. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.1312.6114">https://doi.org/10.48550/arXiv.1312.6114</ext-link></mixed-citation></ref>
<ref id="ref-25"><label>25</label><mixed-citation>Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., ... &amp; Hassabis, D. (2015). Human-level control through deep reinforcement learning. Nature, 518(7540), 529-533.. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nature14236">https://doi.org/10.1038/nature14236</ext-link></mixed-citation></ref>
<ref id="ref-26"><label>26</label><mixed-citation>Schulman, J., Wolski, F., Dhariwal, P., Radford, A., &amp; Klimov, O. (2017). Proximal policy optimization algorithms. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.1707.06347">https://doi.org/10.48550/arXiv.1707.06347</ext-link></mixed-citation></ref>
<ref id="ref-27"><label>27</label><mixed-citation>Haarnoja, T., Zhou, A., Abbeel, P., &amp; Levine, S. (2018). Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. International conference on machine learning (pp. 1861- 1870). Proceedings of Machine Learning Research (PMLR). <ext-link ext-link-type="uri" xlink:href="https://proceedings.mlr.press/v80/haarnoja18b/haarnoja18b.pdf">https://proceedings.mlr.press/v80/haarnoja18b/haarnoja18b.pdf</ext-link></mixed-citation></ref>
<ref id="ref-28"><label>28</label><mixed-citation>Kim, S., &amp; Kang, M. (2019). Financial series prediction using attention LSTM. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.1902.10877">https://doi.org/10.48550/arXiv.1902.10877</ext-link></mixed-citation></ref>
<ref id="ref-29"><label>29</label><mixed-citation>Raissi, M., Perdikaris, P., &amp; Karniadakis, G. E. (2019). Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of computational physics, 378, 686–707. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jcp.2018.10.045">https://doi.org/10.1016/j.jcp.2018.10.045</ext-link></mixed-citation></ref>
<ref id="ref-30"><label>30</label><mixed-citation>Hong, T., Pinson, P., &amp; Fan, S. (2014). Global energy forecasting competition 2012. International journal of forecasting, 30(2), 357-363. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2013.07.001">https://doi.org/10.1016/j.ijforecast.2013.07.001</ext-link></mixed-citation></ref>
<ref id="ref-31"><label>31</label><mixed-citation>Davis, J., &amp; Goadrich, M. (2006). The relationship between Precision-Recall and ROC curves. Proceedings of the 23rd international conference on machine learning (pp. 233-240). Association for Computing Machinery (ACM). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1143844.1143874">https://doi.org/10.1145/1143844.1143874</ext-link></mixed-citation></ref>
<ref id="ref-32"><label>32</label><mixed-citation>Palensky, P., &amp; Dietrich, D. (2011). Demand side management: Demand response, intelligent energy systems, and smart loads. IEEE transactions on industrial informatics, 7(3), 381–388. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TII.2011.2158841">https://doi.org/10.1109/TII.2011.2158841</ext-link></mixed-citation></ref>
<ref id="ref-33"><label>33</label><mixed-citation>Kolter, J. Z., &amp; Johnson, M. J. (2011). REDD: A public data set for energy disaggregation research. Workshop on data mining applications in sustainability (SIGKDD), San Diego, CA (pp. 59-62). Association for Computing Machinery (ACM). <ext-link ext-link-type="uri" xlink:href="https://www.researchgate.net/publication/266597071_REDD_A_Public_Data_Set_for_Energy_Disaggreg">https://www.researchgate.net/publication/266597071_REDD_A_Public_Data_Set_for_Energy_Disaggreg</ext-link> ation_Research</mixed-citation></ref>
<ref id="ref-34"><label>34</label><mixed-citation>Kelly, J., &amp; Knottenbelt, W. (2015). The UK-DALE dataset, domestic appliance-level electricity demand and whole-house demand from five UK homes. Scientific data, 2(1), 1–14. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/sdata.2015.7">https://doi.org/10.1038/sdata.2015.7</ext-link></mixed-citation></ref>
<ref id="ref-35"><label>35</label><mixed-citation>Australian Energy Market Operator (AEMO). (2023). Aggregated price and demand data. <ext-link ext-link-type="uri" xlink:href="https://aemo.com.au">https://aemo.com.au</ext-link></mixed-citation></ref>
<ref id="ref-36"><label>36</label><mixed-citation>Hong, T., &amp; Fan, S. (2016). Probabilistic electric load forecasting: A tutorial review. International journal of forecasting, 32(3), 914-938. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2015.11.011">https://doi.org/10.1016/j.ijforecast.2015.11.011</ext-link></mixed-citation></ref>
<ref id="ref-37"><label>37</label><mixed-citation>Box, G. E. P., Jenkins, G. M., Reinsel, G. C., &amp; Ljung, G. M. (2015). Time series analysis: Forecasting and control. John Wiley &amp; Sons. <ext-link ext-link-type="uri" xlink:href="https://toc.library.ethz.ch/objects/pdf/e01_978-0-470-27284-8_01.pdf">https://toc.library.ethz.ch/objects/pdf/e01_978-0-470-27284-8_01.pdf</ext-link></mixed-citation></ref>
<ref id="ref-38"><label>38</label><mixed-citation>Kong, W., Dong, Z. Y., Jia, Y., Hill, D. J., Xu, Y., &amp; Zhang, Y. (2017). Short-term residential load forecasting based on LSTM recurrent neural network. IEEE transactions on smart grid, 10(1), 841–851. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2017.2753802">https://doi.org/10.1109/TSG.2017.2753802</ext-link></mixed-citation></ref>
<ref id="ref-39"><label>39</label><mixed-citation>Kim, T. Y., &amp; Cho, S. B. (2019). Predicting residential energy consumption using CNN-LSTM neural networks. Energy, 182, 72-81. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.energy.2019.05.230">https://doi.org/10.1016/j.energy.2019.05.230</ext-link></mixed-citation></ref>
<ref id="ref-40"><label>40</label><mixed-citation>Oreshkin, B. N., Carpov, D., Chapados, N., &amp; Bengio, Y. (2019). N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.1905.10437">https://doi.org/10.48550/arXiv.1905.10437</ext-link></mixed-citation></ref>
<ref id="ref-41"><label>41</label><mixed-citation>Nowotarski, J., &amp; Weron, R. (2018). Recent advances in electricity price forecasting: A review of probabilistic forecasting. Renewable and sustainable energy reviews, 81, 1548–1568. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rser.2017.05.234">https://doi.org/10.1016/j.rser.2017.05.234</ext-link></mixed-citation></ref>
<ref id="ref-42"><label>42</label><mixed-citation>Raza, M. Q., &amp; Khosravi, A. (2015). A review on artificial intelligence based load demand forecasting techniques for smart grid and buildings. Renewable and sustainable energy reviews, 50, 1352–1372. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rser.2015.04.065">https://doi.org/10.1016/j.rser.2015.04.065</ext-link></mixed-citation></ref>
<ref id="ref-43"><label>43</label><mixed-citation>Ribeiro, M., Grolinger, K., ElYamany, H. F., Higashino, W. A., &amp; Capretz, M. A. M. (2018). Transfer learning with seasonal and trend adjustment for cross-building energy forecasting. Energy and buildings, 165, 352–</mixed-citation></ref>
<ref id="ref-44"><label>363</label><mixed-citation><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.enbuild.2018.01.034">https://doi.org/10.1016/j.enbuild.2018.01.034</ext-link></mixed-citation></ref>
<ref id="ref-45"><label>44</label><mixed-citation>Lu, H., Wu, J., Ruan, Y., Qian, F., Meng, H., Gao, Y., &amp; Xu, T. (2023). A multi-source transfer learning model based on LSTM and domain adaptation for building energy prediction. International journal of electrical power &amp; energy systems, 149, 109024. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijepes.2023.109024">https://doi.org/10.1016/j.ijepes.2023.109024</ext-link></mixed-citation></ref>
<ref id="ref-46"><label>45</label><mixed-citation>Haben, S., Arora, S., Giasemidis, G., Voss, M., &amp; Greetham, D. V. (2021). Review of low voltage load forecasting: Methods, applications, and recommendations. Applied energy, 304, 117798. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.apenergy.2021.117798">https://doi.org/10.1016/j.apenergy.2021.117798</ext-link></mixed-citation></ref>
<ref id="ref-47"><label>46</label><mixed-citation>Khuntia, S. R., Rueda, J. L., &amp; van Der Meijden, M. A. M. M. (2016). Forecasting the load of electrical power systems in mid-and long-term horizons: A review. IET generation, transmission &amp; distribution, 10(16), 3971– 3977. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1049/iet-gtd.2016.0340">https://doi.org/10.1049/iet-gtd.2016.0340</ext-link></mixed-citation></ref>
<ref id="ref-48"><label>47</label><mixed-citation>Pinson, P. (2013). Wind energy: Forecasting challenges for its operational management. Statistical science, 28(4), 564–585. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1214/13-STS445">https://doi.org/10.1214/13-STS445</ext-link></mixed-citation></ref>
<ref id="ref-49"><label>48</label><mixed-citation>Koenker, R. (2017). Quantile regression: 40 years on. Annual review of economics, 9, 155–176. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1146/annurev-economics-063016-103651">https://doi.org/10.1146/annurev-economics-063016-103651</ext-link></mixed-citation></ref>
<ref id="ref-50"><label>49</label><mixed-citation>Blundell, C., Cornebise, J., Kavukcuoglu, K., &amp; Wierstra, D. (2015). Weight uncertainty in neural network. International conference on machine learning (pp. 1613-1622). Proceedings of Machine Learning Research (PMLR). <ext-link ext-link-type="uri" xlink:href="https://proceedings.mlr.press/v37/blundell15.pdf">https://proceedings.mlr.press/v37/blundell15.pdf</ext-link></mixed-citation></ref>
<ref id="ref-51"><label>50</label><mixed-citation>Gal, Y., &amp; Ghahramani, Z. (2016). Dropout as a bayesian approximation: Representing model uncertainty in deep learning. International conference on machine learning (pp. 1050-1059). Proceedings of Machine Learning Research (PMLR). <ext-link ext-link-type="uri" xlink:href="https://proceedings.mlr.press/v48/gal16.pdf">https://proceedings.mlr.press/v48/gal16.pdf</ext-link></mixed-citation></ref>
<ref id="ref-52"><label>51</label><mixed-citation>Wang, Y., Zhang, N., Chen, Q., Kirschen, D. S., Li, P., &amp; Xia, Q. (2017). Data-driven probabilistic net load forecasting with high penetration of behind-the-meter PV. IEEE transactions on power systems, 33(3), 3255– 3264. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TPWRS.2017.2762599">https://doi.org/10.1109/TPWRS.2017.2762599</ext-link></mixed-citation></ref>
<ref id="ref-53"><label>52</label><mixed-citation>Weron, R. (2014). Electricity price forecasting: A review of the state-of-the-art with a look into the future. International journal of forecasting, 30(4), 1030–1081. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2014.08.008">https://doi.org/10.1016/j.ijforecast.2014.08.008</ext-link></mixed-citation></ref>
<ref id="ref-54"><label>53</label><mixed-citation>Luo, X., Zhang, D., &amp; Zhu, X. (2021). Deep learning based forecasting of photovoltaic power generation by incorporating domain knowledge. Energy, 225, 120240. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.energy.2021.120240">https://doi.org/10.1016/j.energy.2021.120240</ext-link></mixed-citation></ref>
<ref id="ref-55"><label>54</label><mixed-citation>Mocanu, E., Mocanu, D. C., Nguyen, P. H., Liotta, A., Webber, M. E., Gibescu, M., &amp; Slootweg, J. G. (2018). On-line building energy optimization using deep reinforcement learning. IEEE transactions on smart grid, 10(4), 3698–3708. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2018.2834219">https://doi.org/10.1109/TSG.2018.2834219</ext-link></mixed-citation></ref>
<ref id="ref-56"><label>55</label><mixed-citation>Kelly, J., &amp; Knottenbelt, W. (2015). Neural nilm: Deep neural networks applied to energy disaggregation. Proceedings of the 2nd ACM international conference on embedded systems for energy-efficient built environments (pp. 55-64). Association for Computing Machinery (ACM). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/2821650.2821672">https://doi.org/10.1145/2821650.2821672</ext-link></mixed-citation></ref>
<ref id="ref-57"><label>56</label><mixed-citation>D’Incecco, M., Squartini, S., &amp; Zhong, M. (2019). Transfer learning for non-intrusive load monitoring. IEEE transactions on smart grid, 11(2), 1419–1429. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2019.2938068">https://doi.org/10.1109/TSG.2019.2938068</ext-link></mixed-citation></ref>
<ref id="ref-58"><label>57</label><mixed-citation>Makonin, S., &amp; Popowich, F. (2015). Nonintrusive load monitoring (NILM) performance evaluation: A unified approach for accuracy reporting. Energy efficiency, 8(4), 809–814. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s12053-014-9306-2">https://doi.org/10.1007/s12053-014-9306-2</ext-link></mixed-citation></ref>
<ref id="ref-59"><label>58</label><mixed-citation>Zhou, L., Li, J., Li, F., Meng, Q., Li, J., &amp; Xu, X. (2016). Energy consumption model and energy efficiency of machine tools: A comprehensive literature review. Journal of cleaner production, 112, 3721–3734. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jclepro.2015.05.093">https://doi.org/10.1016/j.jclepro.2015.05.093</ext-link></mixed-citation></ref>
<ref id="ref-60"><label>59</label><mixed-citation>Gutowski, T., Dahmus, J., &amp; Thiriez, A. (2006). Electrical energy requirements for manufacturing processes. 13th CIRP international conference on life cycle engineering (Vol. 31, No. 1, pp. 623-638). Leuven, Belgium. <ext-link ext-link-type="uri" xlink:href="https://www.mech.kuleuven.be/lce2006/071.pdf">https://www.mech.kuleuven.be/lce2006/071.pdf</ext-link></mixed-citation></ref>
<ref id="ref-61"><label>60</label><mixed-citation>Zhang, C., Song, D., Chen, Y., Feng, X., Lumezanu, C., Cheng, W., Ni, J., Zong, B., Chen, H., &amp; Chawla, N. V. (2019). A deep neural network for unsupervised anomaly detection and diagnosis in multivariate time series data. Proceedings of the AAAI conference on artificial intelligence (Vol. 33, No. 01, pp. 1409-1416). Association for the Advancement of Artificial Intelligence (AAAI). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1609/aaai.v33i01.33011409">https://doi.org/10.1609/aaai.v33i01.33011409</ext-link></mixed-citation></ref>
<ref id="ref-62"><label>61</label><mixed-citation>Zhou, T., Tang, D., Zhu, H., &amp; Zhang, Z. (2021). Multi-agent reinforcement learning for online scheduling in smart factories. Robotics and computer-integrated manufacturing, 72, 102202. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rcim.2021.102202">https://doi.org/10.1016/j.rcim.2021.102202</ext-link></mixed-citation></ref>
<ref id="ref-63"><label>62</label><mixed-citation>Haider, H. T., See, O. H., &amp; Elmenreich, W. (2016). A review of residential demand response of smart grid. Renewable and sustainable energy reviews, 59, 166–178. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rser.2016.01.016">https://doi.org/10.1016/j.rser.2016.01.016</ext-link></mixed-citation></ref>
<ref id="ref-64"><label>63</label><mixed-citation>Lago, J., De Ridder, F., &amp; De Schutter, B. (2018). Forecasting spot electricity prices: Deep learning approaches and empirical comparison of traditional algorithms. Applied energy, 221, 386–405. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.apenergy.2018.02.069">https://doi.org/10.1016/j.apenergy.2018.02.069</ext-link></mixed-citation></ref>
<ref id="ref-65"><label>64</label><mixed-citation>Tushar, W., Yuen, C., Mohsenian-Rad, H., Saha, T., Poor, H. V., &amp; Wood, K. L. (2018). Transforming energy networks via peer-to-peer energy trading: The potential of game-theoretic approaches. IEEE signal processing magazine, 35(4), 90–111. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/MSP.2018.2818327">https://doi.org/10.1109/MSP.2018.2818327</ext-link></mixed-citation></ref>
<ref id="ref-66"><label>65</label><mixed-citation>Diagne, M., David, M., Lauret, P., Boland, J., &amp; Schmutz, N. (2013). Review of solar irradiance forecasting methods and a proposition for small-scale insular grids. Renewable and sustainable energy reviews, 27, 65–</mixed-citation></ref>
<ref id="ref-67"><label>76</label><mixed-citation><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rser.2013.06.042">https://doi.org/10.1016/j.rser.2013.06.042</ext-link></mixed-citation></ref>
<ref id="ref-68"><label>66</label><mixed-citation>Antonanzas, J., Osorio, N., Escobar, R., Urraca, R., Martinez-de-Pison, F. J., &amp; Antonanzas-Torres, F. (2016). Review of photovoltaic power forecasting. Solar energy, 136, 78–111. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.solener.2016.06.069">https://doi.org/10.1016/j.solener.2016.06.069</ext-link></mixed-citation></ref>
<ref id="ref-69"><label>67</label><mixed-citation>Kashinath, K., Mustafa, M., Albert, A., Wu, J. L., Jiang, C., Esmaeilzadeh, S., ... &amp; Prabhat, N. (2021). Physics-informed machine learning: Case studies for weather and climate modelling. Philosophical transactions of the royal society a, 379(2194), 20200093. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1098/rsta.2020.0093">https://doi.org/10.1098/rsta.2020.0093</ext-link></mixed-citation></ref>
<ref id="ref-70"><label>68</label><mixed-citation>Wang, H., Lei, Z., Zhang, X., Zhou, B., &amp; Peng, J. (2019). A review of deep learning for renewable energy forecasting. Energy conversion and management, 198, 111799. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.enconman.2019.111799">https://doi.org/10.1016/j.enconman.2019.111799</ext-link></mixed-citation></ref>
<ref id="ref-71"><label>69</label><mixed-citation>Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., &amp; Yu, P. S. (2020). A comprehensive survey on graph neural networks. IEEE transactions on neural networks and learning systems, 32(1), 4–24. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TNNLS.2020.2978386">https://doi.org/10.1109/TNNLS.2020.2978386</ext-link></mixed-citation></ref>
<ref id="ref-72"><label>70</label><mixed-citation>Xu, B., Oudalov, A., Ulbig, A., Andersson, G., &amp; Kirschen, D. (2017). Modeling of lithium-ion battery degradationfor cell life assessment. 2017 IEEE power &amp; energy society general meeting (pp. 1-1). IEEE. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/PESGM.2017.8274005">https://doi.org/10.1109/PESGM.2017.8274005</ext-link></mixed-citation></ref>
<ref id="ref-73"><label>71</label><mixed-citation>Severson, K. A., Attia, P. M., Jin, N., Perkins, N., Jiang, B., Yang, Z., ... &amp; Braatz, R. D. (2019). Data-driven prediction of battery cycle life before capacity degradation. Nature energy, 4(5), 383-391. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41560-019-0356-8">https://doi.org/10.1038/s41560-019-0356-8</ext-link></mixed-citation></ref>
<ref id="ref-74"><label>72</label><mixed-citation>Cao, J., Harrold, D., Fan, Z., Morstyn, T., Healey, D., &amp; Li, K. (2020). Deep reinforcement learning-based energy storage arbitrage with accurate lithium-ion battery degradation model. IEEE transactions on smart grid, 11(5), 4513–4521. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2020.2986333">https://doi.org/10.1109/TSG.2020.2986333</ext-link></mixed-citation></ref>
<ref id="ref-75"><label>73</label><mixed-citation>Wan, Z., Li, H., He, H., &amp; Prokhorov, D. (2018). Model-free real-time EV charging scheduling based on deep reinforcement learning. IEEE transactions on smart grid, 10(5), 5246–5257. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2018.2879572">https://doi.org/10.1109/TSG.2018.2879572</ext-link></mixed-citation></ref>
<ref id="ref-76"><label>74</label><mixed-citation>Milano, F., Dörfler, F., Hug, G., Hill, D. J., &amp; Verbič, G. (2018). Foundations and challenges of low-inertia systems. 2018 power systems computation conference (PSCC) (pp. 1-25). IEEE. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.23919/PSCC.2018.8450880">https://doi.org/10.23919/PSCC.2018.8450880</ext-link></mixed-citation></ref>
<ref id="ref-77"><label>75</label><mixed-citation>Ajjarapu, V., &amp; Christy, C. (1992). The continuation power flow: A tool for steady state voltage stability analysis. IEEE transactions on power systems, 7(1), 416–423. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/59.141737">https://doi.org/10.1109/59.141737</ext-link></mixed-citation></ref>
<ref id="ref-78"><label>76</label><mixed-citation>Ashton, P. M., Saunders, C. S., Taylor, G. A., Carter, A. M., &amp; Bradley, M. E. (2014). Inertia estimation of the GB power system using synchrophasor measurements. IEEE transactions on power systems, 30(2), 701–</mixed-citation></ref>
<ref id="ref-79"><label>709</label><mixed-citation><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TPWRS.2014.2333776">https://doi.org/10.1109/TPWRS.2014.2333776</ext-link></mixed-citation></ref>
<ref id="ref-80"><label>77</label><mixed-citation>Morsi, W. G., Diduch, C. P., &amp; Chang, L. (2010). A new islanding detection approach using wavelet packet transform for wind-based distributed generation. The 2nd international symposium on power electronics for distributed generation systems (pp. 495-500). IEEE. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/PEDG.2010.5545860">https://doi.org/10.1109/PEDG.2010.5545860</ext-link></mixed-citation></ref>
<ref id="ref-81"><label>78</label><mixed-citation>Sutton, R. S., &amp; Barto, A. G. (2018). Reinforcement learning, second edition: An introduction. MIT Press. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TPWRS.2003.821457">https://doi.org/10.1109/TPWRS.2003.821457</ext-link></mixed-citation></ref>
<ref id="ref-82"><label>79</label><mixed-citation>Ernst, D., Glavic, M., &amp; Wehenkel, L. (2004). Power systems stability control: Reinforcement learning framework. IEEE transactions on power systems, 19(1), 427–435. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TPWRS.2003.821457">https://doi.org/10.1109/TPWRS.2003.821457</ext-link></mixed-citation></ref>
<ref id="ref-83"><label>80</label><mixed-citation>Huang, Q., Huang, R., Hao, W., Tan, J., Fan, R., &amp; Huang, Z. (2019). Adaptive power system emergency control using deep reinforcement learning. IEEE transactions on smart grid, 11(2), 1171–1182. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2019.2933191">https://doi.org/10.1109/TSG.2019.2933191</ext-link></mixed-citation></ref>
<ref id="ref-84"><label>81</label><mixed-citation>Hafner, D., Lillicrap, T., Norouzi, M., &amp; Ba, J. (2020). Mastering atari with discrete world models. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2010.02193">https://doi.org/10.48550/arXiv.2010.02193</ext-link></mixed-citation></ref>
<ref id="ref-85"><label>82</label><mixed-citation>Busoniu, L., Babuska, R., &amp; De Schutter, B. (2008). A comprehensive survey of multiagent reinforcement learning. IEEE transactions on systems, man, and cybernetics, part c (applications and reviews), 38, 156–172. <ext-link ext-link-type="uri" xlink:href="https://doi:10.1109/TSMCC.2007.913919">https://doi:10.1109/TSMCC.2007.913919</ext-link></mixed-citation></ref>
<ref id="ref-86"><label>83</label><mixed-citation>Rashid, T., Samvelyan, M., De Witt, C. S., Farquhar, G., Foerster, J., &amp; Whiteson, S. (2020). Monotonic value function factorisation for deep multi-agent reinforcement learning. Journal of machine learning research, 21(178), 1–51. <ext-link ext-link-type="uri" xlink:href="http://www.jmlr.org/papers/v21/20-081.html">http://www.jmlr.org/papers/v21/20-081.html</ext-link></mixed-citation></ref>
<ref id="ref-87"><label>84</label><mixed-citation>Tushar, W., Saha, T. K., Yuen, C., Smith, D., &amp; Poor, H. V. (2020). Peer-to-peer trading in electricity networks: An overview. IEEE transactions on smart grid, 11(4), 3185–3200. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2020.2969657">https://doi.org/10.1109/TSG.2020.2969657</ext-link></mixed-citation></ref>
<ref id="ref-88"><label>85</label><mixed-citation>Vázquez-Canteli, J. R., &amp; Nagy, Z. (2019). Reinforcement learning for demand response: A review of algorithms and modeling techniques. Applied energy, 235, 1072–1089. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.apenergy.2018.11.002">https://doi.org/10.1016/j.apenergy.2018.11.002</ext-link></mixed-citation></ref>
<ref id="ref-89"><label>86</label><mixed-citation>Garcıa, J., &amp; Fernández, F. (2015). A comprehensive survey on safe reinforcement learning. Journal of machine learning research, 16(1), 1437-1480. <ext-link ext-link-type="uri" xlink:href="https://www.jmlr.org/papers/volume16/garcia15a/garcia15a.pdf">https://www.jmlr.org/papers/volume16/garcia15a/garcia15a.pdf</ext-link></mixed-citation></ref>
<ref id="ref-90"><label>87</label><mixed-citation>Achiam, J., Held, D., Tamar, A., &amp; Abbeel, P. (2017). Constrained policy optimization. International conference on machine learning (pp. 22-31). Proceedings of Machine Learning Research (PMLR). <ext-link ext-link-type="uri" xlink:href="https://proceedings.mlr.press/v70/achiam17a">https://proceedings.mlr.press/v70/achiam17a</ext-link></mixed-citation></ref>
<ref id="ref-91"><label>88</label><mixed-citation>Tobin, J., Fong, R., Ray, A., Schneider, J., Zaremba, W., &amp; Abbeel, P. (2017). Domain randomization for transferring deep neural networks from simulation to the real world. 2017 IEEE/RSJ international conference on intelligent robots and systems (IROS) (pp. 23-30). IEEE. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/IROS.2017.8202133">https://doi.org/10.1109/IROS.2017.8202133</ext-link></mixed-citation></ref>
<ref id="ref-92"><label>89</label><mixed-citation>Berkenkamp, F., Turchetta, M., Schoellig, A., &amp; Krause, A. (2017). Safe model-based reinforcement learning with stability guarantees. Advances in neural information processing systems, 30. <ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2017/file/766ebcd59621e305170616ba3d3dac32-Paper.pdf">https://proceedings.neurips.cc/paper_files/paper/2017/file/766ebcd59621e305170616ba3d3dac32-Paper.pdf</ext-link></mixed-citation></ref>
<ref id="ref-93"><label>90</label><mixed-citation>Molina-Markham, A., Shenoy, P., Fu, K., Cecchet, E., &amp; Irwin, D. (2010). Private memoirs of a smart meter. Proceedings of the 2nd ACM workshop on embedded sensing systems for energy-efficiency in building (pp. 61–66). Association for Computing Machinery. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1878431.1878446">https://doi.org/10.1145/1878431.1878446</ext-link></mixed-citation></ref>
<ref id="ref-94"><label>91</label><mixed-citation>McKenna, E., Richardson, I., &amp; Thomson, M. (2012). Smart meter data: Balancing consumer privacy concerns with legitimate applications. Energy policy, 41, 807–814. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.enpol.2011.11.049">https://doi.org/10.1016/j.enpol.2011.11.049</ext-link></mixed-citation></ref>
<ref id="ref-95"><label>92</label><mixed-citation>Eibl, G., &amp; Engel, D. (2014). Influence of data granularity on smart meter privacy. IEEE transactions on smart grid, 6(2), 930–939. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2014.2376613">https://doi.org/10.1109/TSG.2014.2376613</ext-link></mixed-citation></ref>
<ref id="ref-96"><label>93</label><mixed-citation>McMahan, B., Moore, E., Ramage, D., Hampson, S., &amp; y Arcas, B. A. (2017). Communication-efficient learning of deep networks from decentralized data. Artificial intelligence and statistics (pp. 1273-1282). Proceedings of Machine Learning Research (PMLR). <ext-link ext-link-type="uri" xlink:href="https://proceedings.mlr.press/v54/mcmahan17a.html">https://proceedings.mlr.press/v54/mcmahan17a.html</ext-link></mixed-citation></ref>
<ref id="ref-97"><label>94</label><mixed-citation>Taïk, A., &amp; Cherkaoui, S. (2020). Electrical load forecasting using edge computing and federated learning. ICC 2020-2020 IEEE international conference on communications (ICC) (pp. 1-6). IEEE. <ext-link ext-link-type="uri" xlink:href="http://doi">http://doi</ext-link>: 10.1109/ICC40277.2020.9148937</mixed-citation></ref>
<ref id="ref-98"><label>95</label><mixed-citation>Yang, Q., Liu, Y., Chen, T., &amp; Tong, Y. (2019). Federated machine learning: Concept and applications. ACM transactions on intelligent systems and technology (TIST), 10(2), 1–19. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/3298981">https://doi.org/10.1145/3298981</ext-link></mixed-citation></ref>
<ref id="ref-99"><label>96</label><mixed-citation>Zhang, Z., Rath, S., Xu, J., &amp; Xiao, T. (2024). Federated learning for smart grid: A survey on applications and potential vulnerabilities. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2409.10764">https://doi.org/10.48550/arXiv.2409.10764</ext-link></mixed-citation></ref>
<ref id="ref-100"><label>97</label><mixed-citation>Goodfellow, I. J., Shlens, J., &amp; Szegedy, C. (2014). Explaining and harnessing adversarial examples. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.1412.6572">https://doi.org/10.48550/arXiv.1412.6572</ext-link></mixed-citation></ref>
<ref id="ref-101"><label>98</label><mixed-citation>Liu, Y., Ning, P., &amp; Reiter, M. K. (2011). False data injection attacks against state estimation in electric power grids. ACM transactions on information and system security (TISSEC), 14(1), 1–33. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1952982.1952995">https://doi.org/10.1145/1952982.1952995</ext-link></mixed-citation></ref>
<ref id="ref-102"><label>99</label><mixed-citation>Chen, Y., Tan, Y., &amp; Deka, D. (2018). Is machine learning in power systems vulnerable? 2018 IEEE international conference on communications, control, and computing technologies for smart grids (SmartGridComm) (pp. 1-6). IEEE. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/SmartGridComm.2018.8587547">https://doi.org/10.1109/SmartGridComm.2018.8587547</ext-link></mixed-citation></ref>
<ref id="ref-103"><label>100</label><mixed-citation>Ozay, M., Esnaola, I., Vural, F. T. Y., Kulkarni, S. R., &amp; Poor, H. V. (2015). Machine learning methods for attack detection in the smart grid. IEEE transactions on neural networks and learning systems, 27(8), 1773– 1786. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TNNLS.2015.2404803">https://doi.org/10.1109/TNNLS.2015.2404803</ext-link></mixed-citation></ref>
<ref id="ref-104"><label>101</label><mixed-citation>Zhou, Z., Chen, X., Li, E., Zeng, L., Luo, K., &amp; Zhang, J. (2019). Edge intelligence: Paving the last mile of artificial intelligence with edge computing. Proceedings of the IEEE, 107(8), 1738–1762. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/JPROC.2019.2918951">https://doi.org/10.1109/JPROC.2019.2918951</ext-link></mixed-citation></ref>
<ref id="ref-105"><label>102</label><mixed-citation>Han, S., Mao, H., &amp; Dally, W. J. (2015). Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.1510.00149">https://doi.org/10.48550/arXiv.1510.00149</ext-link></mixed-citation></ref>
<ref id="ref-106"><label>103</label><mixed-citation>Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., ... &amp; Amodei, D. (2020). Language models are few-shot learners. Advances in neural information processing systems, 33, 1877-1901. <ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf">https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf</ext-link></mixed-citation></ref>
<ref id="ref-107"><label>104</label><mixed-citation>Bubeck, S., Chadrasekaran, V., Eldan, R., Gehrke, J., Horvitz, E., Kamar, E., ... &amp; Zhang, Y. (2023). Sparks of artificial general intelligence: Early experiments with gpt-4. <ext-link ext-link-type="uri" xlink:href="https://scalar.usc.edu/works/simulated-worlds/media/Sparks_of_AGI_and_What_are_World_Models.pdf">https://scalar.usc.edu/works/simulated-worlds/media/Sparks_of_AGI_and_What_are_World_Models.pdf</ext-link></mixed-citation></ref>
<ref id="ref-108"><label>105</label><mixed-citation>Das, A., Kong, W., Sen, R., &amp; Zhou, Y. (2023). A decoder-only foundation model for time-series forecasting. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2310.10688">https://doi.org/10.48550/arXiv.2310.10688</ext-link></mixed-citation></ref>
<ref id="ref-109"><label>106</label><mixed-citation>Fuller, A., Fan, Z., Day, C., &amp; Barlow, C. (2020). Digital twin: Enabling technologies, challenges and open research. IEEE access, 8, 108952–108971. <ext-link ext-link-type="uri" xlink:href="http://doi:10.1109/ACCESS.2020.2998358">http://doi:10.1109/ACCESS.2020.2998358</ext-link></mixed-citation></ref>
<ref id="ref-110"><label>107</label><mixed-citation>Tao, F., Zhang, H., Liu, A., &amp; Nee, A. Y. C. (2018). Digital twin in industry: State-of-the-art. IEEE transactions on industrial informatics, 15(4), 2405–2415. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TII.2018.2873186">https://doi.org/10.1109/TII.2018.2873186</ext-link></mixed-citation></ref>
<ref id="ref-111"><label>108</label><mixed-citation>Goodfellow, I. J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., &amp; Bengio, Y. (2014). Generative adversarial nets. Advances in neural information processing systems (Vol. 27, pp. 2672–2680). Curran Associates Inc. <ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2014/hash/f033ed80deb0234979a61f95710dbe25-Abstract.html">https://proceedings.neurips.cc/paper_files/paper/2014/hash/f033ed80deb0234979a61f95710dbe25-Abstract.html</ext-link></mixed-citation></ref>
<ref id="ref-112"><label>109</label><mixed-citation>Arrieta, A. B., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., ... &amp; Herrera, F. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information fusion, 58, 82-115. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.inffus.2019.12.012">https://doi.org/10.1016/j.inffus.2019.12.012</ext-link></mixed-citation></ref>
<ref id="ref-113"><label>110</label><mixed-citation>Lundberg, S. M., &amp; Lee, S. I. (2017). A unified approach to interpreting model predictions. Advances in neural information processing systems, 30. <ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf">https://proceedings.neurips.cc/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf</ext-link></mixed-citation></ref>
<ref id="ref-114"><label>111</label><mixed-citation>Jain, S., &amp; Wallace, B. C. (2019). Attention is not explanation. Proceedings of the 2019 conference of the north {a}merican chapter of the association for computational linguistics: Human language technologies, volume 1 (long and short papers) (pp. 3543–3556). Minneapolis, Minnesota: Association for Computational Linguistics. <ext-link ext-link-type="uri" xlink:href="https://doi">https://doi</ext-link>: 10.18653/v1/N19-1357</mixed-citation></ref>
<ref id="ref-115"><label>112</label><mixed-citation>European Commission. (2021). Proposal for a regulation of the European Parliament and of the Council laying down harmonised rules on artificial intelligence (Artificial Intelligence Act) and amending certain Union legislative acts (COM/2021/206 final). EUR-Lex. <ext-link ext-link-type="uri" xlink:href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52021PC0206">https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52021PC0206</ext-link></mixed-citation></ref>
<ref id="ref-116"><label>113</label><mixed-citation>Kostic, T., Preiss, O., &amp; Frei, C. (2005). Understanding and using the IEC 61850: A case for meta-modelling. Computer standards &amp; interfaces, 27(6), 679–695. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.csi.2004.09.008">https://doi.org/10.1016/j.csi.2004.09.008</ext-link></mixed-citation></ref>
<ref id="ref-117"><label>114</label><mixed-citation>Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., ... &amp; Dennison, D. (2015). Hidden technical debt in machine learning systems. Advances in neural information processing systems, 28. <ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2015/file/86df7dcfd896fcaf2674f757a2463eba-Paper.pdf">https://proceedings.neurips.cc/paper_files/paper/2015/file/86df7dcfd896fcaf2674f757a2463eba-Paper.pdf</ext-link></mixed-citation></ref>
<ref id="ref-118"><label>115</label><mixed-citation>Deb, K., Pratap, A., Agarwal, S., &amp; Meyarivan, T. (2002). A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE transactions on evolutionary computation, 6(2), 182–197. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/4235.996017">https://doi.org/10.1109/4235.996017</ext-link></mixed-citation></ref>
<ref id="ref-119"><label>116</label><mixed-citation>Pan, S. J., &amp; Yang, Q. (2009). A survey on transfer learning. IEEE transactions on knowledge and data engineering, 22(10), 1345–1359. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TKDE.2009.191">https://doi.org/10.1109/TKDE.2009.191</ext-link></mixed-citation></ref>
</ref-list></back>
</article>