A tripartite game optimization dispatching method and system for rural distribution network based on edge control
Through cloud-edge-end architecture and particle swarm algorithm, the power regulation of power grid companies, distributed power dealers and users in rural distribution networks is optimized, solving the problems of energy consumption complexity and multi-party conflicts of interest in rural distribution networks, and improving improve grid efficiency and voltage quality.
Patent Information
- Application Number
- CN202210792666.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-07-07
AI Technical Summary
After the integration of new energy sources, the energy consumption scenarios of rural distribution networks become more complicated, the reliability of electric energy decreases, and conflicts of interests between multiple parties lead to increased power supply risks. It is difficult for existing technologies to effectively optimize power consumption and power generation efficiency, improve grid voltage quality, and satisfy the interests of multiple parties. Scheduling solutions are difficult to implement.
The three-party game optimization dispatching method using cloud-edge-end architecture is used to build a multi-objective function model through particle swarm algorithm to optimize the power regulation strategies of power grid companies, distributed power dealers and users, and generate regulation instructions to optimize grid operation.
It improves the power consumption and power generation efficiency of rural distribution networks, optimizes grid voltage quality, satisfies the coordination of multi-party interests, reduces the data collection and computing burden of traditional cloud platforms, and reduces communication distortion and delay risks.
Smart Images

