Comprehensive energy system distribution robust optimization method and system based on deep learning

By generating and clustering uncertain scenario sets through deep learning, and combining them with a two-stage sub-Bruker optimization model, the problem of handling multiple uncertainties in integrated energy systems is solved, thereby improving the system's economy and reliability.

CN119047642APending Publication Date: 2024-11-29STATE GRID BEIJING ELECTRIC POWER CO +2

Patent Information

Application Number
CN202411160406.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When dealing with multiple uncertainties in integrated energy systems, existing technologies struggle to obtain accurate probability distributions through stochastic programming, and robust optimization is too conservative, leading to optimization results that deviate from actual needs and have poor economic efficiency. Furthermore, the fuzzy set construction of the sub-Bruker optimization method is difficult to fully extract historical data information, and the solution process is cumbersome.

Method used

A deep learning-based approach is adopted, which uses conditional generative adversarial networks to generate a set of scenarios with uncertain variables, and then uses K-medoids clustering to cluster them to construct a fuzzy set of uncertain probability distributions. A two-stage sub-Bruker optimization scheduling model is established, and the column and constraint generation algorithm is used for iterative solution.

Benefits of technology

It has improved the economy and reliability of the integrated energy system, reduced wind and solar curtailment, increased energy utilization, and optimized equipment operation plans.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119047642A_ABST
    Figure CN119047642A_ABST
Patent Text Reader

Abstract

The invention discloses an integrated energy system distribution robust optimization method and system based on deep learning, and relates to the technical field of integrated energy system scheduling, and the method comprises the steps: building a simplified mathematical model of target equipment in a to-be-optimized integrated energy system based on the operation constraint of the equipment, generating a scene set of uncertain variables by using a conditional generative adversarial network, and clustering to obtain a typical scene; on the basis of probability distribution of a comprehensive norm constraint typical scene, an uncertain probability distribution fuzzy set is obtained, and a two-stage distribution robust optimization scheduling model of the to-be-optimized comprehensive energy system is established; and performing iterative solution on the two-stage distribution robust optimization scheduling model based on a column and constraint generation algorithm to obtain an optimal scheduling scheme of the to-be-optimized integrated energy system. According to the method, the technical problems that a current moment information-based fuzzy set is difficult to fully mine information contained in historical data, and a distance-based DRO is generally relatively complex in structure and tedious in solving process are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated energy system scheduling, and specifically to a method and system for distributed robust optimization of an integrated energy system based on deep learning. Background Art

[0002] The Integrated Energy System (IES) takes the power system as the core and realizes the cascade utilization of energy by coupling multiple types of energy such as electricity, heat, cold, and natural gas. It can effectively improve the energy utilization efficiency and the level of renewable energy consumption, which is of great significance for achieving sustainable development and responding to global energy challenges. However, with the continuous increase in the penetration rate of renewable energy and the diversification of user needs, both the source and the load of IES are inevitably affected by uncertainty. Therefore, how to ensure the stable operation of the system while dealing with multiple uncertainties is the key to the IES optimization scheduling problem.

[0003] At present, stochastic programming and robust optimization are two common methods for dealing with the uncertainty of power systems. Stochastic programming makes optimization decisions based on the probability distribution of uncertain variables, but the precise probability distribution is often difficult to obtain in practical applications. Robust optimization ensures the optimization effect of the system under the worst conditions by constructing uncertainty sets, but this method is often too conservative, resulting in the optimization results deviating from actual needs and poor economic efficiency. Distributionally Robust Optimization (DRO) combines the advantages of stochastic programming and robust optimization. By constructing probability distribution fuzzy sets, it improves the flexibility and practical application effect of the optimization results while ensuring robustness.

[0004] In the application of power system optimization dispatch, the DRO method still faces many challenges. Specifically, the fuzzy set construction of DRO is usually based on the moment information of uncertain variables or the distance between probability distributions. However, the current fuzzy set based on moment information is difficult to fully mine the information contained in historical data. The DRO based on distance is usually more complex in structure and the solution process is cumbersome. Summary of the invention

[0005] The purpose of the present invention is to provide a method and system for robust optimization of integrated energy system distribution based on deep learning in order to solve at least one of the above technical problems.

