Distributed power generation bearing capacity assessment method and device of power distribution system unit cluster

Through the BFS-based current algorithm and mixed integer linear planning model, the distributed power generation bearing capacity of the distribution system unit cluster is evaluated, and the energy storage configuration and network reconstruction are optimized, and distributed power generation under the energy storage configuration in the distribution system unit cluster is solved. The problem of carrying capacity assessment has improved the economic and low-carbon benefits of the distribution system.

CN119090064APending Publication Date: 2024-12-06STATE GRID ECONOMIC TECH RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411133370.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing technology is difficult to evaluate the undirected current of the distribution system unit cluster when considering the energy storage configuration, resulting in limited space for improving the distributed power generation capacity, and the single-target optimization method may not be used. It may be difficult to meet practical application requirements if optimization results are obtained.

Method used

Through the BFS-based trend algorithm, the operation optimization model of the distribution system unit cluster is constructed, and converted into a hybrid integer linear planning model, and a relationship function model between energy storage capacity and distributed power generation bearing capacity is constructed, the optimal bearing capacity is determined, and the energy storage configuration is optimized. and network reconstruction scheme.

Benefits of technology

The distributed power generation bearing capacity evaluation of the distribution system unit cluster was realized, the energy storage configuration solution was optimized, the distributed power generation bearing capacity was improved, the economic benefits and low-carbon benefits of the distribution system were improved, and the existing technology was solved. Evaluate the puzzle of undirected trends.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090064A_ABST
    Figure CN119090064A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power distribution networks, and discloses a distributed power generation bearing capacity evaluation method and device for a power distribution system unit cluster, and the method comprises the steps: constructing an operation optimization model of a node corresponding to any power supply unit in the power distribution system unit cluster based on the energy storage capacity; converting the operation optimization model into a mixed integer linear programming model through a BFS-based power flow algorithm; constructing a relation function model of the energy storage capacity and the distributed power generation bearing capacity through the mixed integer linear programming model; the distributed power generation bearing capacity corresponding to the point with the slope meeting the preset condition in the relation function model serves as the optimal bearing capacity of the node; for a single node in a power distribution system unit cluster, the distributed power generation bearing capacity considering energy storage configuration is evaluated, so that a reasonable energy storage configuration scheme can be selected to improve the distributed power generation bearing capacity, and the operation benefit of a power distribution network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power distribution networks, and in particular to a method, device, equipment and medium for evaluating the distributed power generation carrying capacity of a power distribution system unit cluster. Background Art

[0002] The maximum carrying capacity of DG (Distributed Generation) usually refers to the maximum distributed generation capacity allowed to be connected to the distribution system unit cluster under the premise of meeting the safety constraints of node voltage, line current, etc. Most of the current studies consider the impact of distributed generation access on the distribution system unit cluster, and optimize the operation of the distribution system unit cluster by configuring energy storage and reconfiguring the network, so as to achieve the effect of improving the distributed generation carrying capacity, but no quantitative evaluation of the distributed generation carrying capacity has been conducted.

[0003] On this basis, some studies have evaluated the maximum carrying capacity of distributed generation, and proposed operation optimization strategies to improve the carrying capacity of distributed generation by means of energy storage operation optimization / network reconstruction. However, the existing literature only optimizes the operation of existing energy storage, and does not optimize the configuration of energy storage, resulting in limited space for improving the carrying capacity of distributed generation; if the distributed generation carrying capacity is improved by configuring energy storage, the increase in the number and capacity of energy storage will lead to an increase in the carrying capacity of distributed generation, but it faces high investment costs; if only considering the optimal economic performance for the joint configuration of distributed generation and energy storage, studies have shown that the investment cost of configuring energy storage is not proportional to the consumption benefits obtained, and under the single goal of optimal economic performance, the result of configuring energy storage capacity of 0 may be obtained; if only considering the maximum carrying capacity of distributed generation, since the increase in energy storage capacity is positively correlated with the increase in distributed generation carrying capacity, existing studies evaluate the carrying capacity of distributed generation based on single-objective optimization methods. When the capacity boundary of energy storage configuration is not given or the boundary is large, it may be impossible to obtain the optimization result or make the optimization result difficult to meet the actual application needs. Therefore, it is necessary to propose an energy storage configuration method that can simultaneously consider economic performance and distributed generation carrying capacity.

[0004] Based on the analysis of the operation of the distribution system unit cluster, the distributed generation capacity is greatly improved when the energy storage is initially configured, but when the energy storage capacity reaches a certain level, the distributed generation capacity improvement reaches a bottleneck period, and the distributed generation capacity improvement effect is not large when the energy storage is configured afterwards, that is, when the total cost increases to a certain level, the capacity will not be greatly improved. On the other hand, the current research on the distributed generation capacity adopts the optimal flow based on distflow, which is suitable for the radial network with unidirectional flow, but due to the access of distributed generation, the flow of the distribution system unit cluster is a non-directional flow.

[0005] It can be seen that how to solve the problem of evaluating the distributed power generation carrying capacity of the non-directional power flow of the distribution system unit cluster while considering the energy storage configuration has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention

[0006] The present invention provides a method and device for evaluating the distributed generation capacity of a power distribution system unit cluster, which solves the problem of evaluating the distributed generation capacity of a non-directional power flow of a power distribution system unit cluster under consideration of energy storage configuration.

[0007] In order to solve the above technical problems, the first aspect of the present invention provides a method for evaluating the distributed generation carrying capacity of a distribution system unit cluster, comprising:

[0008] Construct an operation optimization model for the corresponding node of any power supply unit in the power distribution system unit cluster based on the energy storage capacity;

[0009] The operation optimization model is converted into a mixed integer linear programming model by a power flow algorithm based on BFS;

[0010] Constructing a relationship function model between energy storage capacity and distributed generation capacity through the mixed integer linear programming model;

[0011] The distributed generation carrying capacity corresponding to the point whose slope in the relationship function model meets the preset conditions is taken as the optimal carrying capacity of the node.

[0012] As one of the preferred solutions, the operation optimization model includes an objective function and constraints. The objective function takes the maximum distributed generation capacity of the node as the goal. The objective function is expressed by the following formula:

[0013]

[0014] In the formula, f E is the total access capacity of distributed generation under different energy storage capacities; is the installed capacity of distributed photovoltaic at node n; N dg It is a node in the distribution system unit cluster where distributed generation can be installed;

[0015] The constraints include line current carrying capacity constraints and network topology reconstruction constraints; wherein,

[0016] The line current carrying capacity constraint is expressed by the following formula:

[0017]

[0018] Where P l and Q lare respectively the active power and reactive power flowing through line l; S lmax is the maximum apparent power allowed to flow through line l;

[0019] The network topology reconstruction constraint is expressed by the following formula:

[0020]

[0021] In the formula, θ ij is a constant; E SW is the set of branches containing switches; E is the set of all branches; E\E SW is the set of branches without switches; γ ij,t 0, 1 variable; N BR is the total number of branches; N SW is the number of tie switches; P ij,t , Q ij,t are respectively the active power and reactive power of branch ij at time t; M 1 、M 2 are large enough positive numbers; S max The maximum number of times the switch is switched in one day.

[0022] As one of the preferred solutions, the BFS-based power flow algorithm includes:

[0023] Initialize the number of iterations and node voltages;

[0024] In the back generation stage, the injection current of all nodes is calculated according to the node power injection constraint, and the corresponding branch current is calculated by injecting it into the branch current matrix through the busbar;

