Next Article in Journal
Distributed Low-Carbon Demand Response in Distribution Networks Incorporating Day-Ahead and Intraday Flexibilities
Previous Article in Journal
A Leak Identification Method for Product Oil Pipelines Based on Flow Rate Balance: Principles and Applications
Previous Article in Special Issue
Research on an Active Distribution Network Planning Strategy Considering Diversified Flexible Resource Allocation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robust Optimal Operation of Smart Microgrid Considering Source–Load Uncertainty

by
Zejian Qiu
1,
Zhuowen Zhu
1,
Lili Yu
1,
Zhanyuan Han
1,
Weitao Shao
1,
Kuan Zhang
2 and
Yinfeng Ma
2,*
1
Guangdong Power Grid Corp, Dongguan Power Supply Bureau, Dongguan 523000, China
2
State Key Laboratory of Alternate Electrical Power System with Renewable Energy Sources, North China Electric Power University, Beijing 102206, China
*
Author to whom correspondence should be addressed.
Processes 2025, 13(8), 2458; https://doi.org/10.3390/pr13082458
Submission received: 8 June 2025 / Revised: 16 July 2025 / Accepted: 30 July 2025 / Published: 4 August 2025
(This article belongs to the Special Issue Applications of Smart Microgrids in Renewable Energy Development)

Abstract

The uncertainties arising from high renewable energy penetration on both the generation and demand sides pose significant challenges to distribution network security. Smart microgrids are considered an effective way to solve this problem. Existing studies exhibit limitations in prediction accuracy, Alternating Current (AC) power flow modeling, and integration with optimization frameworks. This paper proposes a closed-loop technical framework combining high-confidence interval prediction, second-order cone convex relaxation, and robust optimization to facilitate renewable energy integration in distribution networks via smart microgrid technology. First, a hybrid prediction model integrating Variational Mode Decomposition (VMD), Long Short-Term Memory (LSTM), and Quantile Regression (QR) is designed to extract multi-frequency characteristics of time-series data, generating adaptive prediction intervals that accommodate individualized decision-making preferences. Second, a second-order cone relaxation method transforms the AC power flow optimization problem into a mixed-integer second-order cone programming (MISOCP) model. Finally, a robust optimization method considering source–load uncertainties is developed. Case studies demonstrate that the proposed approach reduces prediction errors by 21.15%, decreases node voltage fluctuations by 16.71%, and reduces voltage deviation at maximum offset nodes by 17.36%. This framework significantly mitigates voltage violation risks in distribution networks with large-scale grid-connected photovoltaic systems.

1. Introduction

In the context of global climate change and the ongoing energy transition, renewable energy sources such as photovoltaic (PV) and wind power are being rapidly integrated into power systems [1]. However, their inherent volatility and uncontrollability pose significant challenges to power quality. On the one hand, PV systems, which consist entirely of power electronic devices, lack the inertial characteristics of conventional power sources. Their abrupt output fluctuations frequently impact grid frequency stability [2]. On the other hand, wind power exhibits anti-peak regulation behavior, generating lower output during peak load periods and higher output during off-peak periods. Furthermore, the large installed capacity of wind farms increases the risk of cascading failures upon disconnection [3]. The combined uncertainty of renewable energy output and rapidly growing load demand further complicates efforts to maintain supply–demand balance.
Distribution networks, as the critical infrastructure directly supporting load demand, are particularly affected. Urban core areas experience high daily load fluctuation ratios, while the integration of distributed PV systems frequently induces reverse power flow, escalating the risk of voltage violations. Traditional distribution network operation modes have approached their regulatory limits in terms of available adjustment margins [4]. Coordinating the impact of source–load uncertainties on distribution network operations has thus become an urgent priority. Smart microgrid technology, with its advanced capabilities in power forecasting, energy management, and collaborative control, can effectively mitigate renewable energy volatility, enable local consumption, and optimize scheduling. This approach addresses the stability, power quality, and operational control challenges posed by the high penetration of renewable energy in distribution grids. As such, smart microgrids represent a key enabling technology for the large-scale, reliable integration of renewable energy into distribution networks.
Existing smart microgrid studies primarily employ prediction techniques to quantify source–load uncertainties, which can be categorized into point prediction, probabilistic distribution prediction, and interval prediction [5,6,7]. Point prediction provides single-value forecasts for future output at specific timestamps. Abou Houran, et al. [8] achieved 95.71% accuracy in PV output prediction using Long Short-Term Memory (LSTM), while Al-Dahidi, et al. [9] improved prediction accuracy to 97.62% by integrating a Convolutional Neural Network with a Bayesian-optimized LSTM. However, the point forecast merely describes the fluctuation pattern of renewable energy output and load without analyzing their uncertainty, failing to provide a clear quantification of the uncertainty at each future time point [10]. Probabilistic distribution prediction enhances point prediction by incorporating error analysis. It constructs the probabilistic distribution of prediction errors by analyzing deviations between historical and predicted data, thereby forming a probabilistic forecast of future outputs [11]. Wang, et al. [12] used a back propagation neural network to predict the PV power in the distribution network and combined it with an empirical mode decomposition method to model the probability distribution of the multi-period error distribution, effectively quantifying source–load uncertainty. Nevertheless, this approach heavily depends on prior assumptions about prediction errors. When errors deviate from the assumed distribution, the predicted probability distribution may misrepresent reality [13], potentially leading to significant economic losses in decision-making. Interval prediction establishes confidence intervals through quantile points, which can remove the a priori assumptions and output credible prediction domains under different confidence levels directly based on statistical principles. A prediction interval provides a range within which the future value is expected to lie with a specified probability (confidence level) [14]. Research [14] utilized Variational Mode Decomposition (VMD) to extract the difference frequency characteristics of wind power generation data and designed different prediction models for wind power submodes with different frequency characteristics, thereby achieving the reliable prediction of wind power generation intervals. Massidda, et al. [15] demonstrated a 22.69% improvement in PV interval coverage using Quantile Regression with limited historical data. However, existing interval prediction methods overlook multi-frequency characteristics in source–load time-series data, limiting prediction accuracy. Therefore, this paper introduces multi-frequency features into the interval prediction technology of smart microgrids to achieve higher accuracy in predicting source–load uncertainty.
Scholars have conducted numerous studies on methods for handling uncertainty in smart microgrids. Stochastic optimization requires precise probability distributions and constructs optimal models under numerous uncertainty scenarios, but suffers from the curse of dimensionality [16,17]. In contrast, robust optimization employs uncertainty sets to describe variable fluctuations, offering enhanced reliability [18,19,20]. Robust optimization is a methodology that seeks solutions immune to uncertainty within predefined bounds (e.g., the prediction intervals), often by optimizing against the worst-case scenario within those bounds [21]. Wei, et al. [22] developed a distributed, robust optimization model for Direct Current (DC) power flow optimization under PV output uncertainty, deriving optimal dispatch schemes under worst-case scenarios. Study [23] introduces second-order cone relaxation techniques for solving AC power flow optimization problems in distribution networks. SOCR is a convexification technique that transforms nonconvex constraints into a solvable convex form. However, this paper ignored the issue caused by the uncertainty of PV output. Study [21] explored the impact of photovoltaic uncertainty on the planning of off-grid net-zero energy buildings. Jiang, et al. [24] summarized the constraints of each device in a smart microgrid and investigated the optimal robust scheduling problem. However, three limitations persist: (1) Existing studies predominantly reduce Alternating Current (AC) power flow to DC approximations, neglecting nonlinear AC characteristics. (2) Few studies have introduced robust optimization technology into smart microgrids to deal with source–load uncertainty while taking into account the AC characteristics of the distribution network. This limits their ability to resolve the distribution network node voltage over-limit problem caused by the widespread distributed photovoltaic (PV) integration to the distribution network. (3) Existing smart microgrid studies fail to exploit the synergistic interactions between prediction and optimization models, mostly considering only prediction or only optimization problems under given uncertainty scenarios, rather than fostering synergistic interactions.
Table 1 summarizes the focus of previous studies and highlights their shortcomings. To address these challenges, this paper establishes a closed-loop smart microgrid technical framework integrating high-precision uncertainty quantification, strictly convex AC power flow modeling, and robust optimization. The key contributions include: (1) Prediction phase: A three-tiered VMD-LSTM-Quantile Regression (QR) architecture is proposed, where VMD extracts multi-scale features from source–load time-series data, LSTM networks capture the long-short-term dependencies, and Quantile Regression derives credible prediction intervals under varying confidence levels. (2) Modeling phase: Breaking traditional linearization bottlenecks, a mixed-integer second-order cone programming (MISOCP) model is established via second-order cone relaxation (SOCR) to handle nonconvex AC power flow constraints. (3) Optimization phase: A robust optimization framework is constructed to achieve optimal decisions under source–load uncertainty intervals.
This paper contains a nomenclature table in the Nomenclature section, given the large number of abbreviations, variables, and parameters involved in this study. This paper constructs a complete technical roadmap in Figure 1. This framework integrates multi-frequency feature extraction based on VMD, time-series modeling based on LSTM, and interval prediction based on QR. It employs SOCR technology to achieve convex optimization modeling for AC power flow and ultimately addresses source–load uncertainty through robust optimization. The model solution relies on the MATLAB platform (version R2023a), utilizing the YALMIP toolbox(YALMIP Version: 2021.03.31) and GUROBI 9.5.2 solver for efficient computation. Notably, this study employs actual grid data from Dongguan City, China (19 June–18 July 2022, with 15 min resolution and 2880 time stamps) for validation, significantly enhancing the model’s engineering applicability. The structure of this paper is as follows: Section 2 details the materials and methods, including high-precision interval prediction, AC power flow convex relaxation modeling, and robust optimization framework; Section 3 presents the case study results and comparative analysis; Section 4 summarizes the conclusions.