Figure CN115296347B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power grid optimization and dispatching, in particular to the field of energy optimization and dispatching of rural distribution networks, and specifically relates to a three-party game optimization and dispatching method and system for rural distribution networks. Background Art
[0002] In recent years, with the large-scale access of new energy sources such as new energy, energy storage, and electric vehicles to the weak rural distribution network, the energy use scenarios of rural distribution networks have become more complex, reducing power reliability and increasing power supply risks. In addition, the access of a large number of intelligent devices has caused the volume of data to grow exponentially. On the one hand, there is TB-level user data with huge potential, and on the other hand, the limited processing capacity of cloud data centers has brought severe challenges to data collection, storage, transmission and analysis.
[0003] In addition, as the proportion of new energy access continues to increase, the current rural distribution network has a multi-energy pattern in terms of energy supply, and there is a diversified user demand response in terms of power use. Due to the different interests represented by power grid companies, power agents or new energy suppliers, and end users, the power system often has a situation of multi-party competition and game. Therefore, it is urgent to provide an optimization scheduling solution that can improve the power consumption and power generation efficiency of rural distribution networks, improve the voltage quality of the power grid, and satisfy multiple parties at the same time. Summary of the invention
[0004] According to the first aspect of the present invention, a method for optimizing the dispatching of a rural distribution network by three-party game is provided. The rural distribution network adopts a cloud-edge-end architecture. The method is executed by an edge-end intelligent server configured at each distribution network node. The power grid company, distributed power supply dealer and user under each distribution network node respectively configure intelligent terminals. The method comprises:
[0005] Generate a three-party power control model containing multiple objective functions according to the distribution network dispatching requirements;
[0006] A particle swarm algorithm is used to solve the three-party power regulation model to obtain an optimal solution for representing the three-party power regulation strategy;
[0007] Generate a control instruction for controlling the controllable power devices of the three parties based on the optimal solution, and send the control instruction to the smart terminals of the three parties;
[0008] The objective functions include: the maximum electricity sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributor, and the minimum electricity purchase cost objective function f3 of the user.
[0009] In some other examples, the variable a1 of the maximum electricity sales revenue objective function f1 of the power grid company is exchange(t)},P exchange (t) is the exchange power of the power grid selling electricity to users; the variable a2 of the maximum power generation revenue objective function f2 of the distributed power distributor is {P PV (t), P WT (t), P BES (t)},P PV (t) is the active power of photovoltaic, P WT (t) is the actual power generation of wind power, P BES (t) is the charging and discharging power of the energy storage device; the variable a3 of the user's minimum electricity purchase cost objective function f3 is {P FE (t), P TRE (t)},P FE (t) is the load power that can be switched, P TRE (t) is the transferable load power.
[0010] In some other examples, the adopting of a particle swarm algorithm to solve the three-party power control model includes:
[0011] Construct a population containing multiple particles; each particle b i It contains three variables {a1, a2, a3}, which represent a three-party power control strategy, and its objective function is the three-party game objective function f all ={f1,f2,f3};
[0012] Initializing the population;
[0013] Calculate each particle b separately i The corresponding three-party game objective function f all The function value of is calculated, and the optimal particle is selected using the normalized extreme value distance ratio;
[0014] Execute the game iteration process until the number of iterations reaches an upper limit, output the current optimal particle and its corresponding three-party game objective function value as the optimal solution for representing the three-party power control strategy; wherein the game iteration process includes:
[0015] The best particle selected by the previous game iteration ratio is used to dynamically update the tripartite variables of each particle in the population in sequence;
[0016] Calculate the b of each particle after the three variables are updated i The corresponding three-party game objective function f all , and uses the normalized extreme value distance ratio to select the current optimal particle and its corresponding three-party game objective function value.
[0017] In some other examples, the best particle selected in the previous game iteration is b i_best is {a1_best, a2_best, a3_best}, the optimal particle b i The optimal extreme value distance corresponding to _best is f DIS_best , then at the beginning of this game iteration, the following steps are executed in sequence to dynamically update the tripartite variables of each particle:
[0018] (i) Keep each particle b i The variables a2 and a3 remain unchanged. i The variable a1 is updated to obtain the new particle b i ';
[0019] (ii) Keep each particle b that has completed the update of variable a1 i 'The variables a1 and a3 remain unchanged. i 'The variable a2 is updated to obtain the new particle b i ”;
[0020] (iii) Keep all particles b that have completed the update of variables a1 and a2 i "The variables a1 and a2 remain unchanged. i "The variable a3 is updated to obtain the new particle b i ”'.
[0021] In some other examples, in step (i), after obtaining the new particle b i 'After that, calculate the new particle b i 'The function value f of the three-party game objective function' all , and use the normalized extreme value distance to calculate the new optimal extreme value distance f' in the population DIS_best and its corresponding new optimal particle b i '_best, then according to the new optimal extreme value distance f' DIS_best The size relationship between the distance to the current optimal extreme value determines whether the current optimal particle b i '_best and its optimal extreme value distance are updated;
[0022] In the step (ii), after obtaining new particles b i ", it also includes: calculating the new particle b i "The function value f of the three-party game objective function" all , and use the normalized extreme value distance to calculate the new optimal extreme value distance f" in the population DIS_best and its corresponding new optimal particle b i "_best, then according to the new optimal extreme value distance f" DIS_bestThe size relationship between the distance to the current optimal extreme value determines whether the current optimal particle b i ”_best and its optimal extreme value distance are updated;
[0023] In the step (iii), after obtaining new particles b i ”', it also includes: calculating the new particle b i The function value of the three-party game objective function f' all , and use the normalized extreme value distance to calculate the new optimal extreme value distance f"' in the population DIS_best and its corresponding new optimal particle b i ”'_best, then according to the new optimal extreme value distance f”' DIS_best The size relationship between the distance to the current optimal extreme value determines whether the current optimal particle b i ”'_best and its optimal extreme value distance are updated.
[0024] In some other examples, in step (i), step (ii) and step (iii), whether to update the current optimal particle and its optimal extreme value distance is determined according to the size relationship between the new optimal extreme value distance and the current optimal extreme value distance, including: if the new optimal extreme value distance is smaller than the current optimal extreme value distance, updating the current optimal particle to the new optimal particle, and updating the current optimal extreme value distance to the new optimal extreme value distance; otherwise, not updating the current optimal particle and its optimal extreme value distance.
[0025] In some other examples, the normalized extremum distance is: f DIS =f1'+f2'+f3', where f1', f2' and f3' are the normalized extreme value distances of the maximum electricity sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributor, and the minimum electricity purchase cost objective function f3 of the user, respectively.
[0026] According to the second aspect of the present invention, a rural distribution network three-party game optimization dispatching system is also provided, including: a cloud server, which is used to collect active and reactive power information fed back by each distribution network node at the current moment, perform reactive power optimization of the entire network, and determine the reactive power scheme at the next moment to optimize the voltage quality of the distribution network; an edge server configured at each distribution network node, which obtains a three-party power control strategy through three-party game optimization and generates a control instruction; a smart terminal of the power grid company, distributed power supply dealer and user under each distribution network node is configured to perform power control on their respective terminal power devices according to the control instruction; the edge server includes:
[0027] A model building unit, used to generate a three-party power control model including multiple objective functions according to the distribution network dispatching requirements;
[0028] A model solving unit, which uses a particle swarm algorithm to solve the three-party power control model to obtain an optimal solution for representing the three-party power control strategy;
[0029] An instruction generating unit, which generates a control instruction for controlling the controllable power devices of the three parties based on the optimal solution, and sends the control instruction to the smart terminals of the three parties;
[0030] The objective functions include: the maximum electricity sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributor, and the minimum electricity purchase cost objective function f3 of the user.
[0031] According to the third aspect of the present invention, there is also provided a rural distribution network edge server, comprising:
[0032] At least one processor; and a memory communicatively connected to the processor, which stores instructions executable by the processor; when the instructions are executed by the processor, a rural distribution network three-party game optimization scheduling method as described in any one of the schemes is implemented.
[0033] According to the fourth aspect of the present invention, there is also provided a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the rural distribution network three-party game optimization scheduling method as described in any of the above schemes is implemented.
[0034] The present invention constructs a cloud-edge-end collaborative optimization scheduling system, which sinks data collection, calculation and application functions to each node of the distribution network. It can effectively reduce the workload of centralized collection and calculation of traditional cloud platforms, reduce the risk of communication distortion or delay, and give full play to the local advantages of intelligent servers.
[0035] The present invention is based on an improved three-party game solving method of particle swarms, adopts a particle swarm population orderly updating method and a normalized extreme value distance, can fully reflect the needs of power grid companies, distributed power marketers and power users in the transaction process, considers the benefits or costs of all parties, and obtains a power control strategy that meets the interests of the three parties, thereby improving the power consumption and power generation efficiency of rural distribution networks and achieving the purpose of optimizing the scheduling of distribution networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0037] Figure 1 A schematic diagram of a cloud-edge-end control system architecture of a rural distribution network according to an embodiment of the present invention;
[0038] Figure 2 A schematic diagram of a flow chart of a method for optimizing dispatching of a rural distribution network through a three-party game according to an embodiment of the present invention;
[0039] Figure 3 A schematic diagram of a specific method flow for solving a three-party power control model using a particle swarm algorithm according to an embodiment of the present invention;
[0040] Figure 4 The schematic flow chart of the present invention for dynamically and sequentially updating the tripartite variables of each particle;
[0041] Figure 5 It is a schematic diagram of the topological structure of the IEEE33 node system;
[0042] Figure 6 This is a schematic diagram of population game results;
[0043] Figure 7 Schematic diagram of the extreme distance optimization process of the three parties;
[0044] Figure 8 A schematic diagram of the optimization results of the benefits or costs of the three parties;
[0045] Fig. 9 A schematic diagram of the structure of a three-party game optimization dispatching system for a rural distribution network according to an embodiment of the present invention;
[0046] Fig.10 A schematic diagram of the edge server composition according to an embodiment of the present invention;
[0047] Fig.11 A schematic diagram of the edge server composition according to another embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0049] It should be noted that although the following text describes the technical concept of the present invention using a rural distribution network as an example, it is not limited to this. In fact, it is also applicable to other types of distribution networks that have a similar structure to a rural distribution network (for example, each distribution network node also includes a power grid company, distributed power supply dealers, and users).
[0050] Figure 1 This is a schematic diagram of the cloud-edge-end control system architecture of the rural distribution network of the embodiment of the present invention. As shown in the figure, a cloud server is set up in the regional distribution network, which is responsible for coordinating the power flow of the entire network as the cloud, optimizing the reactive compensation amount according to the transaction power, and displaying the energy consumption plan through the cloud platform; an edge-end intelligent server is configured at each node of the distribution network, which is responsible for comprehensively coordinating the three-party energy consumption strategy of this node as the edge; and the power grid company (or power company), distributed power supply dealers and power users (hereinafter referred to as the three parties) under each distribution network node are respectively configured with intelligent terminals, and the intelligent terminals of the three parties are used as terminals to perform power regulation on the terminal devices according to the strategy.
[0051] Specifically, the cloud server is responsible for collecting active and reactive power information fed back by each distribution network node at the current moment, performing reactive power optimization for the entire network, and determining the reactive power solution at the next moment to optimize the voltage quality of the distribution network. Figure 1 As shown, the cloud server mainly includes a database server, a front-end machine, an application server, a firewall, etc.
[0052] Each distribution network node establishes a local edge intelligent server, including application servers, database servers, firewalls, etc., which is responsible for collecting power data, electricity information, current revenue and cost data of the three parties uploaded by each smart terminal under the node, and then calculates the costs and benefits of the three parties, the exchange power of the power grid company, the power generation power of the distributed power distributor, and the user-side demand response load power through three-party game optimization, and generates control instructions.
[0053] The three parties at each distribution network node are respectively configured with smart terminals. Among them, the smart terminal of the power grid company is used to monitor the exchange power at the power exchange gateway. The smart terminal of the distributed power distributor includes a controllable smart terminal configured at the inverter at the interface between the distributed power source and the power grid, which is used to control the exchange power between the distributed power source and the power grid in real time according to the control instructions, and monitor the current power generation to calculate the power generation revenue. The user-side smart terminal includes: smart meters and collectors for real-time monitoring of user-side power; and load switches for controlling load power according to control instructions.
[0054] Exemplarily, the cloud server and the edge intelligent server can communicate through a fiber-optic private network, a 4G / 5G / CDMA wireless public network, a 230MHz wireless private network, and other communication channels. Since the power supply radius of the rural distribution network is long, the reliability and speed of network communication are lower than those in cities, so it is preferred to use a more cost-effective 4G wireless public network for data transmission. Similarly, 4G wireless public networks can also be used for data transmission between edge intelligent servers and smart terminals. Data acquisition devices such as smart meters and collectors, as well as load switches, can be transmitted through the RS485 bus.
[0055] The following describes the optimization dispatching method of rural distribution networks based on the above-mentioned cloud-edge-end control system architecture.
[0056] 1. Cloud
[0057] In the cloud, the cloud server receives power data fed back by each distribution network node and performs reactive power optimization calculation for the entire network to achieve the lowest network loss for the entire network. For example, with the goal of minimizing active power network loss, each SVG (Static Var Generator) device of the distribution network is optimized.
[0058] Among them, the objective function of reactive power optimization calculation is:
[0059]
[0060] Where f is the objective function of minimizing the active power loss of the entire network, n is the node number of the distribution network, P Loss_l is the line active power loss, l is the line number, and the total number of lines is L; ΔQ SVG_n It represents the reactive power regulation of node n in all SVG devices, in kvar; F represents the active power loss function of the entire network under the current regulation.
[0061] Among them, when performing reactive power optimization calculation on the distribution network, equality constraints, inequality constraints and control variable constraints need to be met in real time.
[0062] The equality constraint means that the operation of the distribution network needs to meet the power balance principle, which can be expressed as:
[0063]
[0064] Where P G_n and Q G_n are the active and reactive power of the generator respectively; P Load_n and Q Load_n are the active and reactive power of node n respectively; U n and U k are the voltages of nodes n and k respectively; N is the total number of nodes in the distribution network; G nk , B nk ,θ nk They are the admittance (conductance G, susceptance B) and impedance angle between node n and node k respectively.
[0065] The inequality constraint is a state variable constraint, which is expressed as:
[0066]
[0067] Where U n-min and U n-max is the voltage per unit limit of node n; Q G-n,max and Q G-n,min They are the upper and lower limits of the reactive output of the generator respectively.
[0068] The control variable constraints are expressed as:
[0069] Q SVG_n-min ≤ΔQ SVG_n ≤Q SVG_n-max (2-4)
[0070] In the formula, Q SVG_n-min and Q SVG_n-max They are the upper and lower limits of the compensation capacity of the SVG equipment, in kvar.
[0071] (ii) Side
[0072] At the edge, the intelligent server side uses a particle swarm algorithm to solve the three-party power control model and obtain the optimal three-party power control strategy, such as Figure 2 As shown, the specific steps include:
[0073] Step 100: Generate a three-party power control model including multiple objective functions according to the distribution network dispatching requirements;
[0074] According to the interests represented by the power grid company, distributed power distributors and users, the objective functions set by the present invention include: the maximum power sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributors and the minimum power purchase cost objective function f3 of the users.
[0075] (1) The maximum electricity sales revenue objective function f1 of the power grid company:
[0076] The maximum electricity sales revenue objective function of the power grid company is: f1 = max(C Rdn (P exchange (t))), the optimization variable is the exchange power of the power grid selling electricity to users, that is, by controlling the power sales of the distribution network to users, the maximum profit of the distribution network is ensured. In the present invention, its variable is defined as a1 = {P exchange (t)},P exchange (t) is the exchange power sold by the power grid to users.
[0077] The power grid company of the rural distribution network supplies stable and reliable electricity through the lines, calculates the price difference income according to the time-of-use electricity price, and calculates the cost of electricity passing through the distribution transformer and line loss into the operating cost. Its comprehensive operating income is:
[0078] C Rdn =C sell -C loss -C add (2-5)
[0079] In the formula, C Rdn is the comprehensive operating income of the power grid company; C sell C is the electricity sales amount; loss is the network loss cost of rural distribution network; C add Add costs to the operation of rural distribution networks.
[0080] The electricity sales amount C sell The calculation formula is:
[0081] C sell =L c (t)·P exchange (t)·T (2-6)
[0082] Where, L c (t) is the time-of-use electricity price, P exchange (t) is the exchange power sold by the grid to users, T is the billing period.
[0083] The network loss cost C loss The calculation formula is:
[0084]
[0085] Where N is the number of nodes, P Loss Indicates the total network loss in the distribution network currently distributed to each node; L loss The electricity price for network loss.
[0086] The additional operating cost C add The calculation formula is:
[0087] C add =(L generate +L add )·P exchange (t)·T (2-8)
[0088] Where, L generate The cost of electricity purchased by the distribution network from the power plant; L add It represents the comprehensive additional cost per unit of electricity, which mainly includes government funds and additional funds, as well as depreciation and operation and maintenance fees.
[0089] (2) The maximum power generation revenue objective function f2 of the distributed power distributor:
[0090] The maximum power generation revenue objective function of distributed power distributors is:
[0091] f2=max(C storage (P PV_k (t),P WT_z (t),P BES_x (t))), the optimization variables are the power of photovoltaic, wind power and energy storage equipment, that is, by controlling the inverter equipment of photovoltaic and wind power, the power generation to the power grid is controlled to maximize the benefits of distributed power distributors. In the present invention, its variable is defined as a2 = {P PV (t), P WT (t), P BES (t)},P PV (t) is the active power of photovoltaic, P WT (t) is the actual power generation of wind power, P BES (t) is the charging and discharging power of the energy storage device.
[0092] Distributed generation (DG) includes energy equipment such as wind power, photovoltaics, and small-scale energy storage stations. Various energy equipment are connected through microgrids, and then the power of power generation and energy storage equipment is regulated according to instructions. The electricity is sold to users through rural distribution networks to achieve local consumption. The cost calculation formula is:
[0093] C DG_earn =C DG_power +C sub -C storage -Cops (2-9)
[0094] In the formula, C DG_power is the power generation income of distributed power sources; C sub is the government subsidy price for photovoltaic and wind power; C storage is the operating cost per unit power of the energy storage device; C ops It is the operation and maintenance cost of photovoltaic, wind power and energy storage equipment. Specifically,
[0095]
[0096]
[0097] Where P PV_k (t) is the power generation of the kth photovoltaic, K is the total number of all photovoltaics; P WT_z (t) is the power generation of the z-th wind power; L PV (t) and L WT (t) are the on-grid electricity prices of photovoltaic power and wind power respectively; L sub1 (t) and L sub2 (t) are the unit electricity subsidy prices of photovoltaic and wind power respectively.
[0098]
[0099] In the formula, E BES is the rated capacity of the energy storage device; IR is the market interest rate; Life is the designed service life of the energy storage device after leaving the factory; C BES is the fixed cost of the energy storage equipment.
[0100]
[0101] Where, L cost (t) is the maintenance cost per unit power of photovoltaic and wind power, including the depreciation and operation and maintenance costs of the equipment; P BES_x (t) is the active power of the xth energy storage device.
[0102] Among them, the photovoltaic power generation model can be expressed as:
[0103] P PV (t) = k0f PV (t)S PV (2-15)
[0104] Where P PV (t) is the active power of photovoltaic; f PV (t) is the ratio of actual output power to rated output power, indicating the power derating factor; S PV is the capacity of the photovoltaic system; k0 represents the adjustment parameter of the current distributed power distributor;
[0105] Among them, the wind power generation model can be expressed as:
[0106]
[0107] Where P WT (t), P WT_0 (t) are the actual power generation of wind power and the rated power generation of wind power, respectively; β0 is the controllable power generation coefficient of wind power, ranging from [0,1]; v is the current actual wind speed, v cut_in 、v cut_out are the cut-in and cut-out wind speeds of the fan respectively.
[0108] For mobile distributed energy storage, the demand-side power response mechanism is optimized by controlling the charging time and charging power. The energy storage power model is expressed as:
[0109]
[0110] Where P BES0 (t) represents the total charging and discharging power of all energy storage devices; P BES_x (t) represents the charging and discharging power of the x-th energy storage device; ε0(x) is the charging and discharging state of the x-th energy storage device, and its value range is [-1,1], where 0 represents the idle state, a positive number represents the charging state, and a negative number represents the discharging state.
[0111] In addition, the battery capacity of the energy storage should be greater than the user's expected capacity and not higher than the rated capacity of the battery, that is:
[0112]
[0113] In the formula, Q x is the rated capacity of the xth energy storage device; S OC_x , S OC_req are the initial state of charge and the state of charge after charging of the energy storage device respectively; η BES is the charging efficiency of the energy storage device.
[0114] (3) User minimum electricity purchase cost objective function f3:
[0115] The user's minimum electricity purchase cost objective function is: f3 = min(C user (P FE (t),P TRE (t))), the optimization variable is the flexible electric load power, that is, by controlling the adjustable power equipment on the user side, such as the switchable load and the adjustable load power, the user's power load is controlled to achieve the user's power purchase cost C user In the present invention, the variable is defined as a3 = {PFE (t), P TRE (t)},P FE (t) is the load power that can be switched, P TRE (t) is the transferable load power.
[0116] The loads are divided into four categories according to whether they are interruptible and transferable. For example, the energy storage equipment mentioned above is an interruptible and transferable load.
[0117] The power model of non-transferable, interruptible load (switchable load) can be expressed as:
[0118]
[0119] Where P FE (t) represents the total current power of all flexible loads; P FE_y (t) represents the current power of the y-th flexible load; α0(y) is the switching state of the y-th flexible load, 0 represents the interrupted state, and 1 represents the switched-on state.
[0120] Non-transferable and non-interruptible electrical loads are fixed and their power cannot be actively regulated.
[0121] Transferable, non-interruptible load (transferable load) refers to a load with a certain total power consumption and can be flexibly supplied in different time periods, but the power supply period cannot be interrupted. It can be expressed as:
[0122]
[0123]
[0124] T min ≤t≤T max (2-22)
[0125] Where P TRE (t) represents the total power of all transferable, non-interruptible loads; P cut_nc (t) represents the nth c transferable, non-interruptible load power; N C The total amount of power being supplied to this type of load; T max , T min are the upper and lower limits of the transferable time respectively; k cut For nth c The transfer status of a transferable, non-interruptible load, whose value is 0 or 1.
[0126] Step 200: using a particle swarm algorithm to solve the three-party power control model to obtain an optimal solution for representing the three-party power control strategy;
[0127] The particle swarm optimization algorithm is a widely used artificial intelligence algorithm that simulates the predation behavior of bird flocks. The basic principle is: first, randomly generate multiple different initial variables, calculate the corresponding optimal objective function values in turn, and select the current optimal variables and optimal objective function values to complete an iterative calculation. Then, at the beginning of the next iteration, all variables in the population are updated according to the optimal variables and the optimal objective function values, and then the updated objective functions of the population are calculated in turn, and the current optimal variables and the optimal objective function values are obtained by comparison. Repeat the above iterative process until the upper limit of the number of iterations is reached, that is, the final particle swarm optimal variables and optimal objective function values are obtained.
[0128] The present invention adopts the particle swarm algorithm to solve the three-party power regulation model, that is, to obtain the optimal variables a1, a2, and a3, so that the objective functions f1 and f2 are as large as possible, and the objective function f3 is as small as possible. The obtained optimal variables a1, a2, and a3 are the three-party power regulation strategy of the present invention.
[0129] Figure 3 The specific method flow of using particle swarm algorithm to solve the three-party power control model according to an embodiment of the present invention is shown in the figure. As shown in the figure, the method includes the following steps:
[0130] Step 201: construct a population containing multiple (e.g., M) particles; wherein each particle b i ={a1,a2,a3}, respectively representing a three-party power control strategy, whose objective function is the three-party game objective function f all ={f1,f2,f3};
[0131] The present invention combines the variables a1, a2, and a3 of the three parties into a vector, which is set as b i ={a1,a2,a3}, accordingly, the objective functions of the three parties are combined into the three-party game objective function f all ={f1, f2, f3}, so that each particle contains the power control variables of the three parties, and the power control variables of the three parties are optimized as a whole rather than independently, so as to reflect the interaction relationship between the three parties in the distribution network dispatching process.
[0132] Step 202: Initialize the population;
[0133] For example, each particle b can be initialized randomly i The three variables a1, a2 and a3 are used to generate the initial population.
[0134] Step 203: Calculate each particle b i The corresponding three-party game objective function f all The function value of is calculated, and the optimal particle is selected using the normalized extreme value distance ratio;
[0135] Exemplarily, the present invention uses normalized extreme distance to evaluate all particles b i The best particle in the game and the three-party game objective function value corresponding to the best particle complete the first game process.
[0136] Specifically, as follows:
[0137]
[0138] Where f1', f2' and f3' are the normalized extreme value distances of each objective function; f DIS It is the sum of extreme value distances. The smaller the value is, the closer the current particle is to the optimal value of each objective function, that is, the particle is better.
[0139] Considering the different trading motivations and positions represented by different entities, the present invention does not directly superimpose the economic target values, but adopts the improved particle swarm three-party game algorithm, and uses the normalized extreme value distance to normalize each sub-objective function before superimposing it to eliminate the dimension problem, and at the same time unify the problem of simultaneously seeking maximum and minimum for each objective function. The normalized extreme value distance evaluates the quality of particles by the distance from the optimal value of each objective function value, which is more efficient and convenient.
[0140] Step 204, using the best particle selected by the previous game iteration ratio to dynamically and sequentially update the tripartite variables of each particle in the population;
[0141] Considering that in the actual power supply transaction system, the power grid company, the distributed power distributor, and the user are different transaction entities, the three variables a1, a2, and a3 cannot be optimized at the same time, but the variables themselves should be optimized according to the conditions of the other two parties. Therefore, the present invention adopts a sequential optimization method to update the three-party variables of each particle.
[0142] Furthermore, considering that the power grid company is dominant in selling electricity to users and the power supply accounts for the largest amount, the exchange power, that is, variable a1, is optimized first; secondly, distributed power sources, as clean energy, should follow the principle of "generating as much as possible and consuming locally", and users are encouraged to adjust their loads to consume as much clean electricity as possible; finally, users should optimize the amount of electricity purchased according to the real-time electricity price of the power grid and the price of distributed power sources, and actively adjust the adjustable load on the user side to reduce the electricity cost as much as possible.
[0143] According to an embodiment of the present invention, Figure 4 As shown, assuming that the best particle selected in the previous game iteration is b i _best={a1_best,a2_best,a3_best},the optimal particle b i The optimal extreme value distance corresponding to _best is fDIS_best , then at the beginning of this game iteration, the three-party variables of each particle are dynamically updated in sequence through the following steps:
[0144] Step 2041: Keep each particle b i The variables a2 and a3 remain unchanged. i The variable a1 is updated; the specific process of this step includes:
[0145] (1) For each particle b i The variable a1 is updated according to the variable a1_best to obtain a new particle b i '(i.e. the particle that completes the update of variable a1);
[0146] (2) Calculate the new particle b i 'The function value f of the three-party game objective function' all , and the normalized extreme distance is used to calculate the population (consisting of M particles b i 'Composition) in the new optimal extreme value distance f' DIS_best and its corresponding new optimal particle b i '_best;
[0147] (3) If the new optimal extreme value distance f' DIS_best Compared with the current optimal extreme value distance f DIS_best (That is, the f obtained in the previous iteration DIS_best ) is smaller, then the current optimal particle b i _best (i.e., b obtained in the previous game iteration i _best) is updated to the new optimal particle b i '_best(about b i '_best is assigned to b i _best), and the current optimal extreme value distance f DIS_best Update to the new optimal extreme value distance f' DIS_best (about to f' DIS_best Assign to f DIS_best ); otherwise, the current optimal particle b is not i _best and its optimal extreme value distance f DIS_best Update, that is, particle b i _best is still the current best particle.
[0148] At this point, the game iteration has completed the i 'Update of variable a1.
[0149] Step 2042: Keep all particles b that have completed the update of variable a1 i 'The variables a1 and a3 remain unchanged.i 'The variable a2 is updated; the specific process of this step includes:
[0150] (1) For each particle b i 'The variable a2 is updated according to the variable a2_best to obtain a new particle b i ” (i.e. the particle that completes the update of variables a1 and a2);
[0151] (2) Calculate the new particle b i "The function value f of the three-party game objective function" all , and the normalized extreme distance is used to calculate the population (consisting of M particles b i "The new optimal extreme value distance f in the composition) DIS_best and its corresponding new optimal particle b i ”_best;
[0152] (3) If the new optimal extreme value distance f” DIS_best Compared with the current optimal extreme value distance f DIS_best (i.e., f obtained after the above step 2041 DIS_best ) is smaller, then the current optimal particle b i _best (i.e. the best particle b obtained after the above step 2041 i _best) is updated to the new optimal particle b i ”_best, and the current optimal extreme value distance f DIS_best Update to the new optimal extreme value distance f" DIS_best ; Otherwise, do not select the current optimal particle b i _best and its optimal extreme value distance are updated, that is, particle b i _best is still the current best particle.
[0153] At this point, the game iteration has completed the i "The update of variables a1 and a2.
[0154] Step 2043: Keep all particles b that have completed the update of variables a1 and a2 i "The variables a1 and a2 remain unchanged. i " is updated; the specific process of this step includes:
[0155] (1) For each particle b i The variable a3 of " is updated according to the variable a3_best to obtain a new particle b i ”' (i.e. the particle that completes the update of variables a1, a2, and a3);
[0156] (2) Calculate the new particle bi The function value of the three-party game objective function f' all , and the normalized extreme distance is used to calculate the population (consisting of M particles b i "'Composition) in the new optimal extreme value distance f"' DIS_best and its corresponding new optimal particle b i ”'_best;
[0157] (3) If the new optimal extreme value distance f”’ DIS_best Compared with the current optimal extreme value distance f DIS_best (i.e., f obtained after the above step 2042 DIS_best ) is smaller, then the current optimal particle b i _best (i.e. the best particle b obtained after the above step 2042 i _best) is updated to the new optimal particle b i ”'_best, and the current optimal extreme value distance f DIS_best Update to the new optimal extreme value distance f'' DIS_best ; Otherwise, do not select the current optimal particle b i _best and its optimal extreme value distance are updated, that is, particle b i _best is still the current best particle.
[0158] At this point, the game iteration has completed the i ”'_best's variables a1, a2, and a3 are updated. It can be understood that the above steps 2041 to 2043 are executed in strict sequence.
[0159] Step 205: Calculate the particle b after the three-party variable update is completed i The corresponding three-party game objective function f all , and use the normalized extreme value distance ratio to select the current optimal particle and its corresponding three-party game objective function value;
[0160] Step 206 , determine whether the number of iterations reaches the upper limit. If yes, end the game iteration, and output the current optimal particle and its corresponding three-party game objective function value as the optimal solution for representing the three-party power control strategy; if no, return to step 204 .
[0161] After completing this game iteration, determine whether the number of games has reached the upper limit. If it has not reached the upper limit, update the optimization speed of the algorithm, the value of the constraint variable and the population update speed to prevent the update speed of the game algorithm from being too fast or too slow, which affects the optimization speed. Then return to step 204 and enter the next game iteration solution until the number of game iterations reaches the upper limit and the optimal combination variable b is obtained.i And its corresponding three-party game objective function f all The function value of .
[0162] The present invention constructs a three-party transaction model among power grid companies, distributed power distributors and users at the edge, optimizes and regulates transaction power and equipment power plans according to economic goals, and can achieve distributed power regulation response and active response to demand-side loads.
[0163] In addition, the improved particle swarm three-party non-cooperative game algorithm adopted in the present invention combines the optimization variables of the three parties into a particle variable sequence. When the particle swarm iterates to solve and update the population each time, the power grid company variables are updated first, then the distributed power distributor variables are updated, and finally the power user variables are updated in sequence and orderly, changing the traditional one-time overall update method. On the premise of satisfying multiple parties at the same time, the power consumption and power generation efficiency of the rural distribution network are improved.
[0164] Step 300: Generate a control instruction for controlling the terminal power device based on the optimal solution, and send the control instruction to the terminal intelligent servers of the three parties.
[0165] Based on the optimal solution, a control instruction for controlling the terminal power device is generated, and the control instruction includes: an exchange power control instruction for controlling the power exchange gateway, a control instruction for controlling photovoltaic and wind power generation power through a rectifier inverter, a control instruction for controlling the power of an energy storage device through an energy storage bidirectional inverter, and one or more of a control instruction for controlling load power through a load switch state.
[0166] Example:
[0167] This embodiment adopts the IEEE33 node system, which has a total of 33 nodes. The nodes using cloud-edge-end collaborative control are 24, 25, 30 and 32 node systems, and 100kvar adjustable SVG static reactive power compensation devices are configured at these four nodes. Each node contains distributed power supply dealers and medium voltage users. The topology diagram of the system is as follows: Figure 5 shown.
[0168] The data at 12:00 during the day are selected for calculation. The configurations of nodes 24, 25, 30, and 32 are the same. The configuration of each node is as follows: 2 centralized distributed power sources PV are connected. At this time, the current power generation power P of each PV is PV (t) is 120kW, there is one access point for wind power WTG, and the rated power generation power P WT (t) is 100kW, the rated power range of energy storage is P BES0 (t) is -60~60kW, rated capacity E BESThe maximum power P of the load that can be switched is 80kVA. FE (t) is 50kW, the maximum transferable load power P TRE (t) is also 50kW. At this time, the grid time-of-use electricity price Lc(t) is 0.862 yuan / kW, and the unit penalty electricity price Lc(t) of the rural grid loss cost is loss =0.9 yuan / kW, the power grid company's electricity purchase cost from the power plant is L generate The additional cost of the power grid is 0.33 yuan / kW. add The photovoltaic grid-connected electricity price is 0.05 yuan / kW. PV (t) realizes competitive bidding for access to the grid, which is the same as the current grid time-of-use electricity price Lc(t), which is 0.862 yuan / kW. The subsidy price L sub1 (t) are all 0.04 yuan / kW; wind power is also connected to the grid through bidding, and the electricity price is L WT (t) is 0.862 yuan / kW, ignoring the subsidized electricity price; the operation and maintenance cost of photovoltaic and wind power is L cost (t) is 0.04 yuan / kW; the operation and maintenance cost of energy storage is C BES The three-party game algorithm based on the improved particle swarm has an upper limit of 200 iterations and a population size of 50. The results of the population game are as follows: Figure 6 shown.
[0169] exist Figure 6 In the figure, the ordinate is the sum of the three normalized objective functions. It can be seen that the improved particle swarm algorithm is used to solve the three-objective game, and the normalized extreme value distance is used to evaluate the optimal solution. The 1.0587 of the population gradually decreases during the optimization process, which means that the optimal particles obtained in each iteration are closer to the optimal values of each target, indicating that the optimization result is more in line with the comprehensive optimal solution that meets the requirements of the three parties at the same time, and finally converges to 0.6356 in 74 times.
[0170] This embodiment adopts a three-party game algorithm based on an improved particle swarm. After reaching the upper limit of 200 iterations, the algorithm converges and outputs the optimal particle variable including the power control scheme of various terminal power devices. The results are shown in the following table:
[0171]
[0172] The edge server sends the control instructions corresponding to the power control scheme to the three parties' smart terminals to control the power of the terminal power equipment. As can be seen from the above table, the exchange power sold by the power grid to users is 276.35kW, which is controlled by controlling the power gate. The photovoltaic power generation power PV1 and PV2 of the distributed power distributor are 76.27kW and 72.43kW respectively, and the wind power generation power is 99.81kW. Power control is achieved through photovoltaic and wind power rectifier inverters; the charging power of energy storage is 35.88kW, which is controlled by the energy storage bidirectional inverter. The user's switchable load 1 and switchable load 2 are cut off by 47.29kW and 49.72kW respectively, and the time-shiftable load is reduced by 43.22kW at this time. Power control is performed through the load switch state of the terminal.
[0173] Figure 7 It is a schematic diagram of the extreme value distance optimization process of the three parties. Figure 8 Schematic diagram of the optimization results of the benefits or costs of the three parties.
[0174] In the present invention, the power grid companies and distributed power marketers pursue the goal of maximum profit, while the power users pursue the goal of minimum cost. In actual transactions, if the power companies and distributed power marketers only care about selling electricity to users as much as possible to achieve maximum profit, the goals of the two have the same trend; and users need to constantly adjust the load to absorb and accept, which will greatly increase the user's cost, so the optimization target trend is opposite. Therefore, Figure 7 , 8 It can be seen that the trends of the two are opposite during the optimization process.
[0175] In addition, from Figure 7 , 8 It can also be seen that the power grid company, as the subject of priority optimization, reached convergence at the 29th iteration, at which time the extreme value distance was 0, the objective function f1 reached the optimal value, and the final profit of the power grid company was 127.59 yuan; the distributed power marketer, as the second optimized subject, reached convergence at the 52nd time, the extreme value distance of the objective function f2 was 0.0446, and the profit was 210.31 yuan; the power user, as the last optimized subject, reached convergence at the 83rd time, the extreme value distance of the objective function f3 was 0.591, and the user's electricity purchase cost was 322.87 yuan.
[0176] According to another embodiment of the present invention, a rural distribution network three-party game optimization dispatching system is also provided. Fig. 9 As shown, including:
[0177] The cloud server 901 is used to collect the active and reactive power information fed back by each distribution network node at the current moment, perform reactive power optimization of the entire network, and determine the reactive power plan at the next moment to optimize the voltage quality of the distribution network;
[0178] The edge server 902 configured at each distribution network node obtains a three-party power control strategy through three-party game optimization and generates a control instruction;
[0179] The smart terminals 904, 905, 906 of the power grid company, distributed power supply dealer and user under each distribution network node are configured to perform power control on their respective terminal power devices 907, 908, 909 according to the control instructions.
[0180] Among them, Fig.10 As shown, the edge server includes:
[0181] A model building unit 9021 is used to generate a three-party power control model including multiple objective functions according to the distribution network dispatching requirements;
[0182] The objective function includes: the maximum electricity sales revenue objective function f1 of the power grid company, whose variable a1={P exchange (t)},P exchange (t) is the exchange power of the power grid selling electricity to users; the maximum power generation revenue objective function f2 of the distributed power distributor, whose variable a2={P PV (t), P WT (t), P BES (t)},P PV (t) is the active power of photovoltaic, P WT (t) is the actual power generation of wind power, P BES (t) is the charging and discharging power of the energy storage device; and the user's minimum electricity purchase cost objective function f3, whose variable a3={P FE (t), P TRE (t)},P FE (t) is the load power that can be switched, P TRE (t) is the transferable load power.
[0183] A model solving unit 9022, which uses a particle swarm algorithm to solve the three-party power control model to obtain an optimal solution for representing the three-party power control strategy;
[0184] Exemplarily, the model solving unit includes:
[0185] A population initialization module is used to construct a population containing multiple particles and initialize the population; wherein each particle b i It contains three variables {a1, a2, a3}, which represent a three-party power control strategy, and its objective function is the three-party game objective function f all ={f1,f2,f3};
[0186] The first calculation unit is used to calculate each particle b separately i The corresponding three-party game objective function f all The function value of is calculated, and the optimal particle is selected using the normalized extreme value distance ratio;
[0187] The second calculation module is used to execute the following game iteration process until the number of iterations reaches the upper limit, and output the current optimal particle and its corresponding three-party game objective function value as the optimal solution for representing the three-party power control strategy:
[0188] The best particle selected by the previous game iteration ratio is used to dynamically update the tripartite variables of each particle in the population in sequence;
[0189] Specifically, let b be the optimal particle selected in the previous game iteration ratio i _best is {a1_best, a2_best, a3_best}, the optimal particle b i The optimal extreme value distance corresponding to _best is f DIS_best , then at the beginning of the current game iteration, the second computing module sequentially executes the following steps to dynamically update the tripartite variables of each particle:
[0190] Keep each particle b i The variables a2 and a3 remain unchanged. i The variable a1 is updated to obtain the new particle b i ';
[0191] Keep all particles b that have completed the update of variable a1 i 'The variables a1 and a3 remain unchanged. i 'The variable a2 is updated to obtain the new particle b i ”;
[0192] Keep all particles b that have completed the update of variables a1 and a2 i "The variables a1 and a2 remain unchanged. i "The variable a3 is updated to obtain the new particle b i ”'.
[0193] In the above updating process, after obtaining a new particle, the function value of the three-party game objective function of the new particle is calculated, and the normalized extreme value distance is used to calculate the new optimal extreme value distance in the population and its corresponding new optimal particle, and then according to the size relationship between the new optimal extreme value distance and the current optimal extreme value distance, it is determined whether to update the current optimal particle and its optimal extreme value distance.
[0194] In the above updating process, if the new optimal extreme value distance is smaller than the current optimal extreme value distance, the current optimal particle is updated to the new optimal particle, and the current optimal extreme value distance is updated to the new optimal extreme value distance; otherwise, the current optimal particle and its optimal extreme value distance are not updated.
[0195] Calculate the b of each particle after the three variables are updated i The corresponding three-party game objective function f all , and uses the normalized extreme value distance ratio to select the current optimal particle and its corresponding three-party game objective function value.
[0196] An instruction generating unit 9033 generates a control instruction for controlling the controllable power devices of the three parties based on the optimal solution, and sends the control instruction to the smart terminals of the three parties;
[0197] According to another embodiment of the present invention, Fig.11 As shown, a rural distribution network edge server is also provided, including:
[0198] At least one processor 110; and a memory 111 communicatively connected to the processor, which stores instructions executable by the processor; when the instructions are executed by the processor, the rural distribution network three-party game optimization scheduling method as described in any of the above schemes is implemented.
[0199] According to another embodiment of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the rural distribution network three-party game optimization scheduling method as described in any of the above solutions is implemented.
[0200] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0201] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned module-composed unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0202] It should be understood that the above-mentioned processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the invention may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor. The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0203] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0204] Those skilled in the art will appreciate that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes various media that can store program codes, such as ROM, RAM, magnetic disk or optical disk.
[0205] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A three-party game optimization dispatching method for rural distribution network, characterized in that: The rural distribution network adopts a cloud-edge-end architecture. The method is executed by an edge-end intelligent server configured at each distribution network node. The power grid company, distributed power supply dealer and user under each distribution network node respectively configure intelligent terminals. The method includes: Generate a three-party power control model containing multiple objective functions according to the distribution network dispatching requirements; A particle swarm algorithm is used to solve the three-party power regulation model to obtain an optimal solution for representing the three-party power regulation strategy; Generate a control instruction for controlling the controllable power devices of the three parties based on the optimal solution, and send the control instruction to the smart terminals of the three parties; The objective functions include: the maximum electricity sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributor, and the minimum electricity purchase cost objective function f3 of the user; The variable a1 of the maximum electricity sales revenue objective function f1 of the power grid company is {P exchange (t)},P exchange (t) is the exchange power of the power grid selling electricity to users; the variable a2 of the maximum power generation revenue objective function f2 of the distributed power distributor is {P PV (t), P WT (t), P BES (t)},P PV (t) is the active power of photovoltaic, P WT (t) is the actual power generation of wind power, P BES (t) is the charging and discharging power of the energy storage device; the variable a3 of the user's minimum electricity purchase cost objective function f3 is {P FE (t), P TRE (t)},P FE (t) is the load power that can be switched, P TRE (t) is the transferable load power; The method of using a particle swarm algorithm to solve the three-party power control model includes: Construct a population containing multiple particles; each particle b i It contains three variables {a1, a2, a3}, which represent a three-party power control strategy, and its objective function is the three-party game objective function f all ={f1,f2,f3}; Initializing the population; Calculate each particle b separately i The corresponding three-party game objective function f all The function value of is calculated, and the optimal particle is selected using the normalized extreme value distance ratio; Execute the game iteration process until the number of iterations reaches an upper limit, output the current optimal particle and its corresponding three-party game objective function value as the optimal solution for representing the three-party power control strategy; wherein the game iteration process includes: The best particle selected by the previous game iteration ratio is used to dynamically update the tripartite variables of each particle in the population in sequence; Calculate the b of each particle after the three variables are updated i The corresponding three-party game objective function f all , and uses the normalized extreme value distance ratio to select the current optimal particle and its corresponding three-party game objective function value.
2. The method according to claim 1, characterized in that The best particle selected in the previous game iteration is b i _best is {a1_best, a2_best, a3_best}, the optimal particle b i The optimal extreme value distance corresponding to _best is f DIS_best , then at the beginning of this game iteration, the following steps are executed in sequence to dynamically update the tripartite variables of each particle: (i) Keep each particle b i The variables a2 and a3 remain unchanged. i The variable a1 is updated to obtain the new particle b i '; (ii) Keep each particle b that has completed the update of variable a1 i 'The variables a1 and a3 remain unchanged. i 'The variable a2 is updated to obtain the new particle b i ”; (iii) Keep all particles b that have completed the update of variables a1 and a2 i "The variables a1 and a2 remain unchanged. i "The variable a3 is updated to obtain the new particle b i ”'.
3. The method according to claim 2, characterized in that In the step (i), after obtaining the new particle b i 'After that, it also includes: calculating the new particle b i 'The function value f of the three-party game objective function' all , and use the normalized extreme value distance to calculate the new optimal extreme value distance f' in the population DIS_best and its corresponding new optimal particle b i '_best, then according to the new optimal extreme value distance f' DIS_best The size relationship between the distance to the current optimal extreme value determines whether the current optimal particle b i '_best and its optimal extreme value distance are updated; In the step (ii), after obtaining new particles b i ", it also includes: calculating the new particle b i "The function value f of the three-party game objective function" all , and use the normalized extreme value distance to calculate the new optimal extreme value distance f" in the population DIS_best and its corresponding new optimal particle b i "_best, then according to the new optimal extreme value distance f" DIS_best The size relationship between the distance to the current optimal extreme value determines whether the current optimal particle b i ”_best and its optimal extreme value distance are updated; In the step (iii), after obtaining new particles b i ”', it also includes: calculating the new particle b i The function value of the three-party game objective function f' all , and use the normalized extreme value distance to calculate the new optimal extreme value distance f"' in the population DIS_best and its corresponding new optimal particle b i ”'_best, then according to the new optimal extreme value distance f”' DIS_best The size relationship between the distance to the current optimal extreme value determines whether the current optimal particle b i ”'_best and its optimal extreme value distance are updated.
4. The method according to claim 3, characterized in that In the step (i), the step (ii) and the step (iii), determining whether to update the current optimal particle and its optimal extreme value distance according to the size relationship between the new optimal extreme value distance and the current optimal extreme value distance includes: If the new optimal extreme value distance is smaller than the current optimal extreme value distance, the current optimal particle is updated to the new optimal particle, and the current optimal extreme value distance is updated to the new optimal extreme value distance; otherwise, the current optimal particle and its optimal extreme value distance are not updated.
5. The method according to claim 3, characterized in that: The normalized extreme value distance is: f DIS =f1'+f2'+f'3, where f'1, f'2 and f'3 are the normalized extreme value distances of the maximum electricity sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributor, and the minimum electricity purchase cost objective function f3 of the user, respectively.
6. A rural distribution network three-party game optimization dispatching system, comprising: The cloud server is used to collect the active and reactive power information fed back by each distribution network node at the current moment, perform reactive power optimization of the entire network, and determine the reactive power plan at the next moment to optimize the voltage quality of the distribution network; the edge server configured at each distribution network node obtains a three-party power control strategy through three-party game optimization and generates control instructions; the smart terminals of the power grid company, distributed power supply dealer and user under each distribution network node are configured to perform power control on their respective terminal power devices according to the control instructions; the edge server includes: A model building unit, used to generate a three-party power control model including multiple objective functions according to the distribution network dispatching requirements; A model solving unit, which uses a particle swarm algorithm to solve the three-party power control model to obtain an optimal solution for representing the three-party power control strategy; An instruction generation unit, which generates a control instruction for controlling the controllable power devices of the three parties based on the optimal solution, and sends the control instruction to the smart terminals of the three parties; The objective functions include the maximum electricity sales revenue objective function f1 of the power grid company, the maximum power generation revenue objective function f2 of the distributed power distributor, and the minimum electricity purchase cost objective function f3 of the user; The variable a1 of the maximum electricity sales revenue objective function f1 of the power grid company is {P exchange (t)},P exchange (t) is the exchange power of the power grid selling electricity to users; the variable a2 of the maximum power generation revenue objective function f2 of the distributed power distributor is {P PV (t), P WT (t), P BES (t)},P PV (t) is the active power of photovoltaic, P WT (t) is the actual power generation of wind power, P BES (t) is the charging and discharging power of the energy storage device; the variable a3 of the user's minimum electricity purchase cost objective function f3 is {P FE (t), P TRE (t)},P FE (t) is the load power that can be switched, P TRE (t) is the transferable load power; The model solving unit comprises: A population initialization module is used to construct a population containing multiple particles and initialize the population; wherein each particle b i It contains three variables {a1, a2, a3}, which represent a three-party power control strategy, and its objective function is the three-party game objective function f all ={f1,f2,f3}; The first calculation unit is used to calculate each particle b separately i The corresponding three-party game objective function f all The function value of is calculated, and the optimal particle is selected using the normalized extreme value distance ratio; The second calculation module is used to execute the game iteration process until the number of iterations reaches an upper limit, and output the current optimal particle and its corresponding three-party game objective function value as the optimal solution for representing the three-party power control strategy; wherein the game iteration process includes: The best particle selected by the previous game iteration ratio is used to dynamically update the tripartite variables of each particle in the population in sequence; Calculate the b of each particle after the three variables are updated i The corresponding three-party game objective function f all , and uses the normalized extreme value distance ratio to select the current optimal particle and its corresponding three-party game objective function value.
7. A rural distribution network edge server, characterized in that: include: at least one processor; And a memory communicatively connected to the processor, which stores instructions executable by the processor; when the instructions are executed by the processor, the rural distribution network three-party game optimization scheduling method as described in any one of claims 1-5 is implemented.
8. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the rural distribution network three-party game optimization scheduling method as described in any one of claims 1 to 5 is implemented.