[0025] In the forward phase, the voltage drops of all branches are calculated through the branch current to bus voltage matrix, and the full branch voltage is calculated based on the voltage drops and the initialized node voltage;

[0026] The number of iterations is updated, and the back substitution phase and the forward substitution phase are repeated until the normal mode of the difference of the full branch voltage obtained by two consecutive iterations is less than the preset threshold value, and the branch current and the full branch voltage corresponding to the current number of iterations are output.

[0027] As one of the preferred solutions, the line current carrying capacity constraint in the mixed integer linear programming model is expressed by the following formula:

[0028]

[0029] In the formula, is the maximum current carrying capacity of branch ij;

[0030] The network topology reconstruction constraint in the mixed integer linear programming model is expressed by the following formula:

[0031]

[0032] Where V i,t is the voltage of the i-th branch at time t; V j,t is the voltage of the jth branch at time t; M 3 is a sufficiently large positive number; r ij is the resistance of branch ij; x ij is the branch ij reactance.

[0033] As one of the preferred solutions, the relationship function model between energy storage capacity and distributed generation capacity is constructed by the mixed integer linear programming model, including:

[0034] Solving the objective function in the mixed integer linear programming model to obtain multiple groups of samples, where the multiple groups of samples are multiple different energy storage capacities and their corresponding distributed generation carrying capacities;

[0035] The energy storage capacity is taken as the horizontal axis and the distributed generation carrying capacity is taken as the vertical axis, and the plurality of groups of samples are processed by piecewise linear interpolation method to obtain the relationship function model.

[0036] A second aspect of the present invention provides a distributed generation capacity assessment device for a power distribution system unit cluster, comprising:

[0037] A model building module, used to build an operation optimization model corresponding to a node of any power supply unit in the power distribution system unit cluster based on the energy storage capacity;

[0038] A model conversion module, used for converting the operation optimization model into a mixed integer linear programming model through a power flow algorithm based on BFS;

[0039] A function construction module, used to construct a relationship function model between energy storage capacity and distributed generation carrying capacity through the mixed integer linear programming model;

[0040] The function solving module is used to take the distributed generation carrying capacity corresponding to the point whose slope in the relationship function model meets the preset conditions as the optimal carrying capacity of the node.

[0041] As one of the preferred solutions, the operation optimization model includes an objective function and constraints. The objective function takes the maximum distributed generation capacity of the node as the goal. The objective function is expressed by the following formula:

[0042]

[0043] In the formula, f E is the total access capacity of distributed generation under different energy storage capacities; is the installed capacity of distributed photovoltaic at node n; N dg It is a node in the distribution system unit cluster where distributed generation can be installed;

[0044] The constraints include line current carrying capacity constraints and network topology reconstruction constraints; wherein,

[0045] The line current carrying capacity constraint is expressed by the following formula:

[0046]

[0047] Where P l and Q l are respectively the active power and reactive power flowing through line l; S lmax is the maximum apparent power allowed to flow through line l;

[0048] The network topology reconstruction constraint is expressed by the following formula:

[0049]

[0050] In the formula, θ ij is a constant; E SW is the set of branches containing switches; E is the set of all branches; E\E SW is the set of branches without switches; γ ij,t 0, 1 variable; N BR is the total number of branches; N SW is the number of tie switches; P ij,t , Q ij,t are respectively the active power and reactive power of branch ij at time t; M 1 、M 2 are large enough positive numbers; S max The maximum number of times the switch is switched in one day.

[0051] As one of the preferred solutions, the BFS-based power flow algorithm includes:

[0052] Initialize the number of iterations and node voltages;

[0053] In the back generation stage, the injection current of all nodes is calculated according to the node power injection constraint, and the corresponding branch current is calculated by injecting it into the branch current matrix through the busbar;

[0054] In the forward phase, the voltage drops of all branches are calculated through the branch current to bus voltage matrix, and the full branch voltage is calculated based on the voltage drops and the initialized node voltage;

[0055] The number of iterations is updated, and the back substitution phase and the forward substitution phase are repeated until the normal mode of the difference of the full branch voltage obtained by two consecutive iterations is less than the preset threshold value, and the branch current and the full branch voltage corresponding to the current number of iterations are output.

[0056] As one of the preferred solutions, the line current carrying capacity constraint in the mixed integer linear programming model is expressed by the following formula:

[0057]

[0058] In the formula, is the maximum current carrying capacity of branch ij;

[0059] The network topology reconstruction constraint in the mixed integer linear programming model is expressed by the following formula:

[0060]

[0061] Where V i,t is the voltage of the i-th branch at time t; V j,t is the voltage of the jth branch at time t; M 3 is a sufficiently large positive number; r ij is the resistance of branch ij; x ij is the branch ij reactance.

[0062] As one preferred solution, the function building module includes:

[0063] A sample generating unit, used for solving the objective function in the mixed integer linear programming model to obtain multiple groups of samples, wherein the multiple groups of samples are multiple different energy storage capacities and their corresponding distributed generation carrying capacities;

[0064] The sample processing unit is used to process the multiple groups of samples by piecewise linear interpolation method with the energy storage capacity as the horizontal axis and the distributed generation carrying capacity as the vertical axis to obtain the relationship function model.

[0065] A third aspect of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for evaluating the distributed power generation carrying capacity of a distribution system unit cluster as described above is implemented.

[0066] A fourth aspect of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the distributed power generation carrying capacity assessment method of the distribution system unit cluster as described above is implemented.

[0067] Compared with the prior art, the embodiments of the present invention have the following advantages:

[0068] (1) A power flow algorithm based on BFS is used to find the required nodes or paths to convert the nonlinear constraints in the operation optimization model into linear ones, avoid the use of non-convex precise AC power flow, simplify the complex system model, improve the solution efficiency, facilitate the processing of constraints, enhance the flexibility of the model, and optimize the system performance. This solves the problem that when evaluating the carrying capacity of distributed generation, the optimal power flow algorithm based on distflow is only applicable to the radial network with unidirectional power flow, but not to the undirectional power flow formed by the distribution system unit cluster after the distributed generation is connected;

[0069] (2) This application evaluates the distributed generation capacity considering energy storage configuration for a single node in a power supply unit cluster in a distribution system, optimizes the energy storage charging and discharging strategy and network reconstruction scheme, analyzes the economic efficiency of different energy storage configurations and the effect of improving the distributed power generation capacity, and is conducive to selecting a reasonable energy storage configuration scheme to improve the distributed generation capacity. It is suitable for energy storage and distributed power planning of distribution systems, and improves the economic benefits and low-carbon benefits of the operation of distribution system unit clusters. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0071] Figure 1 It is a flow chart of a method for evaluating the distributed generation carrying capacity of a power distribution system unit cluster provided by a certain embodiment of the present invention;

[0072] Figure 2 is a flowchart of step S3 provided by an embodiment of the present invention;

[0073] Figure 3 is an IEEE33 node topology diagram provided by a certain embodiment of the present invention;

[0074] Figure 4 It is a curve diagram of energy storage configuration cost and distributed generation carrying capacity of node 9 provided in a certain embodiment of the present invention;

[0075] Figure 5 It is a structural diagram of a distributed generation carrying capacity assessment device for a power distribution system unit cluster provided by a certain embodiment of the present invention;

[0076] Figure 6is a structural diagram of a function building module 30 provided in one embodiment of the present invention;