2. Materials and Methods

2.1. High-Precision Interval Prediction Method: VMD-LSTM-Quantile Regression

2.1.1. Source–Load Data Multi-Frequency Feature Extraction: VMD

Variational Mode Decomposition (VMD) is an adaptive, non-recursive signal processing technique designed for preprocessing spatiotemporal sequence data. It decomposes the original signal into multiple Intrinsic Mode Functions (IMFs), which are reconstructed to separate multi-frequency features while filtering noise [25]. This approach not only reduces modal aliasing but also demonstrates enhanced noise robustness compared with traditional methods.
Given non-stationary power time-series data x t , VMD decomposes it into submodal sequences u k t with specific center frequencies and finite bandwidths as follows:
u k t = A k t c o s ϕ k t
where A k t denotes the envelope amplitude of u k t , and phase ϕ k t is a non-decreasing function, i.e., ϕ k t 0 .
Each mode u k t is characterized by a center frequency and finite bandwidth. The variational problem is formulated to minimize the sum of estimated bandwidths for all modes:
The analytical signal of each modal component u k t is obtained through the Hilbert transform to obtain its unilateral spectral function, as follows:
δ t + j π t u k t
where δ t represents the Dirac distribution.
Each decomposed mode corresponds to a frequency band. By modulating submodal frequencies to basebands using the predefined center frequencies e j ω k t [3], as follows:
δ t + j π t u k t e j ω k t
Bandwidth estimation for submodes incorporates L2-norm regularization to prevent overfitting, leading to the final variational formulation [3], as follows:
min u k , ω k k t δ t + j π t u k t e j ω k t 2 2
s . t . k u k t = x t
where u k = u 1 , u 2 , , u K denotes the set of submodes, ω k = ω 1 , ω 2 , , ω K represents center frequencies, and K is the number of submodes.

2.1.2. Time-Series Feature Prediction Technology: LSTM

The Long Short-Term Memory (LSTM) neural network is a specialized recurrent neural network architecture designed to retain long-term temporal dependencies through iterative learning, thereby enhancing prediction accuracy for sequential data [26]. Due to its chain-like unfolded structure, LSTM demonstrates superior performance in modeling temporal relationships.
For an input sequence with k time steps, the LSTM gate mechanism comprises forget, input, and output gates. x t carries the network input values introduced into the system as vectors, h t carries the outputs of the LSTM cells through the implicit layer, and c t carries the LSTM cell states for the operation. LSTM operations are defined as follows:
(1)
Compute the oblivious gate f t based on the hidden state h t 1 at the previous moment and the input x t at the current moment [8], as follows:
f t = σ W f h t 1 + U f x t + b f
where W f , U f is the weight matrix, b f is the bias term, and σ is the activation function (Sigmoid in this study).
(2)
The input gate i t is computed based on the hidden state h t 1 at the previous moment and the input x t at the current moment [8], as follows:
i t = σ W i h t 1 + U i x t + b i
(3)
The output gate ο t is computed based on the hidden state h t 1 at the previous moment and the input x t at the current moment [8], as follows:
ο t = σ W ο h t 1 + U ο x t + b ο
where W ο , U ο is the output gate weight matrix and b ο is the bias term.
(4)
The tanh function is used as the activation function of the neuron to calculate the candidate memory cell c ˜ t based on the hidden state h t 1 at the previous moment and the input x t at the current moment, as follows:
c ˜ t = t a n h W c h t 1 + U c x t + b c
where W c , U c is the memory gate weight matrix and b c is the bias term.
(5)
By combining the information about the memory cells of the previous moment and the candidate memory cells of the current moment, the flow of information is controlled by forgetting gates and input gates to compute the memory cells of the current moment c t [8], as follows:
c t = f t c t 1 + i t c ˜ t
(6)
Putting c t through the tanh activation function and the output gate, a new hidden state, i.e., the ultra-short-term prediction of distributed PV power, can be obtained as follows:
h t = ο t t a n h c t
(7)
After the aforementioned calculation, c t and h t are retained for the next time step; after the last step is completed, the hidden layer vector h k is used as the output to compare with the corresponding predicted value of this set of sequences to derive the value of the loss function, and based on the gradient descent algorithm, the optimization of the weights and bias parameters is performed, and the sum of squares error function is selected as the loss function of the LSTM as follows:
L = 1 2 i o u t p u t s y ^ i y i 2

2.1.3. Credible Uncertainty Interval Prediction Method: Quantile Regression

Quantile Regression (QR) effectively addresses the limitations of mean regression by providing a more comprehensive analysis of the relationship between independent and dependent variables. QR accurately characterizes how predictors influence the variation range in the response variable and captures their effects on the shape of the conditional distribution. Moreover, QR quantifies the impact of each input variable on the response variable across different quantile levels, thereby offering deeper insights into their underlying relationships [27]. The conditional quantile of the output response variable of the combined LSTM model is calculated as shown below:
S τ = f j = 1 J w j τ h j τ + b τ
where S τ represents the conditional quantile of the output response variable at the τ quantile, w j τ represents the output layer weight, h j τ represents the LSTM hidden layer output, b τ represents the output layer bias, and J represents the number of hidden layer units. After updating the network parameters, multiple LSTM models are generated with different weights and biases from each other. The explanatory variables are entered into the network and propagated forward to obtain the predicted values of the response variables, as shown in the following equation:
S t + h t = S t + h t τ 1 , S t + h t τ 2 , , S t + h t τ l ,
where S t + h t represents the group of response variable predicted values, S t + h t τ 1 represents the response variable predicted values at different moment quartiles, and l represents the number of LSTM networks at different quartiles.

2.2. AC Optimization Model for Smart Microgrids Based on Second-Order Cone Relaxation

2.2.1. AC Optimization Model for Smart Microgrids

