Energy base scheduling method based on distributed robust optimization method and terminal

Wind power output data is generated through a deep convolutional generative adversarial network based on Wasserstein distance, and the data-driven distribution robust optimization method is used to solve the problem of collaborative development of renewable energy and multiple energy storage in the energy base and the uncertainty of new energy output. Improved system robustness and economy.

CN118569561AActive Publication Date: 2024-08-30STATE GRID FUJIAN POWER ELECTRIC CO ECONOMIC RESEARCH INSTITUTE +1

Patent Information

Application Number
CN202410629725.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-30
Estimated Expiration
2044-05-21

AI Technical Summary

Technical Problem

The theory of the coordinated development of renewable energy and multiple energy storage in existing energy bases is incomplete, and when new energy output is uncertain, existing research is less robust and cannot effectively consider situations that do not appear in historical data.

Method used

Deep convolutional generative adversarial network training based on Wasserstein distance is used to generate wind power output data that obeys the real data distribution, and an optimization model of the energy base is constructed. The dispatch strategy is solved through a data-driven distribution robust optimization method, taking into account various uncertainty factors and Extreme scenes.

Benefits of technology

It improves the robustness and economy of the energy base, ensures that the system can be effectively dispatched in the face of various situations, avoids overly conservative strategies, and enhances response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569561A
    Figure CN118569561A
Patent Text Reader

Abstract

The invention discloses an energy base scheduling method based on a distributed robust optimization method and a terminal, and the method comprises the steps: enabling a Wasserstein distance-based deep convolution generative adversarial network to be trained and completed through employing historical load-wind power data to generate wind power output data obeying real data distribution, and generating a typical scene based on the wind power output data, according to the method, an energy base optimization model is converted into a data-driven distribution robust optimization model based on the Wasserstein distance, the data-driven distribution robust optimization model based on the Wasserstein distance is solved based on a typical scene, a scheduling strategy is obtained, the distribution robust optimization method can consider conditions in various extreme scenes and carry out corresponding scheduling scheme adjustment, and the scheduling efficiency is improved. And based on historical real data, the obtained scheduling strategy is not excessively influenced by extreme scenes, so that the strategy is not excessively conservative, the system has the capability of dealing with various conditions, the robustness of the system is improved, and the economical efficiency and the safety of operation of the energy base are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to an energy base dispatching method and a terminal based on a distributed robust optimization method. Background Art

[0002] Since the Industrial Revolution, air pollution and climate warming caused by the massive consumption of fossil energy have seriously threatened the sustainable development of human society. In order to reduce carbon emissions in the energy sector and reduce dependence on fossil energy, my country has been actively promoting the development of renewable energy and exploring new forms of energy systems. However, there is a temporal and spatial mismatch between the output of renewable energy and user demand load in some regions. If we simply increase efforts to develop renewable resources, it will cause a certain degree of resource waste and fail to meet the growing load demand. Therefore, it is necessary to use energy storage technology to achieve the transfer of energy in space and time, and the concept of energy base has emerged.

[0003] At present, commonly used energy storage methods at home and abroad include battery energy storage, pumped storage and hydrogen energy storage. Electrochemical energy storage systems have the characteristics of flexible configuration and easy maintenance. They are widely used in power systems. They can quickly respond to frequency modulation signals, reduce load peak-valley differences, and promote the consumption of renewable energy. Pumped storage uses water as an energy storage medium and realizes the storage and management of electrical energy through the mutual conversion of electrical energy and potential energy. It is the most mature and economical energy storage method. Hydrogen energy is of great significance as a secondary energy source. Through the technology of hydrogen production from electricity, surplus renewable energy can be converted into hydrogen for storage, realizing large-scale seasonal storage of energy, promoting the consumption of renewable energy and efficient use of social resources. These energy storage methods play an important role in the power system and promote the low-carbon transformation and green development of the power energy system.

[0004] However, there are still a series of technical problems that need to be solved in the coordinated development and application of renewable energy and diversified energy storage in the current energy base, mainly the following two problems:

[0005] Question 1: The theory of multi-energy complementary energy base is not complete. Most existing studies break down the modeling of the coupled system into single electricity, water, and hydrogen energy systems. This analysis method cannot reflect the flexibility and economy of the coupled system.

[0006] Question 2: When it comes to the uncertainty of renewable energy output, most existing studies simply cluster the existing historical data, and then input the wind and solar output and load as deterministic data into the optimization model for optimization. This method cannot take into account situations that did not appear in the historical data and has poor robustness. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide an energy base scheduling method and terminal based on a distributed robust optimization method, which can ensure the economy and safety of the energy base operation.

[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0009] An energy base scheduling method based on a distributed robust optimization method comprises the following steps:

[0010] Using historical load-wind power data to train a deep convolutional generative adversarial network based on Wasserstein distance to obtain a trained deep convolutional generative adversarial network based on Wasserstein distance, and using the trained deep convolutional generative adversarial network based on Wasserstein distance to generate wind power output data that obeys the real data distribution;

[0011] generating a typical scenario based on the wind power output data;

[0012] Constructing an objective function based on maximizing the net income of the energy base, establishing constraints of the energy base, and establishing an energy base optimization model based on the objective function and the constraints;

[0013] The energy base optimization model is converted into a data-driven distributed robust optimization model based on the Wasserstein distance, and the data-driven distributed robust optimization model based on the Wasserstein distance is solved based on the typical scenario to obtain a scheduling strategy.

[0014] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0015] An energy base dispatching terminal based on a distributed robust optimization method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0016] Using historical load-wind power data to train a deep convolutional generative adversarial network based on Wasserstein distance to obtain a trained deep convolutional generative adversarial network based on Wasserstein distance, and using the trained deep convolutional generative adversarial network based on Wasserstein distance to generate wind power output data that obeys the real data distribution;

[0017] generating a typical scenario based on the wind power output data;

[0018] Constructing an objective function based on maximizing the net income of the energy base, establishing constraints of the energy base, and establishing an energy base optimization model based on the objective function and the constraints;

[0019] The energy base optimization model is converted into a data-driven distributed robust optimization model based on the Wasserstein distance, and the data-driven distributed robust optimization model based on the Wasserstein distance is solved based on the typical scenario to obtain a scheduling strategy.

[0020] The beneficial effects of the present invention are: a deep convolutional generative adversarial network based on the Wasserstein distance trained using historical load-wind power data is used to generate wind power output data that obeys the real data distribution, and then a typical scenario is generated based on the wind power output data. The energy base optimization model constructs an objective function to maximize the net profit of the energy base, which is converted into a data-driven distributionally robust optimization model based on the Wasserstein distance, and the data-driven distributionally robust optimization model based on the Wasserstein distance is solved based on typical scenarios to obtain a scheduling strategy. The distributionally robust optimization method can take into account various uncertain factors in the energy system, take into account the situations under various extreme scenarios and make corresponding adjustments to the scheduling plan, and based on historical real data, the obtained scheduling strategy will not be overly affected by extreme scenarios so that the strategy is overly conservative, so that the system is more capable of coping with various situations, and the robustness of the system is improved, thereby ensuring the economy and safety of the energy base operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A flowchart of the steps of an energy base scheduling method based on a distributed robust optimization method according to an embodiment of the present invention;

[0022] Figure 2 It is a structural schematic diagram of an energy base dispatching terminal based on a distributed robust optimization method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in conjunction with the implementation modes and the accompanying drawings.

[0024] Please refer to Figure 1 , an energy base scheduling method based on distributed robust optimization method, comprising the steps of:

[0025] Using historical load-wind power data to train a deep convolutional generative adversarial network based on Wasserstein distance to obtain a trained deep convolutional generative adversarial network based on Wasserstein distance, and using the trained deep convolutional generative adversarial network based on Wasserstein distance to generate wind power output data that obeys the real data distribution;

[0026] generating a typical scenario based on the wind power output data;

[0027] Constructing an objective function based on maximizing the net income of the energy base, establishing constraints of the energy base, and establishing an energy base optimization model based on the objective function and the constraints;

[0028] The energy base optimization model is converted into a data-driven distributed robust optimization model based on the Wasserstein distance, and the data-driven distributed robust optimization model based on the Wasserstein distance is solved based on the typical scenario to obtain a scheduling strategy.

[0029] From the above description, it can be seen that the beneficial effects of the present invention are: the deep convolutional generative adversarial network based on the wasserstein distance trained using historical load-wind power data is used to generate wind power output data that obeys the real data distribution, and then a typical scenario is generated based on the wind power output data. The energy base optimization model constructs an objective function to maximize the net profit of the energy base, which is converted into a data-driven distributionally robust optimization model based on the wasserstein distance, and the data-driven distributionally robust optimization model based on the wasserstein distance is solved based on typical scenarios to obtain a scheduling strategy. The distributionally robust optimization method can take into account various uncertainties in the energy system, take into account the situations in various extreme scenarios and make corresponding adjustments to the scheduling plan, and based on historical real data, the obtained scheduling strategy will not be overly affected by extreme scenarios so that the strategy is overly conservative, so that the system is more capable of coping with various situations, and the robustness of the system is improved, thereby ensuring the economy and safety of the energy base operation.

[0030] Furthermore, the generating of typical scenarios based on the wind power output data includes:

[0031] Clustering the wind power output data using a k-means clustering algorithm to obtain a cluster center;

[0032] The cluster center is taken as a typical scenario.

[0033] From the above description, it can be seen that the use of k-means clustering algorithm to cluster wind power output data reduces the dimension and complexity of the data and improves the model's generalization ability for data. At the same time, it can extract the features of typical scenarios and pass these features as input to the subsequent data-driven distribution robust optimization model based on wasserstein distance to improve the robustness of the model.

[0034] Furthermore, the method of using the trained deep convolutional generative adversarial network based on wasserstein distance to generate wind power output data that obeys the real data distribution includes:

[0035] Noise data that obeys random distribution is input into the trained deep convolutional generative adversarial network based on wasserstein distance, and wind power output data that obeys real data distribution is output.

[0036] From the above description, it can be seen that the noise data that obeys the random distribution is input into the trained deep convolutional generative adversarial network based on the wasserstein distance, and the wind power output data that obeys the real data distribution is output. This fully takes into account the situations that have not appeared in the historical data, making the system more capable of coping with various situations and improving the robustness of the system.

[0037] Furthermore, the objective function constructed by maximizing the net income of the energy base includes:

[0038]

[0039] Where W represents the net income of the energy base, represents the benefits of reducing carbon emissions, F Eb represents the total revenue, C Inv represents the total investment cost, C Run Represents the equipment operation and maintenance cost, C Dep represents the total cost of equipment depreciation, C pumped represents the total cost of the pumped storage power station, Represents the penalty cost for wind curtailment.

[0040] From the above description, it can be seen that the objective function is constructed by maximizing the net income of the energy base, which comprehensively considers the three aspects of the national strategic level, the operating cost of the energy base and the operating income of the energy base. It can comprehensively measure the comprehensive benefits of the energy base, avoid the one-sidedness of a single indicator, and maximize the operating income of the base while considering the operating cost. It helps to balance the economic benefits and sustainable development of the energy base and make it economically feasible.

[0041] Furthermore, the constraints for establishing the energy base include:

[0042] Establish energy balance constraints, stable operation constraints, battery operation constraints, hydrogen energy storage system operation constraints, and pumped storage system constraints for the energy base;

[0043] Constraint conditions are generated according to the energy balance constraint, the stable operation constraint, the battery operation constraint, the hydrogen energy storage system operation constraint, and the pumped storage system constraint.

[0044] From the above description, it can be seen that the energy balance constraints, stable operation constraints, battery operation constraints, hydrogen energy storage system operation constraints and pumped storage system constraints of the energy base are established to ensure that the technical characteristics and performance of the selected equipment meet the requirements of the energy base operation, thereby ensuring that the selected equipment can efficiently convert energy and provide stable output. Moreover, since energy bases usually require long-term operation and have high reliability requirements for energy supply, equipment-related constraints can set the reliability indicators of the equipment to ensure that the selected equipment has sufficient service life, anti-interference ability and fault tolerance, thereby reducing operation risks and maintenance costs.

[0045] Furthermore, the step of converting the energy base optimization model into a data-driven distributed robust optimization model based on the wasserstein distance includes:

[0046] Simplifying the energy base optimization model to obtain a simplified energy base optimization model;

[0047] According to the strong duality theorem, the inner and outer layers of the simplified energy base optimization model are interchanged, and a data-driven distributed robust optimization model based on the wasserstein distance is reconstructed.

[0048] From the above description, it can be seen that by simplifying the energy base optimization model, and then exchanging the inner and outer layers of the simplified energy base optimization model according to the strong duality theorem, and reconstructing the data-driven distributed robust optimization model based on the wasserstein distance, the infinite-dimensional original problem can be transformed into a finite-dimensional convex optimization problem for easy solution.

[0049] Furthermore, the energy base optimization model is simplified to obtain a simplified energy base optimization model including:

[0050]

[0051]

[0052]

[0053] Where x represents the controllable decision variable in the energy base, P 0represents the empirical distribution of the data obtained after scene generation and scene reduction, P represents the joint probability distribution, B() represents the wasserstein ball, c() represents the objective function, and P wind represents wind power, Q() represents an abstract inequality, H() represents an abstract equation, α represents the first dual variable, β represents the second dual variable, and ω represents the third dual variable.

[0054] From the above description, it can be seen that the energy base optimization model is simplified to reduce the solution complexity and improve the solution speed.

[0055] Furthermore, the simplified energy base optimization model is interchanged between inner and outer layers according to the strong duality theorem, and the data-driven distributed robust optimization model based on the wasserstein distance is reconstructed, including:

[0056]

[0057] In the formula, ξ represents a random variable, represents a set of random variables, and u() represents the function of the third dual variable.

[0058] From the above description, it can be seen that according to the strong duality theorem, the inner and outer layers of the simplified energy base optimization model are interchanged and reconstructed, and finally a finite-dimensional convex optimization problem is obtained, so as to better solve it and obtain the optimal energy base scheduling strategy.

[0059] Furthermore, the data-driven distributed robust optimization model based on the wasserstein distance is solved based on the typical scenario to obtain a scheduling strategy including:

[0060] Based on the typical scenario, the gurobi solver is used to solve the data-driven distributed robust optimization model based on the wasserstein distance to obtain the scheduling plan and the output of each component of the energy base.

[0061] From the above description, it can be seen that using the gurobi solver to solve the data-driven distributed robust optimization model based on the wasserstein distance based on typical scenarios is more efficient and reliable.

[0062] Please refer to Figure 2 Another embodiment of the present invention provides an energy base scheduling terminal based on a distributionally robust optimization method, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the above-mentioned energy base scheduling method based on a distributionally robust optimization method when executing the computer program.

[0063] The energy base scheduling method and terminal based on the distributed robust optimization method of the present invention can be applied to the energy base optimization scheduling scenario, which is described below through specific implementation methods:

[0064] Please refer to Figure 1 , Embodiment 1 of the present invention is:

[0065] An energy base scheduling method based on a distributed robust optimization method comprises the following steps:

[0066] S1. Use historical load-wind power data to train a deep convolutional generative adversarial network based on Wasserstein distance to obtain a trained deep convolutional generative adversarial network based on Wasserstein distance, and use the trained deep convolutional generative adversarial network based on Wasserstein distance to generate wind power output data that obeys the real data distribution.

[0067] Specifically, the historical load-wind power data is used to train the deep convolutional generative adversarial network based on the Wasserstein distance. When the "Nash equilibrium" is reached, it means that the training is completed, and the trained deep convolutional generative adversarial network based on the Wasserstein distance is obtained. Noise data that obeys a random distribution is input into the trained deep convolutional generative adversarial network based on the Wasserstein distance, and wind power output data that obeys the real data distribution is output.

[0068] The deep convolutional generative adversarial network is a deep learning model that can implicitly represent the probability distribution of a data set by training on a historical data set. The generator and the discriminator need to continuously learn and optimize themselves throughout the game process and eventually reach a "Nash equilibrium" state. When the generative neural network (GAN) is used to generate distributed generation scenarios, a set of probability distributions p z The random noise data z of (z) is used as the input of the generator, and the probability distribution of the real data is p real (x). The generated data sample output by the generator is G(z), and its probability distribution is p G (z). The goal of the generator is to make the probability distribution of the generated data samples close to the historical data through training. The output of the generator is the generated data sample, whose probability distribution is p G (z). The role of the generator is to make the probability distribution of the generated data samples as close as possible to the historical data through training. For the discriminator, the input data can be historical data or generated data, and the discriminator should distinguish them as accurately as possible. Generator L G and the discriminator L D The loss functions are as follows:

[0069]

[0070]

[0071] The traditional deep convolutional generative adversarial network uses JS divergence (Jensen-Shannon divergence) and KL divergence (Kullback-Leibler divergence), but the second one has a fatal flaw. When the two distributions do not overlap at all, the JS divergence and KL divergence will be 0, which causes the loss function to become a constant and the gradient disappearance problem occurs. The advantage of Wasserstein distance is that even if the two distributions do not overlap, it can still accurately reflect the distance between them. Therefore, the present invention uses Wasserstein distance to improve the traditional deep convolutional generative adversarial network, that is, the deep convolutional generative adversarial network based on the above-mentioned wasserstein distance. The Wasserstein distance is expressed as follows:

[0072]

[0073] The objective function of the deep convolutional generative adversarial network based on wasserstein distance is:

[0074]

[0075] In the formula, represents the gradient of x', and K represents the setting parameter.

[0076] S2. Generate a typical scenario based on the wind power output data, specifically including S21-S22:

[0077] S21. Clustering the wind power output data using a k-means clustering algorithm to obtain cluster centers.

[0078] S22: taking the cluster center as a typical scene, that is, a typical wind power output scene.

[0079] S3, constructing an objective function based on maximizing the net income of the energy base, establishing constraints of the energy base, and establishing an energy base optimization model based on the objective function and the constraints, specifically including S31-S34:

[0080] S31. Construct the objective function based on maximizing the net income of the energy base, specifically:

[0081]

[0082] Where W represents the net income of the energy base, represents the benefits of reducing carbon emissions, FEb represents the total revenue, C Inv represents the total investment cost, C Run Represents the equipment operation and maintenance cost, C Dep represents the total cost of equipment depreciation, C pumped represents the total cost of the pumped storage power station, Represents the penalty cost for wind curtailment.

[0083] Nowadays, global climate change has become an important issue of concern to all mankind. By establishing carbon emission indicators and carbon reduction policies to reduce greenhouse gas emissions and reduce the impact of global climate change. Establishing carbon emission indicators and implementing carbon reduction policies can encourage enterprises and individuals to take energy-saving and emission reduction measures, improve resource utilization efficiency, reduce pollution and damage to the environment, and achieve sustainable development. In addition, carbon reduction policies can promote enterprise transformation and upgrading, promote economic structural adjustment, promote green development and the development of a low-carbon economy, and improve the competitiveness and sustainable development capabilities of the industry. Therefore, establishing carbon emission indicators and implementing carbon reduction policies is an important measure that is conducive to protecting the environment, promoting economic development, and fulfilling international responsibilities.

[0084] The benefits of reducing carbon emissions are:

[0085]

[0086] In the formula, θ represents the average carbon emission per kilowatt-hour. represents the carbon emission price, P e Indicates the amount of electricity generated by the energy base.

[0087] The total revenue is:

[0088]

[0089]

[0090]

[0091] In the formula, N represents the number of typical weeks, and the total revenue of N weeks is used to approximate the total revenue of the whole year. e1,i It indicates the revenue obtained by selling excess electricity to the power grid from the energy base, R e2,i represents the emission reduction benefits generated by wind power in the energy base, P net,i,t represents the electric power sold in the energy base at time t, K e1,i,t represents the on-grid electricity price at time t, μ loss Represents the transmission loss coefficient, K c Indicates the price of reducing carbon emissions at the energy base, in RMB / kg, K f It indicates the conversion ratio of carbon emissions to coal burning in thermal power generation, in kg / kWh.

[0092] The total investment cost is:

[0093]

[0094]

[0095] In the formula, C Inv,k represents the total investment cost of the equipment, where k = 1 represents electrolyzer, k = 2 represents fuel cell, k = 3 represents hydrogen storage tank, k = 4 represents pumped storage, k = 5 represents battery, r represents the discount rate, m represents the operating life of the energy base, P ele,max represents the investment capacity of the electrolyzer, P fc,max represents the fuel cell investment capacity, P tan,max represents the investment capacity of the hydrogen storage tank, P wat,max represents the investment capacity of pumped storage, P bat,max represents the investment capacity of the battery, e1 represents the unit investment cost of the electrolyzer, e2 represents the unit investment cost of the fuel cell, e3 represents the unit investment cost of the hydrogen storage tank, e4 represents the unit investment cost of pumped storage, and e5 represents the unit investment cost of the battery.

[0096] The equipment operation and maintenance costs are:

[0097]

[0098] In the formula, Q k It indicates the percentage of annual operation and maintenance cost of each equipment to the initial investment cost of the equipment.

[0099] The total depreciation cost of the equipment is:

[0100]

[0101] In the formula, C R Residual value, taken as 10%C Inv .

[0102] The total cost of the pumped storage power station is:

[0103]

[0104] In the formula, C pump_cap Represents the cost per unit volume of the reservoir, in yuan / m3, V pump_cap Indicates the maximum capacity of the downstream reservoir to be constructed, C power It represents the maintenance cost of the pumped turbine per installed unit power, in RMB / kW, P power Represents the power of the pump turbine of the pumped storage system, T a Indicates the total number of years the energy base has been in operation, Com_pc It represents the maintenance cost per unit volume of the reservoir, in RMB / m3, V pump_pp represents the maximum volume of the upstream reservoir, C om_pp V represents the investment cost of the pump turbine per unit capacity of the pumped storage system. power represents the total investment of pumped turbine capacity, C rep_pp It represents the cost of replacing the turbine of the pumped storage power station in the future due to failure and loss, in RMB / kW, T pump It indicates the life of the pumped-storage turbine equipment in the station, in years.

[0105] The penalty cost for wind curtailment is:

[0106]

[0107] Where η represents the wind abandonment penalty coefficient, P wind,i,t Indicates the wind power abandoned.

[0108] S32. Establish energy balance constraints, stable operation constraints, battery operation constraints, hydrogen energy storage system operation constraints and pumped storage system constraints for the energy base.

[0109] Wherein, the energy balance constraint is:

[0110]

[0111]

[0112] In the formula, It represents the sum of wind, fire, water and nuclear active power. represents the sum of active power of chemical batteries, hydrogen energy storage and pumped storage, P grid Indicates the active power of the grid, Indicates the total active power of the load, It represents the sum of wind, fire, water and nuclear reactive power, represents the sum of reactive power of chemical batteries, hydrogen energy storage and pumped storage, Q grid Indicates the reactive power of the grid. Represents the total reactive power of the load.

[0113] The stable operation constraints are:

[0114] U min ≤U t ≤U max ;

[0115] β min ≤β t ≤β max ;

[0116] fmin ≤f t ≤f max ;

[0117] Where U min Indicates the minimum voltage for the power grid to operate safely and stably, U t Indicates the voltage at which the power grid can operate safely and stably, U max Indicates the maximum voltage at which the power grid can operate safely and stably, β min Indicates the minimum phase angle for safe operation of the power grid, β t Indicates the phase angle at which the power grid can operate safely, β max Indicates the maximum phase angle at which the power grid can operate safely, f min Indicates the minimum grid frequency at which the grid can operate safely, f t Indicates the grid frequency at which the grid can operate safely, f max Indicates the maximum grid frequency at which the grid can operate safely.

[0118] In order to protect the cycle life of the battery, the energy storage charge state must be strictly controlled to avoid overcharging and over-discharging. During use, the guidance of the battery management system should be followed to strictly control the upper and lower limits of the charge state. The energy storage device needs to ensure that the output power is sufficient, and the maximum output energy must also meet the load requirements. And to avoid sudden large power loss when the load is using electricity, such as starting a large motor, which causes a sharp drop in power quality, the composite energy storage device must be able to quickly release large power to support the system, while ensuring that the battery storage energy does not exceed the respective maximum power limit. Therefore, the battery operation constraints are:

[0119] S OC,min ≤S OC,i ≤S OC,max ;

[0120]

[0121] P os,i +P bat,i ≥ΔP max ;

[0122] P bat,min ≤P bat,i ≤P bat,max ;

[0123] In the formula, S OC,min Indicates the lower limit of energy storage charge state, S OC,i Indicates the energy storage charge state, S OC,max In an optional implementation, S OC,min 20%~30%, S OC,max 80%~100%, S OC,i+1Indicates the energy storage charge state at the next moment, ΔE bat,i represents the energy change of battery energy storage, n represents the climbing coefficient, E k Indicates the rated capacity of the battery, P bat,i represents the rated power of the battery, T represents the scheduling time period, and P os,i Represents the total power that other energy storage can generate, P bat,i Indicates the power that the battery can generate, ΔP max Indicates the maximum instantaneous power loss, P bat,min Indicates the lower limit of the power that the battery can generate, P bat,max Indicates the upper limit of the power that the battery can produce.

[0124] As one of the core devices in the hydrogen storage system, the hydrogen storage tank is used to store the hydrogen produced by the electrolyzer when there is energy surplus. The hydrogen tank can realize the translation of energy in time and space. In order to extend the working life of the equipment and ensure the stability of hydrogen production and power generation, the start and stop time and power change of the electrolyzer and fuel cell are constrained. The operating constraints of the hydrogen energy storage system are:

[0125]

[0126]

[0127] P ele,i,t =η ele V he,i,t ;

[0128]

[0129]

[0130]

[0131]

[0132]

[0133] Where P h_max Indicates the maximum outflow or inflow rate of the hydrogen storage tank, P h,i,t It indicates the amount of hydrogen flowing out or in from the hydrogen storage tank at time t. When it is a positive value, it means that hydrogen is released from the hydrogen storage tank. When it is a negative value, it means that hydrogen is filled into the hydrogen storage tank. h,i,t Indicates the amount of gas in the hydrogen storage tank at time t, E h,i,t-1 represents the amount of hydrogen contained in the hydrogen storage tank at time t-1, P h,t Indicates the amount of hydrogen produced per unit time by the electrolyzer, E h_max Indicates the maximum hydrogen storage capacity of the hydrogen storage tank. Indicates the rated minimum operating power of the electrolyzer, Pele,i,t Indicates the operating power of the electrolyzer, Indicates the rated maximum operating power of the electrolyzer, η ele Indicates the efficiency of P2G in producing hydrogen per unit volume, V he,i,t represents the volume of hydrogen produced by electrolyzer i at time t, P fc,i,t represents the power of the fuel cell, η fc represents the fuel cell efficiency, Indicates the maximum rated power of the fuel cell, V hf,i,t Indicates the fuel cell output, U ele,i,t represents the start and stop variables of the ith electrolytic cell at time t, U ele,i,t-1 represents the start and stop variables of the ith electrolytic cell at time t-1, U ele,i,p represents the start-stop control intermediate variable, p represents the intermediate variable, SU ele Indicates the minimum start-up time of the electrolyzer, SD ele Indicates the minimum stop time of the electrolytic cell, U fc,i,t-1 represents the start-stop variable of the i-th fuel cell at time t-1, U fc,i,t represents the start-stop variable of the i-th fuel cell at time t, U fc,i,p Indicates the start-stop control intermediate variable, SU fc Indicates the minimum start-up time of the fuel cell, SD fc represents the minimum stop time of the fuel cell, P ele,i,t-1 Represents the operating power of the electrolytic cell at time t-1, RU ELE Indicates the rising power limit of the electrolyzer, RD ELE Indicates the reduced power limit of the electrolyzer, P fc,i,t-1 represents the power of the fuel cell at time t-1, RU FC Represents the rising power limit of the fuel cell, RD FC Indicates the reduced power limit of the fuel cell. ele , SD ele ,SU fc , SD fc 1 hour, RU ELE , RD ELE , R.U. FC , RD FC Each is 20% of the maximum power of the corresponding device.

[0134] The pumped storage system constraints are mainly composed of three parts: power constraints, reservoir water capacity constraints and water inflow and outflow constraints per unit time.

[0135] The power constraint is:

[0136]

[0137] In the formula, γ H represents the 0-1 water discharge state control variable of the pumped storage power station, P psmax represents the installed capacity of the turbine unit, P p,i,t represents the power generated by the turbine unit driven by water discharge, γ P represents the 0-1 pumping state control variable of the pumped storage power station. Under normal circumstances, pumping and releasing cannot be carried out at the same time, so this constraint is used to constrain the control variable. H and γ P Cannot take 1 at the same time.

[0138] The reservoir water capacity constraint is:

[0139]

[0140] In the formula, c psmin It represents the ratio of the minimum storage capacity of the upstream reservoir of the pumped storage system to the maximum energy, E psmax represents the maximum storage energy of the upstream reservoir of the pumped storage system, E ps,i,t represents the water storage capacity of the upstream reservoir of the pumped storage system at time t, E ps,i,t-1 represents the water storage capacity of the upstream reservoir of the pumped storage system at time t-1, α P Indicates the energy conversion efficiency when releasing water, α H It represents the energy conversion efficiency during pumping, and ΔT represents the unit interval time of optimized operation.

[0141] The water inlet and outlet constraints per unit time are:

[0142]

[0143] Where N t Represents the total number of discrete points for the optimization run.

[0144] S33. Generate constraint conditions according to the energy balance constraint, the stable operation constraint, the battery operation constraint, the hydrogen energy storage system operation constraint and the pumped storage system constraint.

[0145] S34. Establishing an energy base optimization model according to the objective function and the constraint conditions.

[0146] S4, converting the energy base optimization model into a data-driven distributed robust optimization model based on the wasserstein distance, and solving the data-driven distributed robust optimization model based on the wasserstein distance based on the typical scenario to obtain a scheduling strategy, specifically including S41-S43:

[0147] S41, simplifying the energy base optimization model to obtain a simplified energy base optimization model, specifically:

[0148]

[0149]

[0150]

[0151] Where x represents the controllable decision variable in the energy base, P 0 represents the empirical distribution of the data obtained after scene generation and scene reduction, P represents the joint probability distribution, B() represents the wasserstein ball, c() represents the objective function, and P wind represents wind power, Q() represents an abstract inequality, H() represents an abstract equation, α represents the first dual variable, β represents the second dual variable, and ω represents the third dual variable.

[0152] S42. According to the strong duality theorem, the simplified energy base optimization model is interchanged between the inner and outer layers, and a data-driven distributed robust optimization model based on the wasserstein distance is reconstructed, specifically:

[0153]

[0154] In the formula, ξ represents a random variable, represents a set of random variables, and u() represents the function of the third dual variable.

[0155] The data-driven distributed robust optimization model based on the Wasserstein distance adopts the first-order Wasserstein distance as a measurement method for measuring the empirical distribution and the true distribution in distributed robust optimization, specifically:

[0156]

[0157] Where π represents the joint probability distribution of ξ1 and ξ2, and its marginal distributions are P and P 0 as follows:

[0158]

[0159]

[0160] Where P wind,i Represents the real value of wind power, P 0 wind,i Indicates the historical data value of wind power.

[0161] The Wasserstein distance is used to define a sphere with the empirical distribution of historical data as the center ε and the Wasserstein distance as the radius to constrain the wind power output around the fuzzy set of the empirical distribution:

[0162] B(P 0 )={W(P,P 0 )≤ε};

[0163] But since W(P,P 0 ) It is an infinite-dimensional problem in itself and cannot be solved directly as a constraint. It needs to be equivalently transformed into a finite-dimensional convex optimization problem before it can be solved. Therefore, there are operations S41-S42.

[0164] S43. Based on the typical scenario, the gurobi solver is used to solve the data-driven distributed robust optimization model based on the wasserstein distance to obtain the scheduling plan and the output of each component of the energy base.

[0165] Please refer to Figure 2 , Embodiment 2 of the present invention is:

[0166] An energy base scheduling terminal based on a distributionally robust optimization method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the energy base scheduling method based on a distributionally robust optimization method in Example 1 is implemented.

[0167] In summary, the present invention provides an energy base scheduling method and terminal based on the distributed robust optimization method, which uses historical load-wind power data to train a deep convolutional generative adversarial network based on the wasserstein distance to generate wind power output data that obeys the real data distribution, and then generates typical scenarios based on the wind power output data. The energy base optimization model constructs an objective function to maximize the net profit of the energy base, and converts it into a data-driven distributed robust optimization model based on the wasserstein distance. The data-driven distributed robust optimization model based on the wasserstein distance is solved based on typical scenarios to obtain a scheduling strategy. The distributed robust optimization method can take into account various uncertainties in the energy system, take into account the situations in various extreme scenarios and make corresponding adjustments to the scheduling plan, and based on historical real data, the obtained scheduling The strategy will not be overly affected by extreme scenarios so that it becomes overly conservative, which makes the system more capable of coping with various situations and improves the robustness of the system, thereby ensuring the economy and safety of the energy base operation; in addition, the noise data that obeys the random distribution is input into the trained deep convolutional generative adversarial network based on the wasserstein distance, and the wind power output data that obeys the real data distribution is output, which fully takes into account the situations that have not appeared in the historical data, making the system more capable of coping with various situations and improving the robustness of the system; and the energy base optimization model is simplified, and then the inner and outer layers of the simplified energy base optimization model are interchanged according to the strong duality theorem, and the data-driven distributed robust optimization model based on the wasserstein distance is reconstructed, which can transform the infinite-dimensional original problem into a finite-dimensional convex optimization problem for easy solution.

[0168] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An energy base scheduling method based on distributed robust optimization method, characterized in that: Includes steps: Using historical load-wind power data to train a deep convolutional generative adversarial network based on Wasserstein distance to obtain a trained deep convolutional generative adversarial network based on Wasserstein distance, and using the trained deep convolutional generative adversarial network based on Wasserstein distance to generate wind power output data that obeys the real data distribution; generating a typical scenario based on the wind power output data; Constructing an objective function based on maximizing the net income of the energy base, establishing constraints of the energy base, and establishing an energy base optimization model based on the objective function and the constraints; The energy base optimization model is converted into a data-driven distributed robust optimization model based on the Wasserstein distance, and the data-driven distributed robust optimization model based on the Wasserstein distance is solved based on the typical scenario to obtain a scheduling strategy.

2. The energy base scheduling method based on the distributed robust optimization method according to claim 1 is characterized in that: The typical scenario generated based on the wind power output data includes: Clustering the wind power output data using a k-means clustering algorithm to obtain a cluster center; The cluster center is taken as a typical scenario.

3. The energy base scheduling method based on the distributed robust optimization method according to claim 1 is characterized in that: The method of using the trained deep convolutional generative adversarial network based on wasserstein distance to generate wind power output data that obeys the real data distribution includes: Noise data that obeys random distribution is input into the trained deep convolutional generative adversarial network based on wasserstein distance, and wind power output data that obeys real data distribution is output.

4. The energy base scheduling method based on the distributed robust optimization method according to claim 1 is characterized in that: The objective function constructed by maximizing the net benefit of the energy base includes: Where W represents the net income of the energy base, represents the benefits of reducing carbon emissions, F Eb represents the total revenue, C Inv represents the total investment cost, C Run Represents the equipment operation and maintenance cost, C Dep represents the total cost of equipment depreciation, C pumped represents the total cost of the pumped storage power station, Represents the penalty cost for wind curtailment.

5. The energy base scheduling method based on the distributed robust optimization method according to claim 1 is characterized in that: The constraints for establishing the energy base include: Establish energy balance constraints, stable operation constraints, battery operation constraints, hydrogen energy storage system operation constraints, and pumped storage system constraints for the energy base; Constraint conditions are generated according to the energy balance constraint, the stable operation constraint, the battery operation constraint, the hydrogen energy storage system operation constraint, and the pumped storage system constraint.

6. The energy base scheduling method based on the distributed robust optimization method according to claim 1 is characterized in that: The converting of the energy base optimization model into a data-driven distributed robust optimization model based on the wasserstein distance comprises: Simplifying the energy base optimization model to obtain a simplified energy base optimization model; According to the strong duality theorem, the inner and outer layers of the simplified energy base optimization model are interchanged, and a data-driven distributed robust optimization model based on the wasserstein distance is reconstructed.

7. The energy base scheduling method based on the distributed robust optimization method according to claim 6 is characterized in that: The energy base optimization model is simplified to obtain a simplified energy base optimization model including: Where x represents the controllable decision variable in the energy base, P 0 represents the empirical distribution of the data obtained after scene generation and scene reduction, P represents the joint probability distribution, B() represents the wasserstein ball, c() represents the objective function, and P wind represents wind power, Q() represents an abstract inequality, H() represents an abstract equation, α represents the first dual variable, β represents the second dual variable, and ω represents the third dual variable.

8. The energy base scheduling method based on the distributed robust optimization method according to claim 7 is characterized in that: The simplified energy base optimization model is interchanged between inner and outer layers according to the strong duality theorem, and a data-driven distributed robust optimization model based on the wasserstein distance is reconstructed, including: In the formula, ξ represents a random variable, represents a set of random variables, and u() represents the function of the third dual variable.

9. The energy base scheduling method based on the distributed robust optimization method according to claim 1 is characterized in that: The data-driven distributed robust optimization model based on the wasserstein distance is solved based on the typical scenario to obtain a scheduling strategy including: Based on the typical scenario, the gurobi solver is used to solve the data-driven distributed robust optimization model based on the wasserstein distance to obtain the scheduling plan and the output of each component of the energy base.

10. An energy base dispatching terminal based on a distributed robust optimization method, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements each step of an energy base scheduling method based on a distributed robust optimization method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Microgrid capacity planning method and device considering multi-dimensional uncertainty and energy management strategy

    CN115776138A

  • Microgrid two-stage distribution robust optimization scheduling method based on Hausdorff distance

    CN116957229A

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

    CN117291292A

  • Data-driven three-stage scheduling method for electricity, heat and gas networks based on wind electricity indeterminacy

    US20200313433A1

Cited By

  • Capacity planning method and system for comprehensive energy system of oxygen-enriched combustion power plant

    CN118917556A

  • A capacity planning method and system for an integrated energy system of an oxygen-enriched combustion power plant

    CN118917556B