[0077] Figure 7 It is a structural diagram of an electronic device provided by a certain embodiment of the present invention. DETAILED DESCRIPTION

[0078] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] In the description of this application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0080] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two components. The terms "vertical", "horizontal", "left", "right", "upper", "lower" and similar expressions used herein are for illustrative purposes only, and do not indicate or imply that the system or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0081] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.

[0082] Existing studies evaluate the maximum carrying capacity of distributed generation based on a single-objective optimization method. When considering energy storage configuration, since the amount of energy storage is positively correlated with the distributed generation carrying capacity, it is impossible to obtain a result with better economy and distributed generation carrying capacity. Therefore, the present invention analyzes the effect of the energy storage configuration capacity of a single node in a power supply unit cluster on improving the distributed generation carrying capacity, and reconstructs the network during operation to improve the distributed generation carrying capacity. By drawing the relationship curve between the total cost of energy storage configuration and photovoltaic carrying capacity, and calculating the slope, the optimal energy storage configuration scheme and the corresponding optimal carrying capacity are obtained.

[0083] In one embodiment, if Figure 1 As shown, the first aspect of the present invention provides a method for evaluating the distributed generation carrying capacity of a distribution system unit cluster, comprising:

[0084] S1. Construct an operation optimization model for a node corresponding to any power supply unit in the power distribution system unit cluster based on energy storage capacity;

[0085] In one embodiment, the operation optimization model includes an objective function and constraints. The objective function aims to maximize the distributed generation capacity of the node. The objective function is expressed by the following formula:

[0086]

[0087] In the formula, f E is the total access capacity of distributed generation under different energy storage capacities; is the installed capacity of distributed photovoltaic at node n, and is also the maximum power generation in the power generation curve of distributed generation; N dg It is a node in the distribution system unit cluster that can install distributed power generation; this application takes distributed photovoltaic as an example of distributed power generation, then, It is also the maximum power generation in the power generation curve of distributed photovoltaics.

[0088] The constraints include line current carrying capacity constraints and network topology reconstruction constraints; wherein,

[0089] The line current carrying capacity constraint is expressed by the following formula:

[0090]

[0091] Where P l and Q l are respectively the active power and reactive power flowing through line l; S lmax is the maximum apparent power allowed to flow through line l;

[0092] The network topology reconstruction constraint has the following constraints:

[0093]

[0094] In the formula, θ ij is a constant; E SW is the set of branches containing switches; E is the set of all branches; E\E SW is the set of branches without switches; γ ij,t It is a variable of 0 or 1, used to describe the on / off state of the branch. When it is 0, the branch is open, and when it is 1, the branch is closed. BR is the total number of branches; N SW is the number of tie switches.

[0095] To ensure that the active power and reactive power on the disconnected branch line are both 0, the following constraints are introduced:

[0096] -γ ij,t M 1 ≤P ij,t ≤γ ij,t M 1

[0097] -γ ij,t M 2 ≤Q ij,t ≤γ ij,t M 2

[0098] Where P ij,t , Q ij,t are respectively the active power and reactive power of branch ij at time t; M 1 、M 2 They are respectively large enough positive numbers, generally taken as the maximum value of each variable, and should not be too large, otherwise it will affect the solution efficiency.

[0099] Considering the switching loss, the number of switching times is constrained:

[0100]

[0101] In the formula, S max The maximum number of times the switch is switched in one day.

[0102] The constraints also include:

[0103] Distributed generation construction capacity and location constraints, also for distributed generation node installation capacity constraints:

[0104]

[0105] Where P DGmax is the maximum limit of distributed generation access in the line. DGmax When =0, distributed generation is not installed at this location.

[0106] The power flow equality constraint is a BFS power flow model, which can provide accurate power flow results, thereby improving the accuracy and efficiency of the results, and is expressed by the following formula:

[0107]

[0108] Where P i,t , Q i,t are the active power and reactive power injected into node i at time t; U i,t , U j,t are the voltage amplitudes of nodes i and j at time t respectively; θ ij,t is the phase angle difference at time t; G ij , B ij , G ii , B ii are the mutual conductance, mutual admittance, self-conductance and self-susceptance in the node admittance matrix respectively; Ω b is the set of nodes connected to node i; P loadi,t and Q loadi,t are the active load and reactive load of node i at time t respectively; P shifti,t and Q shifti,t are the active power and reactive power of load shifting of node i at time t respectively; P deci,t and Q deci,t is the reactive power reduced by node i at time t; and Yes tt 0 The original active power and original reactive power shifted from time to time t; P buy,t Purchase electricity for superiors.

[0109] The node voltage constraint is expressed as follows:

[0110] U imin i imax

[0111] Where U imin is the lower limit of node voltage, which is 0.9; U imax is the upper limit of the node voltage, which is taken as 1.07.

[0112] Short-circuit current constraint: Since the access of power to the grid will increase the short-circuit current level of the grid, the short-circuit current of the line after the access of distributed generation should not exceed the limit value of the voltage level, so it is expressed by the following formula:

[0113] I SCL SCLmax

[0114] In the formula, I SCL ​​​and I SCLmax They are the maximum short-circuit current of the line and the maximum short-circuit current of the circuit breaker respectively.

[0115] Energy storage charging and discharging constraints are expressed by the following formula:

[0116]

[0117]

[0118] In the formula, are the charging power and discharging power of energy storage node n in period t, are the upper limits of charge and discharge power respectively; is the power of energy storage node n in period t; η c , η d are charging and discharging power and charging and discharging efficiency respectively; E is the energy storage installed capacity.

[0119] This application evaluates the distributed generation capacity considering energy storage configuration for a single node in a power supply unit cluster in a distribution system, constructs a total access capacity of distributed generation under different energy storage capacities, and takes the maximum distributed generation capacity as the target objective function. The above-mentioned multiple constraints together constitute an important guarantee for the safe, stable and efficient operation of the distribution system unit cluster. By reasonably setting and strictly enforcing these constraints, it can be ensured that the distribution system unit cluster can achieve maximum economic, social and environmental benefits while meeting the electricity demand of users.

[0120] S2. The operation optimization model is converted into a mixed integer linear programming model through a power flow algorithm based on BFS; wherein, BFS (Breadth-First Search) is an algorithm for traversing or searching a tree or graph, which starts from the root node (or the starting node) and explores nodes as close as possible, that is, first visits all neighbor nodes of the starting node, and then visits the unvisited neighbor nodes of these neighbor nodes in turn, and so on, until all reachable nodes are visited. Through the power flow algorithm based on BFS, the present application converts the nonlinear constraints in the operation optimization model into a mixed integer linear programming (MILP) model to simplify the calculation process and save resources.

[0121] In one embodiment, the BFS-based power flow algorithm includes:

[0122] Initialize the number of iterations and node voltages;

[0123] In the back generation stage, the injection current of all nodes is calculated according to the node power injection constraint, and the corresponding branch current is calculated by injecting it into the branch current matrix through the busbar;

[0124] In the forward phase, the voltage drops of all branches are calculated through the branch current to bus voltage matrix, and the full branch voltage is calculated based on the voltage drops and the initialized node voltage;

[0125] The number of iterations is updated, and the back substitution phase and the forward substitution phase are repeated until the normal mode of the difference of the full branch voltage obtained by two consecutive iterations is less than the preset threshold value, and the branch current and the full branch voltage corresponding to the current number of iterations are output.