Smart microgrids integrate PV, energy storage, and other distributed energy resources through advanced control technologies and optimization strategies. This integration enhances renewable energy utilization while maintaining system stability and reducing operational costs. To address the challenges posed by high renewable energy penetration in distribution networks, this section establishes an optimal scheduling model for smart microgrids.
(1)
Decision variables
The day-ahead optimal scheduling model for smart microgrids developed in this study aims to generate reliable and controllable scheduling plans based on predicted source–load output data at each node. The model’s decision variables encompass: (1) active and reactive power outputs of controllable equipment at 15 min intervals across a 24 h period, (2) nodal voltages, and (3) line currents, as formulated in Equation (15) as follows:
X = [ P G i , Q G i , P P V i , P ES , c i , P ES , d i , V i , I j ]
where P G i and Q G i refer to the active and reactive power of the distributed gas turbine. P P V i refers to the active power of the distributed photovoltaic at node i, and P ES , c i and P ES , d i are the storage and discharge power of the distributed energy storage at node i, respectively. V i refers to the voltage at node i and I j refers to the current at line j.
(2)
Optimization objective
This study establishes a 24 h day-ahead optimal scheduling framework for smart microgrids with 15 min intervals. The model incorporates controllable distributed energy resources, including distributed generators, photovoltaic (PV) systems, and energy storage systems. Considering the relatively low cycling costs of energy storage, the economic objective function excludes storage regulation costs. To align with national energy policies, the model prioritizes high PV utilization by penalizing power curtailment. Additionally, the model accounts for network loss costs, as current flow through transmission lines generates power losses that may affect power quality.
In summary, the optimization objective of the day-ahead smart microgrid is shown in Equation (16) as follows:
F = min X t = 1 T i N n o d e C G i , t + C P V i , t + i , j N l i n e C L o s s i j , t C G i , t = μ G i P G i , t Δ t C P V i , t = μ P V i P P V , c u r t i Δ t C L o s s i j , t = = μ Loss I i j 2 r i j Δ t
where N n o d e refers to the set of nodes in the distribution network. N l i n e refers to the set of lines in the distribution network, T is the set of optimal scheduling time periods, C G i , t refers to the operating cost of distributed gas turbines in the distribution network at node i in time t, C P V i , t refers to the penalty cost of photovoltaic power curtailment in the distribution network, and C L o s s i j , t refers to the cost of network loss of the line ij in the smart microgrid in time period t. μ G refers to the cost of distributed gas turbines per unit of generated power, μ P V refers to the cost of distributed PV per unit of discarded power penalty, μ Loss refers to the cost incurred per unit of line loss, I i j , t refers to the current flowing through the line ij in time period t, and r i j is the magnitude of the resistance of the line ij.
(3)
Model constraints
The constraints in the smart microgrid trend optimization model include distributed gas turbine output constraints, distributed PV output constraints, distributed energy storage output constraints, and tidal current constraints.
The distributed gas turbine output should not exceed its allowable range, and the constraints are shown in Equation (17) as follows:
0 P G i P G , max i Q G , min i Q G i Q G , max i
where P G , max i and Q G , max i refer to the upper limit of active and reactive power of the distributed gas turbine at node i, and Q G , min i refers to the lower limit of reactive power of the distributed gas turbine at node i.
In this study, the impact of distributed PV in the distribution network is mainly considered, and it is considered that distributed PV adopts the maximum power point tracking (MPPT) control model. Distributed PV power output is limited by installed capacity and light resources, and its power output model is shown in Equation (18) [21] as follows:
0 P P V i P P V , u n i t i W P V i P P V , c u r t i = P P V , u n i t i C P V i P P V i
where P P V i and P P V , c u r t i are the active and abandoned power of distributed PV at node i, W P V i refers to the installed capacity of distributed PV at node i, and P P V , u n i t i refers to the scalar value of distributed PV output, which is affected by real-time light resources.
Distributed energy storage, on the other hand, is modeled based on the charge state, as shown in Equation (19) [28]. The model incorporates three key coordination mechanisms for battery dispatch under uncertainty: (1) Temporal coordination through state-of-charge constraints (Equation (19)A–C) that enforce energy conservation across the optimization horizon while maintaining sufficient capacity reserves for worst-case scenarios. (2) Power coordination via complementary charging/discharging constraints (Equation (19)D–F) that prevent simultaneous operations and ensure feasible power transitions. (3) Adaptive coordination through net discharge power definition (Equation (19)G) that enables dynamic response to renewable generation fluctuations within the predicted uncertainty bounds. This integrated approach automatically achieves optimal battery dispatch by balancing immediate power needs with long-term energy availability requirements under uncertainty.
S ES i , t = P ES , c i , t η ES , c P ES , d i , t / η ES , d + 1 γ ES S ES i , t 1 ( 19 A ) S min ES S ES i , t S max ES ( 19 B ) S ES i , 0 = S ES i , T ( 19 C ) 0 P ES , c i , t u ES , c i , t τ ES W ES i ( 19 D ) 0 P ES , d i , t u ES , d i , t τ ES W ES i ( 19 E ) q ES , c i , t + q ES , d i , t 1 ( 19 F ) P ES i , t = P ES , d i , t P ES , c i , t ( 19 G )
where S ES i , t is the remaining storage power of the distributed energy storage at node i at time point t, P ES , c i , t and P ES , d i , t are the charging power and discharging power of the distributed energy storage at node i at time point t, η ES , c and η ES , d refer to the charging and discharging efficiencies of this type of distributed energy storage, and γ ES stands for the self-discharging rate of this battery, and T is the total step length of the planning cycle, and in the day-ahead optimal scheduling model, the total optimization cycle is 24 h with a 15-step length, i.e., T = 96. S min ES and S max ES refer to the lower and upper limits of battery storage; q ES , c i , t and q ES , d i , t refer to the charging and discharging labels of the distributed energy storage at node i at moment t. P ES i , t refers to the net discharge power of the distributed storage at node i at moment t. When it is greater than zero, it means that the battery is being discharged at that moment, and vice versa for charging.
AC power flow constraints are the most fundamental constraints for a smart microgrid. The conventional tidal current equations are nonlinear, nonconvex equational constraints that contain trigonometric functions in addition to the product term, as shown below [23]:
P G i P L i U i j = 1 N U j G i j cos θ i j + B i j sin θ i j = 0
Q G i Q L i U i j = 1 N U j G i j sin θ i j B i j cos θ i j = 0
P G min P G i P G max
Q G min Q G i Q G max
U min U i U max
S l min S l i S l max
where P G i and Q G i represent the active and reactive power from generators (including gas turbines and PV units) at node i, respectively; P L i and Q L i are the active and reactive power consumed by the load at the node, respectively; B i j and G i j represent the conductance and conductivity between branch ij; U i and θ i j represent the voltage amplitude at the node and the phase difference of the voltage at the node ij; S l i represents the power flowing over the ith branch, S l max and S l min represent the upper and lower limit values of the branch currents; P G max , P G min , Q G max , and Q G min represent the upper and lower limits of active and reactive generator output; U max and U min denote the upper and lower limits of the node voltage within the safe range.

2.2.2. Accurate Convex Relaxation Method Based on Mixed-Integer Second-Order Cone

Due to the AC constraints (Equations (20)–(25)), the optimal dispatch model for the constructed microgrid is a nonlinear and nonconvex optimization problem. To ensure the solvability of the model, this paper introduces the second-order cone relaxation technique to transform the model into a convex optimization problem. The specific steps are as follows:
The DistFlow model is introduced to describe the power flow constraints [23], as shown in Figure 2.
Under this model, Equations (20) and (21) are transformed into Ohm’s law constraints, branch head end power equation constraints, and node power balance equation constraints as follows:
V i V j = Z i j I i j
S ˜ i j = V i I ¯ i j
k : j k S j k i : i j S i j Z i j I i j 2 = S j
where I i j is the current flowing through branch ij, Z i j is the impedance of line ij, V i refers to the voltage at node i, I ¯ i j refers to the conjugate of I i j , S j k refers to the power flowing out of node j to node k, and S j refers to the power injected by the external unit at node j.
In the above model, S i j , I i j , V i , and S j all contain both magnitude and phase angle, so phase relaxation is required. Let l i j = I i j 2 , v i = V i 2 and split Equation (28) into active and reactive forms as follows:
k : j k P j k i : i j P i j r i j l i j = P j
k : j k Q j k i : i j Q i j x i j l i j = Q j
This can be obtained by bringing Equation (27) into Equation (26), followed by the squaring operation:
v j = v i 2 r i j P i j + x i j Q i j + r i j 2 + x i j 2 l i j
where r i j refers to the resistance of line ij and x i j refers to the reactance of line ij.
Similarly, squaring Equation (27) yields:
l i j v i = P i j 2 + Q i j 2
Now, the AC power flow constraint no longer contains complex variables; however, Equation (27) is still a nonconvex constraint. In order to turn it into a convex constraint, a second-order cone relaxation method is introduced, as shown in Equation (28), which turns it into a rotating second-order cone, relaxes the original decision domain into a convex domain, and ensures that the optimal solution still falls on the original decision domain.
l i j v i P i j 2 + Q i j 2