[0006] In the first aspect, an embodiment of the present invention provides a distributed robust optimization method for an integrated energy system based on deep learning, comprising: establishing a simplified mathematical model of a target device in the integrated energy system to be optimized based on the operating constraints of the equipment; based on the source-load uncertainty analysis of the simplified mathematical model, generating a scenario set of uncertain variables using a conditional generative adversarial network, and clustering the scenario set of uncertain variables using a K-medoids clustering method to obtain a typical scenario; constraining the probability distribution of the typical scenario based on a comprehensive norm to obtain an uncertain probability distribution fuzzy set; establishing a two-stage distributed robust optimization scheduling model for the integrated energy system to be optimized based on the uncertain probability distribution fuzzy set; iteratively solving the two-stage distributed robust optimization scheduling model based on a column and constraint generation algorithm to obtain the optimal scheduling plan for the integrated energy system to be optimized.

[0007] Furthermore, the integrated energy system to be optimized includes an electric, thermal and hydrogen integrated energy system; the target equipment includes cogeneration equipment, electric boilers, hydrogen energy storage systems and energy storage equipment.

[0008] Furthermore, a conditional generative adversarial network is used to generate scenarios of uncertain variables, and the scenario set of the uncertain variables is clustered using the K-medoids clustering method to obtain a typical scenario, including: training the conditional generative adversarial network based on the historical data of the integrated energy system to be optimized to obtain a trained conditional generative adversarial network; inputting fixed conditional values ​​and high-dimensional noise that conforms to the normal distribution into the trained conditional generative adversarial network, and the generator outputs the scenario set of the uncertain variables; clustering the scenario set of the uncertain variables based on the K-medoids clustering method to obtain the typical scenario.

[0009] Furthermore, the comprehensive norm includes 1-norm and ∞-norm; the uncertain probability distribution fuzzy set includes:

[0010]

[0011] Among them, p s0 is the initial probability value of scene s; p s is the probability of scene s; N s is the total number of scenes; Ω p is the set of scene probability distributions; θ 1 and θ ∞ is the allowable deviation value of the probability distribution.

[0012] Furthermore, the two-stage distributed robust optimization scheduling model includes: a first-stage model for determining the energy procurement and equipment operation plan of the integrated energy system to be optimized, and a second-stage model for adjusting and supplementing the initial plan after uncertainty is revealed.

[0013] Furthermore, the objective function of the two-stage distributed robust optimization scheduling model includes:

[0014]

[0015] Where t represents a time period, and its value range is 1, 2, …, T; T represents the total number of time periods in the scheduling cycle, which is set to 24 hours; m and M represent a certain energy storage device and the total number of energy storage devices, respectively; Ω p is the scene probability distribution p s The collection of 1 / 0,t,m and c 1 / 0,h,m represent the start-stop costs of the heat storage tank and the hydrogen storage tank respectively; and Respectively represent the start and stop status of the heat storage tank and the hydrogen storage tank; C DN , C GN , C Dloss , C CHP , C EST They respectively represent the cost of purchasing and selling electricity, the cost of purchasing and selling gas, the cost of curtailing wind and solar power, the operating cost of cogeneration equipment, and the operating cost of energy storage equipment.

[0016] In the second aspect, the present invention also provides a distributed robust optimization system for an integrated energy system based on deep learning, comprising: a first establishment module, a generation module, a constraint module, a second establishment module and a solution module; wherein the first establishment module is used to establish a simplified mathematical model of a target device in the integrated energy system to be optimized based on the operating constraints of the equipment; the generation module is used to analyze the source-load uncertainty of the simplified mathematical model, generate a scenario set of uncertain variables using a conditional generative adversarial network, and cluster the scenario set of uncertain variables using a K-medoids clustering method to obtain a typical scenario; the constraint module is used to constrain the probability distribution of the typical scenario based on a comprehensive norm to obtain a fuzzy set of uncertain probability distribution; the second establishment module is used to establish a two-stage distributed robust optimization scheduling model for the integrated energy system to be optimized based on the fuzzy set of uncertain probability distribution; the solution module is used to iteratively solve the two-stage distributed robust optimization scheduling model based on a column and constraint generation algorithm to obtain the optimal scheduling plan for the integrated energy system to be optimized.

