A Distributed Stochastic Optimization Scheduling Method Using Diffusion-TS Generated Scenario for Integrated Energy System
Abstract
1. Introduction
- (1)
- The original Diffusion-TS framework is extended from general time-series generation to day-ahead-forecast-conditioned wind power scenario generation. By incorporating the day-ahead forecast as conditional information, the proposed method learns the mapping between forecasted and actual wind power output and improves the fidelity of generated scenarios.
- (2)
- A temperature-controlled reverse sampling strategy is introduced to explicitly regulate the trade-off between scenario diversity and fidelity, so that the generated wind power scenarios can better satisfy the needs of stochastic dispatch.
- (3)
- A distributed stochastic dispatch framework is developed to integrate the generated wind power scenarios into IES scheduling under wind-power and electric-load uncertainty. Within this framework, the chance constraints are transformed into a tractable mixed-integer linear programming formulation, enabling distributed solution while preserving subsystem privacy.
2. Construction of IES Distributed Optimization Scheduling Model Based on BCD Algorithm
2.1. Steady-State Characteristic Model of CCHP System
- (1)
- Gas turbine
- (2)
- Wind power
- (3)
- Heat pump
- (4)
- Waste heat exchanger
- (5)
- Lithium bromide chiller
- (6)
- Electric chiller
- (7)
- Storage battery
- (8)
- Heat storage tank
2.2. Construction of Objective Function and Constraints
2.2.1. Sub-Problem of Cold Energy Supply and Demand
- (1)
- Objective function
- (2)
- Constraints
2.2.2. Sub-Problem of Heat Energy Supply and Demand
- (1)
- Objective function
- (2)
- Constraints
2.2.3. Sub-Problem of Electricity Supply and Demand
- (1)
- Objective function
- (2)
- Constraints
2.3. The Solution Process of the BCD Algorithm
| Algorithm 1: Block Coordinate Method | |
| Step 1 | Initialization: Set the iteration count k = 0; set the convergence threshold ε; initialize the variables of each subsystem; cold system , heat system , and power system . |
| Step 2 | Iterative loop (While for convergence): k ← k + 1 |
| Step 3 | Fixing the heat and electricity variables, solve the cold energy sub-problem: cold system constraints (update coupling variables: ) |
| Step 4 | Fixing the cold and electricity variables and solve the thermal energy sub-problem: thermal system constraints (update coupling variables: ) |
| Step 5 | Fixing the cold and hot variables and solve the sub-problem of electrical energy: the electrical system constraints (update the coupled variables: ) |
| Step 6 | Calculate the convergence error: |
| Step 7 | Determine convergence: If , the optimal scheduling scheme is obtained; otherwise, return to step 2. |
2.4. Coupling Variables and Privacy-Preserving Mechanism
3. Wind Power Scenario Generation Based on the Diffusion-TS Model
3.1. Overview of the Diffusion-TS Model
3.2. The Main Structure of the Diffusion-TS Model
3.2.1. The Fundamentals of the Generative Diffusion Framework
- (1)
- Forward process
- (2)
- Reverse process
3.2.2. Interpretable Decomposition Model Structure
- (1)
- Trend synthesis module
- (2)
- Seasonality and error synthesis module
3.2.3. Training Objective: Hybrid Loss Function
3.2.4. Conditional Generation Mechanism
3.2.5. Random Sampling Based on the Temperature Regulation
3.3. Generate Scenario Evaluation Indicators
3.3.1. Continuous Ranked Probability Score
3.3.2. Mean Absolute Error
4. IES Distributed Stochastic Optimization Scheduling Method Based on Scenario Sampling
4.1. Chance-Constrained Formulation
4.2. Scenario-Based Deterministic Reformulation
4.3. Overall Framework of the Proposed Stochastic Scheduling Method
5. Results and Discussion
5.1. Analysis of Scene Effects Generated by Diffusion-TS
5.1.1. Data Preparation
5.1.2. Model Training
5.1.3. Analysis of Scenario Generation Effects on the Test Set
- (1)
- Sensitivity analysis of temperature parameters
- (2)
- Analysis of scenario generation results
5.2. Analysis of Results of BCD Optimization Scheduling Algorithm
5.2.1. Analysis of Scheduling Results
| Equipment | Charge and Discharge Efficiency | Minimum State | Maximum State | Charge and Discharge Capacity Power Limit | Initial State | Maintenance Cost Coefficient (¥) |
|---|---|---|---|---|---|---|
| Storage battery | 0.95 | 0.2 | 0.95 | 0.3 | 0.5 | 0.0018 |
| Heat storage tank | 0.90 | 0.2 | 0.95 | 0.5 | 0.5 | 0.0016 |
| Equipment | Electrical Efficiency | Thermal/Cold Efficiency | Minimum Load Rate | Maintenance Cost Coefficient (¥) |
|---|---|---|---|---|
| Wind turbine | — | — | — | 0.08 |
| Gas turbine | 0.34 | 0.54 | 0.3 | 0.0768 |
| Waste heat exchanger | — | 0.75 | — | 0.007 |
| Lithium bromide chiller | — | 1.2 | 0.1 | 0.008 |
| Electric chiller | — | 4.0 | 0.1 | 0.0097 |
| Heat pump | — | 4.0 | 0.1 | 0.0097 |