2.3. Robust Optimal Dispatch Model for Smart Microgrid Considering AC and Source–Load Bilateral Uncertainty

2.3.1. Robust Optimization Techniques for Smart Microgrid Considering Decision Makers’ Individualized Decision Preferences

In this paper, a novel optimization framework is proposed to determine the confidence level based on the decision maker’s individualized decision preference. On this basis, the source–load uncertainty interval under a given confidence level is obtained by combining prediction techniques and integrating these intervals into a robust optimization model to produce scenario-adaptive solutions. The key to the framework lies in how to interface the decision preferences with the robust optimization model through the prediction technique. The details are as follows:
Robust optimization addresses uncertainties in renewable generation and load demand to maintain system feasibility across all operational scenarios. However, existing robust optimization approaches for smart microgrids typically employ fixed uncertainty intervals without leveraging probabilistic distribution information from interval predictions, often yielding overly conservative solutions. This study proposes a novel optimization framework that incorporates decision-makers’ risk preferences to determine appropriate confidence levels. The framework combines these preferences with advanced prediction techniques to derive source–load uncertainty intervals at specified confidence levels, which are then integrated into the robust optimization model to generate scenario-adaptive solutions. The core innovation involves effectively interfacing decision preferences with the optimization model through predictive analytics, as detailed below:
First, an acceptable level of confidence ξ is obtained based on the decision maker’s preferences.
Second, the uncertainty faced by the smart microgrid studied in this paper mainly includes the uncertainty of distributed PV output and the uncertainty of electricity load at each node. Combining the given confidence level ξ with the VMD-LSTM-QR technique described in the previous section, to obtain the source–load uncertainty interval under this confidence level. At this point, the uncertainty variables can be defined as follows:
U = [ P PV , u n i t i , t , P Load i , t , Q Load i , t ] Pr P PV , u n i t i , t , min P PV , u n i t i , t P PV , u n i t i , t , max ξ 1 Pr P Load i , t , min P Load i , t P Load i , t , max ξ 2 Pr Q Load i , t , min Q Load i , t Q Load i , t , max ξ 3
where P PV , u n i t i , t , min and P PV , u n i t i , t , max are the upper and lower bounds of the predicted PV output specification at a confidence level of ξ 1 ; P Load i , t , min and P Load i , t , max are the upper and lower bounds of the predicted active load of electricity consumption at each node at a confidence level of ξ 2 ; Q Load i , t , min and Q Load i , t , max are the upper and lower bounds of the predicted reactive load of electricity consumption at each node at a confidence level of ξ 3 ; Pr refers to the probability.
Finally, robust optimization proves particularly effective in addressing distribution network scheduling challenges under significant source–load bilateral uncertainties. This approach enhances system security and operational stability by explicitly considering worst-case scenarios. Based on the AC optimal power flow model presented in the previous section, the robust optimization model for smart microgrids is constructed as follows:
min X max U t = 1 T i N n o d e C G i , t + C P V i , t + i , j N l i n e C L o s s i j , t s . t .   Device   constraints :   E q u a t i o n s   18   a n d   19 Power   flow   constraints :   E q u a t i o n s ( 22 ) ( 25 ) , E q u a t i o n s ( 29 ) ( 33 ) Uncertainty   variable   constraint :   E q u a t i o n ( 34 )

2.3.2. Solving Method Based on Strong Duality Principle

The day-ahead robust optimization scheduling model constructed in this paper is a nonlinear and nonconvex optimization problem. In order to ensure the solvability of the model, this paper adopts the second-order cone relaxation technique to transform the model into a nonlinear convex optimization problem, which is specifically detailed in Section 2.2. After the processing, the compact expression of the model is shown in Equation (36), and the model is a two-layer nonlinear convex optimization problem. The inner-layer max function makes the worst performance of the microgrid economics objective by searching for the worst scenario u ˜ within Ω U , ξ , and the outer-layer min function minimizes the total operating cost of the distribution network under the worst scenario u ˜ by optimizing the decision variable X.
min X max U F s . t . A x B C x = D + u ˜ u ˜ Ω U , ξ , x Ω x
where A, B, C, and D are constant coefficient matrices, u ˜ refers to the uncertainty variable in a scenario, Ω U , ξ refers to the uncertainty range of the uncertainty variable u ˜ at confidence level ξ , and Ω x refers to the decision domain of the decision variable.
The min–max form of Equation (36) makes it still not directly solvable. Since it is a convex optimization problem with zero dual gap, the optimal solution of the dyadic problem is equal to the optimal solution of the original problem. Further, this paper derives Equation (36) to its dyadic form based on strong duality theory, as shown in Equation (37):
max u , α , β u ˜ T α + D T α + B β s . t . κ + C T α + A T β = c β 0 κ Ω k u ˜ Ω U , ξ
where α , β , and κ are dyadic variables and Ω k refers to the dyadic space.
However, both u ˜ and α are variables in Equation (37), which makes the model take the form of bilinear convex optimization, so the large M method is further used to deal with the bilinear term, as shown in Equation (38):
max u , α , β , ν D T α + B β + u ¯ T α + u ¯ T α ^ u ¯ T α ^ s . t . κ + C T α + A T β = c β 0 , κ Ω k , u ˜ Ω U , ξ ν t M α ^ t ν i M α t 1 ν t M α ^ t α t + 1 ν t M
where M is a very large real number; α ^ is an auxiliary variable; α ^ t is the component of α ^ on time period t; ν t is a zero-one variable introduced for α ^ . When ν t = 1, α ^ t = α and u obtains the upper limit u ¯ in the interval Ω U , ξ ; when ν t = 0, α ^ t = 0 and u obtains the lower limit u in the interval Ω U , ξ . At this point, the model has been transformed into a mixed-integer second-order cone convex optimization problem, and the optimal solution can be obtained by the solver.

3. Results and Discussion

3.1. Calculation Background

In order to verify the superiority of the closed-loop smart microgrid technology of high-precision uncertainty quantification–strict convex modeling–robust optimization proposed in this paper, the adjusted IEEE33 node model is used for case study analysis. The IEEE 33-bus system was selected as it is a widely adopted and extensively studied standard benchmark for medium-voltage distribution networks. Its established topology and parameters facilitate direct comparison of results (e.g., computational efficiency, voltage profiles, and SOCR accuracy [23]) with numerous existing studies in the field, enhancing the credibility and reproducibility of our findings. The adjusted node system is shown in Figure 3.
It is worth noting that the method described in this paper is not only applicable to the current asset allocation and node system: (1) Greater node system adaptability: in the technical framework proposed in this paper, the algorithms in the prediction component are independent of the node system. The DistFlow method, which models AC power flow as a convex quadratic cone model, has also been proven to be applicable to larger node systems [29]. Similarly, equipment constraints and uncertainty constraints are also independent of the node system. Therefore, the proposed method can be extended to larger systems after appropriate power flow modeling and adjustments; (2) Asset mix flexibility: The optimization model employs modular device constraints. This allows seamless integration of diverse assets by modifying only device-specific parameters while preserving the core AC-RO framework. Regulatory constraints (e.g., voltage limits ± 7%) are embedded as generic safety bounds (Equation (24)), ensuring adaptability to regional standards.
The test system comprises a 33-node distribution network, with node 33 serving as the reference voltage node to ensure power flow compatibility with external grid connections. The system employs 12.66 kV as the base voltage with ±7% allowable voltage fluctuation and 1 MVA as the reference power. Line parameters follow the specifications in reference [30]. The network integrates distributed PV systems with capacities of 1600 kW at nodes 6, 24, and 32, and 2400 kW at node 17. Node 33 hosts a 5 MW gas turbine with active power output limits of 0–100% and reactive power limits of −20% to 60%. Energy storage systems (1200 kWh/2 h each) are deployed at nodes 15 and 28, utilizing lithium-ion batteries with state-of-charge limits of 5–95% and 97% charge/discharge efficiency. Battery self-discharge is negligible for the day-ahead optimization horizon. The model incorporates the following cost parameters: gas turbine generation at 0.15 CNY/kWh, a PV curtailment penalty at 0.25 CNY/kWh, and a network loss penalty at 0.2 CNY/kWh.
This paper sets up multiple comparative scenarios to verify the effectiveness of the aforementioned method. The specific scenarios are set up in Table 2.