[0126] Specifically, the BFS-based power flow algorithm described in this application is also a power flow solution method based on the BFS power flow model. Since the solution of the power flow problem is achieved by iterative "scanning" and updating the variables at each iteration, the structure of the calculation process consists of two matrices: the busbar injection to branch current (BIBC) matrix and the branch current to busbar voltage (BCBV) matrix. BIBC is a real number element matrix consisting of 1 and 0, reflecting the topological structure of a given network. In this paper, B I In this paper, BCBV is a matrix with the three-phase complex impedance of the line as its element. C After a specific network topology is given, we can get B I and B C One iteration of the BFS-based power flow algorithm consists of two scans, as shown below:

[0127] 1. Back generation

[0128] In the descendant step of the kth BFS iteration, the current injection of all nodes is calculated and B I The corresponding branch currents are calculated, and the node power injection constraints are:

[0129]

[0130] In the formula, are the active power demand and reactive power demand of node i at time t respectively; is the distributed generation active power of node i at time t.

[0131]

[0132] In the formula, is the injected current of node i at time t; are the active injection power and reactive injection power of node i at time t respectively; is the voltage of node i at time t; is the branch current of node i at time t.

[0133] 2. Push forward

[0134] In the forward scan step, the currents of each branch are calculated using B C The voltage drops of all branches are calculated, and the newly obtained node voltages are used for the next iteration:

[0135]

[0136] V t k+1 =V t 0 +ΔV t k+1

[0137] Where, ΔV t k+1 is the voltage drop vector of the entire branch at time t; V t k+1 The total branch voltage at time t.

[0138] The above iteration process is repeated until the normal mode of the voltage difference calculated in two consecutive iterations is less than a given preset threshold.

[0139] The BFS-based power flow algorithm can also be expressed by the following steps:

[0140]

[0141] The operation optimization model is converted into a mixed integer linear programming model, specifically including: optimal power flow solution based on BFS, and in order to incorporate the power balance equation based on BFS into the optimal power flow framework, the single scanning iteration of the BFS method replaces the power balance constraint. Therefore, using the back-substitution method, at each iteration k and time step t, the current amplitude constraints of all branches i are Among them, I i,max is the maximum value of the branch amplitude. The voltage values ​​of all nodes are given by this formula. This application only considers the real part of the voltage drop. The imaginary parts of all elements are zero. To approximate the voltage. Therefore, considering the amplitude Finally, the linear voltage constraint in the optimal power flow formula is obtained:

[0142] V min ≤V t 0 +Re{ΔV k+1}≤V max

[0143] By this approximation, the use of non-convex exact AC power flow can be avoided, and the optimal power flow is solved in one BFS iteration. After obtaining the optimal set value of the optimal power flow problem, the exact BFS power flow is performed to update the operating point and project it into the feasible domain of the exact power flow equation. This new operating point will be used as the input for subsequent iterations of the BFS optimal power flow problem, and the cycle will be repeated until convergence in terms of voltage amplitude mismatch. After the optimal power flow is solved, not only one BFS iteration is performed, but the voltage and current after each optimal power flow solution can also be fully calculated to improve the convergence of the BFS optimal power flow when the current operating point is far from the optimal or close to the stability limit.

[0144] And, the line current carrying capacity constraint is linearized by the edge linearization method, and the line current carrying capacity constraint in the mixed integer linear programming model is expressed by the following formula:

[0145]

[0146] In the formula, is the maximum current carrying capacity of branch ij;

[0147] If the branch line is disconnected, the voltages of the two nodes will not satisfy the voltage formula in the forward stage. To ensure the universality of the constraints, the network topology reconstruction constraints are linearized. The network topology reconstruction constraints in the mixed integer linear programming model are expressed by the following formula:

[0148]

[0149] Where V i,t is the voltage of the i-th branch at time t; V j,t is the voltage of the jth branch at time t; M 3 is a sufficiently large positive number; r ij is the resistance of branch ij; x ij is the branch ij reactance.

[0150] This application proposes an operation optimization model based on BFS power flow with the goal of maximizing the distributed generation capacity under fixed energy storage access capacity, and converts the model into a MILP model to derive a network reconstruction plan and a line current carrying capacity strategy; by giving different energy storage capacities, the above model is obtained and a relationship curve between the total cost of the node and the distributed generation capacity is plotted; finally, the energy storage configuration capacity is determined by calculating the slope of the curve, and energy storage configuration plans that exceed this capacity can no longer significantly improve the distributed generation capacity.

[0151] Through the above transformation, the nonlinear line current carrying capacity constraints and network reconstruction constraints in the constraints have been converted into linear forms and can be solved using the Cplex solver. This application uses a BFS-based power flow algorithm to find the required nodes or paths to convert the nonlinear constraints in the running optimization model into linear ones, avoid the use of non-convex precise AC power flows, simplify complex system models, improve solution efficiency, facilitate the processing of constraints, enhance the flexibility of the model, optimize system performance, and solve the problem that the optimal power flow algorithm based on distflow is only applicable to radial networks with unidirectional power flow when evaluating the carrying capacity of distributed generation, but not to the undirectional power flow formed by the distribution system unit cluster after connecting to distributed generation.

[0152] S3, constructing a relationship function model between energy storage capacity and distributed generation carrying capacity through the mixed integer linear programming model;

[0153] In one embodiment, step S3 is as follows Figure 2 As shown, including:

[0154] S31, solving the objective function in the mixed integer linear programming model to obtain multiple groups of samples, where the multiple groups of samples are multiple different energy storage capacities and their corresponding distributed generation carrying capacities;

[0155] S32. With the energy storage capacity as the horizontal axis and the distributed generation carrying capacity as the vertical axis, the plurality of groups of samples are processed by piecewise linear interpolation method to obtain the relationship function model.

[0156] Specifically, when constructing the relationship function model between energy storage capacity and distributed generation capacity, the energy storage capacity value is first set to S ESS =ΔT*p sc For ΔT=0 to ΔT=24, the operation optimization model is used to solve the distributed generation carrying capacity corresponding to different capacities, and the positions of 25 points on the curve, that is, 25 groups of samples, are obtained; then, the total cost of energy storage configuration is used as the horizontal axis and the distributed generation carrying capacity is used as the vertical axis, and the piecewise linear interpolation method is used to obtain the relationship function model.

[0157] In the interval [S i-1 ,S i ] and connect the two points with line segments on the graph. The n line segments form a broken line. The function corresponding to the broken line is the piecewise linear interpolation function, and the interpolation basis function is:

[0158]

[0159] in,

[0160] S=S ESS -S ESS,i

[0161]

[0162] Then there is

[0163] L(S ESS )=S DG,i +Sδ i

[0164] In the formula, L(S ESS ) is a relational function model and also a piecewise linear interpolation function model; S DG,i is the horizontal coordinate of the sample.

[0165] This application takes advantage of the MILP model's ability to handle complex optimization problems involving integer variables and continuous variables, accurately constructs a relationship model between energy storage capacity and distributed generation capacity, and uses piecewise linear interpolation to handle nonlinear or complex relationships. Interpolation makes the relationship model smoother and more continuous, which helps to more accurately predict and evaluate the relationship between energy storage capacity and distributed generation capacity, especially when there are fewer data points or the distribution is uneven.

[0166] S4, taking the distributed generation carrying capacity corresponding to the point whose slope in the relationship function model meets the preset condition as the optimal carrying capacity of the node;

[0167] Specifically, the total cost and carrying capacity points corresponding to the unit capacity energy storage multiple within the range of function variable values ​​are selected. First, determine whether the point is a segmentation point. If it is a segmentation point, calculate the function derivative of the adjacent point on the right side of the point:

[0168]

[0169] In the formula, ε is a sufficiently small positive number.

[0170] If the point is not a segment point, calculate the slope of the point:

[0171]

[0172] When the slope L'S ESS,k <k, the energy storage capacity corresponding to this point is considered to be the most reasonable capacity, and the distributed power generation carrying capacity at this time is the optimal carrying capacity considering the economic efficiency of energy storage configuration; the k value can be selected according to actual needs, and generally can be selected as 0.5.

[0173] In this application, the energy storage power used to evaluate the distributed generation capacity each time is set to a multiple of the energy storage charging power per unit time, and the charging amount from 0 hours to 24 hours is selected as the test points to generate 25 points where the total cost of the energy storage configuration capacity corresponds to the distributed generation capacity, and then the piecewise linear interpolation method is used to generate the curve; since the energy storage configuration capacity is a multiple of the unit configuration capacity, the slope of the point corresponding to the integer multiple of the unit configuration capacity is calculated. If the function is continuous at this point, the ratio of the slope of the point to the slope of the previous point is calculated; if the function is discontinuous at this point, the ratio of the slopes on both sides of the point is calculated, and the required point is found based on this, and the point that starts to be lower than the given slope is selected as the inflection point, corresponding to the optimal energy storage configuration capacity and the optimal distributed generation capacity.

[0174] This application selects an IEEE 33-node power distribution system unit cluster to verify the above solution, and conducts case analysis on the MATLAB 2018a simulation platform with built-in YALMIP toolbox and CPLEX solver. Figure 3 As shown, it includes active load 3715kW, reactive load 2300kVar, 33 nodes, 32 branches, 5 tie switches, energy storage and photovoltaic are installed at node 9, the energy storage power is 100kW, and the installation unit cost is 163,000 yuan / MW. The scheme described in the present invention is used to calculate the distributed generation capacity corresponding to the energy storage capacity of each energy storage power multiple, and the total energy storage installation cost and photovoltaic capacity curve are plotted to obtain the inflection point of the curve, that is, the optimal configuration capacity of the energy storage and the corresponding distributed generation capacity, as shown in FIG. Figure 4 As shown. Initially, the energy storage construction capacity is increased, and the distributed power generation carrying capacity is greatly improved. When the configured energy storage capacity is increased to 400kW·h, the corresponding energy storage construction cost is 65,000 yuan, and the distributed power generation carrying capacity is 1300kW. After that, the energy storage construction capacity is increased again, and the energy storage construction cost increases proportionally, but the distributed power generation carrying capacity is no longer greatly improved. Therefore, the inflection point of the curve is (6.5, 1300), and the optimal energy storage configuration capacity corresponding to node 9 is 400kW·h, and the distributed power generation carrying capacity is 1300kW. This shows the effectiveness of the scheme described in this application.

[0175] In the embodiment of the present application, based on the problem of evaluating the distributed power generation carrying capacity of the undirectional power flow of the distribution system unit cluster under the consideration of the energy storage configuration, a distributed power generation carrying capacity evaluation method of the distribution system unit cluster is designed, which realizes the construction of an operation optimization model of the corresponding node of any power supply unit in the distribution system unit cluster based on the energy storage capacity; through the power flow algorithm based on BFS, the operation optimization model is converted into a mixed integer linear programming model; through the mixed integer linear programming model, a relationship function model between the energy storage capacity and the distributed power generation carrying capacity is constructed; the distributed power generation carrying capacity corresponding to the point whose slope meets the preset conditions in the relationship function model is used as the technical solution of the optimal carrying capacity of the node; for a single node in the distribution system unit cluster, the distributed power generation carrying capacity considering the energy storage configuration is evaluated, which is conducive to selecting a reasonable energy storage configuration scheme to improve the distributed power generation carrying capacity, and improve the economic benefits and low-carbon benefits of the operation of the distribution system unit cluster.

[0176] It should be noted that although the steps in the above flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders.

[0177] In another embodiment, if Figure 5 As shown, the second aspect of the present invention provides a distributed generation carrying capacity assessment device for a power distribution system unit cluster, comprising:

[0178] A model building module 10 is used to build an operation optimization model corresponding to a node of any power supply unit in the power distribution system unit cluster based on the energy storage capacity;

[0179] In one embodiment, the operation optimization model includes an objective function and constraints. The objective function aims to maximize the distributed generation capacity of the node. The objective function is expressed by the following formula:

[0180]

[0181] In the formula, f E is the total access capacity of distributed generation under different energy storage capacities; is the installed capacity of distributed photovoltaic at node n, and is also the maximum power generation in the power generation curve of distributed generation; N dg It is a node in the distribution system unit cluster that can install distributed power generation; this application takes distributed photovoltaic as an example of distributed power generation, then, It is also the maximum power generation in the power generation curve of distributed photovoltaics.

[0182] The constraints include line current carrying capacity constraints and network topology reconstruction constraints; wherein,

[0183] The line current carrying capacity constraint is expressed by the following formula:

[0184]

[0185] Where P l and Q l are respectively the active power and reactive power flowing through line l; S lmax is the maximum apparent power allowed to flow through line l;

[0186] The network topology reconstruction constraint has the following constraints:

[0187]

[0188] In the formula, θ ij is a constant; E SW is the set of branches containing switches; E is the set of all branches; E\E SW is the set of branches without switches; γ ij,t It is a variable of 0 or 1, used to describe the on / off state of the branch. When it is 0, the branch is open, and when it is 1, the branch is closed. BR is the total number of branches; N SW is the number of tie switches.

[0189] To ensure that the active power and reactive power on the disconnected branch line are both 0, the following constraints are introduced:

[0190] -γ ij,t M 1 ≤P ij,t ≤γ ij,t M 1

[0191] -γ ij,t M 2 ≤Q ij,t ≤γ ij,t M 2

[0192] Where P ij,t , Q ij,t are respectively the active power and reactive power of branch ij at time t; M 1 、M 2 They are respectively large enough positive numbers, generally taken as the maximum value of each variable, and should not be too large, otherwise it will affect the solution efficiency.

[0193] Considering the switching loss, the number of switching times is constrained:

[0194]

[0195] In the formula, S max The maximum number of times the switch is switched in one day.

[0196] The constraints also include:

[0197] Distributed generation construction capacity and location constraints, also for distributed generation node installation capacity constraints:

[0198]

[0199] Where P DGmax is the maximum limit of distributed generation access in the line. DGmax When =0, distributed generation is not installed at this location.

[0200] The power flow equality constraint is a BFS power flow model, which can provide accurate power flow results, thereby improving the accuracy and efficiency of the results, and is expressed by the following formula:

[0201]

[0202] Where P i,t , Q i,t are the active power and reactive power injected into node i at time t; U i,t , U j,t are the voltage amplitudes of nodes i and j at time t respectively; θ ij,t is the phase angle difference at time t; G ij , B ij , G ii , B ii are the mutual conductance, mutual admittance, self-conductance and self-susceptance in the node admittance matrix respectively; Ω b is the set of nodes connected to node i; P loadi,t and Q loadi,t are the active load and reactive load of node i at time t respectively; P shifti,t and Q shifti,t are the active power and reactive power of load shifting of node i at time t respectively; P deci,t and Q deci,t is the reactive power reduced by node i at time t; and Yes tt 0 The original active power and original reactive power shifted from time to time t; P buy,t Purchase electricity for superiors.