5.2.2. Sensitivity Analysis of the Imbalance Tolerance Rate
5.3. Analysis of Scheduling Results of Scenario Generation Based on Machine Learning and Traditional Scenario Generation




6. Conclusions
- (1)
- A conditional Diffusion-TS-based wind power scenario generation method driven by day-ahead forecasts is proposed. By incorporating the day-ahead forecast as conditional information into the denoising network, the model learns the relationship between forecasted and actual wind power output and generates high-fidelity wind power scenarios. The test results show that the average CRPS of the generated scenarios is 162.16 MW, which is significantly lower than that of the deterministic forecast benchmark (MAE = 246.00 MW), indicating that the proposed method provides more accurate probabilistic characterization of wind power uncertainty.
- (2)
- A temperature-based strategy is introduced to balance scenario diversity and fidelity. By dynamically scaling the variance of Gaussian noise during the reverse sampling stage, the uncertainty range of the generated scenarios can be explicitly controlled. Sensitivity analysis shows that the model achieves the best performance at τ = 2, where moderate noise injection enables the generated scenarios to better match the probability distribution of actual wind power output.
- (3)
- A distributed stochastic optimization scheduling model based on chance constraints is developed. Under the distributed scheduling framework, the power balance constraint is reformulated as a probabilistic constraint and then converted into a tractable mixed-integer linear programming problem through scenario sampling. The proposed method can effectively address the dual uncertainties of wind power and electric load while preserving subsystem privacy and improving power supply reliability under adverse operating conditions.
- (4)
- A distributed solution framework based on the BCD algorithm is developed, and the impacts of different scenario generation methods on scheduling performance are compared. The case study results show that the BCD algorithm converges within 13 iterations, demonstrating the effectiveness of the distributed coordination mechanism. The total cost of distributed deterministic scheduling is 2.8% higher than that of centralized scheduling, reflecting the economic impact of distributed coordination. The total cost of distributed stochastic scheduling is 53.1% higher than that of distributed deterministic scheduling, mainly due to the increase in fuel cost and wind power curtailment penalty under uncertainty-aware dispatch. Compared with the traditional LHS-K means method, the Diffusion-TS-based scheduling scheme results in a higher total cost, but the generated wind power scenarios are closer to the actual output level, and the resulting dispatch decisions are more consistent with realistic wind power conditions.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Song, D.; Meng, W.; Dong, M.; Yang, J.; Wang, J.; Chen, X.; Huang, L. A critical survey of integrated energy system: Summaries, methodologies and analysis. Energy Convers. Manag. 2022, 266, 115863. [Google Scholar] [CrossRef] [Scilit]
- Song, C.; Yuan, Y.; Dai, L. Distributionally robust optimization of virtual power plant bidding strategies considering discrete scenario-based uncertainties in day-ahead market prices and wind powers. Electr. Power Syst. Res. 2025, 248, 111977. [Google Scholar] [CrossRef] [Scilit]
- Wu, Q.; Li, C. Modeling and operation optimization of hydrogen-based integrated energy system with refined power-to-gas and carbon-capture-storage technologies under carbon trading. Energy 2023, 270, 126832. [Google Scholar] [CrossRef] [Scilit]
- Zhu, F.; Zhao, L.; Liu, W.; Zhu, O.; Hou, T.; Li, J.; Guo, X.; Zhong, P. A stochastic optimization framework for short-term peak shaving in hydro-wind-solar hybrid renewable energy systems under source-load dual uncertainties. Appl. Energy 2025, 400, 126597. [Google Scholar] [CrossRef] [Scilit]
- Li, F.; Wang, D.; Guo, H.; Zhang, J. Distributionally Robust Optimization for integrated energy system accounting for refinement utilization of hydrogen and ladder-type carbon trading mechanism. Appl. Energy 2024, 367, 123391. [Google Scholar] [CrossRef] [Scilit]
- Han, X.; Lv, F.; Li, J.; Zeng, F. Flexible interactive control method for multi-scenario sharing of hybrid pumped storage-wind-photovoltaic power generation. J. Energy Storage 2024, 100, 113590. [Google Scholar] [CrossRef] [Scilit]
- Munkhammar, J. Very short-term probabilistic and scenario-based forecasting of solar irradiance using Markov-chain mixture distribution modeling. Sol. Energy Adv. 2024, 4, 100057. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Zhang, X.; Wang, Y.; Yang, S.; Wang, S.; Xie, Y.; Gong, J.; Lin, J. Power system source-load forecasting based on scene generation in extreme weather. Energy 2025, 330, 136991. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Yu, J.; Gong, L.; Liu, M.; Xiang, X. A GCN-based adaptive generative adversarial network model for short-term wind speed scenario prediction. Energy 2024, 294, 130931. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Peng, X.; Cui, W.; Xu, Y.; Liu, J.; Yuan, H.; Lai, C.; Lai, L. A novel scenario generation method of renewable energy using improved VAEGAN with controllable interpretable features. Appl. Energy 2024, 363, 122905. [Google Scholar] [CrossRef] [Scilit]
- Arjovsky, M.; Bottou, L. Towards Principled Methods for Training Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), Toulon, France, 24–26 April 2017. [Google Scholar]
- Xu, Y.; Zhang, J.; Lu, D.; Li, S.-T.; Li, Q.; Yu, X. An image expansion method based on Wasserstein generative adversarial network for surface defects of fair-faced concrete. Eng. Appl. Artif. Intell. 2026, 171, 114219. [Google Scholar] [CrossRef] [Scilit]
- Min, W.; Wu, W.; Zhang, G.; Zheng, L. FuncScene: Function-centric indoor scene synthesis via a variational autoencoder framework. Comput. Aided Geom. Des. 2024, 111, 102319. [Google Scholar] [CrossRef] [Scilit]
- Ho, J.; Jain, A.; Abbeel, P. Denoising Diffusion Probabilistic Models. Adv. Neural Inf. Process. Syst. 2020, 33, 6840–6851. [Google Scholar]
- Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; Ommer, B. High-Resolution Image Synthesis with Latent Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 10684–10695. [Google Scholar]
- Yang, L.; Zhang, Z.; Song, Y.; Hong, S.; Xu, R.; Zhao, Y.; Zhang, W.; Cui, B.; Yang, M. Diffusion Models: A Comprehensive Survey of Methods and Applications. ACM Comput. Surv. 2024, 56, 1–39. [Google Scholar]
- Vetter, J.; Macke, J.; Gao, R. Generating realistic neurophysiological time series with denoising diffusion probabilistic models. Patterns 2024, 5, 101047. [Google Scholar] [CrossRef] [Scilit]
- Lim, H.; Kim, M.; Park, S.; Park, N. Regular Time-series Generation using SGM. arXiv 2023, arXiv:2301.08518. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Li, X.; Cong, G.; Chen, Y.; Jiang, Y. Multivariate time-series imputation with disentangled temporal representations. In Proceedings of the Eleventh International Conference on Learning Representations (ICLR), Kigali, Rwanda, 1–5 May 2022. [Google Scholar]
- Yuan, X.; Qiao, Y. Diffusion-TS: Interpretable Diffusion for General Time Series Generation. In Proceedings of the International Conference on Learning Representations (ICLR), Vienna, Austria, 7–11 May 2024. [Google Scholar]
- Lu, S.; Wu, D.; Ma, Y. Graph-EXTRA enabled distributed optimal dispatch for integrated energy system in steel industry under uncertainties. Case Stud. Therm. Eng. 2026, 78, 107684. [Google Scholar] [CrossRef] [Scilit]
- Chong, Z.; Yang, L.; Gao, Y.; Song, X. Optimal dispatch strategy for electricity-heat integrated energy system considering multiple flexibility-enhancing methods. Energy Convers. Manag. 2025, 337, 119901. [Google Scholar] [CrossRef] [Scilit]
- Chen, R.; Liao, L.; Song, D.; Wei, C.; Yang, J.; Talaat, M.; Elkholy, M. Two-stage optimization scheduling strategy for virtual power plants considering the correlated uncertainty of distributed energy storage in extreme scenarios. Appl. Energy 2026, 409, 127477. [Google Scholar] [CrossRef] [Scilit]
- Telle, J.-S.; Schönfeldt, P.; Schlüters, S.; Hanke, B.; von Maydell, K. Stochastic net load optimization in distributed integrated energy systems—A forecast based scheduling approach. Smart Energy 2026, 21, 100228. [Google Scholar] [CrossRef] [Scilit]
- Wu, S.; Wang, Y.; Liu, L.; Yang, Z.; Cao, Q.; He, H.; Cao, Y. Two-stage distributionally robust optimal operation of rural virtual power plants considering multi correlated uncertainties. Int. J. Electr. Power Energy Syst. 2024, 161, 110173. [Google Scholar] [CrossRef] [Scilit]
- Gu, W.; Wang, J.; Lu, S.; Luo, Z.; Wu, C. Optimal operation for integrated energy system considering thermal inertia of district heating network and buildings. Appl. Energy 2017, 199, 234–246. [Google Scholar] [CrossRef] [Scilit]
- Wang, R.; Wen, X.; Wang, X.; Fu, Y.; Zhang, Y. Low carbon optimal operation of integrated energy system based on carbon capture technology, LCA carbon emissions and ladder-type carbon trading. Appl. Energy 2022, 311, 118664. [Google Scholar] [CrossRef] [Scilit]
- Chen, X.; Wu, X. The roles of carbon capture, utilization and storage in the transition to a low-carbon energy system using a stochastic optimal scheduling approach. J. Clean. Prod. 2022, 366, 132860. [Google Scholar] [CrossRef] [Scilit]
- Chang, D.; Shen, J.; Zhang, J. Day-ahead and Intraday Optimal Dispatch Schedule for MGT-IES Considering the Dynamic Characteristics of Main Equipment. In Proceedings of the IEEE International Conference on Power Renewable Energy (ICPRE), Shanghai, China, 24–26 September 2021. [Google Scholar]