3.2. Results of the Application of High-Precision Interval Prediction Algorithms

3.2.1. Data Sources

Distributed PV output and nodal load data of the microgrid come from a region in Dongguan City, China, and the recorded time period is from 19 June 2022 to 18 July 2022, with a 15 min interval and a total of 2880 timestamps. The distributed PV and nodal load data are shown in Figure 4 after normalization. Among them, 80% of these data are used as the training set for LSTM, and 20% of these data are used as the test set for LSTM. In this paper, there is no difference between the prediction process of distributed PV and nodal load, and in order to save space, the prediction results of nodal load are used as the object of analysis. A brief comparison of the distributed photovoltaic prediction results under different methods is shown in Appendix A.

3.2.2. Evaluation Indicators

In order to verify the prediction effect of the VMD-LSTM model proposed in this paper, it is tested against the LSTM model via simulation. The mean squared error (MSE), root mean square error (RMSE), mean absolute error (MAE), and prediction interval coverage probability (PICP) are chosen as the evaluation indexes.
MSE is the mean of the sum of squares of the differences between the real and predicted values at the corresponding points. The smaller the value of MSE, the better the fit of the model [6].
e M S E = m = 1 M w m , t r u e w m , p r e d 2 M
where M is the sample size; w m , t r u e is the true value; w m , p r e d is the predicted value; m is the number.
RMSE is the square root of the ratio of the square of the deviation of the predicted value from the true value to the sample size, which is more sensitive to outliers in the data. The smaller the RMSE value, the better the model prediction [6].
e R M S E = e M S E
MAE refers to the mean absolute error, which represents the average of the absolute errors between the predicted values and the observed values [6].
e M A E = m = 1 M w m , t r u e w m , p r e d M
PICP refers to the prediction interval coverage probability, which reflects the probability that the actual observed value falls within the upper and lower bounds of the prediction interval [14].
P I C P = m = 1 M k m M
where k m is a Boolean value. If the predicted target value is included in the upper and lower limits of the interval prediction, then k m = 1; otherwise, k m = 0.

3.2.3. Predicted Results

When making predictions, the VMD-LSTM model and the LSTM model were compared separately in order to show more clearly the accuracy of the VMD-LSTM model in prediction, and then the predicted values were plotted along with the real load values. In addition, to demonstrate the predictive ability of the models, the loads were predicted in steps of 15 min. Finally, the obtained predicted values are output in the form of confidence intervals of predicted values with probabilities based on the Quantile Regression model. Based on the VMD processing of data, the obtained difference frequency characteristics are shown in Figure 5. In Figure 5, IMF1 represents the long-term frequency characteristics, IMF2 represents the short-term frequency characteristics, and the sum of IMF1 and IMF2 is approximately equal to the original signal (i.e., the original load time-series data). The deviation is caused by the influence of high-frequency noise. Based on this, the VMD-LSTM-QR prediction results, the traditional LSTM prediction results, and the traditional ARIMA prediction results are shown in Figure 6, and the comparison of the performance of the evaluation indexes of the three algorithms is shown in Table 3.
We conducted experiments on the prediction part using a CPU on a computer platform. The computing environment was as follows: 12th Gen Intel (R) Core (TM) i7-12700, 32 GB RAM. The times taken by the traditional algorithm (LSTM) and the method proposed in this paper (VMD-LSTM-QR) were 56.78 s and 176.39 s, respectively. Since VMD-LSTM-QR needs to analyze and predict each frequency feature, it consumes more computing resources and time. However, compared with its prediction time scale (prediction of output and load for the next 24 h), it only takes a few minutes, so it does not affect its application value. From the comparative analysis of the prediction results in Table 3 and the prediction curves in Figure 6, it can be seen that the VMD-LSTM-QR model proposed in this paper significantly reduces the MSE and RMSE and exhibits good prediction results compared with the LSTM method only. Compared with the LSTM model, the prediction model proposed in this paper reduces the MSE, RMSE, and MAE by 39.38%, 21.15%, and 22.36%, respectively, with a high prediction accuracy of 91.75%. Therefore, the VMD-LSTM model proposed in this paper can effectively extract the high-dimensional features in the time-series and map them to the low-dimensional space by combining the VMD variational modal decomposition technique, extracting different frequency features from the load data, and predicting them individually, which enhances the ability of the LSTM model in capturing the complex dynamic relationship of the time-series and thus improves the prediction accuracy. In addition, at a 90% confidence level, the PICP of the proposed uncertainty interval prediction model is as high as 84.21%. The model proposed in this paper can provide prediction intervals with a confidence level through Quantile Regression, which greatly enhances the reliability of the prediction results.

3.3. Robust Optimization Results for Active Distribution Networks Considering Source–Load Uncertainty

3.3.1. Basic Data

In order to make the scheduling results closer to reality, this paper increases the node load models in IEEE 33 from one to four. Nodes 1–8, nodes 9–17, nodes 18–24, and nodes 25–32 belong to four load behavior models, respectively. When using the traditional point prediction model, the future four distributed PV output power and four load behavior prediction results in this region are shown in Figure 7. A confidence level of 80% is determined based on the decision maker’s preference, and combined with the source–load uncertainty interval prediction method described in the previous section, the source–load uncertainty intervals for the region are obtained as shown in Figure 8 and Figure 9. The solid lines in Figure 8 and Figure 9 represent the values obtained by the point prediction method, while the shaded areas correspond to the uncertainty intervals obtained by the interval prediction method described in this paper. It is not difficult to see that the method described in this paper captures the inherent variability of solar power generation and load. During periods of high variability (such as sunrise/sunset or cloud cover events), wider bands of photovoltaic output are typically observed.

3.3.2. Model Robustness Validation

In order to verify the superiority of the proposed day-ahead robust planning optimization economic dispatch model and the effectiveness of the proposed robust optimization solution method, two scenarios of deterministic optimization and uncertainty optimization are set up for comparison in this paper. In the deterministic optimization, the distributed PV generation output and nodal electricity load are adopted as the values in Figure 7; in the uncertainty optimization, the distributed PV generation output and nodal electricity load are adopted as the intervals in Figure 8 and Figure 9. A comparison of costs under the robust optimization scheduling scheme and the deterministic optimization scheduling scheme is shown in Table 4. The functional flow balances under the two scheduling schemes are shown in Figure 10, the real-time voltages at each node for the whole day are shown in Figure 11, the current pairs of each line are shown in Figure 12, and the two distributed energy storage scheduling strategies are shown in Figure 13.
The total operating cost of the microgrid obtained by the robust optimal scheduling strategy (CNY 7658.85) is higher than that obtained by deterministic optimal scheduling (CNY 6897.72), representing an increase of approximately 9.94%. This increase stems primarily from higher gas turbine generation costs (increased by 10.04%) and network loss costs (increased by 6.67%), as detailed in Table 4. This cost difference arises because robust optimization explicitly considers worst-case scenarios within the predicted uncertainty intervals (95% confidence level in this case). Under these adverse conditions, which are characterized by potentially increased loads and lower active output from renewable sources, the system relies more heavily on dispatchable gas turbines to meet demand, leading to higher fuel costs. Concurrently, the altered power flow patterns under these scenarios result in increased resistive losses on the network lines. The cost components are calculated based on the following unit costs: gas turbine generation at 0.15 CNY/kWh, a PV curtailment penalty at 0.25 CNY/kWh (though no curtailment occurred in these scenarios), and a network loss penalty at 0.20 CNY/kWh. While robust optimization incurs a higher operational cost under nominal conditions, its key benefit lies in significantly enhancing operational reliability under uncertainty. Observing Figure 11 and Figure 12, it is evident that the robust optimization strategy ensures voltage and power flow fluctuations remain within stable and acceptable ranges even when subjected to uncertain renewable power output and load shocks. Specifically, robust optimization results in more uniform current and voltage distributions compared with deterministic optimization, effectively mitigating the specific high current and voltage peaks observed under deterministic conditions. This reduces the risk of thermal overload on lines and transformers. Critically, robust optimization ensures strict voltage compliance within the allowable ±7% deviation limits across all nodes and time periods, eliminating the risk of voltage violations observed in deterministic schedules under adverse scenarios (e.g., reducing the maximum voltage deviation at node 17 by 17.36%).
To evaluate the advantages of the proposed uncertainty-optimized scheduling scheme in handling intermittent renewable energy variability and to compare robust optimization with deterministic approaches, we analyze three key metrics: (1) the gas turbine’s active power output (representing the largest share of total active output), (2) nodal voltages during peak PV generation (12:00, when voltage deviation is maximum), and (3) hourly line currents (focusing on line 1 with the highest current), as illustrated in Figure 14.
As can be seen from Figure 14, the gas turbine output has a high degree of trend identity with the current of line 1. The gas turbine in the robust optimization sends out more active power in order to cope with the uncertain power loading scenario to ensure that the loads at each node can be adequately satisfied even after considering the uncertainty. In addition, by analyzing the time period with the largest voltage shift in the distribution network (12:00) and comparing the voltage at each node in the distribution network at this time, it is not difficult to find that the robust economic optimization scheduling method proposed in this paper is able to reduce the voltage fluctuation of the node (node 17) by about 16.71% and the voltage shift of the node (node 17) with the largest voltage shift of the entire microgrid by about 17.36%.
Notably, deterministic scheduling may lead to voltage violations during periods of high PV generation, potentially compromising system security. Our uncertainty optimization method significantly reduces the probability of such violations, consistently maintaining both voltage and line current within safe operating limits throughout all periods. These improvements facilitate greater integration of renewable energy sources into distribution networks.
In summary, the proposed closed-loop smart microgrid framework not only enhances operational efficiency and reliability but also offers valuable insights for grid planners and regulators. By providing a robust tool for uncertainty quantification and optimization, the model facilitates more informed decision-making regarding the integration of renewable energy sources into distribution grids. This approach can aid in the strategic placement and sizing of renewable assets, ensuring that grid expansion and reinforcement efforts are aligned with both technical capabilities and policy objectives. Ultimately, the framework supports the broader goal of promoting sustainable energy practices while maintaining grid stability and security.

