Method, device, terminal and storage medium for solving optimal pricing of integrated energy park
By constructing the energy management model of the integrated energy park and hydrogenation station, and using the column and constraint generation algorithm to solve the problem, the problem of unreasonable pricing mechanism and uncertainty in the existing technology is solved, a reasonable pricing mechanism and benefit sharing are realized, and the operation is reduced. cost.
Patent Information
- Application Number
- CN202410495628.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-24
AI Technical Summary
The existing technology fails to achieve a reasonable pricing mechanism in the integrated energy park, resulting in the problem of interest distribution among multi-subject operators, and does not consider the collaborative optimization between the hydrogenation station and the integrated energy park and the fluctuation of renewable energy output. Uncertainty about changes in load demand.
Construct an energy management model for the integrated energy park and hydrogenation station, solve it through the column and constraint generation algorithm, and determine the optimal pricing strategy, taking into account the park and main network transaction costs, operating costs, hydrogenation station transaction income, and renewable energy output and load uncertainty, using robust optimization methods and master-slave game theory to realize the conversion and solution of the two-layer model.
It achieves a reasonable pricing mechanism, reduces operating costs, makes full use of the load flexibility of hydrogen refueling stations, ensures the robustness of the strategy, promotes the sharing of benefits between integrated energy parks and hydrogen refueling stations, and resolves conflicts between multi-entity operators. The problem of benefit distribution.
Smart Images

