1. Introduction
Amidst profound transformations in the global energy landscape, enhancing energy utilization efficiency and achieving the “dual carbon” goals have become pivotal objectives in the energy sector’s development. In the pursuit of low-carbon and clean energy targets, the efficient utilization of renewable energy sources such as WT and PV power is emerging as a major trend in future energy development. The vigorous expansion of wind and solar facilities plays a crucial role in facilitating the transition of the energy structure towards low-carbon and secure energy systems. Consequently, the construction of a new power system predominantly based on new energy sources has become one of the key research focuses [
1,
2]. The IES, as an innovative energy supply framework that amalgamates various forms of energy, enables synergistic complementarity among different energy carriers. It offers significant advantages in improving comprehensive energy utilization efficiency, enhancing economic feasibility, and reducing environmental pollution [
3,
4]. Moreover, advanced optimization scheduling strategies for IES that incorporate renewable energy can effectively enhance the reliability [
5] and flexibility [
6] of the supply side. Therefore, this integrated approach is regarded as one of the effective methods to address current resource shortages and environmental challenges in the energy sector [
7]. Renewable energy has currently been deployed in a variety of settings, including rural areas, communities, and industrial parks. However, the inherent uncertainties associated with renewable energy within IES pose potential risks to the stable energy supply demanded by the user side [
8]. Similarly, the volatility of load demand [
9] presents significant challenges to the stable operation and optimal scheduling of the system. Effectively managing these uncertainties to achieve stable and optimized operation of IES is a crucial research topic in the energy sector [
10,
11].
Currently, there are various methods for addressing the uncertainties in renewable energy and load, primarily using SO [
12,
13] and RO [
14,
15]. Considering the uncertainties closely related to load demand and the generation of WT power, Mirzaei M A et al. [
16] proposed a two-stage hybrid information-gap decision theory (IGDT) stochastic method, aimed at accurately modeling the uncertainties in load demand and wind power generation. Zhong Z et al. [
17] used a stochastic process constructed through a scenario tree to describe the uncertainties in power generation output and developed a multi-stage SO plan suitable for mid-term integrated generation and maintenance scheduling in cascade hydropower systems. Bagheri F et al. [
18] proposed a scenario reduction method based on the K-medoids approach, which can reduce the computational time of SO problems. Additionally, considering system investment and maintenance costs, the method achieves the generation of adversarial networks (GAN) for generating uncertain parameter scenarios. However, stochastic programming requires the probability distribution of uncertain parameters to be known, and then the uncertainty problem is converted into a deterministic problem through sampling or analytical methods. The final optimization result represents the average optimal solution for all possible scenarios [
19]. In practice, obtaining accurate distributions is challenging and cannot precisely reflect real-world patterns [
20].
Sahebi A et al. [
21] proposed an adjustable RO method that takes into account the uncertainties of various source loads; Fang F et al. [
22] introduced a data-driven two-stage stochastic robust optimization scheduling model, which considers various uncertainties to maximize the profits of virtual power plants in the energy market; Wang J et al. [
23] developed a two-stage RO approach for integrating hybrid energy systems, addressing the issue of wind power fluctuations while optimizing the degradation costs and total costs of energy storage systems. These studies use RO methods for optimization, which only require knowledge of the feasible domain of uncertain variables and then focus solely on the optimal result in the worst-case scenario [
24]. However, the results obtained may often be overly conservative [
25]. Moreover, the likelihood of encountering the worst-case scenario in renewable energy generation equipment is very low, which can lead to unnecessary cost expenditures when using RO methods for optimization.
Zhu L et al. [
26] addressed the uncertainties on both the source and load sides by applying SO and RO, respectively, thereby achieving a balance between system operating costs and stability. In recent years, with in-depth research into both SO and RO, the DRO method, which combines the advantages of both, has emerged as a focal point for scholars domestically and internationally. It has gradually become one of the optimization methods that encompass uncertainty within the worst-case boundary constraints. The general idea of DRO is to make optimization decisions based on a certain set of probability distributions when the probability distribution of uncertain parameters is unknown or only partially known. Specifically, it seeks the optimal solution under the worst-case probability distribution, thereby ensuring the robustness of the solution. Compared to traditional optimization methods, DRO does not require precise probability distribution information. Instead, it describes potential distribution ranges by constructing uncertainty sets. This approach is more reliable than SO while being less conservative than RO. He C et al. [
27] addressed the issues of wind power uncertainty and energy costs by constructing a DRO uncertainty set using moment-based uncertainty and minimizing costs as the optimization objective to solve the aforementioned problems. Son Y G et al. [
28] developed and applied a new ambiguity set tailored to each renewable energy source, while employing a DRO method to account for the output uncertainty of renewable energy, thereby enhancing the robustness of previous DRO-based designs. Jin X et al. [
29] proposed a two-stage DRO that uses the Wasserstein metric to select the worst-case distribution within the ambiguity set, thereby considering the uncertainty of renewable energy. Shui Y et al. [
30] utilized norms to constrain the probability distribution ambiguity set of wind power stochastic output. Although DRO can effectively address these issues, the existing studies still have limitations, such as complex solution processes and the use of single norms, which may lead to overly one-sided optimization results.
With the accelerating evolution of energy systems toward multi-energy integration, Monemi Bidgoli et al. [
31] innovatively integrated electricity, heating, cooling, and water systems, proposing a multi-objective optimization model that significantly reduces groundwater extraction. Flexibility was enhanced through DR and energy storage systems. By combining LSTM for load forecasting and mixed-integer linear programming (MILP), the practical applicability of the model was ensured. However, the paper did not delve into the dynamic coordination mechanisms across energy systems, nor did it consider the integration of emerging energy sources such as hydrogen, which limits its future scalability. Karimi et al. [
32] pioneered a multi-energy collaborative framework incorporating hydrogen cycles and water systems. Nevertheless, the paper employed stochastic scenario generation to address PV and WT output fluctuations, which may lead to probability distribution mismatches under extreme weather conditions such as hurricanes, and it did not verify system robustness under extreme weather or failure scenarios, posing potential risks for practical deployment. Masoudi et al. [
33] achieved economic optimality in the IEEE 30-bus system by applying high-accuracy piecewise linearization to thermal unit nonlinear cost functions within an MILP framework. However, the model did not incorporate demand-side response mechanisms or consider the impact of PV and WT output forecast errors on energy storage scheduling, which may impair adaptability to market volatility. The smart home energy management system developed by Haghighi et al. [
34] innovatively integrated thermal energy storage with DR and refined appliance classification. By employing stochastic scenarios to model PV and WT uncertainties, the system realized joint optimization of user cost and emissions. However, the single energy hub architecture failed to overcome the “information silo” issue, limiting scalability, and the lack of quantitative metrics for user comfort may compromise actual user experience.
Based on the above research and analysis, this paper focuses on an IES with electricity–heat–hydrogen multi-energy coupling, composed of energy supply and conversion units including PV and WT generators, MTs, ELs, HFCs, electric boilers (EBs), energy storage devices, the power grid, gas network, and heating supply network. To address the uncertainties within the IES, the scenario method is employed to describe the uncertainties of renewable energy output and load. The integration of energy storage technology can, to some extent, stabilize the impacts caused by these uncertainties, and this technology has gradually become an indispensable part of IES [
35,
36]. Finally, a comprehensive norm is used to constrain the confidence level of uncertainty probabilities, constructing a two-stage RO model that accounts for the uncertainties of WT, PV, and loads. The first stage primarily focuses on long-term planning within the IES, including the selection and investment decisions for various energy equipment. The goal is to minimize the investment costs of the equipment while meeting future energy demands. The second stage shifts the focus to short-term operational optimization of the system, with the core objective of achieving real-time or near-real-time energy dispatch and balance. This involves coordinating the production, conversion, storage, and consumption of various energy sources, such as electricity, heat, and gas, across different time scales. In addition, to better alleviate peak electricity demand, further increase the utilization of renewable energy, and reduce phenomena such as wind curtailment and energy wastage, the price-based DR mechanism can fully leverage the control of loads to achieve reasonable energy utilization under multi-energy coordination. This mechanism optimizes the spatial and temporal distribution of demand-side energy loads. Studies have shown that integrating the DR mechanism into integrated IESs can significantly improve system operation efficiency and flexibility [
37]. DR works by setting reasonable electricity prices, encouraging users to voluntarily adjust their electricity and heating behaviors. By incorporating energy storage devices, it achieves load peak shaving and valley filling, which not only saves energy costs for users but also alleviates the peak load pressure of IESs to some extent, reduces wind curtailment rates, and thus increases the utilization of wind power.
The structure of this article is as follows: The first part introduces the theoretical background, motivation for topic selection, and research objectives of this article; The second part establishes the model of the IES with electricity–heating–hydrogen cogeneration, which includes a DR model, system cost model, electricity–heating balance, and various equipment constraints; The third part establishes a data-driven DRO model, which includes the construction of uncertainty probability distribution sets, DRO models, solution processes, and overall model-solving steps; The fourth part verifies the effectiveness of the proposed model through numerical examples; Finally, the fifth part provides a brief summary and discussion.
The innovation of this article is mainly reflected in two aspects:
First, the use of typical scenarios obtained by combining the MC sampling method with the K-means clustering algorithm is proposed to describe the uncertainties in PV, WT, and loads. The MC, through completely random sampling, could capture extreme scenarios, such as extremely high or low PV and WT outputs, as well as load demand. This allows for testing the system’s performance under worst-case conditions, ensuring the reliability of the scheduling strategy, enhancing the model’s robustness, and mitigating the risk of high operational costs in practical applications. Distinguished from traditional approaches that focus on single energy sources or simplified scenarios, this method better aligns with the operational characteristics of complex real-world energy systems. Compared to other methods, such as Latin Hypercube Sampling (LHS), which is constrained by stratified sampling, it may result in insufficient scenario coverage, failing to adequately capture extreme scenarios; this limitation can lead to suboptimal model performance under extreme conditions, thereby increasing the risk of higher operational costs in practical applications.
Second, a two-stage DRO model is employed to address the uncertainties in PVs, WTs, and loads within the system, achieving a balance between economic efficiency and robustness in the optimization scheduling process. The master problem constructs the objective function by comprehensively considering multiple cost factors, including equipment operation, energy procurement, energy storage costs, curtailment costs of WT and PV power, DR compensations, and carbon emission costs. Additionally, strict constraints, such as equipment capacity limits, charging and discharging efficiency, and ramping constraints, are imposed to minimize the overall system cost. The subproblem focuses on addressing uncertainties, providing a reliable optimization framework for addressing complex energy environments and uncertainty management. It effectively balances the economic efficiency and robustness of the scheduling results. Additionally, by incorporating a DR operational mechanism, the distribution of electricity and heating loads is optimized, further enhancing system operation and reducing system operating costs.
6. Conclusions
This article considers the uncertainties of PV, WT, and loads, establishing a data-driven two-stage DRO scheduling model for an IES that integrates renewable generation, energy storage, as well as DR. To address the uncertainties of PV, WT, and loads, multiple discrete scenarios are generated using MC sampling and then processed through the K-means clustering algorithm to obtain representative scenarios, ensuring that the simulation results closely approximate real-world conditions. The main conclusions drawn from the case study and computational results are summarized as follows:
First, the proposed method combines MC sampling with the K-means clustering algorithm to generate typical scenarios describing the uncertainties of renewable energy and loads in IES. This approach enhances model robustness and mitigates high-cost risks in practical operations. In contrast, alternative methods such as LHS may suffer from insufficient scenario coverage, failing to adequately capture extreme conditions. This deficiency could lead to suboptimal performance of optimization models under extreme scenarios, thereby increasing cost risks in real-world operations.
Second, the proposed framework addresses uncertainties in renewable generation and loads through a two-stage DRO approach, which achieves an optimal balance between economic efficiency and operational robustness during scheduling optimization. The integration of demand response mechanisms further enhances system performance by optimizing the distributions of electricity and heating loads, thereby reducing operational costs. The system’s unit regulation costs escalate proportionally with the magnitude of uncertainty. Nevertheless, the model demonstrates adaptive capability across varying scenarios by dynamically adjusting unit power outputs to identify optimal dispatch solutions for cost minimization.
Third, the optimization results obtained under the comprehensive norm constraint demonstrate better economic performance compared to those considering only a single norm constraints. In comparison with conventional uncertainty-handling methodologies SO and RO, the comparative analysis reveals that DRO exhibits enhanced robustness over SO while achieving greater economic efficiency relative to RO, thereby attaining an optimal balance between these two critical operational dimensions.
The proposed model is applicable to community-level IES incorporating electricity, heating, and hydrogen. Future research will focus on the deep integration and coordinated optimization of multiple energy forms by constructing a multi-energy flow coupling model encompassing cooling, heating, electricity, and hydrogen. New technological pathways will be developed, such as the scheduling of absorption cooling driven by the waste heat of hydrogen HFC and electricity-based cooling technologies. On this basis, the model will be integrated with carbon market and electricity market mechanisms to quantify the economic and environmental benefits of cooling systems in DR and low-carbon transition scenarios. Additionally, power flow analysis will be incorporated, and models capable of characterizing DR uncertainties will be designed to further enhance system stability and expand the model’s applicability.