[0017] Furthermore, the generation module is also used to: train the conditional generative adversarial network based on the historical data of the integrated energy system to be optimized to obtain a trained conditional generative adversarial network; input fixed conditional values ​​and high-dimensional noise that conforms to the normal distribution into the trained conditional generative adversarial network, and the generator outputs the scenario set of the uncertain variables; cluster the scenario set of the uncertain variables based on the K-medoids clustering method to obtain the typical scenario.

[0018] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0019] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described in the first aspect above is implemented.

[0020] The embodiment of the present invention provides a distributed robust optimization method and system for an integrated energy system based on deep learning. According to the coupling characteristics of multiple energy sources between power systems, a mathematical model of an electric, thermal and hydrogen integrated energy system is established. In order to solve the uncertainty of the source and load sides of the integrated energy system, a scenario set of uncertain variables is generated by a conditional generative adversarial network, and the generated scenarios are clustered by the K-medoids clustering method to obtain a typical scenario. In order to obtain a more realistic probability distribution, the fluctuation range of the typical scenario is constrained by the comprehensive norm to obtain a probability distribution fuzzy set of uncertain variables. Based on the constructed fuzzy set, a two-stage distributed robust optimization model for the integrated energy system is established, in which the first stage determines the equipment operation plan of the system, and the second stage adjusts and supplements the initial plan after the uncertainty is revealed. Finally, the established model is iteratively solved by the column and constraint generation method to obtain the optimal scheduling scheme, thereby ensuring the economy and reliability of the system. The present invention alleviates the technical problems that the current fuzzy set based on moment information is difficult to fully mine the information contained in historical data, and the DRO based on distance is usually complex in structure and cumbersome in solution process. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0022] Figure 1 A flowchart of a method for optimizing the distribution of integrated energy systems based on deep learning provided by an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of the architecture of an integrated energy system provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of the architecture of a conditional generative adversarial network provided by an embodiment of the present invention;

[0025] Figure 4A schematic diagram of an optimized scheduling result of electric energy provided by an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of an optimization scheduling result of heat energy provided by an embodiment of the present invention;

[0027] Figure 6 A schematic diagram of a distributed robust optimization system for an integrated energy system based on deep learning provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0029] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

[0030] Embodiment 1

[0031] Figure 1 1 is a flowchart of a method for optimizing the distribution of integrated energy systems based on deep learning according to an embodiment of the present invention. Figure 1 As shown, the method specifically comprises the following steps:

[0032] Step S102: establishing a simplified mathematical model of the target equipment in the integrated energy system to be optimized based on the operation constraints of the equipment.

[0033] Step S104, based on the source-load uncertainty analysis of the simplified mathematical model, a scenario set of uncertain variables is generated using a conditional generative adversarial network, and the scenario set of uncertain variables is clustered using a K-medoids clustering method to obtain a typical scenario.

[0034] Step S106, obtaining a fuzzy set of uncertain probability distribution based on the probability distribution of typical scenarios constrained by the comprehensive norm.

[0035] Step S108, based on the uncertain probability distribution fuzzy set, a two-stage distributed robust optimization scheduling model for the integrated energy system to be optimized is established.

[0036] Step S110, based on the column and constraint generation algorithm, the two-stage distributed robust optimization scheduling model is iteratively solved to obtain the optimal scheduling plan for the integrated energy system to be optimized.

[0037] An embodiment of the present invention provides a method for distributed robust optimization of an integrated energy system based on deep learning. A distributed robust optimization model based on deep learning is used to describe the source-load uncertainty of an electric, thermal and hydrogen integrated energy system, and a column and constraint generation method is used to iteratively solve the model. While improving the economy and reliability of the integrated energy system, the hydrogen energy storage system is used to reduce wind and solar power abandonment and improve energy utilization.

[0038] Figure 2 Schematic diagram of an integrated energy system according to an embodiment of the present invention. Figure 2 As shown, the integrated energy system to be optimized includes an electric, thermal and hydrogen integrated energy system; the target equipment includes cogeneration equipment, electric boilers, hydrogen energy storage systems and energy storage equipment.

[0039] In some optional implementations provided by the embodiments of the present invention, a simplified mathematical model of the target device and related constraints are as follows:

[0040] 1) Cogeneration equipment:

[0041] In order to improve the utilization rate of hydrogen, the combined heat and power (CHP) equipment used in the present invention mixes hydrogen with natural gas to burn to produce electricity and heat energy at the same time, and the constraints considered are as follows:

[0042]

[0043] Among them, P CHP (t) is the output power of CHP at time t, which is determined by the output power P CHP,t (t) and output heat power P CHP,e (t) composition; P CHP,g (t) and P CHP,h (t) are the natural gas power and hydrogen power consumed by CHP respectively; η CHP is the energy conversion efficiency; c m is the thermoelectric ratio; P CHP,min and P CHP,max Respectively represent the upper and lower limits of CHP output power; ΔP CHP,min and ΔP CHP,max Represent the upper and lower limits of the CHP slope constraint respectively.

[0044] Related research shows that the hydrogen blending ratio of natural gas is kept within 20%, which can meet the requirements of tempering and stability. CHP It can be expressed as:

[0045]

[0046] in, and are the lower calorific values ​​of hydrogen and natural gas respectively.

[0047] 2) Electric boiler:

[0048] An electric boiler is a heating device that converts electrical energy into thermal energy. Its operation must meet the following constraints:

[0049]

[0050] Among them, P EB,e (t) respectively represent the power consumption, heat generation and rated heat generation of the electric boiler at time t; η EB Indicates the electricity consumption and hydrogen production efficiency of the electric boiler.

[0051] 3) Hydrogen energy storage system:

[0052] The hydrogen energy storage system (HESS) consists of three devices: an electrolyzer, a fuel cell, and a hydrogen storage tank. In the HESS, electricity, heat, and hydrogen are coupled. The electrolyzer generates hydrogen by electrolyzing water, and the fuel cell burns hydrogen to generate electricity. Its operation must meet the following constraints:

[0053]

[0054] Among them, P EL,h (t), P EL,e (t) are the hydrogen production power and power consumption of the electrolyzer at time t; P FC,h (t), P FC,e (t), P FC,t (t) are the hydrogen consumption power, electricity generation power and heat generation power of the fuel cell at time t; η EL , η FC,e , η FC,t are the efficiency of hydrogen production from electricity in the electrolyzer, the efficiency of hydrogen power generation in the fuel cell, and the efficiency of waste heat utilization; P EL,e,min , P EL,e,max , ΔP EL,e,min , ΔP EL,e,max are the lower limit of the electrolytic cell's power generation, the upper limit of the power generation, the lower limit of the slope constraint, and the upper limit of the slope constraint; P FC,e,min , P FC,e,max They are the upper and lower limits of the fuel cell power consumption respectively.

[0055] 4) Energy storage equipment:

[0056] The energy storage equipment includes hydrogen storage tanks and heat storage tanks. The mathematical models of the two are similar, so they are modeled uniformly. The operation process of the energy storage equipment must meet the following constraints:

[0057]

[0058] Where x represents a hydrogen storage tank or a heat storage tank, They represent the charging and discharging power and the maximum limit of the charging and discharging power of the energy storage device at time t respectively; and are 0-1 integer variables, representing the charge and discharge status of the energy storage device; H(t), H x,min , H x,max are the capacity of the energy storage device at time t, the lower limit and upper limit of the capacity of the energy storage device respectively; and They respectively represent the charging and discharging efficiency of the energy storage device.

[0059] 5) Power balance constraints:

[0060] In the power grid, it is necessary to ensure the power balance of the supplied power, which is expressed as follows:

[0061]

[0062] in, P PV (t), P WT (t), P load,e (t) represent the electric power purchased from the grid, the electric power sold to the grid, the photovoltaic power, the wind turbine power and the user demand load at time t.

[0063] Because the heat network system and the natural gas system are connected to the power system, the heat network and the gas network also need to maintain power balance at all times. The power balance expression of the heat network and the gas network is as follows:

[0064]

[0065] Among them, P load,t (t), P load,g (t) represent the user demand heat load and natural gas load at time t respectively; They respectively represent the natural gas purchase and sale power of the system to the gas grid.

[0066] Specifically, step S104 also includes the following steps:

[0067] Step S1041, training a conditional generative adversarial network based on historical data of the integrated energy system to be optimized to obtain a trained conditional generative adversarial network;

[0068] Step S1042, inputting fixed conditional values ​​and high-dimensional noise conforming to the normal distribution into the trained conditional generative adversarial network, and the generator outputs a scene set of uncertain variables;

[0069] Step S1043: clustering the scene set of uncertain variables based on the K-medoids clustering method to obtain typical scenes.

[0070] Specifically, Figure 3 Schematic diagram of a conditional generative adversarial network architecture provided according to an embodiment of the present invention. Figure 3 As shown in the figure, conditional generative adversarial networks (CGAN) consist of two independent deep learning networks: the generator and the discriminator. On the input side of the CGAN generator, random noise Z is combined with condition Y as the input of the generator G, and the sample x'=G(Z|Y) is generated through the output of generator G. The discriminator D of CGAN not only needs to judge the similarity between the generated sample distribution p(x') and the real sample distribution p(x), but also needs to judge whether the generated sample x' satisfies condition c. The loss function of the generator and discriminator in CGAN is shown as follows:

[0071] L G =-E x' [D(G(Z|Y))]

[0072] L D =-E x [D(X|Y)+E x' [D(G(Z|Y))]

[0073] Where E represents the expected value of the corresponding distribution; D(~) represents the discriminator function. The generator hopes to improve the discriminator output value of the generated sample x', while the discriminator hopes to reduce the discriminator output value of the generated sample x' and improve the discriminator output value of the real sample x. Therefore, the training goal of CGAN is a conditional minimax game:

[0074]

[0075] Among them, the distance between the real sample distribution and the generated sample distribution is measured by Wasserstein distance, which can effectively solve problems such as training difficulties and mode collapse. Wasserstein distance can be expressed in CGAN as:

[0076]

[0077] The above formula represents the optimization of the parameters θ of the discriminator D. (D) , so that the discriminator can maximize the expected value of the true sample E x [D(X)] and the expected value E of the generated sample x' [The difference between D(G(Z)).

[0078] Scene Clustering:

[0079] The trained CGAN is used to generate N wind and solar output, electrical load, and thermal load scenarios, so there are N 4 There are many combinations. As N increases, the complexity of model solution increases. Therefore, it is necessary to reduce the generated scenarios to reduce the amount of calculation. However, too few scenarios will lead to lack of representativeness and affect the accuracy of scheduling results. Compared with the traditional K-means method, the K-medoids method selects the central sample as the clustering center, which can reduce the impact of abnormal data on the clustering effect. The main steps of the clustering process are as follows:

[0080] 1) Let the number of clusters be m, and randomly select m scenes as the initial cluster centers;

[0081] 2) Calculate the distance between the remaining scenes and the center point, assign each scene to the cluster center closest to it, and then divide the original scenes into m clusters;

[0082] 3) Reselect the cluster center for each cluster and calculate the sum of the distances from all points to the cluster center. If the sum of the distances decreases after replacement, select a new cluster center.

[0083] 4) Repeat steps 2 and 3 until the cluster center no longer changes;

[0084] 5) The algorithm converges and outputs the final cluster centers and clusters.

[0085] In an optional implementation provided by an embodiment of the present invention, the comprehensive norm includes a 1-norm and an ∞-norm, which are used to construct a distributed robust optimization fuzzy set, and the expression thereof is as follows:

[0086]

[0087] Where Pr{} represents the probability scale; N and N s Respectively represent the number of scenes generated by CGAN and the number of scenes after clustering; θ 1 and θ ∞ They represent the allowable deviation values ​​of the probability distribution, which can be expressed as:

[0088]

[0089] Among them, α 1 and α ∞ Represents the confidence level that the probability distribution needs to meet.

[0090] Further, we get the uncertain probability distribution fuzzy set, including:

[0091]

[0092] Among them, p s0is the initial probability value of scene s; p s is the probability of scene s; N s is the total number of scenes; Ω p is the set of scene probability distributions; θ 1 and θ ∞ is the allowable deviation value of the probability distribution.

[0093] In some optional implementations provided in the embodiments of the present invention, the two-stage distributed robust optimization scheduling model includes: a first-stage model for determining the energy procurement and equipment operation plan of the integrated energy system to be optimized, and a second-stage model for adjusting and supplementing the initial plan after uncertainty is revealed.

[0094] Specifically, the goal of the first-stage model is to formulate an initial decision plan without considering uncertainty. The objective function of the first-stage model is expressed as follows:

[0095]

[0096] Among them, x represents the decision variable in the first stage, c 1 / 0,t,m and c 1 / 0,h,m represent the start-stop costs of the heat storage tank and the hydrogen storage tank respectively; and Respectively indicate the start and stop status of the heat storage tank and the hydrogen storage tank.

[0097] The goal of the second-stage model is to find the probability distribution of the worst source-load discrete scenario and adjust the decision of the first-stage model. The objective function of the second-stage model is expressed as follows:

[0098]

[0099] Among them, y represents the decision variable of the second stage; C DN , C GN , C Dloss , C CHP , C EST They respectively represent the cost of purchasing and selling electricity, the cost of purchasing and selling gas, the cost of curtailing wind and solar power, the operating cost of cogeneration equipment, and the operating cost of energy storage equipment.

[0100] Specifically, the objective function of the two-stage distributed robust optimization scheduling model includes:

[0101]

[0102] Where t represents a time period, and its value range is 1, 2, …, T; T represents the total number of time periods in the scheduling cycle, which is set to 24 hours; m and M represent a certain energy storage device and the total number of energy storage devices, respectively; Ω p is the scene probability distribution ps The collection of 1 / 0,t,m and c 1 / 0,h,m represent the start-stop costs of the heat storage tank and the hydrogen storage tank respectively; and Respectively represent the start and stop status of the heat storage tank and the hydrogen storage tank; C DN , C GN , C Dloss , C CHP , C EST They respectively represent the cost of purchasing and selling electricity, the cost of purchasing and selling gas, the cost of curtailing wind and solar power, the operating cost of cogeneration equipment, and the operating cost of energy storage equipment.

[0103] The distributed robust optimization problem established by the present invention can be summarized as the following general formula:

[0104]

[0105] Among them, a is the cost coefficient corresponding to the first-stage model; b is the cost coefficient in the objective function of the second-stage model; A, B, C, D, E, F, e, f, c, d, and g are the matrices or vectors corresponding to the variables in the optimization model constraints.

[0106] Since the above equation represents a multi-layer optimization problem, commercial solvers cannot solve it directly. Therefore, the model is divided into the main problem and sub-problems, and the column and constraint generation method is used to iteratively solve it.

[0107] By solving the main problem, we can obtain the optimal solution of the first-stage decision variables and the upper bound of the above general formula. The main problem can be expressed as:

[0108]

[0109] Among them, η is the introduced auxiliary variable; k is the number of model solution iterations.

[0110] When the result of the main problem is known, the sub-problem is to find the lower bound of the above general formula by finding the worst scenario probability distribution within the confidence interval. The sub-problem can be expressed as:

[0111]

[0112] Specifically, the specific solution process listed in the constraint generation method is as follows:

[0113] 1) Initialization: Set the number of iterations k = 1, the convergence accuracy α, the upper bound UB = +∞, and the lower bound LB = -∞;

[0114] 2) By solving the main problem, the optimal decision variables and optimal solution of the first-stage model are obtained, and LB is updated;

[0115] 3) Based on the partial decision values ​​solved from the main problem, solve the sub-problem, obtain the probability distribution under the worst source-load condition and the objective function value of the main problem, and update UB;

[0116] 4) Convergence judgment: If UB-LB≤α is satisfied, stop the iteration and get the optimal solution; otherwise, add the worst probability distribution constraint to the main problem of the first stage model, return to step 2) and continue iterative solution, k=k+1.

[0117] By solving the established two-stage distributed robust optimization model, the optimal dispatch plan of each IES unit considering the uncertainty of source and load can be obtained. Figure 4 A schematic diagram of an optimized dispatch result of electric energy provided by an embodiment of the present invention, comprising Figure 4 It can be seen that renewable energy provides most of the electrical energy, and electrolyzers and fuel cells can play a role in transferring and storing electrical power and absorb part of the output of renewable energy. Figure 5 A schematic diagram of an optimized scheduling result of heat energy provided by an embodiment of the present invention, such as Figure 5 As shown, the cogeneration equipment and electric boiler jointly meet the heat load, and the heat storage tank, as a buffer device, also plays an important role in the balance of heat supply and demand.

[0118] From the above description, it can be seen that an embodiment of the present invention provides a distributed robust optimization method for an integrated energy system based on deep learning. According to the coupling characteristics of multiple energy sources between power systems, a mathematical model of an electric, thermal and hydrogen integrated energy system is established; in order to solve the uncertainty on both the source and load sides of the integrated energy system, a conditional generative adversarial network is used to generate a scenario set of uncertain variables, and the generated scenarios are clustered using the K-medoids clustering method to obtain a typical scenario; in order to obtain a more realistic probability distribution, the fluctuation range of the typical scenario is constrained by the comprehensive norm to obtain a fuzzy set of probability distribution of uncertain variables; based on the constructed fuzzy set, a two-stage distributed robust optimization model of the integrated energy system is established, in which the first stage determines the equipment operation plan of the system, and the second stage adjusts and supplements the initial plan after the uncertainty is revealed; finally, the column and constraint generation method is used to iteratively solve the established model to obtain the optimal scheduling plan, thereby ensuring the economy and reliability of the system.

[0119] Embodiment 2

[0120] Figure 6 Schematic diagram of a distributed robust optimization system for an integrated energy system based on deep learning according to an embodiment of the present invention. Figure 6 As shown, the system includes: a first establishing module 10 , a generating module 20 , a constraint module 30 , a second establishing module 40 and a solving module 50 .

[0121] Specifically, the first establishing module 10 is used to establish a simplified mathematical model of a target device in the integrated energy system to be optimized based on the operating constraints of the device;

[0122] A generation module 20 is used for source-load uncertainty analysis based on a simplified mathematical model, generating a scenario set of uncertain variables using a conditional generative adversarial network, and clustering the scenario set of uncertain variables using a K-medoids clustering method to obtain a typical scenario;

[0123] A constraint module 30, for constraining the probability distribution of typical scenarios based on the comprehensive norm to obtain a fuzzy set of uncertain probability distribution;

[0124] The second building module 40 is used to establish a two-stage distributed robust optimization scheduling model for the integrated energy system to be optimized based on uncertain probability distribution fuzzy sets;

[0125] The solution module 50 is used to iteratively solve the two-stage distributed robust optimization scheduling model based on the column and constraint generation algorithm to obtain the optimal scheduling plan for the integrated energy system to be optimized.

[0126] Specifically, the generating module 20 is further used for:

[0127] The conditional generative adversarial network is trained based on the historical data of the integrated energy system to be optimized to obtain a trained conditional generative adversarial network;

[0128] Fixed conditional values ​​and high-dimensional noise that conforms to the normal distribution are input into the trained conditional generative adversarial network, and the generator outputs a scene set of uncertain variables;

[0129] Based on the K-medoids clustering method, the scene set of uncertain variables is clustered to obtain typical scenes.

[0130] The present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method in the above-mentioned embodiment 1 when executing the computer program.

[0131] The present invention also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the method in the above-mentioned embodiment 1 is implemented.

[0132] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.

[0133] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A robust optimization method for integrated energy system distribution based on deep learning, characterized in that: include: Based on the operation constraints of the equipment, a simplified mathematical model of the target equipment in the integrated energy system to be optimized is established; Based on the source-load uncertainty analysis of the simplified mathematical model, a scenario set of uncertain variables is generated using a conditional generative adversarial network, and the scenario set of uncertain variables is clustered using a K-medoids clustering method to obtain a typical scenario; Based on the probability distribution of the typical scenario constrained by the comprehensive norm, a fuzzy set of uncertain probability distribution is obtained; Based on the uncertain probability distribution fuzzy set, a two-stage distributed robust optimization scheduling model of the integrated energy system to be optimized is established; Based on the column and constraint generation algorithm, the two-stage distributed robust optimization scheduling model is iteratively solved to obtain the optimal scheduling plan for the integrated energy system to be optimized.

2. The method according to claim 1, characterized in that: The integrated energy system to be optimized includes an electric, thermal and hydrogen integrated energy system; the target equipment includes cogeneration equipment, electric boilers, hydrogen energy storage systems and energy storage equipment.

3. The method according to claim 1, characterized in that The conditional generative adversarial network is used to generate scenarios with uncertain variables, and the K-medoids clustering method is used to cluster the scenario set of the uncertain variables to obtain typical scenarios, including: Training a conditional generative adversarial network based on historical data of the integrated energy system to be optimized to obtain a trained conditional generative adversarial network; Inputting fixed conditional values ​​and high-dimensional noise conforming to the normal distribution into the trained conditional generative adversarial network, and outputting a scene set of the uncertain variables; The scene set of the uncertain variables is clustered based on the K-medoids clustering method to obtain the typical scene.

4. The method according to claim 1, characterized in that: The comprehensive norm includes 1-norm and ∞-norm; the uncertain probability distribution fuzzy set includes: Among them, p s0 is the initial probability value of scene s; p s is the probability of scene s; N s is the total number of scenes; Ω p is the set of scene probability distributions; θ1 and θ ∞ is the allowable deviation value of the probability distribution.

5. The method according to claim 1, characterized in that The two-stage distributed robust optimization scheduling model includes: a first-stage model for determining the energy procurement and equipment operation plan of the integrated energy system to be optimized, and a second-stage model for adjusting and supplementing the initial plan after uncertainty is revealed.

6. The method according to claim 1, characterized in that The objective function of the two-stage distributed robust optimization scheduling model includes: Where t represents a time period, and its value range is 1, 2, …, T; T represents the total number of time periods in the scheduling cycle, which is set to 24 hours; m and M represent a certain energy storage device and the total number of energy storage devices, respectively; Ω p is the scene probability distribution p s The collection of 1 / 0,t,m and c 1 / 0,h,m represent the start-stop costs of the heat storage tank and the hydrogen storage tank respectively; and Respectively represent the start and stop status of the heat storage tank and the hydrogen storage tank; C DN , C GN , C Dloss , C CHP , C EST They respectively represent the cost of purchasing and selling electricity, the cost of purchasing and selling gas, the cost of curtailing wind and solar power, the operating cost of cogeneration equipment, and the operating cost of energy storage equipment.

7. A comprehensive energy system distributed robust optimization system based on deep learning, characterized in that: include: A first building module, a generation module, a constraint module, a second building module and a solution module; wherein, The first establishing module is used to establish a simplified mathematical model of a target device in the integrated energy system to be optimized based on the operating constraints of the device; The generation module is used for source-load uncertainty analysis based on the simplified mathematical model, generating a scenario set of uncertain variables using a conditional generative adversarial network, and clustering the scenario set of uncertain variables using a K-medoids clustering method to obtain a typical scenario; The constraint module is used to constrain the probability distribution of the typical scenario based on the comprehensive norm to obtain a fuzzy set of uncertain probability distribution; The second establishing module is used to establish a two-stage distributed robust optimization scheduling model of the integrated energy system to be optimized based on the uncertain probability distribution fuzzy set; The solution module is used to iteratively solve the two-stage distributed robust optimization scheduling model based on a column and constraint generation algorithm to obtain the optimal scheduling plan for the integrated energy system to be optimized.

8. The system according to claim 7, characterized in that The generating module is further used for: Training a conditional generative adversarial network based on historical data of the integrated energy system to be optimized to obtain a trained conditional generative adversarial network; Inputting fixed conditional values ​​and high-dimensional noise conforming to the normal distribution into the trained conditional generative adversarial network, and outputting a scene set of the uncertain variables; The scene set of the uncertain variables is clustered based on the K-medoids clustering method to obtain the typical scene.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Distributed robust coordinated optimization scheduling model for electrothermal integrated system with consideration to wind power uncertainty

    CN108832665A

  • Power distribution network distribution robust optimization scheduling method based on conditional generative adversarial network

    CN117291292A

Cited By

  • Comprehensive energy system operation method based on spectrum normalization generative adversarial network

    CN119294621A

  • Integrated Energy System Operation Method Based on Spectral Normalization Generative Adversarial Network

    CN119294621B

  • Two-stage robust optimization operation method of electricity-hydrogen-heat comprehensive energy system

    CN119962200A

  • Method for constructing robust scheduling model of water-wind-solar complementary system

    CN122001010A