3.3.3. Trade-Off Analysis Between Reliability and Cost of the Solution

This section presents a sensitivity analysis that quantifies the relationship between solution reliability (robustness against uncertainty) and operational cost. Reliability is governed by the confidence interval ξ of the source–load uncertainty sets (Section 2.3.1), reflecting the decision-maker’s risk tolerance. Higher ξ values widen the uncertainty intervals, enhancing system security but increasing conservatism and cost.
As depicted in Figure 15, the total cost exhibits a nonlinear increase with ξ . At ξ = 80 % , the cost is CNY 7500 (baseline deterministic: CNY 6898). Increasing reliability to ξ = 90 % raises costs to CNY 9215 (+25.14% vs. deterministic), while ξ = 95 % incurs CNY 10,047. The marginal cost curve reveals a critical inflection point at ξ = 90 % . Below this threshold, each 1% reliability gain costs approximately CNY 160; beyond it, costs surge to CNY 170–180 per 1%, indicating diminishing returns. Finally, we suggest selecting the ξ = 90 % solution as the optimal trade-off using the elbow method, which is often used in the process of selecting the number of clusters.

3.3.4. Validation of the Effectiveness of the Second-Order Cone Convex Relaxation Strategy

In order to verify the accuracy of the proposed model, the second-order cone error indicator Δ i j , t = P i j , t 2 + Q i j , t 2 U i , t I ¯ i j , t is defined, where P i j , t and Q i j , t are the active and reactive power flowing from node i to node j in the branch ij, respectively. I ¯ i j , t is the conjugate form of the currents on line ij containing the phase angle obtained by derivation. U i , t refers to the form of the voltage phasor at node i at the time t. Figure 16 is a plot of the current error check of the second-order cone relaxation optimization at each node every 15 min, and the overall error in index order of magnitude is controlled at 10−3 order of magnitude, which can meet the practical application requirements.

4. Conclusions

This study establishes a closed-loop smart microgrid framework integrating three core innovations: (1) High-precision interval prediction via a VMD-LSTM-QR architecture, enabling adaptive uncertainty quantification with multi-scale feature extraction. (2) Convex AC optimization modeling through second-order cone relaxation, overcoming traditional DC approximation limitations while ensuring computational tractability. (3) Robust decision-making that bridges prediction intervals with operational preferences, enhancing resilience against source–load uncertainties. Validation using real-world Dongguan grid data demonstrates a 21.15% prediction error reduction, 16.71% voltage fluctuation mitigation, and 17.36% decrease in maximum voltage deviation. These improvements directly address critical challenges in distribution networks with high-penetration renewables, notably reducing overvoltage risks during distributed PV integration, detailed as follows:
(1)
Significant Improvement in Prediction Accuracy: Compared with the traditional LSTM model, the combined prediction architecture based on VMD, LSTM, and QR proposed in this paper is able to effectively extract the difference frequency features in the time-series, improve the ability of the LSTM model to capture the complex dynamic relationships in the time-series, and reduce the prediction error by 21.15%.
(2)
Model Accuracy Enhancement: Traditional models mostly use DCs, and the resulting scheme is difficult to adapt to the distribution network operation under the impact of large-scale distributed PV. In this paper, a second-order cone relaxation strategy is used to control the AC power flow errors to 10−3 orders of magnitude, which verifies the rigor of the convex relaxation process and meets the practical application requirements.
(3)
System Robustness Enhancement: The robust decision of the microgrid at the 95% confidence level results in an increase of 10.04% in the total operating cost but manifests itself as a significant improvement in key safety parameters. Voltage fluctuations in the microgrid are reduced by 16.71%, and the largest voltage offset is reduced by about 17.36%, which significantly reduces the voltage over-limit risk in the distribution network under large-scale distributed PV shocks.
The framework proposed in this paper provides grid operators with a deployable toolkit for enhancing operational security amid renewable variability. By converting uncertainty into actionable confidence intervals, it supports policy goals for distributed energy integration without requiring structural grid upgrades. Future work will extend this approach to multi-microgrid coordination and hydrogen storage synergy, while specifically incorporating demand response flexibility to better leverage consumer-side resources in balancing supply–demand variations. Additionally, we will explore advanced uncertainty quantification methods such as distributionally robust optimization to further bridge the gap between stochastic and robust paradigms, with particular attention to how demand-side management interacts with these optimization frameworks.

Author Contributions

Conceptualization, K.Z.; Methodology, K.Z.; Formal analysis, Z.H. and W.S.; Investigation, Z.Z.; Data curation, L.Y.; Writing—original draft, Z.Q.; Writing—review & editing, Z.H. and Y.M.; Visualization, L.Y.; Project administration, W.S.; Funding acquisition, Z.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the China Southern Power Grid Science and Technology Project (031900KC24010006).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Authors Zejian Qiu, Zhuowen Zhu, Lili Yu, Zhanyuan Han and Weitao Shao were employed by the company Guangdong Power Grid Corp Dongguan Power Supply Bureau. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Nomenclature

AbbreviationsVariables
PVPhotovoltaicPActive Power Output
LSTMLong Short-Term MemoryICurrent
DCDirect CurrentQReactive Power Output
ACAlternating CurrentWInstalled Capacity
VMDVariational Mode DecompositionSRemaining Stored Energy
QRQuantile RegressionUVoltage
MISOCPMixed-Integer Second-order Cone ProgrammingqSignal for Charging/Discharging Status
SOCRSecond-Order Cone Relaxation I ¯ Conjugate of I
IMFIntrinsic Mode FunctionlSquare of Current Mode
MPPTMaximum Power Point TrackingvSquare of Voltage Mode
MSEMean Squared ErroruUncertainty Variable
RMSERoot Mean Square Error α , β , κ Dyadic Variables
MAEMean Absolute Error
PICPPrediction Interval Coverage Probability
IndicesParameters
tTime N n o d e Nodes in the distribution network
GGas Turbine N l i n e Lines in the distribution network
PVPhotovoltaicrResistance of the line
ESDistributed Energy Storage γ Self-discharge rate
LossNetwork Loss η Efficiency of charging/discharging
unitPer Unit ValueBConductance
curtAbandoned PowerZImpedance
minMinimum ξ Confidence level
maxMaximumA, B, C, Dconstant coefficient matrices
LoadPower Load Ω Dyadic space
MA very large real number
Cost functionsPredict functions
μ G Per unit cost of distributed gas turbines of generated power u k t Submodal sequences
μ P V Per unit cost of discarded PV power penalty A k t Envelope amplitude
μ Loss Per unit cost incurred of line loss δ t Dirac distribution
C G i , t Operating cost of distributed gas turbines ω k Center frequencies
C P V i , t Penalty cost of photovoltaic power curtailment σ ( ) Activation function
C L o s s i j , t Network loss costtanh ()Hyperbolic tangent function

