User side photovoltaic interactive voltage regulation method and system based on distributed interaction
By analyzing the randomness of photovoltaic output and building an optimization model, and using an improved particle swarm algorithm to optimize the distribution network resource scheduling, the voltage regulation uncertainty caused by distributed photovoltaic access is solved, and the stability and renewability of the distribution network are improved. Energy acceptance capacity reduces operating costs.
Patent Information
- Application Number
- CN202410857250.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-11-15
AI Technical Summary
In the case of high proportion of distributed photovoltaic access, the uncertainty of photovoltaic output in the distribution network leads to unclear voltage regulation strategies, making it difficult to effectively participate in voltage regulation, affecting the stability and operating efficiency of the power grid.
By obtaining the distribution network topology, compensation electricity price coefficient, inverter loss coefficient, typical photovoltaic output and market purchase/sales price data, the constraints and influence mechanism of the randomness of photovoltaic output on voltage regulation are analyzed, and a random factor is constructed Two voltage regulation optimization models are used to solve the problem using improved particle swarm algorithm to optimize distribution network resource scheduling.
Effectively respond to the voltage fluctuations caused by photovoltaic access, improve the distribution network's ability to accept renewable energy, enhance the flexibility and stability of the power grid, reduce operating costs, and improve the accuracy and rapid response capabilities of the voltage regulation strategy.
Smart Images