Figure CN118096225B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power system automation technology, and in particular to a method, device, terminal and storage medium for solving optimal pricing in an integrated energy park. Background Art
[0002] As an emerging energy management and supply model, the integrated energy park can integrate multiple energy types, such as solar energy, wind energy, biomass energy and conventional energy, to achieve optimal energy configuration and efficient utilization. In the field of hydrogen energy, the construction and promotion of hydrogen refueling stations is a key link in the commercialization of hydrogen fuel cell vehicles.
[0003] As different operating entities, integrated energy parks and hydrogen refueling stations bear the important responsibility of providing stable and sustainable energy supply. A reasonable cost and benefit distribution mechanism is essential to motivate all parties to participate, improve operational efficiency, and promote the coordination and optimization of the entire energy system. In addition, integrated energy parks and hydrogen refueling stations face multiple uncertainties in the fluctuation of renewable energy output and changes in load demand during operation.
[0004] In the prior art, when establishing a pricing mechanism for an integrated energy park containing a hydrogen refueling station, the coordinated optimization between the integrated energy park and the hydrogen refueling station is not taken into account, and the various uncertainties of fluctuations in renewable energy output and changes in load demand faced by the integrated energy park and the hydrogen refueling station during operation are not taken into account. Therefore, a reasonable pricing mechanism is not implemented, leading to difficulties in the distribution of benefits among multiple operators.
[0005] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention
[0006] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method, device, terminal and storage medium for solving the optimal pricing of an integrated energy park are provided, aiming to solve the problem in the prior art that a reasonable pricing mechanism is not implemented when establishing a pricing mechanism for an integrated energy park containing a hydrogen refueling station, resulting in difficulties in the distribution of benefits among multiple operators.
[0007] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0008] A method for solving optimal pricing of a comprehensive energy park, the method comprising:
[0009] Construct the first cost function of the integrated energy park and determine the first uncertainty information of renewable energy output and user load in the integrated energy park;
[0010] Constructing a first energy management model corresponding to the integrated energy park according to the preset constraints within the park, the first cost function and the first uncertainty information;
[0011] Construct the second cost function of the hydrogen refueling station in the integrated energy park and determine the second uncertainty information of renewable energy output, load and hydrogen storage tank inside the hydrogen refueling station;
[0012] Constructing a second energy management model corresponding to the hydrogen refueling station according to the preset constraints in the hydrogen refueling station, the second cost function and the second uncertainty information;
[0013] An optimal pricing strategy model is constructed based on the first energy management model and the second energy management model, and is solved using a column and constraint generation algorithm to obtain energy scheduling results for the integrated energy park and pricing results for hydrogen refueling stations in the integrated energy park.
[0014] In one implementation, the first cost function includes: the electricity transaction cost between the park and the main grid, the park operation cost, and the transaction income between the park and the hydrogen station; the park operation cost includes the natural gas usage cost of the cogeneration unit and the gas boiler and the degradation cost of the energy storage equipment;
[0015] Among them, the electricity transaction cost between the park and the main grid is represented by the amount of electricity bought and sold and the price of electricity traded between the park and the main grid; the operating cost of the park is represented by the gas price, the amount of natural gas consumed by the cogeneration unit and the gas boiler, the degradation coefficient of the energy storage device, the charging power of the energy storage device and the discharging power of the energy storage device; the transaction income between the park and the hydrogen refueling station is represented by the amount of electricity purchased from the hydrogen refueling station to the park, the amount of electricity sold to the park by the hydrogen refueling station, the purchase price of electricity at the hydrogen refueling station and the selling price of electricity at the hydrogen refueling station.
[0016] In one implementation, the first uncertainty information is represented by setting positive and negative deviation signs, deviation rates, and uncertainty budgets within a pre-constructed uncertainty set, wherein the uncertainty set includes: a first uncertainty set corresponding to wind turbines and photovoltaics, and a second uncertainty set corresponding to power loads and thermal loads.
[0017] In one implementation, the constraints within the park include: operating constraints within the park and price constraints within the park; the operating constraints within the park include: power trading constraints with the main grid, operating constraints of cogeneration units and gas turbine boilers, operating constraints of energy storage devices, active power balance constraints of the park, and thermal power balance constraints of the park; the price constraints within the park include: upper and lower price limits and average price constraints;
[0018] The first energy management model is a two-stage robust optimization model with the first cost function as the objective function and the constraints within the park and the first uncertainty information as constraints.
[0019] In one implementation, the second cost function includes the cost of buying electricity and the revenue from selling electricity at the hydrogen station;
[0020] The second uncertainty information is represented by a fuzzy set based on Wasserstein distance and moment information; the fuzzy set includes: a first chance constraint for describing the power balance of the photovoltaic device and a second chance constraint for simulating the range of variation of the hydrogen level in the hydrogen storage tank, the first chance constraint and the second chance constraint are both distributed robust chance constraints;
[0021] The constraints in the hydrogen refueling station include: active power balance constraints in the hydrogen refueling station, electrolyzer device constraints, fuel cell constraints, energy storage device operation constraints in the hydrogen refueling station, and hydrogen storage tank device operation constraints.
[0022] In one implementation, the second energy management model corresponding to the hydrogen refueling station is constructed according to the preset constraints in the hydrogen refueling station, the second cost function and the second uncertainty information, including:
[0023] converting the first chance constraint and the second chance constraint into a deterministic constraint group;
[0024] A deterministic robust optimization model is constructed with the second cost function as the objective function and with the constraints within the hydrogen refueling station and the deterministic constraint group as constraints to obtain a second energy management model corresponding to the hydrogen refueling station.
[0025] In one implementation, an optimal pricing strategy model is constructed according to the first energy management model and the second energy management model, and solved using a column and constraint generation algorithm to obtain energy scheduling results of the integrated energy park and pricing results of the integrated energy park for hydrogen refueling stations, including:
[0026] The first energy management model is used as an upper-layer optimization model, and the second energy management model is used as a lower-layer optimization model, and a two-layer model is constructed based on a master-slave game framework;
[0027] The lower optimization model is converted into constraints through KKT conditions, and the bilinear terms in the objective function of the upper optimization model are eliminated through strong duality theory to convert the two-layer model into a two-stage robust optimization model to obtain the optimal pricing strategy model;
[0028] The column and constraint generation algorithm is used to solve the energy scheduling results of the integrated energy park and the pricing results of the integrated energy park for hydrogen refueling stations;
[0029] Among them, the upper-level goal of the two-layer model is to minimize the total cost of the integrated energy park, and the lower-level goal is to maximize the revenue of the hydrogen refueling station. The amount of electricity traded between the hydrogen refueling station and the integrated energy park in the upper-level goal is calculated by the lower-level optimization model.
[0030] The present invention also provides a device for solving optimal pricing of a comprehensive energy park, wherein the device comprises:
[0031] A first determination module is used to construct a first cost function of the integrated energy park and determine first uncertainty information of renewable energy output and user load in the integrated energy park;
[0032] A first construction module, used to construct a first energy management model corresponding to the integrated energy park according to the preset constraints within the park, the first cost function and the first uncertainty information;
[0033] The second determination module is used to construct a second cost function of the hydrogen refueling station in the comprehensive energy park and determine the second uncertainty information of the renewable energy output, load and hydrogen storage tank inside the hydrogen refueling station;
[0034] A second construction module, configured to construct a second energy management model corresponding to the hydrogen refueling station according to preset constraints within the hydrogen refueling station, the second cost function and the second uncertainty information;
[0035] A solution module is used to construct an optimal pricing strategy model based on the first energy management model and the second energy management model, and solve it using a column and constraint generation algorithm to obtain the energy scheduling results of the integrated energy park and the pricing results of the integrated energy park for the hydrogen refueling station.
[0036] The present invention also provides a terminal, which includes: a memory, a processor, and an optimal pricing solution program for an integrated energy park stored in the memory and executable on the processor, wherein the optimal pricing solution program for an integrated energy park, when executed by the processor, implements the steps of the optimal pricing solution method for an integrated energy park as described above.
[0037] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program can be executed to implement the steps of the method for solving the optimal pricing of an integrated energy park as described above.
[0038] The present invention provides a method for solving the optimal pricing of an integrated energy park, including: constructing a first cost function of the integrated energy park, determining the first uncertainty information of the renewable energy output and user load in the integrated energy park; constructing a first energy management model corresponding to the integrated energy park according to the pre-set constraints in the park, the first cost function and the first uncertainty information; constructing a second cost function of a hydrogenation station in the integrated energy park, determining the second uncertainty information of the renewable energy output, load and hydrogen storage tank inside the hydrogenation station; constructing a second energy management model corresponding to the hydrogenation station according to the pre-set constraints in the hydrogenation station, the second cost function and the second uncertainty information; constructing an optimal pricing strategy model according to the first energy management model and the second energy management model, and solving it by using a column and constraint generation algorithm to obtain the energy scheduling result of the integrated energy park and the pricing result of the integrated energy park for the hydrogenation station. The present invention realizes a reasonable pricing mechanism and solves the problem of interest distribution among multiple operators by considering the coordinated optimization between the integrated energy park and the hydrogenation station, and considering the various uncertainties of renewable energy output fluctuations and load demand changes faced by the integrated energy park and the hydrogenation station during operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a preferred embodiment of the method for solving the optimal pricing of a comprehensive energy park in the present invention;
[0040] Figure 2 It is the structural framework and problem description diagram of the integrated energy system park including the hydrogen refueling station;
[0041] Figure 3 This is the uncertainty optimization result diagram of the robust scheduling plan for photovoltaics in the park;
[0042] Figure 4 This is the uncertainty optimization result diagram of the robust dispatch plan for wind power in the park;
[0043] Figure 5 It is the uncertainty optimization result diagram of the robust dispatch plan for the electric load in the park;
[0044] Figure 6 It is the uncertainty optimization result diagram of the robust scheduling plan for heat load in the park;
[0045] Figure 7 This is the result diagram of the park's electric power dispatch optimization;
[0046] Figure 8 This is the result diagram of the thermal power dispatch optimization of the park;
[0047] Fig. 9 It is the electricity price of hydrogen refueling station and the interactive power result diagram between hydrogen refueling station and integrated energy park;
[0048] Fig.10 It is a graph of the convergence results of the column and constraint generation algorithm;
[0049] Fig.11 It is a functional principle block diagram of a preferred embodiment of the optimal pricing solution device for a comprehensive energy park in the present invention;
[0050] Fig.12 It is a functional principle block diagram of a preferred embodiment of the terminal in the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0052] In order to ensure the robust operation of integrated energy park facilities under various uncertainties, reduce operating costs, make full use of site load flexibility, and promote the sharing of interests among all stakeholders, integrated energy park operators need to establish a clear and fair pricing mechanism.
[0053] The technical problem to be solved by the present invention is to address the deficiencies of the above-mentioned background technology and to provide an optimal pricing strategy for an integrated energy park including a hydrogen refueling station, thereby reducing the operating costs of the integrated energy park, increasing the revenue of the hydrogen refueling station, and contributing to the development and utilization of site load flexibility under a variety of uncertain factors, thereby solving the problem of interest distribution among multiple operators.
[0054] The present invention constructs a comprehensive energy park cost model based on the transaction cost of electricity with the main grid, the park operation cost, and the revenue from transactions with hydrogen stations. The uncertainty of renewable energy output and load in the comprehensive energy park is characterized according to the robust optimization method, and then a two-stage robust optimization model of the comprehensive energy park is constructed; the hydrogen station cost model is constructed according to the purchase cost and sale income of electricity transactions with the comprehensive energy park, and the uncertainty of renewable energy output and load in the hydrogen station is characterized according to the data-driven distributed robust opportunity constraint method, and then a robust optimization model of the hydrogen station is constructed through mathematical conversion; then based on the master-slave game theory, a two-layer optimal pricing strategy model is constructed, which comprehensively considers multiple uncertainties, wherein the upper model is the energy management model of the comprehensive energy park, and the lower model is the energy management model of the hydrogen station. The two-layer model is further converted into a two-stage robust optimization model through mathematical derivation, and solved using the column and constraint generation algorithm. According to the optimal pricing strategy model, the energy scheduling results of the integrated energy park and the pricing results of the park for hydrogen refueling stations can be obtained, which reduces the operating costs, makes full use of the load flexibility of hydrogen refueling stations, ensures the strategy robustness of the park and hydrogen refueling stations under various uncertainties, and promotes the sharing of interests between the integrated energy park and hydrogen refueling stations.
[0055] See also Figure 1 , Figure 1 This is a flow chart of the optimal pricing solution method for the integrated energy park in the present invention. Figure 1 As shown, the optimal pricing solution method for the integrated energy park described in the embodiment of the present invention includes:
[0056] Step S100: construct a first cost function of the integrated energy park, and determine first uncertainty information of renewable energy output and user load in the integrated energy park.
[0057] The present invention takes into account the uncertainty of renewable energy output and user load within the integrated energy park. The structural framework and problem description of the integrated energy system park including the hydrogen refueling station are as follows: Figure 2 shown.
[0058] In an embodiment of the present application, the first cost function includes: the cost of electricity transaction between the park and the main grid, the cost of park operation and the transaction income between the park and the hydrogen refueling station; the cost of park operation includes the cost of natural gas use by the cogeneration unit and the gas boiler and the degradation cost of the energy storage equipment; wherein, the cost of electricity transaction between the park and the main grid is represented by the amount of electricity bought and sold between the park and the main grid and the price of electricity; the cost of park operation is represented by the gas price, the amount of natural gas consumed by the cogeneration unit and the gas boiler, the degradation coefficient of the energy storage device, the charging power of the energy storage device and the discharging power of the energy storage device; the transaction income between the park and the hydrogen refueling station is represented by the amount of electricity purchased from the hydrogen refueling station to the park, the amount of electricity sold to the park by the hydrogen refueling station, the purchase price of electricity at the hydrogen refueling station and the selling price of electricity at the hydrogen refueling station.
[0059] Specifically, the cost function of the integrated energy park is for:
[0060] ;
[0061] ;
[0062] ;
[0063] ;
[0064] in, , , They are the electricity transaction cost with the main grid, the park operation cost and the income from the transaction with the hydrogen station. The park operation cost includes the natural gas usage cost of the cogeneration unit and gas boiler and the degradation cost of the energy storage equipment. is the scheduling period, is the index, is the time interval; and The purchase and sale of electricity between the park and the main grid are respectively expressed in and express; and The amount of natural gas consumed for cogeneration units and gas boilers; and is the charging and discharging power of the energy storage device; is the gas price, is the degradation coefficient of the energy storage device; and They are the amount of electricity purchased and sold by the hydrogen refueling station to the park. , They are the buying and selling prices of electricity at hydrogen refueling stations respectively.
[0065] In an embodiment of the present application, the first uncertainty information is represented by setting positive and negative deviation signs, deviation rates, and uncertainty budgets within a pre-constructed uncertainty set, and the uncertainty set includes: a first uncertainty set corresponding to wind turbines and photovoltaics, and a second uncertainty set corresponding to power loads and thermal loads.
[0066] Specifically, Figure 3 , Figure 4 , Figure 5 and Figure 6 As shown in the figure, they are the uncertainty optimization results of the robust scheduling plan for photovoltaic, wind power, electric load and thermal load. The uncertainty of renewable energy output and user load within the integrated energy park can be expressed as an uncertainty set:
[0067] ;
[0068] ;
[0069] in, Can refer to wind turbines and photovoltaics, Can refer to electricity and heat; represents the first uncertainty set corresponding to wind turbines and photovoltaics, represents the second uncertainty set corresponding to the power load and thermal load, Indicates the active output of wind turbines or photovoltaics. Indicates electrical load or thermal load, and is the deviation ratio, and Indicates positive and negative deviations, and Represents the uncertainty budget of renewable energy output and load. Within the defined uncertainty set, the first constraint describes the relationship between the actual value and the predicted value, the second constraint ensures that positive and negative deviations do not occur at the same time, and the third constraint is the uncertainty budget to adjust the conservatism of the model.
[0070] like Figure 1 As shown, the optimal pricing solution method for the integrated energy park described in this embodiment also includes:
[0071] Step S200: construct a first energy management model corresponding to the integrated energy park according to the preset constraints within the park, the first cost function and the first uncertainty information.
[0072] like Figure 7 and Figure 8 The diagrams are respectively the dispatch optimization result diagrams of the electric power and thermal power of the park. Specifically, the present invention uses a robust optimization method to construct a first energy management model corresponding to the integrated energy park, including its cost function, operation constraints, and price constraints.
[0073] In an embodiment of the present application, the constraints within the park include: operating constraints within the park and price constraints within the park; the operating constraints within the park include: power trading constraints with the main grid, operating constraints of cogeneration units and gas turbine boilers, operating constraints of energy storage devices, active power balance constraints of the park, and thermal power balance constraints of the park; the price constraints within the park include: upper and lower price constraints and average price constraints.
[0074] Specifically, the operating constraints within the integrated energy park include:
[0075] The power transaction constraints with the main grid, that is, the upper and lower limits of the power purchase and sales of the integrated energy park:
[0076] ,
[0077] ,
[0078] In the formula, express The park always purchases electricity from the main power grid. express The park sells electricity to the main power grid at all times. and The maximum power that the park purchases and sells to the main power grid respectively; It is an indicator variable for transactions between the industrial park and the main power grid, which is a 0-1 variable.
[0079] Operation constraints of cogeneration units and gas turbine boilers:
[0080] ,
[0081] ,
[0082] ,
[0083] ,
[0084] ,
[0085] In the formula, , The combined heat and power units are Generate electricity and heat at all times. Indicates that the combined heat and power unit is The power generated at any time, For gas boilers Heat generation power at any time, , are the electricity and heat conversion efficiency of the cogeneration unit, is the heat conversion efficiency of the gas boiler, , are the energy conversion coefficients of the combined heat and power unit and the gas boiler, , The combined heat and power unit and the gas boiler are Natural gas consumption at any given moment, , They are the maximum power generation of the cogeneration unit and the maximum heat generation of the gas boiler.
[0086] Operation constraints of energy storage devices in integrated energy parks:
[0087] ,
[0088] ,
[0089] ,
[0090] ,
[0091] ,
[0092] ,
[0093] In the formula, , It is the charge and discharge indicator variable of the energy storage device, which is a 0-1 variable; and Respectively The charging and discharging power of the energy storage device at all times, , They represent the maximum charging power and maximum discharging power of the energy storage device respectively, and are the minimum and maximum capacities of the energy storage device, , are the charging and discharging efficiency of the energy storage device respectively; For energy storage devices Moment capacity; , are the start and end time of the scheduling period respectively.
[0094] Active power balance constraints in integrated energy parks:
[0095] ;
[0096] In the formula, express The park always purchases electricity from the main power grid. express The park sells electricity to the main power grid at all times. Producing electrical power for the combined heat and power unit; , are the output power of photovoltaic and wind generators respectively; express The energy storage device discharge power at any moment, Indicates the amount of electricity sold by the hydrogen station to the park. is the electrical load, express The charging power of the energy storage device at all times, Indicates the amount of electricity purchased by the hydrogen refueling station from the park.
[0097] Thermal power balance constraints of integrated energy parks:
[0098] ;
[0099] In the formula, is the heating power of the gas boiler, is the heat production power of the combined heat and power unit, For heat load.
[0100] The price constraints within the integrated energy park include:
[0101] The average price constraint on the electricity price set for hydrogen refueling stations prevents direct arbitrage in integrated energy parks:
[0102] ;
[0103] In the formula, Indicated in The transaction electricity price between the hydrogen station and the park at all times, Indicates the amount of electricity purchased by the park and the main network.
[0104] The upper and lower limits of electricity prices set for hydrogen refueling stations:
[0105] ;
[0106] Indicates the minimum electricity price of the hydrogen refueling station, Indicates the maximum electricity price of the hydrogen refueling station.
[0107] The first energy management model is a two-stage robust optimization model with the first cost function as the objective function and the constraints within the park and the first uncertainty information as constraints, specifically:
[0108] ;
[0109] In the formula, represents the first-stage decision variable, represents the scenario decision variable, represents the second-stage decision variable, Y represents the first-stage decision variable set, and X represents the second-stage decision variable set. represents the set of scenario decision variables, , , , They represent the uncertainty set describing photovoltaic output, the uncertainty set describing wind turbine output, the uncertainty set describing power load, and the uncertainty set describing thermal load. , Represent the active output of photovoltaic and wind turbine respectively.
[0110] like Figure 1 As shown, the optimal pricing solution method for the integrated energy park described in this embodiment also includes:
[0111] Step S300: construct a second cost function of the hydrogen refueling station in the comprehensive energy park, and determine the second uncertainty information of the renewable energy output, load and hydrogen storage tank inside the hydrogen refueling station.
[0112] The present invention takes into account the uncertainty of renewable energy output, load and hydrogen storage tanks inside the hydrogen refueling station through data-driven distributed robust opportunity constraints.
[0113] In the embodiment of the present application, the second cost function includes the electricity purchase cost and electricity sales revenue of the hydrogen station. Fig. 9 As shown, Fig. 9 This is the electricity price of the hydrogen refueling station and the interactive power results between the hydrogen refueling station and the comprehensive energy park.
[0114] Specifically, the second cost function corresponding to the hydrogen refueling station is:
[0115] .
[0116] The second uncertainty information is represented by a fuzzy set based on Wasserstein distance and moment information; the fuzzy set includes: a first chance constraint for describing the power balance of the photovoltaic device and a second chance constraint for simulating the range of variation of the hydrogen level in the hydrogen storage tank, and the first chance constraint and the second chance constraint are both distributed robust chance constraints.
[0117] Specifically, the uncertainty of renewable energy output, load and hydrogen storage tank in the hydrogen refueling station is represented by fuzzy sets based on Wasserstein distance and moment information, and then represented by chance constraints:
[0118] First, there is uncertainty in the load of hydrogen fuel cell vehicles at hydrogen refueling stations in daily operations, so the random variable To model the uncertainty in hydrogen loading:
[0119] ,
[0120] In the formula, , represent the actual and predicted hydrogen fuel cell vehicle loads, respectively.
[0121] With fuzzy sets The corresponding random variable It is constructed based on moment information as shown below:
[0122] ,
[0123] In the formula, yes The covariance matrix of represents the probability measure used to define the load distribution of hydrogen fuel cell vehicles, represents the reference probability measure, Represents the set of real numbers of Cartesian product, where represents the number of time steps, represents a time collection, In the probability measure The expected value under , T represents the transpose.
[0124] Secondly, the hydrogen level in the hydrogen storage tank It also depends on , expressed as In order to ensure the stable operation of the hydrogen refueling station, the LOH of the hydrogen storage tank should vary within a reasonable range. Considering the randomness of LOH, we use chance constraints to simulate the range of LOH variation:
[0125] ,
[0126] In the formula, is the ideal value of LOH, is the confidence level.
[0127] Finally, the hydrogen refueling station contains a photovoltaic device. In order to cope with the random characteristics of photovoltaic output, a chance constraint is used to describe the power balance of the model:
[0128] ,
[0129] In the formula, is the number of samples with PV output, Represents the risk of exceeding the limit. represents the aggregate active power, express The predicted value of the photovoltaic power output in the hydrogen station at the moment. This constraint ensures the worst-case probability distribution on the Wasserstein sphere Within this period, the photovoltaic output will be at least The probability of meeting or exceeding the aggregate active power .
[0130] The constraints in the hydrogen refueling station include: active power balance constraints in the hydrogen refueling station, electrolyzer device constraints, fuel cell constraints, energy storage device operation constraints in the hydrogen refueling station, and hydrogen storage tank device operation constraints.
[0131] Specifically, the operating constraints of hydrogen refueling stations include:
[0132] Active power balance constraints in hydrogen refueling stations:
[0133] ,
[0134] In the formula, is the active power consumed by the water electrolysis device, is the active power generated by the fuel cell.
[0135] Operation constraints of water electrolysis devices and fuel cells in hydrogen refueling stations:
[0136] ,
[0137] ,
[0138] ,
[0139] In the formula, and represent the energy conversion efficiency of the water electrolysis device and the fuel cell, respectively. and represent the energy conversion coefficients of the water electrolysis device and the fuel cell, respectively; , Respectively, in time The amount of hydrogen produced by the water electrolysis device and consumed by the fuel cell; It refers to the collection of all equipment (water electrolysis device and fuel cell) in HESS. and They represent the upper and lower limits of active power of different devices respectively.
[0140] Operation constraints of energy storage devices in hydrogen refueling stations:
[0141] ;
[0142] In the formula , is the charging and discharging power of the energy storage device in the hydrogen refueling station, , The maximum charging and discharging power of the energy storage device in the hydrogen refueling station; For energy storage devices in hydrogen refueling stations The capacity of the moment, , The minimum and maximum capacity of the energy storage device in the hydrogen refueling station; , The charging and discharging efficiency of the energy storage device in the hydrogen refueling station; , is the start and end time of the scheduling cycle. It should be noted that the nonlinearity of the first operating constraint of the energy storage device here will make the optimization problem difficult to solve, but according to existing research, it can be proved that this constraint is redundant in the optimization model of this paper, so in actual operation, this constraint can be omitted.
[0143] The constraints of hydrogen tanks in hydrogen refueling stations include:
[0144] Hydrogen level balance constraints of hydrogen storage tanks:
[0145] ,
[0146] Represents the energy conversion efficiency of the hydrogen storage tank;
[0147] Hydrogen storage tank hydrogen storage level restrictions:
[0148] ,
[0149] It is stipulated that the hydrogen in the hydrogen storage tank at the end of scheduling should not be less than the initial stage constraint:
[0150] ,
[0151] The efficient operation of hydrogen storage tank ends:
[0152] ,
[0153] By setting the average value of the LOH of the hydrogen storage tank equal to its ideal value, efficient operation of the hydrogen storage tank has been achieved.
[0154] In the formula, the hydrogen level in the hydrogen storage tank is given by express; and are the minimum and maximum values of LOH.
[0155] like Figure 1 As shown, the optimal pricing solution method for the integrated energy park described in this embodiment also includes:
[0156] Step S400: construct a second energy management model corresponding to the hydrogen refueling station according to the preset constraints in the hydrogen refueling station, the second cost function and the second uncertainty information.
[0157] The present invention constructs a second energy management model corresponding to the hydrogen refueling station, including its cost function and operating constraints, further converts the distributed robust opportunity constraints into a series of deterministic constraints, and constructs the second energy management model corresponding to the hydrogen refueling station into a deterministic robust optimization model.
[0158] In the embodiment of the present application, the step S400 specifically includes:
[0159] converting the first chance constraint and the second chance constraint into a deterministic constraint group;
[0160] A deterministic robust optimization model is constructed with the second cost function as the objective function and with the constraints within the hydrogen refueling station and the deterministic constraint group as constraints to obtain a second energy management model corresponding to the hydrogen refueling station.
[0161] The distributionally robust chance constraint conversion in the embodiment of the present application is to convert the distributionally robust chance constraints into deterministic constraints through a series of mathematical theorems and propositions, thereby transforming the distributionally robust optimization model into a deterministic robust optimization model.
[0162] Specifically, the distributed robust opportunity constraints in the energy management model of the hydrogen refueling station can be converted into a series of deterministic constraints and then modeled as a deterministic robust optimization model:
[0163] First, the distribution constraint of photovoltaic output is:
[0164] ,
[0165] can be rewritten as the following set of deterministic constraints:
[0166] ;
[0167] Where: , , , , All are auxiliary variables; represents the radius of the Wasserstein sphere that describes the uncertainty of photovoltaic power distribution, and the first Historical samples from express, Is its time period Active output.
[0168] Secondly, the LOH of the hydrogen storage tank under nominal hydrogen load is defined as , described as follows:
[0169] ;
[0170] The operating constraints of the hydrogen storage tank are:
[0171] ;
[0172] Through the imperative ,available:
[0173] ;
[0174] Next, based on the constraints
[0175] and constraints ,
[0176] It can be obtained by recursion:
[0177] ;
[0178] Next, the distributed robust chance constraint of the randomness of the hydrogen level in the hydrogen storage tank is described as follows:
[0179] ,
[0180] can be refactored into the following form:
[0181] ,
[0182] Constraints on efficient operation of hydrogen storage tanks can be refactored into the following form:
[0183] ,
[0184] In the above formula, is the Hadamard product, .set up is a vector, that is , of which the first paragraph consists of indivual The latter part consists of zeros, where express indivual Multiply, express indivual Multiply, express indivual Multiplication, express The amount of hydrogen produced by the water electrolysis device, express The amount of hydrogen consumed by the fuel cell, express The predicted hydrogen fuel cell vehicle load at express The random variable used to simulate the uncertainty of hydrogen fuel cell vehicle load.
[0185] Finally, the distributed robust opportunity constraints of the converted hydrogen storage tanks are:
[0186] ;
[0187] The following second-order cone constraints can be further converted equivalently:
[0188] ;
[0189] In the formula, and is an auxiliary variable. At this point, the distributed robust optimization model of the hydrogen refueling station can be equivalently converted into a deterministic model. Its compact form is as follows:
[0190] ;
[0191] In the formula, , , is a constant matrix, , is a constant vector. The dual variables are respectively and express.
[0192] like Figure 1 As shown, the optimal pricing solution method for the integrated energy park described in this embodiment also includes:
[0193] Step S500: construct an optimal pricing strategy model based on the first energy management model and the second energy management model, and solve it using a column and constraint generation algorithm to obtain energy scheduling results of the integrated energy park and pricing results of the integrated energy park for hydrogen refueling stations.
[0194] Specifically, the present invention constructs an optimal pricing strategy model for an integrated energy park including a hydrogen refueling station, converts the model into a classic two-stage robust optimization model through rigorous mathematical derivation, and solves it using a column and constraint generation algorithm. The convergence results of the column and constraint generation algorithm are as follows: Fig.10 shown.
[0195] In the embodiment of the present application, the step S500 specifically includes:
[0196] The first energy management model is used as an upper-layer optimization model, and the second energy management model is used as a lower-layer optimization model, and a two-layer model is constructed based on a master-slave game framework;
[0197] The lower optimization model is converted into constraints through KKT conditions, and the bilinear terms in the objective function of the upper optimization model are eliminated through strong duality theory to convert the two-layer model into a two-stage robust optimization model to obtain the optimal pricing strategy model;
[0198] The column and constraint generation algorithm is used to solve the problem, and the energy scheduling results of the integrated energy park and the pricing results of the integrated energy park for hydrogen refueling stations are obtained.
[0199] Among them, the upper-level goal of the two-layer model is to minimize the total cost of the integrated energy park, and the lower-level goal is to maximize the revenue of the hydrogen refueling station. The amount of electricity traded between the hydrogen refueling station and the integrated energy park in the upper-level goal is calculated by the lower-level optimization model.
[0200] The embodiment of the present application converts the lower-level optimization model into a series of constraints through the KKT (Karush-Kuhn-Tucker) condition, eliminates the bilinear terms in the upper-level objective function through the strong duality theory, and finally converts the proposed two-layer model into a classic two-stage robust optimization model. The column and constraint generation algorithm is an accurate algorithm for the traditional two-stage robust optimization model. Specifically, the algorithm decomposes the two-stage robust optimization model into a main problem and sub-problems, continuously solves the main problem and the reconstructed sub-problems in the iterative process, and realizes the rapid solution of the optimization model.
[0201] The optimal pricing strategy model is:
[0202] ;
[0203] The framework adopts a two-layer structure. Specifically, the upper-layer problem is a two-stage robust optimization problem, and the lower-layer problem is a deterministic equivalent robust optimization problem converted from a distributed robust optimization problem.
[0204] The present invention converts the model into a classic two-stage robust optimization model through rigorous mathematical derivation. Specifically, since the energy management model of the hydrogen refueling station is a convex model with strong duality properties, it can be equivalently expressed as follows based on the KKT condition:
[0205] ;
[0206] Specifically, in the above KKT conditions, the first row represents the original feasibility constraint; the second row describes the stability constraint; the third row represents the complementary relaxation condition, which can be linearized using the big M method; and the fourth row is the dual feasibility constraint.
[0207] Since there are bilinear terms in the objective function, based on the strong duality theory, the equivalent transformation can be as follows:
[0208] ;
[0209] in, represents the second cost function corresponding to the hydrogen refueling station.
[0210] Therefore, the optimal pricing model can be reformulated as a two-stage robust optimization model described below:
[0211] ;
[0212] The problem can be written in the general form:
[0213] ;
[0214] in is the first-stage decision variable, is the decision variable for uncertain scenarios, is the second-stage decision variable, , , , are the constraint coefficient matrices, , , and is a constant column vector.
[0215] When using the column and constraint generation algorithm for efficient solving, the specific steps of the algorithm are as follows:
[0216] Step 1: Initialize, set the lower bound LB to negative infinity, the upper bound UB to positive infinity, and the number of iterations , set O is the empty set.
[0217] Step 2: Solve the main problem MP;
[0218] ;
[0219] Step 2.1: Get the optimal solution of MP ;
[0220] Step 2.2: Update the lower bound ;
[0221] Step 3: Solve the subproblem SP;
[0222] ;
[0223] Step 3.1: Get the optimal SP solution ;
[0224] Step 3.2: Update the upper bound ;
[0225] Step 4: Determine whether the convergence condition is met: ;
[0226] Step 4.1: If no, add new variables and the following constraints;
[0227] ;
[0228] ;
[0229] In the main problem MP, , Go to step 2;
[0230] Step 4.2: If yes, the algorithm ends.
[0231] In one embodiment, if Fig.11 As shown, based on the above-mentioned method for solving the optimal pricing of a comprehensive energy park, the present invention also provides a device for solving the optimal pricing of a comprehensive energy park, including:
[0232] A first determination module 100 is used to construct a first cost function of the integrated energy park and determine first uncertainty information of renewable energy output and user load in the integrated energy park;
[0233] A first construction module 200 is used to construct a first energy management model corresponding to the integrated energy park according to the preset constraints within the park, the first cost function and the first uncertainty information;
[0234] The second determination module 300 is used to construct a second cost function of the hydrogen refueling station in the comprehensive energy park, and determine the second uncertainty information of the renewable energy output, load and hydrogen storage tank inside the hydrogen refueling station;
[0235] A second construction module 400 is used to construct a second energy management model corresponding to the hydrogen refueling station according to the preset constraints in the hydrogen refueling station, the second cost function and the second uncertainty information;
[0236] The solution module 500 is used to construct an optimal pricing strategy model based on the first energy management model and the second energy management model, and use the column and constraint generation algorithm to solve it to obtain the energy scheduling results of the integrated energy park and the pricing results of the integrated energy park for the hydrogen refueling station.
[0237] Fig.12 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. The terminal may include:
[0238] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .
[0239] When the processor 502 executes the program, the optimal pricing solution method for the integrated energy park provided in the above embodiment is implemented.
[0240] Furthermore, the terminal further includes:
[0241] The communication interface 503 is used for communication between the memory 501 and the processor 502 .
[0242] The memory 501 is used to store computer programs that can be executed on the processor 502 .
[0243] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0244] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for solving the optimal pricing of an integrated energy park.
[0245] In summary, the optimal pricing solution method, device, terminal and storage medium of the integrated energy park disclosed in the present invention include: constructing a first cost function of the integrated energy park, determining the first uncertainty information of the renewable energy output and user load in the integrated energy park; constructing a first energy management model corresponding to the integrated energy park according to the pre-set constraints in the park, the first cost function and the first uncertainty information; constructing a second cost function of the hydrogenation station in the integrated energy park, determining the second uncertainty information of the renewable energy output, load and hydrogen storage tank inside the hydrogenation station; constructing a second energy management model corresponding to the hydrogenation station according to the pre-set constraints in the hydrogenation station, the second cost function and the second uncertainty information; constructing an optimal pricing strategy model according to the first energy management model and the second energy management model, and solving it by using the column and constraint generation algorithm to obtain the energy scheduling result of the integrated energy park and the pricing result of the integrated energy park for the hydrogenation station. The present invention realizes a reasonable pricing mechanism and solves the problem of interest distribution among multi-subject operators by considering the coordinated optimization between the integrated energy park and the hydrogenation station, and considering the various uncertainties of renewable energy output fluctuations and load demand changes faced by the integrated energy park and the hydrogenation station during operation.
[0246] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for solving optimal pricing of a comprehensive energy park, characterized in that: The method comprises: Construct the first cost function of the integrated energy park and determine the first uncertainty information of renewable energy output and user load in the integrated energy park; Constructing a first energy management model corresponding to the integrated energy park according to the preset constraints within the park, the first cost function and the first uncertainty information; Construct the second cost function of the hydrogen refueling station in the integrated energy park and determine the second uncertainty information of renewable energy output, hydrogen load and hydrogen storage tank inside the hydrogen refueling station; Constructing a second energy management model corresponding to the hydrogen refueling station according to the preset constraints in the hydrogen refueling station, the second cost function and the second uncertainty information; An optimal pricing strategy model is constructed according to the first energy management model and the second energy management model, and solved by using a column and constraint generation algorithm to obtain energy scheduling results of the integrated energy park and pricing results of the integrated energy park for hydrogen refueling stations; The first uncertainty information is represented by setting a positive and negative deviation flag, a deviation rate, and an uncertainty budget in a pre-constructed uncertainty set, wherein the uncertainty set includes: a first uncertainty set corresponding to wind turbines and photovoltaics, and a second uncertainty set corresponding to power loads and thermal loads; The uncertainty of hydrogen load and hydrogen storage tank in the second uncertainty information is represented by a fuzzy set based on moment information, and the uncertainty of renewable energy output in the second uncertainty information is represented by a fuzzy set based on Wasserstein distance; the fuzzy set includes: a first chance constraint for describing the power balance of the photovoltaic device, the uncertainty of the hydrogen load and a second chance constraint for simulating the range of variation of the hydrogen level in the hydrogen storage tank, and the first chance constraint and the second chance constraint are both distributed robust chance constraints.
2. The optimal pricing solution method for a comprehensive energy park according to claim 1 is characterized in that: The first cost function includes: the electricity transaction cost between the park and the main grid, the park operation cost and the transaction income between the park and the hydrogen refueling station; the park operation cost includes the natural gas usage cost of the cogeneration unit and the gas boiler and the degradation cost of the energy storage equipment; Among them, the electricity transaction cost between the park and the main grid is represented by the amount of electricity bought and sold and the price of electricity traded between the park and the main grid; the operating cost of the park is represented by the gas price, the amount of natural gas consumed by the cogeneration unit and the gas boiler, the degradation coefficient of the energy storage device, the charging power of the energy storage device and the discharging power of the energy storage device; the transaction income between the park and the hydrogen refueling station is represented by the amount of electricity purchased from the hydrogen refueling station to the park, the amount of electricity sold to the park by the hydrogen refueling station, the purchase price of electricity at the hydrogen refueling station and the selling price of electricity at the hydrogen refueling station.
3. The optimal pricing solution method for a comprehensive energy park according to claim 1 is characterized in that: The constraints within the park include: operating constraints within the park and price constraints within the park; the operating constraints within the park include: power trading constraints with the main grid, operating constraints of cogeneration units and gas boilers, operating constraints of energy storage devices, active power balance constraints in the park, and thermal power balance constraints in the park; the price constraints within the park include: upper and lower price limits and average price constraints; The first energy management model is a two-stage robust optimization model with the first cost function as the objective function and the constraints within the park and the first uncertainty information as constraints.
4. The optimal pricing solution method for a comprehensive energy park according to claim 1 is characterized in that: The second cost function includes the cost of buying electricity and the revenue from selling electricity at the hydrogen refueling station; The constraints in the hydrogen refueling station include: active power balance constraints in the hydrogen refueling station, electrolyzer device constraints, fuel cell constraints, energy storage device operation constraints in the hydrogen refueling station, and hydrogen storage tank device operation constraints.
5. The optimal pricing solution method for a comprehensive energy park according to claim 4 is characterized in that: The step of constructing a second energy management model corresponding to the hydrogen refueling station according to the preset constraints in the hydrogen refueling station, the second cost function and the second uncertainty information includes: converting the first chance constraint and the second chance constraint into a deterministic constraint group; A deterministic robust optimization model is constructed with the second cost function as the objective function and with the constraints within the hydrogen refueling station and the deterministic constraint group as constraints to obtain a second energy management model corresponding to the hydrogen refueling station.
6. The optimal pricing solution method for a comprehensive energy park according to claim 1 is characterized in that: An optimal pricing strategy model is constructed according to the first energy management model and the second energy management model, and solved using a column and constraint generation algorithm to obtain energy scheduling results of the integrated energy park and pricing results of the integrated energy park for hydrogen refueling stations, including: The first energy management model is used as an upper-layer optimization model, and the second energy management model is used as a lower-layer optimization model, and a two-layer model is constructed based on a master-slave game framework; The lower optimization model is converted into constraints through KKT conditions, and the bilinear terms in the objective function of the upper optimization model are eliminated through strong duality theory to convert the two-layer model into a two-stage robust optimization model to obtain the optimal pricing strategy model; The column and constraint generation algorithm is used to solve the energy scheduling results of the integrated energy park and the pricing results of the integrated energy park for hydrogen refueling stations; Among them, the upper-level goal of the two-layer model is to minimize the total cost of the integrated energy park, and the lower-level goal is to maximize the revenue of the hydrogen refueling station. The amount of electricity traded between the hydrogen refueling station and the integrated energy park in the upper-level goal is calculated by the lower-level optimization model.
7. An optimal pricing solution device for a comprehensive energy park, characterized in that: The device comprises: A first determination module is used to construct a first cost function of the integrated energy park and determine first uncertainty information of renewable energy output and user load in the integrated energy park; A first construction module, used to construct a first energy management model corresponding to the integrated energy park according to the preset constraints within the park, the first cost function and the first uncertainty information; The second determination module is used to construct a second cost function of the hydrogen refueling station in the comprehensive energy park, and determine the second uncertainty information of the renewable energy output, hydrogen load and hydrogen storage tank inside the hydrogen refueling station; A second construction module, configured to construct a second energy management model corresponding to the hydrogen refueling station according to preset constraints within the hydrogen refueling station, the second cost function and the second uncertainty information; A solution module, used to construct an optimal pricing strategy model according to the first energy management model and the second energy management model, and solve it by using a column and constraint generation algorithm to obtain an energy scheduling result of the integrated energy park and a pricing result of the integrated energy park for the hydrogen refueling station; The first uncertainty information is represented by setting a positive and negative deviation flag, a deviation rate, and an uncertainty budget in a pre-constructed uncertainty set, wherein the uncertainty set includes: a first uncertainty set corresponding to wind turbines and photovoltaics, and a second uncertainty set corresponding to power loads and thermal loads; The uncertainty of hydrogen load and hydrogen storage tank in the second uncertainty information is represented by a fuzzy set based on moment information, and the uncertainty of renewable energy output in the second uncertainty information is represented by a fuzzy set based on Wasserstein distance; the fuzzy set includes: a first chance constraint for describing the power balance of the photovoltaic device, the uncertainty of the hydrogen load and a second chance constraint for simulating the range of variation of the hydrogen level in the hydrogen storage tank, and the first chance constraint and the second chance constraint are both distributed robust chance constraints.
8. A terminal, characterized in that: include: A memory, a processor, and an optimal pricing solution program for an integrated energy park stored in the memory and executable on the processor. When the optimal pricing solution program for an integrated energy park is executed by the processor, the steps of the optimal pricing solution method for an integrated energy park as described in any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed to implement the steps of the method for solving the optimal pricing of an integrated energy park as described in any one of claims 1 to 6.