[0203] The node voltage constraint is expressed as follows:

[0204] U imin i ​imax

[0205] Where U imin is the lower limit of node voltage, which is 0.9; U imax is the upper limit of the node voltage, which is taken as 1.07.

[0206] Short-circuit current constraint: Since the access of power to the grid will increase the short-circuit current level of the grid, the short-circuit current of the line after the access of distributed generation should not exceed the limit value of the voltage level, so it is expressed by the following formula:

[0207] I SCL SCLmax

[0208] In the formula, I SCL and I SCLmax They are the maximum short-circuit current of the line and the maximum short-circuit current of the circuit breaker respectively.

[0209] Energy storage charging and discharging constraints are expressed by the following formula:

[0210]

[0211] In the formula, are the charging power and discharging power of energy storage node n in period t, are the upper limits of charge and discharge power respectively; is the power of energy storage node n in period t; η c , η d are charging and discharging power and charging and discharging efficiency respectively; E is the energy storage installed capacity.

[0212] This application evaluates the distributed generation capacity considering energy storage configuration for a single node in a power supply unit cluster in a distribution system, constructs a total access capacity of distributed generation under different energy storage capacities, and takes the maximum distributed generation capacity as the target objective function. The above-mentioned multiple constraints together constitute an important guarantee for the safe, stable and efficient operation of the distribution system unit cluster. By reasonably setting and strictly enforcing these constraints, it can be ensured that the distribution system unit cluster can achieve maximum economic, social and environmental benefits while meeting the electricity demand of users.

[0213] ​​The model conversion module 20 is used to convert the operation optimization model into a mixed integer linear programming model through a power flow algorithm based on BFS; wherein, BFS (Breadth-First Search) is an algorithm for traversing or searching a tree or graph, which starts from the root node (or the starting node) and explores the nodes as close as possible, that is, first visits all the neighbor nodes of the starting node, and then visits the unvisited neighbor nodes of these neighbor nodes in turn, and so on, until all reachable nodes are visited. Through the power flow algorithm based on BFS, the present application converts the nonlinear constraints in the operation optimization model into a mixed integer linear programming (Mixed Integer Linear Programming, MILP) model to simplify the calculation process and save resources.

[0214] In one embodiment, the BFS-based power flow algorithm includes:

[0215] Initialize the number of iterations and node voltages;

[0216] In the back generation stage, the injection current of all nodes is calculated according to the node power injection constraint, and the corresponding branch current is calculated by injecting it into the branch current matrix through the busbar;

[0217] In the forward phase, the voltage drops of all branches are calculated through the branch current to bus voltage matrix, and the full branch voltage is calculated based on the voltage drops and the initialized node voltage;

[0218] The number of iterations is updated, and the back substitution phase and the forward substitution phase are repeated until the normal mode of the difference of the full branch voltage obtained by two consecutive iterations is less than the preset threshold value, and the branch current and the full branch voltage corresponding to the current number of iterations are output.

[0219] Specifically, the BFS-based power flow algorithm described in this application is also a power flow solution method based on the BFS power flow model. Since the solution of the power flow problem is achieved by iterative "scanning" and updating the variables at each iteration, the structure of the calculation process consists of two matrices: the busbar injection to branch current (BIBC) matrix and the branch current to busbar voltage (BCBV) matrix. BIBC is a real number element matrix consisting of 1 and 0, reflecting the topological structure of a given network. In this paper, B I In this paper, BCBV is a matrix with the three-phase complex impedance of the line as its element. C After a specific network topology is given, we can get B I and B C One iteration of the BFS-based power flow algorithm consists of two scans, as shown below:

[0220] 1. Back generation

[0221] In the descendant step of the kth BFS iteration, the current injection of all nodes is calculated and B I The corresponding branch currents are calculated, and the node power injection constraints are:

[0222]

[0223] In the formula, are the active power demand and reactive power demand of node i at time t respectively; is the distributed generation active power of node i at time t.

[0224]

[0225] In the formula, is the injected current of node i at time t; are the active injection power and reactive injection power of node i at time t respectively; is the voltage of node i at time t; is the branch current of node i at time t.

[0226] 2. Push forward

[0227] In the forward scan step, the currents of each branch are calculated using B C The voltage drops of all branches are calculated, and the newly obtained node voltages are used for the next iteration:

[0228]

[0229] V t k+1 =V t 0 +ΔV t k+1

[0230] Where, ΔV t k+1 is the voltage drop vector of the entire branch at time t; V t k+1 The total branch voltage at time t.

[0231] The above iteration process is repeated until the normal mode of the voltage difference calculated in two consecutive iterations is less than a given preset threshold.

[0232] The BFS-based power flow algorithm can also be expressed by the following steps:

[0233]

[0234]

[0235] The operation optimization model is converted into a mixed integer linear programming model, specifically including: optimal power flow solution based on BFS, and in order to incorporate the power balance equation based on BFS into the optimal power flow framework, the single scanning iteration of the BFS method replaces the power balance constraint. Therefore, using the back-substitution method, at each iteration k and time step t, the current amplitude constraints of all branches i are Among them, I i,max is the maximum value of the branch amplitude. The voltage values ​​of all nodes are given by this formula. This application only considers the real part of the voltage drop. The imaginary parts of all elements are zero. To approximate the voltage. Therefore, considering the amplitude Finally, the linear voltage constraint in the optimal power flow formula is obtained:

[0236] V min ≤V t 0 +Re{ΔV k+1}≤V max

[0237] By this approximation, the use of non-convex exact AC power flow can be avoided, and the optimal power flow is solved in one BFS iteration. After obtaining the optimal set value of the optimal power flow problem, the exact BFS power flow is performed to update the operating point and project it into the feasible domain of the exact power flow equation. This new operating point will be used as the input for subsequent iterations of the BFS optimal power flow problem, and the cycle will be repeated until convergence in terms of voltage amplitude mismatch. After the optimal power flow is solved, not only one BFS iteration is performed, but the voltage and current after each optimal power flow solution can also be fully calculated to improve the convergence of the BFS optimal power flow when the current operating point is far from the optimal or close to the stability limit.

[0238] And, the line current carrying capacity constraint is linearized by the edge linearization method, and the line current carrying capacity constraint in the mixed integer linear programming model is expressed by the following formula:

[0239]

[0240]

[0241] In the formula, is the maximum current carrying capacity of branch ij;

[0242] If the branch line is disconnected, the voltages of the two nodes will not satisfy the voltage formula in the forward stage. To ensure the universality of the constraints, the network topology reconstruction constraints are linearized. The network topology reconstruction constraints in the mixed integer linear programming model are expressed by the following formula:

[0243]

[0244] Where V i,t is the voltage of the i-th branch at time t; V j,t is the voltage of the jth branch at time t; M 3 is a sufficiently large positive number; r ij is the resistance of branch ij; x ij is the branch ij reactance.

[0245] This application proposes an operation optimization model based on BFS power flow with the goal of maximizing the distributed generation capacity under fixed energy storage access capacity, and converts the model into a MILP model to derive a network reconstruction plan and a line current carrying capacity strategy; by giving different energy storage capacities, the above model is obtained and a relationship curve between the total cost of the node and the distributed generation capacity is plotted; finally, the energy storage configuration capacity is determined by calculating the slope of the curve, and energy storage configuration plans that exceed this capacity can no longer significantly improve the distributed generation capacity.