Appendix A

Table A1. Comparison of PV output results of forecasting models.
Table A1. Comparison of PV output results of forecasting models.
Evaluation IndicatorsLSTM (S1)VMD-LSTM-QR (S2)Precision Improvement
MSE5.88 × 10−34.16 × 10−329.25%
100%70.75%
RMSE9.10 × 10−36.27 × 10−3 31.10%
100%68.90%
MAE6.44 × 10−34.43 × 10−331.21%
100%68.79%
PICP-93.74% (90% CI)-

References

  1. Haoxin, D.; Qiyuan, D.; Chaojie, L.; Nian, L.; Zhang, W.; Hu, M.; Xu, C. A comprehensive review on renewable power-to-green hydrogen-to-power systems: Green hydrogen production, transportation, storage, re-electrification and safety. Appl. Energy 2025, 390, 125821. [Google Scholar] [CrossRef]
  2. Useche-Arteaga, M.; Gil-González, W.; Gomis-Bellmunt, O.; Cheah-Mane, M.; Lacerda, V. Robust energy management in active distribution networks using mixed-integer convex optimization. Electr. Power Syst. Res. 2024, 241, 111367. [Google Scholar] [CrossRef]
  3. Zhang, G.; Xu, B.; Liu, H.; Hou, J.; Zhang, J. Wind Power Prediction Based on Variational Mode Decomposition and Feature Selection. J. Mod. Power Syst. Clean Energy 2021, 9, 1520–1529. [Google Scholar] [CrossRef]
  4. Li, G.; Wang, W.; Pang, D.; Wang, Z.; Tan, W.; Wang, Z.; Ge, J. A cloud-edge collaborative optimization control strategy for voltage in distribution networks with PV stations. Int. J. Electr. Power Energy Syst. 2025, 167, 110632. [Google Scholar] [CrossRef]
  5. Ouyang, J.; Zuo, Z.; Wang, Q.; Duan, Q.; Zhu, X.; Zhang, Y. Seasonal distribution analysis and short-term PV power prediction method based on decomposition optimization Deep-Autoformer. Renew. Energy 2025, 246, 122903. [Google Scholar] [CrossRef]
  6. Peng, S.; Zhu, J.; Wu, T.; Yuan, C.; Cang, J.; Zhang, K.; Pecht, M. Prediction of wind and PV power by fusing the multi-stage feature extraction and a PSO-BiLSTM model. Energy 2024, 298, 131345. [Google Scholar] [CrossRef]
  7. Wang, L.; Mao, M.; Xie, J.; Liao, Z.; Zhang, H.; Li, H. Accurate solar PV power prediction interval method based on frequency-domain decomposition and LSTM model. Energy 2023, 262, 125592. [Google Scholar] [CrossRef]
  8. Abou Houran, M.; Bukhari, S.M.; Zafar, M.H.; Mansoor, M.; Chen, W. COA-CNN-LSTM: Coati optimization algorithm-based hybrid deep learning model for PV/wind power forecasting in smart grid applications. Appl. Energy 2023, 349, 121638. [Google Scholar] [CrossRef]
  9. Al-Dahidi, S.; Alrbai, M.; Rinchi, B.; Alahmer, H.; Al-Ghussain, L.; Hayajneh, H.S.; Alahmer, A. Techno-economic implications and cost of forecasting errors in solar PV power production using optimized deep learning models. Energy 2025, 323, 135877. [Google Scholar] [CrossRef]
  10. Riedel, P.; Belkilani, K.; Reichert, M.; Heilscher, G.; von Schwerin, R. Enhancing PV feed-in power forecasting through federated learning with differential privacy using LSTM and GRU. Energy AI 2024, 18, 100452. [Google Scholar] [CrossRef]
  11. Dong, H.; Shan, Z.; Zhou, J.; Xu, C.; Chen, W. Refined modeling and co-optimization of electric-hydrogen-thermal-gas integrated energy system with hybrid energy storage. Appl. Energy 2023, 351, 121834. [Google Scholar] [CrossRef]
  12. Wang, S.; Sun, Y.; Zhang, S.; Zhou, Y.; Hou, D.; Wang, J. Very short-term probabilistic prediction of PV based on multi-period error distribution. Electr. Power Syst. Res. 2023, 214, 108817. [Google Scholar] [CrossRef]
  13. Qiu, L.; Ma, W.; Feng, X.; Dai, J.; Dong, Y.; Duan, J.; Chen, B. A hybrid PV cluster power prediction model using BLS with GMCC and error correction via RVM considering an improved statistical upscaling technique. Appl. Energy 2024, 359, 122719. [Google Scholar] [CrossRef]
  14. Tang, G.; Wu, Y.; Li, C.; Wong, P.K.; Xiao, Z.; An, X. A Novel Wind Speed Interval Prediction Based on Error Prediction Method. IEEE Trans. Ind. Inform. 2020, 16, 6806–6815. [Google Scholar] [CrossRef]
  15. Massidda, L.; Bettio, F.; Marrocu, M. Probabilistic day-ahead prediction of PV generation. A comparative analysis of forecasting methodologies and of the factors influencing accuracy. Sol. Energy 2024, 271, 112422. [Google Scholar] [CrossRef]
  16. Yi, T.; Li, Q.; Zhu, Y.; Shan, Z.; Ye, H.; Xu, C.; Dong, H. A hierarchical co-optimal planning framework for microgrid considering hydrogen energy storage and demand-side flexibilities. J. Energy Storage 2024, 84, 110940. [Google Scholar] [CrossRef]
  17. Wang, S.; Hou, Y.; Guan, X.; Liu, S.; Huo, Z. Resiliency-informed optimal scheduling of smart distribution network with urban distributed photovoltaic: A stochastic P-robust optimization. Energy 2024, 313, 133449. [Google Scholar] [CrossRef]
  18. Nasiri, N.; Zeynali, S.; Ravadanegh, S.N.; Kubler, S.; Le Traon, Y. A convex multi-objective distributionally robust optimization for embedded electricity and natural gas distribution networks under smart electric vehicle fleets. J. Clean. Prod. 2023, 434, 139843. [Google Scholar] [CrossRef]
  19. Jodeiri-Seyedian, S.-S.; Fakour, A.; Nourollahi, R.; Zare, K.; Mohammadi-Ivatloo, B.; Zadeh, S.G. Nodal pricing of renewable-oriented distribution network in the presence of EV charging stations: A hybrid robust/stochastic optimization. J. Energy Storage 2023, 70, 107943. [Google Scholar] [CrossRef]
  20. Li, P.; Wu, Z.; Yin, M.; Shen, J.; Qin, Y. Distributed data-driven distributionally robust Volt/Var control for distribution network via an accelerated alternating optimization procedure. Energy Rep. 2023, 9, 532–539. [Google Scholar] [CrossRef]
  21. Li, G.; Xu, X.; Cheng, X.; Wang, Q.; Zhang, Y.; Wu, H.; Liu, D. Robust configuration planning for net zero-energy buildings considering source-load dual uncertainty and hybrid energy storage system. Build. Environ. 2025, 282, 113239. [Google Scholar] [CrossRef]
  22. Wei, Z.; Xu, H.; Chen, S.; Sun, G.; Zhou, Y. Learning-aided distributionally robust optimization of DC distribution network with buildings to the grid. Sustain. Cities Soc. 2024, 113, 105649. [Google Scholar] [CrossRef]
  23. Gholami, K.; Azizivahed, A.; Li, L.; Zhang, J. Accuracy enhancement of second-order cone relaxation for AC optimal power flow via linear mapping. Electr. Power Syst. Res. 2022, 212, 108646. [Google Scholar] [CrossRef]
  24. Jiang, Z.; Yu, Q.; Xiong, Y.; Li, L.; Liu, Y. Regional active distribution network planning study based on robust optimization. Energy Rep. 2021, 7, 314–319. [Google Scholar] [CrossRef]
  25. Udenze, P.I.; Gong, J.; Soltani, S.; Li, D. A deep neural network with two-step decomposition technique for predicting ultra-short-term solar power and electrical load. Appl. Energy 2024, 382, 125212. [Google Scholar] [CrossRef]
  26. Yang, C.; Li, S.; Gou, Z. Spatiotemporal prediction of urban building rooftop photovoltaic potential based on GCN-LSTM. Energy Build. 2025, 334, 115522. [Google Scholar] [CrossRef]
  27. Hu, Y.; Deng, X.; Yang, L. Interval prediction model for residential daily carbon dioxide emissions based on extended long short-term memory integrating quantile regression and sparse attention. Energy Build. 2025, 333, 115481. [Google Scholar] [CrossRef]
  28. Dong, H.; Xu, C.; Chen, W. Modeling and configuration optimization of the rooftop photovoltaic with electric-hydrogen-thermal hybrid storage system for zero-energy buildings: Consider a cumulative seasonal effect. Build. Simul. 2023, 16, 1799–1819. [Google Scholar] [CrossRef]
  29. Alizadeh, A.; Allam, M.A.; Cao, B.; Kamwa, I.; Xu, M. On the application of the branch DistFlow using second-order conic programming in microgrids. Electr. Power Syst. Res. 2025, 245, 111574. [Google Scholar] [CrossRef]
  30. Ji, B.-X.; Liu, H.-H.; Cheng, P.; Ren, X.-Y.; Pi, H.-D.; Li, L.-L. Phased optimization of active distribution networks incorporating distributed photovoltaic storage system: A multi-objective coati optimization algorithm. J. Energy Storage 2024, 91, 112093. [Google Scholar] [CrossRef]