| Equipment | Capacity | Equipment | Capacity |
|---|---|---|---|
| Storage battery | 6312 kWh | Gas turbine | 800 kW |
| Heat storage tank | 100 kWh | Lithium bromide chiller | 1871 kW |
| Waste heat exchanger | 725 kW | Heat pump | 1224 kW |
| Electric chiller | 650 kW |
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. |
© 2026 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.
Share and Cite
Xia, P.; Chen, C.; Sun, L.; Pan, L. A Distributed Stochastic Optimization Scheduling Method Using Diffusion-TS Generated Scenario for Integrated Energy System. Energies 2026, 19, 1763. https://doi.org/10.3390/en19071763
Xia P, Chen C, Sun L, Pan L. A Distributed Stochastic Optimization Scheduling Method Using Diffusion-TS Generated Scenario for Integrated Energy System. Energies. 2026; 19(7):1763. https://doi.org/10.3390/en19071763
Chicago/Turabian StyleXia, Panpan, Chen Chen, Li Sun, and Lei Pan. 2026. "A Distributed Stochastic Optimization Scheduling Method Using Diffusion-TS Generated Scenario for Integrated Energy System" Energies 19, no. 7: 1763. https://doi.org/10.3390/en19071763
APA StyleXia, P., Chen, C., Sun, L., & Pan, L. (2026). A Distributed Stochastic Optimization Scheduling Method Using Diffusion-TS Generated Scenario for Integrated Energy System. Energies, 19(7), 1763. https://doi.org/10.3390/en19071763