[0246] Through the above transformation, the nonlinear line current carrying capacity constraints and network reconstruction constraints in the constraints have been converted into linear forms and can be solved using the Cplex solver. This application uses a BFS-based power flow algorithm to find the required nodes or paths to convert the nonlinear constraints in the running optimization model into linear ones, avoid the use of non-convex precise AC power flows, simplify complex system models, improve solution efficiency, facilitate the processing of constraints, enhance the flexibility of the model, optimize system performance, and solve the problem that the optimal power flow algorithm based on distflow is only applicable to radial networks with unidirectional power flow when evaluating the carrying capacity of distributed generation, but not to the undirectional power flow formed by the distribution system unit cluster after connecting to distributed generation.

[0247] A function construction module 30, used to construct a relationship function model between energy storage capacity and distributed generation carrying capacity through the mixed integer linear programming model;

[0248] In one embodiment, the function construction module 30 is as follows Figure 6 As shown, including:

[0249] A sample generating unit 301 is used to solve the objective function in the mixed integer linear programming model to obtain multiple groups of samples, where the multiple groups of samples are multiple different energy storage capacities and their corresponding distributed generation carrying capacities;

[0250] The sample processing unit 302 is used to process the multiple groups of samples by piecewise linear interpolation method with the energy storage capacity as the horizontal axis and the distributed generation capacity as the vertical axis to obtain the relationship function model.

[0251] Specifically, when constructing the relationship function model between energy storage capacity and distributed generation capacity, the energy storage capacity value is first set to S ESS =ΔT*psc For ΔT=0 to ΔT=24, the operation optimization model is used to solve the distributed generation carrying capacity corresponding to different capacities, and the positions of 25 points on the curve, that is, 25 groups of samples, are obtained; then, the total cost of energy storage configuration is used as the horizontal axis and the distributed generation carrying capacity is used as the vertical axis, and the piecewise linear interpolation method is used to obtain the relationship function model.

[0252] In the interval [S i-1 ,S i ] and connect the two points with line segments on the graph. The n line segments form a broken line. The function corresponding to the broken line is the piecewise linear interpolation function, and the interpolation basis function is:

[0253]

[0254] in,

[0255] S=S ESS -S ESS,i

[0256]

[0257] Then there is

[0258] L(S ESS )=S DG,i +Sδ i

[0259] In the formula, L(S ESS ) is a relational function model and also a piecewise linear interpolation function model; S DG,i is the horizontal coordinate of the sample.

[0260] This application takes advantage of the MILP model's ability to handle complex optimization problems involving integer variables and continuous variables, accurately constructs a relationship model between energy storage capacity and distributed generation capacity, and uses piecewise linear interpolation to handle nonlinear or complex relationships. Interpolation makes the relationship model smoother and more continuous, which helps to more accurately predict and evaluate the relationship between energy storage capacity and distributed generation capacity, especially when there are fewer data points or the distribution is uneven.

[0261] A function solving module 40, configured to use the distributed generation carrying capacity corresponding to the point in the relationship function model whose slope meets a preset condition as the optimal carrying capacity of the node;

[0262] Specifically, the total cost and carrying capacity points corresponding to the unit capacity energy storage multiple within the range of function variable values ​​are selected. First, determine whether the point is a segmentation point. If it is a segmentation point, calculate the function derivative of the adjacent point on the right side of the point:

[0263]

[0264] In the formula, ε is a sufficiently small positive number.

[0265] If the point is not a segment point, calculate the slope of the point:

[0266]

[0267] When the slope L'S ESS,k <k, the energy storage capacity corresponding to this point is considered to be the most reasonable capacity, and the distributed power generation carrying capacity at this time is the optimal carrying capacity considering the economic efficiency of energy storage configuration; the k value can be selected according to actual needs, and generally can be selected as 0.5.

[0268] In this application, the energy storage power used to evaluate the distributed generation capacity each time is set to a multiple of the energy storage charging power per unit time, and the charging amount from 0 hours to 24 hours is selected as the test points to generate 25 points where the total cost of the energy storage configuration capacity corresponds to the distributed generation capacity, and then the piecewise linear interpolation method is used to generate the curve; since the energy storage configuration capacity is a multiple of the unit configuration capacity, the slope of the point corresponding to the integer multiple of the unit configuration capacity is calculated. If the function is continuous at this point, the ratio of the slope of the point to the slope of the previous point is calculated; if the function is discontinuous at this point, the ratio of the slopes on both sides of the point is calculated, and the required point is found based on this, and the point that starts to be lower than the given slope is selected as the inflection point, corresponding to the optimal energy storage configuration capacity and the optimal distributed generation capacity.

[0269] It should be noted that each module in the above-mentioned distributed power generation carrying capacity assessment device for a distribution system unit cluster can be fully or partially implemented by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. For the specific definition of a distributed power generation carrying capacity assessment device for a distribution system unit cluster, please refer to the definition of a distributed power generation carrying capacity assessment method for a distribution system unit cluster above. The two have the same functions and effects and will not be repeated here.

[0270] A third aspect of the present invention provides an electronic device, the electronic device comprising:

[0271] processor, memory, and bus;

[0272] The bus is used to connect the processor and the memory;

[0273] The memory is used to store operation instructions;

[0274] The processor is used to call the operation instruction, and the executable instruction enables the processor to perform operations corresponding to the distributed power generation carrying capacity assessment method of a distribution system unit cluster as shown in the first aspect of the present application.

[0275] In an alternative embodiment, an electronic device is provided, such as Figure 7 As shown, Figure 7 The electronic device 5000 shown includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are connected, such as through a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that in actual applications, the transceiver 5004 is not limited to one, and the structure of the electronic device 5000 does not constitute a limitation on the embodiments of the present application.

[0276] Processor 5001 may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 5001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0277] The bus 5002 may include a path to transmit information between the above components. The bus 5002 may be a PCI bus or an EISA bus, etc. The bus 5002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0278] The memory 5003 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0279] The memory 5003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 5001. The processor 5001 is used to execute the application code stored in the memory 5003 to implement the content shown in any of the above method embodiments.

[0280] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0281] The fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, a distributed power generation carrying capacity assessment method for a distribution system unit cluster shown in the first aspect of the present application is implemented.

[0282] Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

[0283] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

[0284] In summary, the present invention relates to the technical field of distribution network, and discloses a method and device for evaluating the distributed power generation carrying capacity of a distribution system unit cluster, wherein the method comprises constructing an operation optimization model of a node corresponding to any power supply unit in the distribution system unit cluster based on energy storage capacity; converting the operation optimization model into a mixed integer linear programming model through a power flow algorithm based on BFS; constructing a relationship function model between energy storage capacity and distributed power generation carrying capacity through the mixed integer linear programming model; taking the distributed power generation carrying capacity corresponding to the point in the relationship function model whose slope meets a preset condition as the optimal carrying capacity of the node; and evaluating the distributed power generation carrying capacity considering the energy storage configuration for a single node in the distribution system unit cluster, which is conducive to selecting a reasonable energy storage configuration scheme to improve the distributed power generation carrying capacity, and improving the economic benefits and low-carbon benefits of the distribution network operation.

[0285] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0286] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims

1. A method for evaluating the distributed generation capacity of a distribution system unit cluster, characterized in that: include: Construct an operation optimization model for the corresponding node of any power supply unit in the power distribution system unit cluster based on the energy storage capacity; The operation optimization model is converted into a mixed integer linear programming model by a power flow algorithm based on BFS; Constructing a relationship function model between energy storage capacity and distributed generation capacity through the mixed integer linear programming model; The distributed generation carrying capacity corresponding to the point whose slope in the relationship function model meets the preset conditions is taken as the optimal carrying capacity of the node.