Figure 1. Technical roadmap of this paper.
Figure 1. Technical roadmap of this paper.
Processes 13 02458 g001
Figure 2. Branch circuit trend model.
Figure 2. Branch circuit trend model.
Processes 13 02458 g002
Figure 3. Adjusted IEEE 33-node system network topology.
Figure 3. Adjusted IEEE 33-node system network topology.
Processes 13 02458 g003
Figure 4. Distribution grid, node load, and distributed PV historical data.
Figure 4. Distribution grid, node load, and distributed PV historical data.
Processes 13 02458 g004
Figure 5. Differential frequency features extracted by VMD.
Figure 5. Differential frequency features extracted by VMD.
Processes 13 02458 g005
Figure 6. VMD-LSTM-QR prediction results and traditional methods prediction results.
Figure 6. VMD-LSTM-QR prediction results and traditional methods prediction results.
Processes 13 02458 g006
Figure 7. Distributed PV and load timing distribution at distribution network nodes.
Figure 7. Distributed PV and load timing distribution at distribution network nodes.
Processes 13 02458 g007
Figure 8. Load uncertainty interval for distribution networks obtained based on VMD-LSTM-QR.
Figure 8. Load uncertainty interval for distribution networks obtained based on VMD-LSTM-QR.
Processes 13 02458 g008
Figure 9. Distributed PV output uncertainty interval for distribution grids obtained based on VMD-LSTM-QR.
Figure 9. Distributed PV output uncertainty interval for distribution grids obtained based on VMD-LSTM-QR.
Processes 13 02458 g009
Figure 10. Comparison of active scheduling schemes in robust and deterministic optimization scenarios.
Figure 10. Comparison of active scheduling schemes in robust and deterministic optimization scenarios.
Processes 13 02458 g010
Figure 11. Comparison of Node Voltage schemes in robust and deterministic optimization scenarios.
Figure 11. Comparison of Node Voltage schemes in robust and deterministic optimization scenarios.
Processes 13 02458 g011
Figure 12. Comparison of Line current in robust and deterministic optimization scenarios.
Figure 12. Comparison of Line current in robust and deterministic optimization scenarios.
Processes 13 02458 g012
Figure 13. Real-time output and remaining storage capacity of distributed energy storage in the day-ahead dispatch scheme.
Figure 13. Real-time output and remaining storage capacity of distributed energy storage in the day-ahead dispatch scheme.
Processes 13 02458 g013
Figure 14. Specific comparison between robust and deterministic optimization scenarios.
Figure 14. Specific comparison between robust and deterministic optimization scenarios.
Processes 13 02458 g014
Figure 15. Trade-off between reliability and cost of the solution.
Figure 15. Trade-off between reliability and cost of the solution.
Processes 13 02458 g015
Figure 16. Residual of the second-order cone relaxation.
Figure 16. Residual of the second-order cone relaxation.
Processes 13 02458 g016
Table 1. Literature review of optimal operation of smart grids.
Table 1. Literature review of optimal operation of smart grids.
Ref.Renewable Energy Output PredictionDistribution Network Optimization
PointProbabilistic DistributionIntervalMulti-Frequency FeaturesACDCUncertainty
[5]×××××
[6]×××××
[7]×××××
[8]××××××
[9]××××××
[10]××××××
[11]××××××
[12]×××××
[13]××××××
[14]×××××
[15]××××××
[16]×××××
[17]×××××
[18]××××××
[19]××××
[20]××××
[21]××××××
[22]××××
[23]××××××
[24]×××××
This paper×××
Table 2. Settings of Forecasting Methods and Optimization Approaches for Different Scenarios.
Table 2. Settings of Forecasting Methods and Optimization Approaches for Different Scenarios.
ScenarioPrediction MethodsOptimization Method
S1LSTM-
S2ARIMA-
S3VMD-LSTM-QR-
S4VMD-LSTM-QRDeterministic optimization
S5VMD-LSTM-QRRobust optimization
Table 3. Comparison of results of forecasting models.
Table 3. Comparison of results of forecasting models.
IndicatorsLSTM (S1)ARIMA (S2)VMD-LSTM-QR (S3)Precision Improvement (Mean)
MSE10.57 × 10−314.17 × 10−36.79 × 10−339.38%
74.59%100%47.92%
RMSE102.79 × 10−3107.64 × 10−382.45 × 10−321.15%
95.49%100%76.60%
MAE36.51 × 10−331.36 × 10−325.77 × 10−322.36%
100%85.89%70.58%
PICP- 84.21% (90% CI)-
Table 4. Cost comparison between robust and deterministic optimization.
Table 4. Cost comparison between robust and deterministic optimization.
Gas Turbine Costs (CNY)PV Abandonment Penalties (CNY)Network Loss Cost (CNY)Total Cost (CNY)
Deterministic optimization (S3)6681.87490215.84636897.7212
Robust optimization (S4)7427.58190231.27197658.8538
Incremental share10.04%0%6.67%9.94%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Qiu, Z.; Zhu, Z.; Yu, L.; Han, Z.; Shao, W.; Zhang, K.; Ma, Y. Robust Optimal Operation of Smart Microgrid Considering Source–Load Uncertainty. Processes 2025, 13, 2458. https://doi.org/10.3390/pr13082458

AMA Style

Qiu Z, Zhu Z, Yu L, Han Z, Shao W, Zhang K, Ma Y. Robust Optimal Operation of Smart Microgrid Considering Source–Load Uncertainty. Processes. 2025; 13(8):2458. https://doi.org/10.3390/pr13082458

Chicago/Turabian Style

Qiu, Zejian, Zhuowen Zhu, Lili Yu, Zhanyuan Han, Weitao Shao, Kuan Zhang, and Yinfeng Ma. 2025. "Robust Optimal Operation of Smart Microgrid Considering Source–Load Uncertainty" Processes 13, no. 8: 2458. https://doi.org/10.3390/pr13082458

APA Style

Qiu, Z., Zhu, Z., Yu, L., Han, Z., Shao, W., Zhang, K., & Ma, Y. (2025). Robust Optimal Operation of Smart Microgrid Considering Source–Load Uncertainty. Processes, 13(8), 2458. https://doi.org/10.3390/pr13082458

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

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop