Robust Optimal Operation of Smart Microgrid Considering Source–Load Uncertainty
Abstract
1. Introduction
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
2.1.2. Time-Series Feature Prediction Technology: LSTM
- (1)
- Compute the oblivious gate based on the hidden state at the previous moment and the input at the current moment [8], as follows:
- (2)
- The input gate is computed based on the hidden state at the previous moment and the input at the current moment [8], as follows:
- (3)
- The output gate is computed based on the hidden state at the previous moment and the input at the current moment [8], as follows:
- (4)
- The tanh function is used as the activation function of the neuron to calculate the candidate memory cell based on the hidden state at the previous moment and the input at the current moment, as follows:
- (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 [8], as follows:
- (6)
- Putting 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:
- (7)
- After the aforementioned calculation, and are retained for the next time step; after the last step is completed, the hidden layer vector 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:
2.1.3. Credible Uncertainty Interval Prediction Method: Quantile Regression
2.2. AC Optimization Model for Smart Microgrids Based on Second-Order Cone Relaxation
2.2.1. AC Optimization Model for Smart Microgrids
- (1)
- Decision variables
- (2)
- Optimization objective
- (3)
- Model constraints
2.2.2. Accurate Convex Relaxation Method Based on Mixed-Integer Second-Order Cone
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
2.3.2. Solving Method Based on Strong Duality Principle
3. Results and Discussion
3.1. Calculation Background
3.2. Results of the Application of High-Precision Interval Prediction Algorithms
3.2.1. Data Sources
3.2.2. Evaluation Indicators
3.2.3. Predicted Results
3.3. Robust Optimization Results for Active Distribution Networks Considering Source–Load Uncertainty
3.3.1. Basic Data
3.3.2. Model Robustness Validation
3.3.3. Trade-Off Analysis Between Reliability and Cost of the Solution
3.3.4. Validation of the Effectiveness of the Second-Order Cone Convex Relaxation Strategy
4. Conclusions
- (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.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Nomenclature
Abbreviations | Variables | ||
PV | Photovoltaic | P | Active Power Output |
LSTM | Long Short-Term Memory | I | Current |
DC | Direct Current | Q | Reactive Power Output |
AC | Alternating Current | W | Installed Capacity |
VMD | Variational Mode Decomposition | S | Remaining Stored Energy |
QR | Quantile Regression | U | Voltage |
MISOCP | Mixed-Integer Second-order Cone Programming | q | Signal for Charging/Discharging Status |
SOCR | Second-Order Cone Relaxation | Conjugate of I | |
IMF | Intrinsic Mode Function | l | Square of Current Mode |
MPPT | Maximum Power Point Tracking | v | Square of Voltage Mode |
MSE | Mean Squared Error | u | Uncertainty Variable |
RMSE | Root Mean Square Error | ,, | Dyadic Variables |
MAE | Mean Absolute Error | ||
PICP | Prediction Interval Coverage Probability | ||
Indices | Parameters | ||
t | Time | Nodes in the distribution network | |
G | Gas Turbine | Lines in the distribution network | |
PV | Photovoltaic | r | Resistance of the line |
ES | Distributed Energy Storage | Self-discharge rate | |
Loss | Network Loss | Efficiency of charging/discharging | |
unit | Per Unit Value | B | Conductance |
curt | Abandoned Power | Z | Impedance |
min | Minimum | Confidence level | |
max | Maximum | A, B, C, D | constant coefficient matrices |
Load | Power Load | Dyadic space | |
M | A very large real number | ||
Cost functions | Predict functions | ||
Per unit cost of distributed gas turbines of generated power | Submodal sequences | ||
Per unit cost of discarded PV power penalty | Envelope amplitude | ||
Per unit cost incurred of line loss | Dirac distribution | ||
Operating cost of distributed gas turbines | Center frequencies | ||
Penalty cost of photovoltaic power curtailment | Activation function | ||
Network loss cost | tanh () | Hyperbolic tangent function |
Appendix A
Evaluation Indicators | LSTM (S1) | VMD-LSTM-QR (S2) | Precision Improvement |
---|---|---|---|
MSE | 5.88 × 10−3 | 4.16 × 10−3 | 29.25% |
100% | 70.75% | ||
RMSE | 9.10 × 10−3 | 6.27 × 10−3 | 31.10% |
100% | 68.90% | ||
MAE | 6.44 × 10−3 | 4.43 × 10−3 | 31.21% |
100% | 68.79% | ||
PICP | - | 93.74% (90% CI) | - |
References
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
Ref. | Renewable Energy Output Prediction | Distribution Network Optimization | |||||
---|---|---|---|---|---|---|---|
Point | Probabilistic Distribution | Interval | Multi-Frequency Features | AC | DC | Uncertainty | |
[5] | √ | × | × | √ | × | × | × |
[6] | √ | × | × | √ | × | × | × |
[7] | × | × | √ | √ | × | × | × |
[8] | √ | × | × | × | × | × | × |
[9] | √ | × | × | × | × | × | × |
[10] | × | √ | × | × | × | × | × |
[11] | √ | × | × | × | × | × | × |
[12] | × | √ | × | √ | × | × | × |
[13] | × | × | √ | × | × | × | × |
[14] | × | × | √ | √ | × | × | × |
[15] | × | × | √ | × | × | × | × |
[16] | × | × | × | × | √ | × | √ |
[17] | × | × | × | × | √ | × | √ |
[18] | × | × | × | × | × | × | √ |
[19] | × | √ | × | × | √ | × | √ |
[20] | × | √ | × | × | √ | × | √ |
[21] | × | × | × | × | × | × | √ |
[22] | × | × | √ | × | √ | × | √ |
[23] | × | × | × | × | × | √ | × |
[24] | × | × | × | × | √ | × | √ |
This paper | × | × | √ | √ | × | √ | √ |
Scenario | Prediction Methods | Optimization Method |
---|---|---|
S1 | LSTM | - |
S2 | ARIMA | - |
S3 | VMD-LSTM-QR | - |
S4 | VMD-LSTM-QR | Deterministic optimization |
S5 | VMD-LSTM-QR | Robust optimization |
Indicators | LSTM (S1) | ARIMA (S2) | VMD-LSTM-QR (S3) | Precision Improvement (Mean) |
---|---|---|---|---|
MSE | 10.57 × 10−3 | 14.17 × 10−3 | 6.79 × 10−3 | 39.38% |
74.59% | 100% | 47.92% | ||
RMSE | 102.79 × 10−3 | 107.64 × 10−3 | 82.45 × 10−3 | 21.15% |
95.49% | 100% | 76.60% | ||
MAE | 36.51 × 10−3 | 31.36 × 10−3 | 25.77 × 10−3 | 22.36% |
100% | 85.89% | 70.58% | ||
PICP | - | 84.21% (90% CI) | - |
Gas Turbine Costs (CNY) | PV Abandonment Penalties (CNY) | Network Loss Cost (CNY) | Total Cost (CNY) | |
---|---|---|---|---|
Deterministic optimization (S3) | 6681.8749 | 0 | 215.8463 | 6897.7212 |
Robust optimization (S4) | 7427.5819 | 0 | 231.2719 | 7658.8538 |
Incremental share | 10.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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
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
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 StyleQiu, 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 StyleQiu, 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