2. A method for evaluating the distributed generation capacity of a power distribution system unit cluster according to claim 1, characterized in that: The operation optimization model includes an objective function and constraints. The objective function aims to maximize the distributed generation capacity of the node. The objective function is expressed by the following formula: In the formula, f E is the total access capacity of distributed generation under different energy storage capacities; is the installed capacity of distributed photovoltaic at node n; N dg It is a node in the distribution system unit cluster where distributed generation can be installed; The constraints include line current carrying capacity constraints and network topology reconstruction constraints; wherein, The line current carrying capacity constraint is expressed by the following formula: Where P l and Q l are respectively the active power and reactive power flowing through line l; S lmax is the maximum apparent power allowed to flow through line l; The network topology reconstruction constraint is expressed by the following formula: -c ij,t M1≤P ij,t ≤γ ij,t M1 -γ ij,t M2≤Q ij,t ≤γ ij,t M2 In the formula, θ ij is a constant; E SW is the set of branches containing switches; E is the set of all branches; E\E SW is the set of branches without switches; γ ij,t 0, 1 variable; N BR is the total number of branches; N SW is the number of tie switches; P ij,t , Q ij,t are respectively the active power and reactive power of branch ij at time t; M1 and M2 are sufficiently large positive numbers; S max The maximum number of times the switch is switched in one day.

3. The method for evaluating the distributed generation capacity of a power distribution system unit cluster according to claim 1, characterized in that: The BFS-based power flow algorithm includes: Initialize the number of iterations and node voltages; In the back generation stage, the injection current of all nodes is calculated according to the node power injection constraint, and the corresponding branch current is calculated by injecting it into the branch current matrix through the busbar; In the forward phase, the voltage drops of all branches are calculated through the branch current to bus voltage matrix, and the full branch voltage is calculated based on the voltage drops and the initialized node voltage; The number of iterations is updated, and the back substitution phase and the forward substitution phase are repeated until the normal mode of the difference of the full branch voltage obtained by two consecutive iterations is less than the preset threshold value, and the branch current and the full branch voltage corresponding to the current number of iterations are output.

4. The method for evaluating the distributed generation capacity of a power distribution system unit cluster according to claim 2, characterized in that: The line current carrying capacity constraint in the mixed integer linear programming model is expressed by the following formula: In the formula, is the maximum current carrying capacity of branch ij; The network topology reconstruction constraint in the mixed integer linear programming model is expressed by the following formula: Where V i,t is the voltage of the i-th branch at time t; V j,t is the voltage of the jth branch at time t; M3 is a sufficiently large positive number; r ij is the resistance of branch ij; x ij is the branch ij reactance.

5. The method for evaluating the distributed generation capacity of a power distribution system unit cluster according to claim 1, characterized in that: The method of constructing a relationship function model between energy storage capacity and distributed generation capacity through the mixed integer linear programming model includes: Solving the objective function in the mixed integer linear programming model to obtain multiple groups of samples, where the multiple groups of samples are multiple different energy storage capacities and their corresponding distributed generation carrying capacities; The energy storage capacity is taken as the horizontal axis and the distributed generation carrying capacity is taken as the vertical axis, and the plurality of groups of samples are processed by piecewise linear interpolation method to obtain the relationship function model.

6. A distributed generation capacity assessment device for a power distribution system unit cluster, characterized in that: include: A model building module, used to build an operation optimization model corresponding to a node of any power supply unit in the power distribution system unit cluster based on the energy storage capacity; A model conversion module, used for converting the operation optimization model into a mixed integer linear programming model through a power flow algorithm based on BFS; A function construction module, used to construct a relationship function model between energy storage capacity and distributed generation carrying capacity through the mixed integer linear programming model; The function solving module is used to take the distributed generation carrying capacity corresponding to the point whose slope in the relationship function model meets the preset conditions as the optimal carrying capacity of the node.

7. A distributed generation capacity assessment device for a power distribution system unit cluster according to claim 6, characterized in that: The operation optimization model includes an objective function and constraints. The objective function aims to maximize the distributed generation capacity of the node. The objective function is expressed by the following formula: In the formula, f E is the total access capacity of distributed generation under different energy storage capacities; is the installed capacity of distributed photovoltaic at node n; N dg It is a node in the distribution system unit cluster where distributed generation can be installed; The constraints include line current carrying capacity constraints and network topology reconstruction constraints; wherein, The line current carrying capacity constraint is expressed by the following formula: Where P l and Q l are respectively the active power and reactive power flowing through line l; S lmax is the maximum apparent power allowed to flow through line l; The network topology reconstruction constraint is expressed by the following formula: -c ij,t M1≤P ij,t ≤γ ij,t M1 -γ ij,t M2≤Q ij,t ≤γ ij,t M2 In the formula, θ ij is a constant; E SW is the set of branches containing switches; E is the set of all branches; E\E SW is the set of branches without switches; γ ij,t 0, 1 variable; N BR is the total number of branches; N SW is the number of tie switches; P ij,t , Q ij,t are respectively the active power and reactive power of branch ij at time t; M1 and M2 are sufficiently large positive numbers; S max The maximum number of times the switch is switched in one day.

8. The distributed generation capacity assessment device for a power distribution system unit cluster according to claim 6, characterized in that: The BFS-based power flow algorithm includes: Initialize the number of iterations and node voltages; In the back generation stage, the injection current of all nodes is calculated according to the node power injection constraint, and the corresponding branch current is calculated by injecting it into the branch current matrix through the busbar; In the forward phase, the voltage drops of all branches are calculated through the branch current to bus voltage matrix, and the full branch voltage is calculated based on the voltage drops and the initialized node voltage; The number of iterations is updated, and the back substitution phase and the forward substitution phase are repeated until the normal mode of the difference of the full branch voltage obtained by two consecutive iterations is less than the preset threshold value, and the branch current and the full branch voltage corresponding to the current number of iterations are output.

9. The distributed generation capacity assessment device for a power distribution system unit cluster according to claim 7, characterized in that: The line current carrying capacity constraint in the mixed integer linear programming model is expressed by the following formula: In the formula, is the maximum current carrying capacity of branch ij; The network topology reconstruction constraint in the mixed integer linear programming model is expressed by the following formula: Where V i,t is the voltage of the i-th branch at time t; V j,t is the voltage of the jth branch at time t; M3 is a sufficiently large positive number; r ij is the resistance of branch ij; x ij is the branch ij reactance.

10. The distributed generation capacity assessment device for a power distribution system unit cluster according to claim 6, characterized in that: The function building module includes: A sample generating unit, used for solving the objective function in the mixed integer linear programming model to obtain multiple groups of samples, wherein the multiple groups of samples are multiple different energy storage capacities and their corresponding distributed generation carrying capacities; The sample processing unit is used to process the multiple groups of samples by piecewise linear interpolation method with the energy storage capacity as the horizontal axis and the distributed generation carrying capacity as the vertical axis to obtain the relationship function model.

11. An electronic device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the distributed power generation carrying capacity assessment method of the distribution system unit cluster as described in any one of claims 1 to 5.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the distributed power generation carrying capacity assessment method of the distribution system unit cluster as described in any one of claims 1 to 5 is implemented.