Figure CN118971118A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power distribution networks, and in particular to a distributed interactive user-side photovoltaic interactive voltage regulation method and system. Background Art
[0002] With the increasing scarcity of global energy and the gradual improvement of environmental requirements, renewable energy and efficient energy utilization have received great attention. Distributed energy is a more flexible and intelligent way of energy production and supply. As a sustainable energy, the development of distributed energy helps to improve energy efficiency, reduce dependence on traditional energy, and promote the energy system to develop in a cleaner and more sustainable direction. However, large-scale access to distributed energy will cause the distribution network to produce reverse currents. For example, when a high proportion of distributed photovoltaics is connected to the distribution network, the voltage of each node in the distribution network generally increases, and even causes serious voltage over-limit problems. These problems not only limit the development of distributed energy, but also bring severe challenges to the voltage regulation of the distribution network.
[0003] Distributed photovoltaic access to the user side forms the main body of photovoltaic producers and consumers, and has the functions of production and consumption. It not only has the function of purchasing electricity, but also can sell electricity to the power grid. In addition, the output of distributed photovoltaics has great uncertainty and is greatly affected by the environment, which affects the voltage regulation of the distribution network. Since the node voltage of the distribution network is not only affected by reactive power, but also closely coupled with active power. Therefore, the uncertainty of photovoltaic output not only affects its own voltage and voltage regulation strategy, but also affects the node voltage of the entire network. In the case of a high proportion of distributed photovoltaic access, how to make photovoltaic producers and consumers participate in voltage regulation under the premise of considering the uncertainty of photovoltaic output is an important challenge facing the voltage regulation of the distribution network. Summary of the invention
[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0005] In view of the above existing problems, the present invention is proposed.
[0006] Therefore, the present invention provides a user-side photovoltaic interactive voltage regulation method and system based on distributed interaction to solve the problem in the prior art that the regulation process of voltage regulation involving multiple producers and consumers under the random coupling of photovoltaic output is not clear and comprehensive.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0008] In a first aspect, the present invention provides a distributed interactive user-side photovoltaic interactive voltage regulation method, comprising:
[0009] Obtain the network topology of the active distribution network, compensation price coefficient, converter loss coefficient, typical day photovoltaic output, market purchase / sale electricity price and load data, and analyze the constraints and influence mechanism of photovoltaic output randomness on the voltage regulation process;
[0010] Based on the analysis of constraints and influencing mechanisms, two voltage regulation optimization models considering random factors are constructed according to the two voltage regulation modes.
[0011] According to different control strategies of prosumers, two voltage regulation optimization models of distribution networks containing distributed photovoltaics are solved by using an improved particle swarm algorithm; the improved particle swarm algorithm includes adding Gaussian mutation operations and improving inertia reduction weights and learning factors;
[0012] According to the solution result of the voltage regulation optimization model, the distributed resources of the distribution network are optimized and dispatched.
[0013] As a preferred solution of the distributed interactive user-side photovoltaic interactive voltage regulation method described in the present invention, wherein:
[0014] The analysis of the constraints and influence mechanism of the randomness of photovoltaic output on the voltage regulation process includes the following steps:
[0015] Set the reactive power regulation range of the photovoltaic grid-connected converter without reducing the active power;
[0016] The maximum and minimum regulation limits of reactive power changes at the node at each time point are clarified;
[0017] Through the working constraints of the photovoltaic inverter, two voltage regulation modes are distinguished: reactive power regulation only and active and reactive power combined regulation. If the reactive power regulation demand exceeds the range that the reactive power regulation mode can provide, it will switch to the active and reactive power combined regulation mode.
[0018] Kernel density estimation is used to quantify the uncertainty of photovoltaic output, and the probability distribution function is used to describe the change of photovoltaic output of each prosumer over time.
[0019] As a preferred solution of the distributed interactive user-side photovoltaic interactive voltage regulation method of the present invention, wherein:
[0020] According to the two voltage regulation modes, two voltage regulation optimization models considering random factors are constructed respectively, including:
[0021] The reactive power regulation mode corresponds to constructing a first voltage regulation model F 1 ;
[0022] The first voltage regulation model F 1 The optimization objectives are reactive power compensation income, voltage deviation penalty and inverter loss;
[0023] The first voltage regulation model F 1 It is expressed as:
[0024] F 1 =p i,t ×f 1 =p i,t ×(f q +f v +f l )
[0025] f q =w i,t (a i,t |ΔQ i,t |+b i,t )
[0026]
[0027] Among them, f 1 is the benefit of producer / consumer i at time t when reactive power regulation is performed without considering the uncertainty of photovoltaic power generation; f q is the reactive power compensation benefit; f v is the voltage deviation penalty; f l is the inverter loss cost; w i,t is the weight of producer / consumer i in the voltage regulation of the distribution network at time t. The larger the weight, the greater the voltage regulation compensation benefit; a i,t 、b i,t is the voltage regulation compensation price coefficient of producer / consumer i at time t; c i,t is the preference coefficient of producer / consumer i for voltage deviation tolerance at time t; e i,t 、f i,t 、z i,t is the converter loss coefficient of prosumer i at time t;
[0028] The active and reactive joint regulation mode corresponds to constructing a second voltage regulation model F 2 ;
[0029] The second voltage regulation model F 2 , including: in F 1 The power sales loss and power purchase cost are added to the optimization target;
[0030] The second voltage regulation model F 2 It is expressed as:
[0031] F 2 =p i,t ×f 2 =p i,t×(f q -f v -f l )-f s -f b
[0032] f s =c s,t min(ΔP i,t ,P PV,i,t -P load,i,t )
[0033] f b =c b,t max(ΔP i,t -(P PV,i,t -P load,i,t ),0)
[0034] Among them, f s is the loss of electricity sales, f b It is the cost of purchasing electricity.
[0035] As a preferred solution of the distributed interactive user-side photovoltaic interactive voltage regulation method of the present invention, wherein:
[0036] The improved particle swarm algorithm comprises the following steps:
[0037] Initialize the speed and position of individuals in the population P, and calculate the target vector of the individual particle;
[0038] Save the non-inferior solution set in the population P and determine the historical best position pbest of the individual particle;
[0039] Calculate the fitness value of each unit, compare and arrange the values, compare the quality of particles, update the inertia factor through the improved inertia reduction weight, and determine the best position gbest of the group according to the global extreme value selection method;
[0040] Update the particle's velocity and position, applying the improved learning factor;
[0041] If the position of a particle exceeds the boundary range of a decision variable, the position of this particle is defined as the boundary, and the speed of the particle in this dimension is set to the opposite direction;
[0042] Perform Gaussian mutation operation, integrate all particle information in the new population, update and maintain the non-inferior solution set, and perform the next iteration operation;
[0043] If the termination condition is met, the search stops; otherwise, the non-inferior solution set in the saved population P is returned, the historical best position of the individual particle is determined, and the iteration continues.
[0044] As a preferred solution of the distributed interactive user-side photovoltaic interactive voltage regulation method of the present invention, wherein:
[0045] The inertia factor is updated by the improved inertia reduction weight as follows:
[0046]
[0047] Among them, ω max is the maximum value of the inertia factor, ω min is the minimum value of the inertia factor; t is the current iteration number.
[0048] As a preferred solution of the distributed interactive user-side photovoltaic interactive voltage regulation method of the present invention, wherein:
[0049] The improved learning factor includes the self-learning factor c 1 and social learning factor c 2 ;
[0050] The improved learning factor also includes modulating the dynamic changes of the self-learning factor and the social learning factor through a sinusoidal function, which is expressed as:
[0051]
[0052] Among them, c 1,s and c 2,s is the upper limit of the learning factor, c 1,e and c 2,e is the lower limit of the learning factor, t max is the maximum number of iterations.
[0053] As a preferred solution of the distributed interactive user-side photovoltaic interactive voltage regulation method of the present invention, wherein:
[0054] The Gaussian mutation operation comprises the following steps:
[0055] Using the probability density function of the normal distribution, a sample value is drawn through a random number generator;
[0056] For each element xj in the solution vector, calculate the mutated value It is expressed as:
[0057]
[0058] Among them, the value range of N is [0,1], and its density function curve is symmetric with x = μ, and the probability of taking a value is inversely proportional to the distance from the symmetry axis; the value of σ is proportional to the degree of dispersion;
[0059] The probability density function of the normal distribution is expressed as:
[0060]
[0061] In a second aspect, the present invention provides a distributed interactive user-side photovoltaic interactive voltage regulation system, comprising:
[0062] The analysis module is used to obtain the network topology of the active distribution network, the compensation price coefficient, the converter loss coefficient, the typical daily photovoltaic output, the market purchase / sale electricity price and load data, and analyze the constraints and influence mechanisms of the randomness of photovoltaic output on the voltage regulation process;
[0063] A construction module is used to construct two voltage regulation optimization models taking into account random factors based on the analysis of constraints and influencing mechanisms and according to two voltage regulation modes;
[0064] A solution module, used for solving two voltage regulation optimization models of a distribution network containing distributed photovoltaics by using an improved particle swarm algorithm according to different control strategies of prosumers; the improved particle swarm algorithm includes adding a Gaussian mutation operation and improving an inertia reduction weight and a learning factor;
[0065] The optimization module is used to optimize the scheduling of distributed resources in the distribution network according to the solution results of the voltage regulation optimization model.
[0066] In a third aspect, the present invention provides a computing device, comprising:
[0067] Memory, used to store programs;
[0068] A processor is used to execute the computer executable instructions, which, when executed by the processor, implement the steps of the user-side photovoltaic interactive voltage regulation method based on distributed interaction.
[0069] In a fourth aspect, the present invention provides a computer-readable storage medium, comprising: when the program is executed by a processor, the steps of implementing the user-side photovoltaic interactive voltage regulation method based on distributed interaction are implemented.
[0070] Beneficial effects of the present invention: By considering the randomness of photovoltaic output and designing a reasonable voltage regulation model, the present invention can effectively deal with the voltage fluctuation problem caused by distributed photovoltaic access, improve the distribution network's ability to accept a high proportion of renewable energy, thereby enhancing the operational flexibility and stability of the power grid and reducing the risk of voltage over-limit. By optimizing the scheduling of distribution network resources containing distributed photovoltaics and considering the different control strategies of multiple producers and consumers, it is possible to maximize economic benefits, reduce the operating costs of the overall system, and improve energy efficiency while ensuring the safe and stable operation of the power grid. Through innovative voltage regulation models and algorithm designs, a new way is provided for photovoltaic producers and consumers to participate in grid voltage regulation. By using IPSO (improved particle swarm optimization algorithm), the randomness of photovoltaic output can be handled more accurately, the accuracy and rapid response capability of the formulation and execution of voltage regulation strategies are improved, and the distribution network regulation is made more intelligent and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0072] Figure 1 A basic flow chart of a distributed interactive user-side photovoltaic interactive voltage regulation method provided by an embodiment of the present invention;
[0073] Figure 2 A schematic diagram of a multi-agent interaction principle of a distributed interactive user-side photovoltaic interactive voltage regulation method provided by an embodiment of the present invention;
[0074] Figure 3 An improved IPSO algorithm flow chart of a distributed interactive user-side photovoltaic interactive voltage regulation method provided by an embodiment of the present invention;
[0075] Figure 4 A flowchart of an algorithm for solving a voltage regulation model of a distributed interactive user-side photovoltaic interactive voltage regulation method provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0076] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0077] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0078] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0079] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0080] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0081] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0082] Example 1
[0083] Reference Figure 1-4 , is an embodiment of the present invention, which provides a distributed interactive user-side photovoltaic interactive voltage regulation method, such as Figure 1 , Figure 2 As shown, the following steps are included:
[0084] S1: Obtain the network topology of the active distribution network, compensation price coefficient, converter loss coefficient, typical day photovoltaic output, market purchase / sale electricity price and load data, and analyze the constraints and influence mechanism of photovoltaic output randomness on the voltage regulation process;
[0085] In the embodiment of the present application, in order to further study the random coupling effect of multiple prosumers and its solution based on the distribution network voltage regulation considering the voltage regulation autonomy of photovoltaic prosumers, the impact mechanism is first analyzed. When active power reduction is not performed, the total active and reactive power output of the photovoltaic grid-connected converter needs to meet the capacity constraint:
[0086]
[0087] Among them, P PV,i,t is the photovoltaic output value of photovoltaic access node i at time t; Q 0,i,t is the initial reactive power before photovoltaic voltage regulation at node i at time t, with injection into the grid as positive; ΔQ i,t is the change in reactive power injected into node i at time t; S inv,i is the capacity of the PV grid-connected converter at node i.
[0088] In the embodiment of the present application, when the active output is not reduced, the reactive power regulation of the photovoltaic producer and consumer at the node i at time t has an upper limit ΔQ i,max,t and the lower limit ΔQ i,min,t , respectively:
[0089]
[0090] In the embodiment of the present application, prosumer i is located at node i and interacts with the power grid through the node.
[0091] In the embodiment of the present application, during the voltage regulation process, the load demand of the photovoltaic producer and consumer remains unchanged, and the "self-generation and self-use, surplus power to the grid" mode is adopted, that is, first meet their own electricity demand, and then consider using active power reduction means to participate in the voltage regulation of the distribution network. The two voltage regulation means are reactive power regulation only and active and reactive power combined regulation.
[0092] In the embodiments of the present application, the photovoltaic inverter should meet the following constraints:
[0093]
[0094] Among them, P is active power, Q is reactive power, S max is the maximum apparent power.
[0095] In the embodiments of the present application, when When the reactive power reaches the maximum regulation limit, the active power needs to be reduced to provide a wider regulation range for the reactive power. Therefore, there are two voltage regulation methods: and Reactive voltage regulation under conditions; and Active and reactive voltage regulation under conditions.
[0096] In the embodiment of the present application, the photovoltaic uncertainty can be described as a random variable whose probability distribution is determined by statistical data, which is derived from the record of photovoltaic power generation. The photovoltaic uncertainty of prosumer i at time slot t is denoted as Its distribution can be expressed as:
[0097]
[0098] Where u(·) is the probability distribution obtained from the discrete statistical data of photovoltaics. The method for obtaining u(·) is based on the kernel density estimation method. PV,i,t is the photovoltaic output value of photovoltaic access node i at time t, p i.t is the probability that the photovoltaic output of prosumer i at time t is the former.
[0099] S2: Based on the analysis of constraints and influencing mechanisms, two voltage regulation optimization models considering random factors are constructed according to the two voltage regulation modes;
[0100] It should be noted that in order to ensure that the voltage of the distribution network nodes is within the normal operation requirements and improve the voltage quality, two voltage regulation models based on economic incentives are proposed for each producer, corresponding to two voltage regulation methods. 1 Corresponding to the reactive power regulation mode, the second voltage regulation model F 2 Corresponding to the active and reactive joint regulation mode, such as Figure 4 As shown, the goal of the model is to achieve voltage regulation while maximizing the utility of each prosumer.
[0101] In the embodiment of the present application, when the node voltage deviation is small, reactive power regulation is adopted, wherein the first reactive power voltage regulation model F 1 Taking reactive power compensation benefit, voltage deviation penalty and inverter loss as optimization objectives, it can be expressed as:
[0102] F 1 =p i,t ×f 1
[0103] f 1 =f q +f v +f l
[0104]
[0105] Among them, f 1 is the benefit of producer / consumer i at time t when reactive power regulation is performed without considering the uncertainty of photovoltaic power generation; f q is the reactive power compensation benefit; f vis the voltage deviation penalty; f l is the inverter loss cost; w i,t is the weight of producer / consumer i in the voltage regulation of the distribution network at time t. The larger the weight, the greater the voltage regulation compensation benefit; a i,t 、b i,t is the voltage regulation compensation price coefficient of producer / consumer i at time t; c i,t is the preference coefficient of producer / consumer i for voltage deviation tolerance at time t; e i,t 、f i,t 、z i,t is the converter loss coefficient of prosumer i at time t.
[0106] In the embodiment of the present application, since the reactive power regulation of each prosumer has different effects on the voltage of the entire distribution network node, the compensation of each prosumer in each node should be differentiated according to its contribution to voltage regulation. Therefore, the weight coefficient is defined according to the voltage support degree, and the contribution of prosumer i is calculated as follows:
[0107]
[0108] Among them, w i,t is the weight coefficient, which indicates the relative influence of producer-consumer i on other producers-consumers; d i,t is the voltage support degree, which is the average change in the voltage value of the entire network caused by the adjustment of unit reactive power by producer and consumer i; S Q,i,j,t is the voltage sensitivity coefficient of the distribution network node.
[0109] The voltage is calculated from the reactive-voltage sensitivity:
[0110]
[0111] Among them, V 0,i,t is the initial voltage value of node i before voltage regulation at time t.
[0112] In the embodiments of the present application, the grid-connected converter will generate certain losses during operation due to equivalent resistance, switching loss, etc., which are related to the converter capacity occupied during operation. The reactive adjustment amount during the voltage regulation process of the photovoltaic producer and consumer is constrained by its own adjustment capacity, and the grid-connected converter capacity constraint is always met. In addition, since the photovoltaic producer and consumer regulates the voltage autonomously, the voltage at its own grid connection point and the corresponding line transmission power must meet the safe operation constraints.
[0113]
[0114] V i,min,t ≤V i,t ≤V i,max,t
[0115] P i-j,min,t ≤Pi-j,t ≤P i-j,max,t
[0116]
[0117] In the embodiment of the present application, in the prosumer voltage regulation model with only reactive power regulation means, photovoltaic uncertainty affects the initial voltage value and line power flow initial value before voltage regulation through the distribution network power flow, thereby affecting the reactive power regulation strategy of the prosumer.
[0118] It should be noted that during the joint regulation of active and reactive power, the active power of photovoltaic power will be reduced to a certain extent to release more reactive capacity. In the case of continuous energy trading, there are photovoltaic producers and consumers who reduce the active power output used to meet their own load needs in order to ensure the quality of power and purchase the load shortage power from the power market. Therefore, active power reduction includes reducing the power that was originally sold to the distribution network and reducing the photovoltaic power output that was originally used to meet the load demand.
[0119] In the embodiment of the present application, the photovoltaic prosumer adopts the operation mode of "self-generation for self-use, surplus power to the grid", and the power sales loss means that the original power sales income will be lost after the power originally sold to the distribution network by the prosumer is reduced. When the photovoltaic prosumer further reduces the active power, the active power of the "self-generation for self-use" part will be reduced. Since voltage regulation cannot be at the expense of the user's electricity consumption, the shortfall of the power load needs to be purchased from the electric energy market, thereby generating the cost of purchasing electricity. The second voltage regulation model F 2 , in the first voltage regulation model F 1 The power selling loss and power purchasing cost are added to the optimization target, which is expressed as:
[0120] F 2 =p i,t ×f 2
[0121] f 2 =(f q -f v -f l )-f s -f b
[0122]
[0123]
[0124] Among them, f s is the loss of electricity sales, f b It is the cost of purchasing electricity.
[0125] In the embodiment of the present application, due to the existence of active power reduction, the calculation method of converter occupied capacity is also different. At this time, since active power reduction is mainly to provide more converter capacity for reactive power regulation:
[0126]
[0127] Therefore, in this case, the converter operation loss is a constant, and the active power reduction can also be calculated by the reactive power regulation. Due to the high impedance ratio characteristics of the distribution network, the active power reduction will also affect the node voltage. Therefore, the node voltage after regulation can be calculated by the reactive power-voltage sensitivity coefficient and the active power-voltage sensitivity coefficient:
[0128]
[0129] The line flow calculation also has the impact of active power reduction:
[0130]
[0131] In this case, in addition to the original constraints, the active power reduction amount is also subject to certain range constraints and cannot exceed its own maximum photovoltaic output, namely:
[0132] 0≤ΔP i,t ≤P PV,i,t
[0133] In the basic particle swarm optimization algorithm, velocity and displacement are used to update the particle position. The particle position and velocity expression formulas during the iteration are as follows:
[0134]
[0135] Where: Assume that the initial population is N, id = 1, ..., N, t refers to the current iteration number, c 1 、c 2 is the learning factor, r 1 、r 2 refers to a random number in [0,1], and ω is the inertia weight. and is the individual extreme value and global extreme value of particle i at the tth iteration, and Refers to the position and velocity of the particle during the iteration process.
[0136] S3: According to different control strategies of prosumers, two voltage regulation optimization models of the distribution network containing distributed photovoltaics are solved by using an improved particle swarm algorithm; the improved particle swarm algorithm includes adding Gaussian mutation operation and improving inertia reduction weight and learning factor;
[0137] In the embodiments of the present application, an improved particle swarm algorithm is adopted. On the basis of the original particle swarm algorithm, a Gaussian mutation operation is added, and the inertia reduction weight and the learning factor are improved. While ensuring the diversity of the particle population, the diversity and self-regulation ability characteristics are introduced into the PSO algorithm to improve the global search capability of the algorithm without being trapped in a local solution.
[0138]
[0139] Where, the particle position x = (x 1 ,x 2 ,…,x n ),i,j represents the dimension, For x i Individuals after mutation operation.
[0140] In the embodiment of the present application, the mean of the normally distributed random number of Gaussian variation is μ, the standard deviation is σ, and the specific form N density function expression is:
[0141]
[0142] The Gaussian mutation operation formula is:
[0143]
[0144] Among them, the value range of N is [0,1], and its density function curve is symmetric with x=μ as the axis of symmetry. The probability of taking a value is inversely proportional to the distance from the axis of symmetry; the value of σ is proportional to the degree of dispersion.
[0145] In the embodiment of the present application, the value assigned to the mutation operator determines the mutation degree of the mutant individual. A mutation operator with a larger value can make the particle escape from the original position and avoid entering the local optimum. A mutation factor with a smaller value in the later stage can allow the particle to accurately explore the optimal solution area. The σ in the mutation operator N(μ,σ) directly affects the probability of the particle escaping the local optimum. The larger the σ, the greater the escape probability. Let F i,max =max f i (x), F i,min =min f i (x), K i (1,2,…,m) means that each dimensional space is divided into m units, and D represents the decision space. When each dimensional space is quantitatively segmented, the size of each subdivision interval on a single dimension is expressed as:
[0146]
[0147] In the embodiment of the present application, after the target space is divided into multiple units, two indicators are designed to determine the fitness value of individual particles. They are health index and crowding index. The health index represents the number of other particles dominated by a particle in the iteration, while the crowding index represents the number of dominated particles in the unit corresponding to the target vector of a single particle.
[0148]
[0149] Among them, f * is the adaptive value, D(C,K) refers to the number of k generations of particle c in the grid cell, and H(C,K) is the number of other particles that particle c can control.
[0150] In an embodiment of the present application, W is defined as the number of scales, and the initial mutation operator σ is assigned a value, the interval range is in D, and the mutation operator σ is adaptively adjusted with the number of iterations, and the fitness value of each particle is sorted and sorted to obtain W subgroups.
[0151]
[0152] Among them, Q represents the population size and k represents the current number of iterations.
[0153]
[0154] in, It represents the standard deviation of the variation of the wth particle, and B is defined as the width coefficient. It is generally required to ensure that the standard variation error reaches the termination condition within the range of the width coefficient within the maximum number of iterative evolutions.
[0155] In the embodiment of the present application, the inertia factor ω determines the changing trend of the particle velocity and affects the speed and accuracy of the algorithm. The present invention adopts an improved inertia decreasing weight, and its formula is as follows:
[0156]
[0157] Among them, ω max is the maximum value of the inertia factor, ω min is the minimum value of the inertia factor; t is the current iteration number.
[0158] It should be noted that in the basic particle swarm optimization process, the speed of the particle update process determines the particle self-cognition and the particle's trajectory. Different learning factors will produce a variety of results. The present invention adopts an improved learning factor, the purpose of which is to enhance the exploration surface and flight speed of the particle swarm during the movement process and shorten the algorithm convergence time. By appropriately coordinating the learning factor to coordinate the local search optimization and overall search optimization of the algorithm, the problem of slow algorithm convergence can be overcome.
[0159] In the embodiment of the present application, an improved learning factor is adopted, and the learning factor includes a self-learning factor c 1 and social learning factor c 2 .c 1 and c 2 It has the ability of self-learning, and then finds the local optimal solution and the global optimal solution. In order to improve the efficiency and accuracy of the solution, the learning factor of the improved sinusoidal function is expressed as:
[0160]
[0161] Among them, c 1,s and c 2,s is the upper limit of the learning factor, c 1,e and c 2,e is the lower limit of the learning factor, t max is the maximum number of iterations.
[0162] In the embodiments of the present application, Figure 3 As shown, the steps of the improved IPSO algorithm are as follows:
[0163] Step 1: Initialize the speed and position of individuals in the population P, and calculate the target vector of the particle individual.
[0164] Step 2: Save the set of non-inferior solutions in the population P and determine the pbest of the individual particle.
[0165] Step 3: Calculate the fitness value of each unit, compare and arrange the values, compare the quality of particles, update the inertia factor, and determine gbest according to the global extreme value selection method.
[0166] Step 4: Update the velocity and position of the particle and define the decision variables;
[0167] Step 5: If the position of a particle crosses the boundary range of a decision variable, the position of this particle is defined as the boundary, and the speed of the particle in this dimension is set to the opposite direction.
[0168] Step 6: Perform mutation operation and integrate all particle information in the new population, update and maintain the non-inferior solution set, and perform the next iteration operation.
[0169] Step 7: Stop searching if the termination condition is met; otherwise, return to Step 2 to continue iterating.
[0170] S4: Optimize the scheduling of distributed resources in the distribution network based on the solution results of the voltage regulation optimization model.
[0171] This embodiment also provides a distributed interactive user-side photovoltaic interactive voltage regulation system, including:
[0172] The analysis module is used to obtain the network topology of the active distribution network, the compensation price coefficient, the converter loss coefficient, the typical daily photovoltaic output, the market purchase / sale electricity price and load data, and analyze the constraints and influence mechanisms of the randomness of photovoltaic output on the voltage regulation process;
[0173] A construction module is used to construct two voltage regulation optimization models taking into account random factors based on the analysis of constraints and influencing mechanisms and according to two voltage regulation modes;
[0174] A solution module, used for solving two voltage regulation optimization models of a distribution network containing distributed photovoltaics by using an improved particle swarm algorithm according to different control strategies of prosumers; the improved particle swarm algorithm includes adding a Gaussian mutation operation and improving an inertia reduction weight and a learning factor;
[0175] The optimization module is used to optimize the scheduling of distributed resources in the distribution network according to the solution results of the voltage regulation optimization model.
[0176] Furthermore, it also includes:
[0177] Memory, used to store programs;
[0178] A processor is used to load the program to execute the distributed interactive user-side photovoltaic interactive voltage regulation method.
[0179] This embodiment also provides a computer-readable storage medium storing a program, and when the program is executed by a processor, the user-side photovoltaic interactive voltage regulation method based on distributed interaction is implemented.
[0180] The storage medium proposed in this embodiment and the user-side photovoltaic interactive voltage regulation method based on distributed interaction proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0181] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.
[0182] Example 2
[0183] Referring to Tables 1-3, an embodiment of the present invention provides a user-side photovoltaic interactive voltage regulation method based on distributed interaction. In order to verify its beneficial effects, the effectiveness of the optimization model is verified by combining actual examples, and an optimized voltage regulation strategy for distributed photovoltaics is formulated based on the optimal results obtained by the two voltage regulation models.
[0184] In this embodiment, an IEEE 33 node system is used, the voltage level of the system is 12.66 kV, and the reference capacity is 10 MVA.
[0185] Table 1 shows other example related parameters, Table 2 shows the photovoltaic configuration related information of the present invention, and Table 3 shows that the optimization results under different optimization methods are different.
[0186] Table 1. Parameters of the example
[0187] parameter Numeric Voltage regulation compensation price coefficient 10、1 Voltage deviation preference coefficient 20 Converter loss factor 0.1、0.1、0 Voltage allowable range 0.95~1.05pu Voltage reference value 1p.u. Market electricity price 0.5 yuan / kWh Market electricity purchase price 1.0 yuan / kWh
[0188] Table 2 Node photovoltaic parameters
[0189] Inverter type Access Node Grid-connected converter capacity (kW) 1 1、2、3、4、5、10、12、14、18、21、25、26 0.10 2 11、13、15、27、28、30、32 0.12 3 22 0.18 4 6、7、9、16、17、19、23、29 0.25 5 8、24、31 0.30
[0190] Table 3 Optimization results of different methods
[0191] method Producer and consumer income (yuan) Total node voltage deviation Before optimization 81364 1.51 PSO 82194 0.73 IPSO 83025 0.64
[0192] As can be seen from Tables 1-3, by comparing the benefits of prosumers under the deterministic method and the method of the present invention, the benefits of prosumers under the distributed voltage regulation method that takes into account the randomness of photovoltaic power generation are higher than those under deterministic voltage regulation, and the total deviation of node voltage is smaller. In the case of uncertainty in photovoltaic output, the benefits of prosumers are higher than those under deterministic voltage regulation. Since the uncertainty of photovoltaic output is taken into account, the voltage regulation model has a wider solution space.
[0193] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A distributed interactive user-side photovoltaic interactive voltage regulation method, characterized in that: include: Obtain the network topology of the active distribution network, compensation price coefficient, converter loss coefficient, typical day photovoltaic output, market purchase / sale electricity price and load data, and analyze the constraints and influence mechanism of photovoltaic output randomness on the voltage regulation process; Based on the analysis of constraints and influencing mechanisms, two voltage regulation optimization models considering random factors are constructed according to the two voltage regulation modes. According to different control strategies of prosumers, two voltage regulation optimization models of distribution networks containing distributed photovoltaics are solved by using an improved particle swarm algorithm; the improved particle swarm algorithm includes adding Gaussian mutation operations and improving inertia reduction weights and learning factors; According to the solution result of the voltage regulation optimization model, the distributed resources of the distribution network are optimized and dispatched.
2. The distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 1, characterized in that: The analysis of the constraints and influence mechanism of the randomness of photovoltaic output on the voltage regulation process includes the following steps: Set the reactive power regulation range of the photovoltaic grid-connected converter without reducing the active power; The maximum and minimum regulation limits of reactive power changes at the node at each time point are clarified; Through the working constraints of the photovoltaic inverter, two voltage regulation modes are distinguished: reactive power regulation only and active and reactive power combined regulation. If the reactive power regulation demand exceeds the range that the reactive power regulation mode can provide, it will switch to the active and reactive power combined regulation mode. Kernel density estimation is used to quantify the uncertainty of photovoltaic output, and the probability distribution function is used to describe the change of photovoltaic output of each prosumer over time.
3. The distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 1 or 2, characterized in that: According to the two voltage regulation modes, two voltage regulation optimization models considering random factors are constructed respectively, including: The reactive power regulation mode corresponds to constructing a first voltage regulation model F1; The first voltage regulation model F1 takes reactive power compensation benefit, voltage deviation penalty and inverter loss as optimization targets; The first voltage regulation model F1 is expressed as: F1=p i,t ×f1=p i,t ×(f q +f v +f l ) f q =w i,t (a i,t |ΔQ i,t |+b i,t ) Where f1 is the revenue of producer / consumer i at time t when reactive power regulation is performed without considering the uncertainty of photovoltaic power generation; f q is the reactive power compensation benefit; f v is the voltage deviation penalty; f l is the inverter loss cost; w i,t is the weight of producer / consumer i in the voltage regulation of the distribution network at time t. The larger the weight, the greater the voltage regulation compensation benefit; a i,t , b i,t is the voltage regulation compensation price coefficient of producer / consumer i at time t; c i,t is the preference coefficient of producer / consumer i for voltage deviation tolerance at time t; e i,t 、f i,t 、z i,t is the converter loss coefficient of prosumer i at time t; The active and reactive joint regulation mode corresponds to constructing a second voltage regulation model F2; The second voltage regulation model F2 includes: adding power selling losses and power purchasing costs based on the optimization target of F1; The second voltage regulation model F2 is expressed as: F2=p i,t ×f2=p i,t ×(f q -f v -f l )-f s -f b f s =c s,t min(ΔP i,t ,P PV,i,t -P load,i,t ) f b =c b,t max(ΔP i,t -(P PV,i,t -P load,i,t ),0) Among them, f s is the loss of electricity sales, f b It is the cost of purchasing electricity.
4. The distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 3, characterized in that: The improved particle swarm algorithm comprises the following steps: Initialize the speed and position of individuals in the population P, and calculate the target vector of the individual particle; Save the non-inferior solution set in the population P and determine the historical best position pbest of the individual particle; Calculate the fitness value of each unit, compare and arrange the values, compare the quality of particles, update the inertia factor through the improved inertia reduction weight, and determine the best position gbest of the group according to the global extreme value selection method; Update the particle's velocity and position, applying the improved learning factor; If the position of a particle exceeds the boundary range of a decision variable, the position of this particle is defined as the boundary, and the speed of the particle in this dimension is set to the opposite direction; Perform Gaussian mutation operation, integrate all particle information in the new population, update and maintain the non-inferior solution set, and perform the next iteration operation; If the termination condition is met, the search stops; otherwise, the non-inferior solution set in the saved population P is returned, the historical best position of the individual particle is determined, and the iteration continues.
5. The distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 4, characterized in that: The inertia factor is updated by the improved inertia reduction weight as follows: Among them, ω max is the maximum value of the inertia factor, ω min is the minimum value of the inertia factor; t is the current iteration number.
6. The distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 5, characterized in that: The improved learning factors include a self-learning factor c1 and a social learning factor c2; The improved learning factor also includes modulating the dynamic changes of the self-learning factor and the social learning factor through a sinusoidal function, which is expressed as: Among them, c 1,s and c 2,s is the upper limit of the learning factor, c 1,e and c 2,e is the lower limit of the learning factor, t max is the maximum number of iterations.
7. The distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 6, characterized in that: The Gaussian mutation operation comprises the following steps: Using the probability density function of the normal distribution, a sample value is drawn through a random number generator; For each element xj in the solution vector, calculate the mutated value It is expressed as: Among them, the value range of N is [0,1], and its density function curve is symmetric with x = μ, and the probability of taking a value is inversely proportional to the distance from the symmetry axis; the value of σ is proportional to the degree of dispersion; The probability density function of the normal distribution is expressed as:
8. A system based on the distributed interactive user-side photovoltaic interactive voltage regulation method according to claim 1, characterized in that: The analysis module is used to obtain the network topology of the active distribution network, the compensation price coefficient, the converter loss coefficient, the typical daily photovoltaic output, the market purchase / sale electricity price and load data, and analyze the constraints and influence mechanisms of the randomness of photovoltaic output on the voltage regulation process; A construction module is used to construct two voltage regulation optimization models taking into account random factors based on the analysis of constraints and influencing mechanisms and according to two voltage regulation modes; A solution module, used for solving two voltage regulation optimization models of a distribution network containing distributed photovoltaics by using an improved particle swarm algorithm according to different control strategies of prosumers; the improved particle swarm algorithm includes adding a Gaussian mutation operation and improving an inertia reduction weight and a learning factor; The optimization module is used to optimize the scheduling of distributed resources in the distribution network according to the solution results of the voltage regulation optimization model.
9. An electronic device, characterized in that: include: Memory, used to store programs; A processor is used to load the program to execute the steps of the user-side photovoltaic interactive voltage regulation method based on distributed interaction as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a program, characterized in that: When the program is executed by the processor, the steps of the user-side photovoltaic interactive voltage regulation method based on distributed interaction are implemented.
Citation Information
Cited By
Reactive voltage analysis method and system
CN120110024A
