Game optimization operation method and device based on multiple energy storage operation subjects
By using game optimization operation methods and nested particle swarm mechanisms in the power system to optimize the strategies of energy storage operating entities, the problem of low collaborative operation efficiency of energy storage operating entities is solved, and more efficient energy management and economic benefits are achieved.
Patent Information
- Application Number
- CN202410721392.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-24
AI Technical Summary
Existing technologies fail to effectively optimize the collaborative operation of different energy storage operating entities, resulting in low energy management efficiency.
Using a game optimization operation method based on multiple energy storage operating entities, through a double-layer optimization model and a nested particle swarm mechanism, the operation strategy of large-scale energy storage and distributed energy storage is optimized, combining the methods of minimizing comprehensive costs and maximizing comprehensive benefits. Target, adjust the operation strategies of different energy storage entities.
It improves the operational efficiency of different energy storage operating entities' collaborative participation in energy management, taking into account new energy consumption goals and user-side economic benefits.
Smart Images

Figure CN118690950A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system energy storage optimization operation, and in particular to a game optimization operation method and device based on multiple energy storage operating entities. Background Art
[0002] New energy is renewable, environmentally friendly, and rich in natural resources, and its share in the new power system is increasing. However, new energy represented by wind power and photovoltaic power has obvious uncertainty and volatility, which will affect the stable operation of the power system.
[0003] However, the existing technology does not consider the coordinated operation optimization of large-scale energy storage and distributed energy storage from the perspective of different energy storage operators, which limits the potential for different scale energy storage to participate in energy management in a coordinated manner on the grid / load side. Therefore, the operating efficiency of different energy storage operators to participate in energy management in a coordinated manner is low.
[0004] Therefore, there is an urgent need for a game optimization operation strategy to solve the problem of low operating efficiency of different energy storage operators participating in energy management in a collaborative manner. Summary of the invention
[0005] The embodiment of the present invention provides a game optimization operation method and device based on multiple energy storage operating entities to solve the problem of low operation efficiency of different energy storage operating entities collaboratively participating in energy management.
[0006] In order to solve the above problems, an embodiment of the present invention provides a game optimization operation method based on multiple energy storage operation entities, including:
[0007] The two-layer optimization model includes: an upper model and a lower model; the objective function of the upper model is to minimize the comprehensive cost; the comprehensive cost includes: operating cost, new energy abandonment cost and electricity sales income; the objective function of the lower model is to maximize the comprehensive income; the comprehensive income includes: grid-connected income and electricity purchase cost;
[0008] Randomly generate a nested particle group corresponding to the energy storage system to be tested; wherein the nested particle group includes: an outer particle group and an inner particle group; the outer particle group includes: large-scale energy storage operation strategy data and time-of-use electricity price quotation strategy data; the inner particle group includes: distributed energy storage operation strategy data and electricity purchase strategy data;
[0009] The nested particle swarm is input into a preset master-slave game two-layer optimization model, and the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested are output.
[0010] As an improvement of the above scheme, the nested particle swarm is input into a preset master-slave game two-layer optimization model, and the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested are output, including:
[0011] Repeat the inner particle swarm optimization operation;
[0012] Among them, the inner particle swarm optimization operation includes: basic parameter setting step, lower model calculation step and update number judgment step;
[0013] The basic parameter setting step includes: updating the outer particle group based on the particle update rule, and inputting the time-of-use electricity price quotation strategy data corresponding to the updated outer particle group into the lower model as the basic parameter;
[0014] The lower model calculation step includes: updating the inner particle group based on the particle update rule, inputting the updated inner particle group as the initial value of the game equilibrium point into the master-slave game double-layer optimization model, calculating the fitness value of the objective function corresponding to the lower model containing basic parameters under the updated inner particle group, and recording the current update times of the inner particle group; among the fitness values calculated for each update of the inner particle group, selecting the inner particle layer with the largest fitness value as the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data;
[0015] The update number judgment step includes: judging whether the current update number of the inner particle swarm is equal to the maximum update number threshold; if not, re-executing the lower model calculation step and the update number step; if so, based on the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data obtained in the lower model calculation step, executing the outer particle swarm optimization operation, after executing the outer particle layer optimization operation, outputting the optimal scale energy storage operation strategy data, the optimal time-of-use electricity price quotation strategy data, the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data.
[0016] As an improvement of the above solution, the outer particle swarm optimization operation includes:
[0017] The optimal power purchasing strategy data calculated by the lower model is input into the upper model as basic parameters;
[0018] Calculate the fitness value of the objective function corresponding to the upper model containing basic parameters under the updated outer particle swarm, and record the current updated parameters of the outer particle swarm; wherein the updated outer particle swarm is obtained from the basic parameter setting step;
[0019] Among the fitness values calculated each time the outer particle layer is updated, the outer particle layer with the largest fitness value is selected as the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy;
[0020] Determine whether the current update times of the outer particle swarm is equal to the maximum update times threshold;
[0021] If not, re-execute the inner particle swarm optimization operation;
[0022] If so, the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy are determined.
[0023] As an improvement of the above solution, this embodiment includes:
[0024] The upper model operates under the first constraint condition; wherein the first constraint condition includes: large-scale energy storage power station operation constraint, new energy output constraint, generator set operation constraint, power balance constraint, node voltage constraint and line flow constraint;
[0025] The lower model operates under the second constraint condition; wherein the first constraint condition includes: energy storage operation constraint, energy storage SOC state constraint and reverse power constraint.
[0026] As an improvement of the above solution, the method of obtaining several typical scenarios of new energy output of the energy storage system to be tested includes:
[0027] Obtain historical data of the energy storage system to be tested;
[0028] According to the historical data and the k-means clustering algorithm, several typical scenarios of new energy output are generated; wherein each typical scenario of new energy output includes: a photovoltaic active output power curve and corresponding model parameters, charging of large-scale energy storage devices, discharging cost coefficients of large-scale energy storage devices, grid-connected electricity prices of new energy power stations, active power generation of new energy power stations, upper and lower limits of new energy grid-connected active power, grid-connected electricity prices of distributed photovoltaic storage systems and maximum reverse power within the allowable range.
[0029] Accordingly, an embodiment of the present invention further provides a game optimization operation device based on multiple energy storage operation entities, comprising: a data acquisition module, a parameter input module, a particle swarm generation module and a result output module;
[0030] The data acquisition module is used to obtain several typical scenarios of new energy output of the energy storage system to be tested;
[0031] The parameter input module is used to input each of the typical scenarios of new energy output as parameters into the optimization model to obtain a master-slave game double-layer optimization model; wherein the master-slave game double-layer optimization model includes: an upper model and a lower model; the objective function of the upper model is to minimize the comprehensive cost; the comprehensive cost includes: operating cost, new energy abandonment cost and electricity sales income; the objective function of the lower model is to maximize the comprehensive income; the comprehensive income includes: system grid-connected income and electricity purchase cost;
[0032] The particle swarm generation module is used to randomly generate a nested particle swarm corresponding to the energy storage system to be tested; wherein the nested particle swarm includes: an outer particle swarm and an inner particle swarm; the outer particle swarm includes: large-scale energy storage operation strategy data and time-of-use electricity price quotation strategy data; the inner particle swarm includes: distributed energy storage operation strategy data and electricity purchase strategy data;
[0033] The result output module is used to input the nested particle swarm into a preset master-slave game two-layer optimization model, and output the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested.
[0034] As an improvement of the above solution, the result output module includes: repeatedly executing the inner layer particle swarm optimization operation;
[0035] Among them, the inner particle swarm optimization operation includes: basic parameter setting step, lower model calculation step and update number judgment step;
[0036] The basic parameter setting step includes: updating the outer particle group based on the particle update rule, and inputting the time-of-use electricity price quotation strategy data corresponding to the updated outer particle group into the lower model as the basic parameter;
[0037] The lower model calculation step includes: updating the inner particle group based on the particle update rule, inputting the updated inner particle group as the initial value of the game equilibrium point into the master-slave game double-layer optimization model, calculating the fitness value of the objective function corresponding to the lower model containing basic parameters under the updated inner particle group, and recording the current update times of the inner particle group; among the fitness values calculated for each update of the inner particle group, selecting the inner particle layer with the largest fitness value as the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data;
[0038] The update number judgment step includes: judging whether the current update number of the inner particle swarm is equal to the maximum update number threshold; if not, re-executing the lower model calculation step and the update number step; if so, based on the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data obtained in the lower model calculation step, executing the outer particle swarm optimization operation, after executing the outer particle layer optimization operation, outputting the optimal scale energy storage operation strategy data, the optimal time-of-use electricity price quotation strategy data, the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data.
[0039] As an improvement of the above solution, the outer particle swarm optimization operation includes:
[0040] The optimal power purchasing strategy data calculated by the lower model is input into the upper model as basic parameters;
[0041] Calculate the fitness value of the objective function corresponding to the upper model containing basic parameters under the updated outer particle swarm, and record the current updated parameters of the outer particle swarm; wherein the updated outer particle swarm is obtained from the basic parameter setting step;
[0042] Among the fitness values calculated each time the outer particle layer is updated, the outer particle layer with the largest fitness value is selected as the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy;
[0043] Determine whether the current update times of the outer particle swarm is equal to the maximum update times threshold;
[0044] If not, re-execute the inner particle swarm optimization operation;
[0045] If so, the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy are determined.
[0046] As an improvement of the above solution, this embodiment includes:
[0047] The upper model operates under the first constraint condition; wherein the first constraint condition includes: large-scale energy storage power station operation constraint, new energy output constraint, generator set operation constraint, power balance constraint, node voltage constraint and line flow constraint;
[0048] The lower model operates under the second constraint condition; wherein the first constraint condition includes: energy storage operation constraint, energy storage SOC state constraint and reverse power constraint.
[0049] As an improvement of the above solution, the method of obtaining several typical scenarios of new energy output of the energy storage system to be tested includes:
[0050] Obtain historical data of the energy storage system to be tested;
[0051] According to the historical data and the k-means clustering algorithm, several typical scenarios of new energy output are generated; wherein each typical scenario of new energy output includes: a photovoltaic active output power curve and corresponding model parameters, charging of large-scale energy storage devices, discharging cost coefficients of large-scale energy storage devices, grid-connected electricity prices of new energy power stations, active power generation of new energy power stations, upper and lower limits of new energy grid-connected active power, grid-connected electricity prices of distributed photovoltaic storage systems and maximum reverse power within the allowable range.
[0052] As can be seen from the above, the present invention has the following beneficial effects:
[0053] The present invention provides a game optimization operation method based on multiple energy storage operating entities, obtains several typical scenarios of new energy output of the energy storage system to be tested; inputs each typical scenario of new energy output as a parameter into the optimization model to obtain a master-slave game double-layer optimization model; randomly generates a nested particle group corresponding to the energy storage system to be tested; wherein the nested particle group includes: an outer particle group and an inner particle group; inputs the nested particle group into the preset master-slave game double-layer optimization model, and outputs the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested. The present invention plans the energy storage operation strategy, time-of-use electricity price quotation strategy, distributed energy storage operation strategy and electricity purchase strategy for the energy storage system to be tested through the master-slave game double-layer optimization model, comprehensively considers the purpose of minimum cost and maximum benefit, and uses the game mechanism to adjust the operation strategies of different energy storage entities, which can take into account the new energy consumption target and the economic benefits on the user side, thereby improving the operation efficiency of different energy storage operating entities in collaboratively participating in energy management. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a flowchart of a game optimization operation method based on multiple energy storage operating entities provided by an embodiment of the present invention;
[0055] Figure 2 It is a structural schematic diagram of a game optimization operation device based on multiple energy storage operating entities provided by an embodiment of the present invention;
[0056] Figure 3 It is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] Embodiment 1
[0059] See also Figure 1 , Figure 1 is a flowchart of a game optimization operation method based on multiple energy storage operating entities provided by an embodiment of the present invention, such as Figure 1 As shown, this embodiment includes step 101 to step 10X, and each step is specifically as follows:
[0060] Step 101: Obtain several typical scenarios of new energy output of the energy storage system to be tested.
[0061] In this embodiment, the acquisition of several typical scenarios of new energy output of the energy storage system to be tested includes:
[0062] Obtain historical data of the energy storage system to be tested;
[0063] According to the historical data and the k-means clustering algorithm, several typical scenarios of new energy output are generated; wherein each typical scenario of new energy output includes: a photovoltaic active output power curve and corresponding model parameters, charging of large-scale energy storage devices, discharging cost coefficients of large-scale energy storage devices, grid-connected electricity prices of new energy power stations, active power generation of new energy power stations, upper and lower limits of new energy grid-connected active power, grid-connected electricity prices of distributed photovoltaic storage systems and maximum reverse power within the allowable range.
[0064] In a specific embodiment, the K-means clustering algorithm process is as follows:
[0065] (1) Generate initial clusters The cluster center of the initial cluster is {S k |k=1,2,...K,}
[0066] (2) For each scene in the original scene set, assign it to the cluster with the closest cluster center.
[0067]
[0068] Where: i For scenes i The cluster label, λ i ∈{1,2,...,K}.
[0069] (3) For each cluster, recalculate the cluster center of the cluster
[0070]
[0071] (4) If all cluster centers have not been updated compared to the last iteration, the iteration ends and all clusters are output. Otherwise, t=t+1, go to step (2) and continue iterating.
[0072] Step 102: Input each of the typical scenarios of new energy output as parameters into the optimization model to obtain a master-slave game two-layer optimization model; wherein the master-slave game two-layer optimization model includes: an upper model and a lower model; the objective function of the upper model is to minimize the comprehensive cost; the comprehensive cost includes: operating cost, new energy abandonment cost and electricity sales revenue; the objective function of the lower model is to maximize the comprehensive revenue; the comprehensive revenue includes: grid-connected revenue and electricity purchase cost.
[0073] In a specific embodiment, the lower model objective function is:
[0074]
[0075] Among them, in scenario k, the comprehensive benefit of distributed solar storage user n is Including power return gain Electricity purchase cost
[0076] The specific calculation method of each part of the cost is as follows:
[0077]
[0078] in, is the on-grid electricity price of the distributed photovoltaic storage system at time t under scenario k; is the online power of the distributed photovoltaic storage system at time t in scenario k.
[0079] In a specific embodiment, the upper model objective function is:
[0080]
[0081] In the formula, under scenario k, the comprehensive operating cost is Including large-scale energy storage operation and maintenance costs Generator power generation cost Penalties for abandoning new energy Electricity sales revenue
[0082] The specific calculation method of each part of the cost is as follows:
[0083]
[0084] Where t is the time sequence number; T is the total number of times in a typical day; Ω G is the set of grid nodes g containing generators; ag 、b g and c g is the cost coefficient of the g-th generator set, is the active power output of the g-th generator set at time t in the k-th scenario; Ω LESS Configure a collection of nodes e for large-scale energy storage, are the charging and discharging cost coefficients of large-scale energy storage devices in the kth scenario, are the charging power and discharging power of the large-scale energy storage device at time t respectively; Ω RE is the set of nodes i where new energy is connected to the grid; β is the penalty coefficient for abandoning new energy; is the renewable energy on-grid electricity price at time t under scenario k; is the active power of renewable energy generation at node i at time t in scenario k; is the renewable energy grid-connected active power of node i at time t in scenario k; Ω U is the set of grid nodes n of distributed solar-storage users; is the transaction electricity price at time t under scenario k; is the transaction power at time t under scenario k.
[0085] In a specific embodiment, according to the photovoltaic power generation and energy storage charging and discharging strategy of the distributed photovoltaic storage user, the online power is calculated according to the following steps: the distributed photovoltaic output power at time t under scenario k is The load power is Then the power difference ΔP k,n,t for:
[0086]
[0087] The peak period is T peak , the valley period is T valley , the charging and discharging power of the distributed energy storage device at time t under scenario k is calculated as follows:
[0088] for have:
[0089]
[0090] for have:
[0091]
[0092] in, Indicates the maximum reverse power within the allowed range under scenario k; is the remaining power of distributed energy storage m at time t in scenario k; min is the minimum SOC limit of energy storage, ζ maxis the maximum SOC limit of energy storage; η is the charging and discharging efficiency of energy storage; are 0-1 variables of the discharge and charge states of distributed energy storage n at time t under scenario k, and should satisfy the following relationship:
[0093] for have:
[0094]
[0095]
[0096] for have:
[0097]
[0098] The calculation of the online power of the distributed photovoltaic storage system at time t under scenario k is as follows:
[0099]
[0100] If the SOC state of the energy storage system is not equal at the beginning and end of the day, the unbalanced power is recorded as At this time, the energy storage operation strategy needs to be adjusted to consume the excess charging power during the valley period through the maximum discharge power. The adjusted charging and discharging power is:
[0101] for have:
[0102]
[0103] The unbalanced power update is expressed as:
[0104]
[0105] The adjusted online power of the photovoltaic storage system is:
[0106]
[0107] Step 103: randomly generate a nested particle group corresponding to the energy storage system to be tested; wherein the nested particle group includes: an outer particle group and an inner particle group; the outer particle group includes: large-scale energy storage operation strategy data and time-of-use electricity price quotation strategy data; the inner particle group includes: distributed energy storage operation strategy data and electricity purchase strategy data.
[0108] In this embodiment, large-scale energy storage is a grid-side flexibility resource, and distributed energy storage is a user-side flexibility resource. The main body of large-scale energy storage is: grid-scale energy storage operators, and the main body of distributed energy storage is: distributed photovoltaic storage users who configure distributed energy storage. The grid-scale energy storage operator is the leader of the master-slave game mechanism, and the distributed photovoltaic storage user who configures distributed energy storage is the follower of the master-slave game mechanism. When making decisions, the grid-scale energy storage operator must not only consider its own situation, but also the energy consumption behavior of distributed photovoltaic storage users. The distributed energy storage operation strategy of distributed photovoltaic storage users will change with the time-of-use electricity price formulated by the grid operator. The upper-level model starts from the grid-scale energy storage operation subject, and establishes an operation strategy decision model with the goal of minimizing the comprehensive operation cost and the new energy abandonment cost, so as to obtain the optimal large-scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy data. The objective function of the upper-level model is to minimize the comprehensive cost, including the operation cost, the new energy abandonment cost and the electricity sales revenue (negative values can be regarded as costs). The lower-level model starts from the distributed photovoltaic storage user body that configures distributed energy storage, and establishes an operation strategy decision model based on the time-of-use electricity price arrangement plan with the goal of maximizing comprehensive benefits to obtain the optimal distributed energy storage operation strategy data. The objective function of the lower-level model is to maximize comprehensive benefits, including the optimal electricity purchase strategy data (negative values can be regarded as benefits).
[0109] In a specific embodiment, the outer particles are grid-scale energy storage operators, and the inner particles are distributed solar energy storage users.
[0110] Step 104: input the nested particle swarm into a preset master-slave game two-layer optimization model, and output the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested.
[0111] In this embodiment, the nested particle swarm is input into a preset master-slave game two-layer optimization model, and the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested are output, including:
[0112] Repeat the inner particle swarm optimization operation;
[0113] Among them, the inner particle swarm optimization operation includes: basic parameter setting step, lower model calculation step and update number judgment step;
[0114] The basic parameter setting step includes: updating the outer particle group based on the particle update rule, and inputting the time-of-use electricity price quotation strategy data corresponding to the updated outer particle group into the lower model as the basic parameter;
[0115] The lower model calculation step includes: updating the inner particle group based on the particle update rule, inputting the updated inner particle group as the initial value of the game equilibrium point into the master-slave game double-layer optimization model, calculating the fitness value of the objective function corresponding to the lower model containing basic parameters under the updated inner particle group, and recording the current update times of the inner particle group; among the fitness values calculated for each update of the inner particle group, selecting the inner particle layer with the largest fitness value as the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data;
[0116] The update number judgment step includes: judging whether the current update number of the inner particle swarm is equal to the maximum update number threshold; if not, re-executing the lower model calculation step and the update number step; if so, based on the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data obtained in the lower model calculation step, executing the outer particle swarm optimization operation, after executing the outer particle layer optimization operation, outputting the optimal scale energy storage operation strategy data, the optimal time-of-use electricity price quotation strategy data, the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data.
[0117] In a specific embodiment, the number of times the inner particle group is updated satisfies the following conditions:
[0118] In this embodiment, the outer particle swarm optimization operation includes:
[0119] The optimal power purchasing strategy data calculated by the lower model is input into the upper model as basic parameters;
[0120] Calculate the fitness value of the objective function corresponding to the upper model containing basic parameters under the updated outer particle swarm, and record the current updated parameters of the outer particle swarm; wherein the updated outer particle swarm is obtained from the basic parameter setting step;
[0121] Among the fitness values calculated each time the outer particle layer is updated, the outer particle layer with the largest fitness value is selected as the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy;
[0122] Determine whether the current update times of the outer particle swarm is equal to the maximum update times threshold;
[0123] If not, re-execute the inner particle swarm optimization operation;
[0124] If so, the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy are determined.
[0125] In a specific embodiment, the outer particle group is:
[0126]
[0127] in, To gather the output of the generator set; To gather energy for new energy power stations; A collection of large-scale energy storage operation strategies; A collection of time-of-use electricity price quotes.
[0128] In a specific embodiment, the inner particle group is:
[0129]
[0130] in, A set of distributed energy storage operation strategies; Purchase power collection for users; It is the user's Internet access power collection.
[0131] For better explanation, the particle update rules are as follows:
[0132]
[0133] in, is the velocity vector of particle i in the dth dimension at the kth iteration; is the position vector of particle i in the dth dimension at the kth iteration; is the historical optimal position of particle i in the dth dimension in the kth iteration; is the historical optimal position of the group in the dth dimension in the kth iteration; ω is the inertia weight; c1 is the individual learning factor; c2 is the group learning factor; r1 and r2 are random numbers in the interval [0,1].
[0134] In a specific embodiment, the outer layer particles satisfy the following relationship:
[0135] For better explanation, the specific solution steps of nested particle swarm are as follows:
[0136] 1) Randomly generate the outer initial particle group:
[0137] 2) Update the outer particle group according to the particle update rule and quote the time-of-use electricity price Input the lower layer model for optimization and randomly generate the initial particle swarm of the inner layer:
[0138] 3) Update the inner particle swarm according to the particle update rule and input the game optimization model as the initial value of the game equilibrium point.
[0139] 4) Solve the game and find the equilibrium point of the game. Calculate the fitness value of the lower layer objective function, update the extreme value of the inner layer particle group, and generate the optimal distributed energy storage operation strategy, power purchase strategy and grid-connected power.
[0140] 5) Determine whether the inner particle swarm convergence condition is met: the number of iterations of the inner particle swarm If yes, then the purchased power Feedback to the upper model and go to 6); otherwise go to 3).
[0141] 6) Calculate the fitness value of the upper objective function based on the optimization results of the inner particle swarm, update the global extreme value of the outer particle swarm, and generate the optimal scale energy storage operation strategy and time-of-use electricity price quotation strategy.
[0142] 7) Determine whether the outer particle swarm convergence condition is met: the number of iterations of the outer particle swarm If yes, output the optimal solution for game optimization; otherwise go to 2).
[0143] In this embodiment, this embodiment includes:
[0144] The upper model operates under the first constraint condition; wherein the first constraint condition includes: large-scale energy storage power station operation constraint, new energy output constraint, generator set operation constraint, power balance constraint, node voltage constraint and line flow constraint;
[0145] The lower model operates under the second constraint condition; wherein the first constraint condition includes: energy storage operation constraint, energy storage SOC state constraint and reverse power constraint.
[0146] In a specific embodiment, the first constraint condition includes:
[0147] Operation constraints of large-scale energy storage power stations:
[0148]
[0149] in, They are 0-1 variables representing the discharge and charge states of the large-scale energy storage power station e at time t under scenario k.
[0150] In addition, large-scale battery energy storage systems must also meet the following SOC state constraints:
[0151]
[0152]
[0153] in, is the remaining power of the large-scale energy storage power station e at time t under scenario k; min is the minimum SOC limit of energy storage, ζ max is the maximum SOC limit of energy storage, η is the charging and discharging efficiency of energy storage, is the initial remaining power of the large-scale energy storage power station e.
[0154] New energy output constraints:
[0155]
[0156] in, and They are respectively the maximum and minimum values of the renewable energy grid-connected active power of node i at time t under scenario k.
[0157] Generator set operation constraints:
[0158]
[0159] in, They are the upper and lower limits of the generator set output respectively; It is the descending and ascending speed of the generator set.
[0160] Power balance constraints:
[0161]
[0162] Node voltage constraints:
[0163]
[0164] Line power flow upper and lower limit constraints:
[0165]
[0166] in, is the maximum transmission power of line ij.
[0167] In a specific embodiment, the second constraint condition includes:
[0168] Energy storage operation constraints:
[0169]
[0170] Energy storage SOC state constraints:
[0171]
[0172] Reverse power constraint:
[0173] The reverse power of the distributed photovoltaic storage system needs to be constrained within the acceptable range of the power grid:
[0174]
[0175] See also Figure 2 , Figure 2It is a structural diagram of a game optimization operation device based on multiple energy storage operating entities provided by an embodiment of the present invention, including: a data acquisition module 201, a parameter input module 202, a particle swarm generation module 203 and a result output module 204;
[0176] The data acquisition module is used to obtain several typical scenarios of new energy output of the energy storage system to be tested;
[0177] The parameter input module is used to input each of the typical scenarios of new energy output as parameters into the optimization model to obtain a master-slave game double-layer optimization model; wherein the master-slave game double-layer optimization model includes: an upper model and a lower model; the objective function of the upper model is to minimize the comprehensive cost; the comprehensive cost includes: operating cost, new energy abandonment cost and electricity sales income; the objective function of the lower model is to maximize the comprehensive income; the comprehensive income includes: system grid-connected income and electricity purchase cost;
[0178] The particle swarm generation module is used to randomly generate a nested particle swarm corresponding to the energy storage system to be tested; wherein the nested particle swarm includes: an outer particle swarm and an inner particle swarm; the outer particle swarm includes: large-scale energy storage operation strategy data and time-of-use electricity price quotation strategy data; the inner particle swarm includes: distributed energy storage operation strategy data and electricity purchase strategy data;
[0179] The result output module is used to input the nested particle swarm into a preset master-slave game two-layer optimization model, and output the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested.
[0180] As an improvement of the above solution, the result output module includes: repeatedly executing the inner layer particle swarm optimization operation;
[0181] Among them, the inner particle swarm optimization operation includes: basic parameter setting step, lower model calculation step and update number judgment step;
[0182] The basic parameter setting step includes: updating the outer particle group based on the particle update rule, and inputting the time-of-use electricity price quotation strategy data corresponding to the updated outer particle group into the lower model as the basic parameter;
[0183] The lower model calculation step includes: updating the inner particle group based on the particle update rule, inputting the updated inner particle group as the initial value of the game equilibrium point into the master-slave game double-layer optimization model, calculating the fitness value of the objective function corresponding to the lower model containing basic parameters under the updated inner particle group, and recording the current update times of the inner particle group; among the fitness values calculated for each update of the inner particle group, selecting the inner particle layer with the largest fitness value as the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data;
[0184] The update number judgment step includes: judging whether the current update number of the inner particle swarm is equal to the maximum update number threshold; if not, re-executing the lower model calculation step and the update number step; if so, based on the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data obtained in the lower model calculation step, executing the outer particle swarm optimization operation, after executing the outer particle layer optimization operation, outputting the optimal scale energy storage operation strategy data, the optimal time-of-use electricity price quotation strategy data, the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data.
[0185] As an improvement of the above solution, the outer particle swarm optimization operation includes:
[0186] The optimal power purchasing strategy data calculated by the lower model is input into the upper model as basic parameters;
[0187] Calculate the fitness value of the objective function corresponding to the upper model containing basic parameters under the updated outer particle swarm, and record the current updated parameters of the outer particle swarm; wherein the updated outer particle swarm is obtained from the basic parameter setting step;
[0188] Among the fitness values calculated each time the outer particle layer is updated, the outer particle layer with the largest fitness value is selected as the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy;
[0189] Determine whether the current update times of the outer particle swarm is equal to the maximum update times threshold;
[0190] If not, re-execute the inner particle swarm optimization operation;
[0191] If so, the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy are determined.
[0192] As an improvement of the above solution, this embodiment includes:
[0193] The upper model operates under the first constraint condition; wherein the first constraint condition includes: large-scale energy storage power station operation constraint, new energy output constraint, generator set operation constraint, power balance constraint, node voltage constraint and line flow constraint;
[0194] The lower model operates under the second constraint condition; wherein the first constraint condition includes: energy storage operation constraint, energy storage SOC state constraint and reverse power constraint.
[0195] As an improvement of the above solution, the method of obtaining several typical scenarios of new energy output of the energy storage system to be tested includes:
[0196] Obtain historical data of the energy storage system to be tested;
[0197] According to the historical data and the k-means clustering algorithm, several typical scenarios of new energy output are generated; wherein each typical scenario of new energy output includes: a photovoltaic active output power curve and corresponding model parameters, charging of large-scale energy storage devices, discharging cost coefficients of large-scale energy storage devices, grid-connected electricity prices of new energy power stations, active power generation of new energy power stations, upper and lower limits of new energy grid-connected active power, grid-connected electricity prices of distributed photovoltaic storage systems and maximum reverse power within the allowable range.
[0198] This embodiment obtains several typical scenarios of new energy output of the energy storage system to be tested; inputs each typical scenario of new energy output as a parameter into the optimization model to obtain a master-slave game double-layer optimization model; randomly generates a nested particle group corresponding to the energy storage system to be tested; wherein the nested particle group includes: an outer particle group and an inner particle group; inputs the nested particle group into the preset master-slave game double-layer optimization model, and outputs the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested. The present invention plans the energy storage operation strategy, time-of-use electricity price quotation strategy, distributed energy storage operation strategy and electricity purchase strategy for the energy storage system to be tested through the master-slave game double-layer optimization model, comprehensively considering the purpose of minimum cost and maximum benefit, and using the game mechanism to adjust the operation strategies of different energy storage entities, which can take into account the new energy consumption goals and the economic benefits on the user side, thereby improving the operation efficiency of different energy storage operating entities in collaboratively participating in energy management.
[0199] Embodiment 2
[0200] See also Figure 3 , Figure 3 It is a schematic diagram of the structure of a terminal device provided in one embodiment of the present invention.
[0201] A terminal device of this embodiment includes: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the steps of the game optimization operation method based on multiple energy storage operation entities in the embodiment are implemented, for example: Figure 1All steps of the game optimization operation method based on multiple energy storage operating entities shown. Alternatively, when the processor executes the computer program, the functions of each module in the above-mentioned device embodiments are realized, for example: Figure 2 All modules of the game optimization operation device based on multiple energy storage operating entities are shown.
[0202] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the game optimization operation method based on multiple energy storage operating entities as described in any of the above embodiments.
[0203] Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0204] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 301 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0205] The memory 302 can be used to store the computer program and / or module. The processor 301 implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0206] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0207] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0208] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A game optimization operation method based on multiple energy storage operating entities, characterized in that: include: Obtain several typical scenarios of new energy output of the energy storage system to be tested; Each of the typical scenarios of new energy output is input as a parameter into the optimization model to obtain a master-slave game double-layer optimization model; wherein the master-slave game double-layer optimization model includes: an upper model and a lower model; the objective function of the upper model is to minimize the comprehensive cost; the comprehensive cost includes: operating cost, new energy abandonment cost and electricity sales income; the objective function of the lower model is to maximize the comprehensive income; the comprehensive income includes: system grid-connected income and electricity purchase cost; Randomly generate a nested particle group corresponding to the energy storage system to be tested; wherein the nested particle group includes: an outer particle group and an inner particle group; the outer particle group includes: large-scale energy storage operation strategy data and time-of-use electricity price quotation strategy data; the inner particle group includes: distributed energy storage operation strategy data and electricity purchase strategy data; The nested particle swarm is input into a preset master-slave game two-layer optimization model, and the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested are output.
2. The game optimization operation method based on multiple energy storage operating entities according to claim 1 is characterized in that: The nested particle swarm is input into a preset master-slave game two-layer optimization model, and the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested are output, including: Repeat the inner particle swarm optimization operation; Among them, the inner particle swarm optimization operation includes: basic parameter setting step, lower model calculation step and update number judgment step; The basic parameter setting step includes: updating the outer particle group based on the particle update rule, and inputting the time-of-use electricity price quotation strategy data corresponding to the updated outer particle group into the lower model as the basic parameter; The lower model calculation step includes: updating the inner particle group based on the particle update rule, inputting the updated inner particle group as the initial value of the game equilibrium point into the master-slave game double-layer optimization model, calculating the fitness value of the objective function corresponding to the lower model containing basic parameters under the updated inner particle group, and recording the current update times of the inner particle group; among the fitness values calculated for each update of the inner particle group, selecting the inner particle layer with the largest fitness value as the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data; The update number judgment step includes: judging whether the current update number of the inner particle swarm is equal to the maximum update number threshold; if not, re-executing the lower model calculation step and the update number step; if so, based on the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data obtained in the lower model calculation step, executing the outer particle swarm optimization operation, after executing the outer particle layer optimization operation, outputting the optimal scale energy storage operation strategy data, the optimal time-of-use electricity price quotation strategy data, the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data.
3. The game optimization operation method based on multiple energy storage operating entities according to claim 2 is characterized in that: The outer particle swarm optimization operation includes: The optimal power purchasing strategy data calculated by the lower model is input into the upper model as basic parameters; Calculate the fitness value of the objective function corresponding to the upper model containing basic parameters under the updated outer particle swarm, and record the current updated parameters of the outer particle swarm; wherein the updated outer particle swarm is obtained from the basic parameter setting step; Among the fitness values calculated each time the outer particle layer is updated, the outer particle layer with the largest fitness value is selected as the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy; Determine whether the current update times of the outer particle swarm is equal to the maximum update times threshold; If not, re-execute the inner particle swarm optimization operation; If so, the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy are determined.
4. The game optimization operation method based on multiple energy storage operating entities according to claim 3 is characterized in that: include: The upper model operates under the first constraint condition; wherein the first constraint condition includes: large-scale energy storage power station operation constraint, new energy output constraint, generator set operation constraint, power balance constraint, node voltage constraint and line flow constraint; The lower model operates under the second constraint condition; wherein the first constraint condition includes: energy storage operation constraint, energy storage SOC state constraint and reverse power constraint.
5. The game optimization operation method based on multiple energy storage operating entities according to claim 4 is characterized in that: The method of obtaining several typical scenarios of new energy output of the energy storage system to be tested includes: Obtain historical data of the energy storage system to be tested; According to the historical data and the k-means clustering algorithm, several typical scenarios of new energy output are generated; wherein each typical scenario of new energy output includes: a photovoltaic active output power curve and corresponding model parameters, charging of large-scale energy storage devices, discharging cost coefficients of large-scale energy storage devices, grid-connected electricity prices of new energy power stations, active power generation of new energy power stations, upper and lower limits of new energy grid-connected active power, grid-connected electricity prices of distributed photovoltaic storage systems and maximum reverse power within the allowable range.
6. A game optimization operation device based on multiple energy storage operating entities, characterized in that: include: Data acquisition module, parameter input module, particle swarm generation module and result output module; The data acquisition module is used to obtain several typical scenarios of new energy output of the energy storage system to be tested; The parameter input module is used to input each of the typical scenarios of new energy output as parameters into the optimization model to obtain a master-slave game double-layer optimization model; wherein the master-slave game double-layer optimization model includes: an upper model and a lower model; the objective function of the upper model is to minimize the comprehensive cost; the comprehensive cost includes: operating cost, new energy abandonment cost and electricity sales income; the objective function of the lower model is to maximize the comprehensive income; the comprehensive income includes: system grid-connected income and electricity purchase cost; The particle swarm generation module is used to randomly generate a nested particle swarm corresponding to the energy storage system to be tested; wherein the nested particle swarm includes: an outer particle swarm and an inner particle swarm; the outer particle swarm includes: large-scale energy storage operation strategy data and time-of-use electricity price quotation strategy data; the inner particle swarm includes: distributed energy storage operation strategy data and electricity purchase strategy data; The result output module is used to input the nested particle swarm into a preset master-slave game two-layer optimization model, and output the optimal scale energy storage operation strategy data, optimal time-of-use electricity price quotation strategy data, optimal distributed energy storage operation strategy data and optimal electricity purchase strategy data corresponding to the energy storage system to be tested.
7. The game optimization operation device based on multiple energy storage operating entities according to claim 6 is characterized in that: The result output module includes: repeatedly executing the inner layer particle swarm optimization operation; Among them, the inner particle swarm optimization operation includes: basic parameter setting step, lower model calculation step and update number judgment step; The basic parameter setting step includes: updating the outer particle group based on the particle update rule, and inputting the time-of-use electricity price quotation strategy data corresponding to the updated outer particle group into the lower model as the basic parameter; The lower model calculation step includes: updating the inner particle group based on the particle update rule, inputting the updated inner particle group as the initial value of the game equilibrium point into the master-slave game double-layer optimization model, calculating the fitness value of the objective function corresponding to the lower model containing basic parameters under the updated inner particle group, and recording the current update times of the inner particle group; among the fitness values calculated for each update of the inner particle group, selecting the inner particle layer with the largest fitness value as the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data; The update number judgment step includes: judging whether the current update number of the inner particle swarm is equal to the maximum update number threshold; if not, re-executing the lower model calculation step and the update number step; if so, based on the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data obtained in the lower model calculation step, executing the outer particle swarm optimization operation, after executing the outer particle layer optimization operation, outputting the optimal scale energy storage operation strategy data, the optimal time-of-use electricity price quotation strategy data, the optimal distributed energy storage operation strategy data and the optimal power purchase strategy data.
8. The game optimization operation device based on multiple energy storage operation entities according to claim 7 is characterized in that: The outer particle swarm optimization operation includes: The optimal power purchasing strategy data calculated by the lower model is input into the upper model as basic parameters; Calculate the fitness value of the objective function corresponding to the upper model containing basic parameters under the updated outer particle swarm, and record the current updated parameters of the outer particle swarm; wherein the updated outer particle swarm is obtained from the basic parameter setting step; Among the fitness values calculated each time the outer particle layer is updated, the outer particle layer with the largest fitness value is selected as the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy; Determine whether the current update times of the outer particle swarm is equal to the maximum update times threshold; If not, re-execute the inner particle swarm optimization operation; If so, the optimal scale energy storage operation strategy data and the optimal time-of-use electricity price quotation strategy are determined.
9. The game optimization operation device based on multiple energy storage operating entities according to claim 8 is characterized in that: include: The upper model operates under the first constraint condition; wherein the first constraint condition includes: large-scale energy storage power station operation constraint, new energy output constraint, generator set operation constraint, power balance constraint, node voltage constraint and line flow constraint; The lower model operates under the second constraint condition; wherein the first constraint condition includes: energy storage operation constraint, energy storage SOC state constraint and reverse power constraint.
10. The game optimization operation device based on multiple energy storage operation entities according to claim 9 is characterized in that: The method of obtaining several typical scenarios of new energy output of the energy storage system to be tested includes: Obtain historical data of the energy storage system to be tested; According to the historical data and the k-means clustering algorithm, several typical scenarios of new energy output are generated; wherein each typical scenario of new energy output includes: a photovoltaic active output power curve and corresponding model parameters, charging of large-scale energy storage devices, discharging cost coefficients of large-scale energy storage devices, grid-connected electricity prices of new energy power stations, active power generation of new energy power stations, upper and lower limits of new energy grid-connected active power, grid-connected electricity prices of distributed photovoltaic storage systems and maximum reverse power within the allowable range.
Citation Information
Cited By
Electric heating hydrogen comprehensive energy system planning scene clustering method based on game mechanism
CN121479372A
Game mechanism based scenario clustering method for planning of integrated energy system of hydrogen and electricity
CN121479372B
Multi-domain economic dispatching method and system based on game theory and generative network
CN122242995A
