A power distribution method and device based on smart grid

By constructing the topology diagram and energy storage information of the smart grid, and using the MOPSO algorithm to optimize the energy storage system, the problem of complexity and operation difficulty of the distribution network is solved, the security and efficiency of the grid are improved, and the cost of energy storage configuration is reduced.

CN117200210BActive Publication Date: 2024-10-08SHENGLONG ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311174803.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2024-10-08
Estimated Expiration
2043-09-12

AI Technical Summary

Technical Problem

As the penetration rate of distributed generation increases, the structure of the distribution network becomes more complex, making dispatching operations more difficult, affecting the economic operation of the power grid and the reliability of power supply, and reducing the overall efficiency of the power system.

Method used

By obtaining the smart grid topology map and energy storage grid information, we can construct grid security indicators and constraints, use the MOPSO algorithm to optimize the capacity and location of the energy storage system, realize the optimal dispatching and distribution plan of the smart grid, and improve the safety and efficiency of grid operation. .

Benefits of technology

On the premise of ensuring the security of the power grid, optimize the operation of the energy storage system, reduce system network losses, reduce energy storage configuration costs, and improve power quality and overall efficiency of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117200210B_ABST
    Figure CN117200210B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of smart grid technology, and discloses a power distribution method and device based on smart grid. In the present invention, energy storage is connected under the premise of ensuring the safety of power grid operation (i.e., voltage stability and risk resistance), and the power grid safety index, the active network loss value of the distribution network, and the minimum rated capacity of energy storage are taken as the goals. Under the constraints of constraints, the MOPSO algorithm is used to optimize the capacity and location of the energy storage system, and the optimal operation strategy of the energy storage is optimized to obtain the optimized dispatching and distribution plan of the smart grid. The optimized dispatching and distribution plan can not only improve the safety of power grid operation, reduce system network losses, and reduce the cost of energy storage configuration, but also improve the power quality and the overall efficiency of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart grids, and in particular to a power distribution method and device based on a smart grid. Background Art

[0002] In recent years, with the development of the national economy and the improvement of people's living standards, the power industry has developed rapidly, and users have higher and higher requirements for power quality and economic efficiency of power supply. As the last level of power generation, transmission and distribution, the distribution network directly faces users, and its power supply quality and economic efficiency are of great significance to the power grid and users. In recent years, distributed power sources, flexible loads, and energy storage devices have been connected to the distribution network on a large scale. Unlike traditional distribution networks, active distribution networks can flexibly dispatch and intelligently control distributed power sources, flexible loads, energy storage devices, etc. connected to the distribution network, so as to deepen the intelligence of the distribution network and realize efficient and economical operation of the distribution network.

[0003] However, with the continuous increase in the penetration rate of distributed power generation, the structure of the distribution network has become more complicated and the difficulty of dispatching and operation has increased, which not only affects the economic operation of the distribution network, but also reduces the reliability of the distribution network's power supply and the overall efficiency of the power system. Summary of the invention

[0004] The purpose of the present invention is to provide a power distribution method based on a smart grid to improve the above problems. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0005] The present application provides a power distribution method based on a smart grid, comprising:

[0006] Obtaining a smart grid topology map and energy storage grid information, wherein each trunk line in the smart grid topology map corresponds to a plurality of different node information connected in sequence, and each of the node information includes at least voltage, current, first power, phase angle difference and first time; the energy storage grid information includes at least energy storage system access location, energy storage capacity, second power and second time;

[0007] Constructing a power grid security index based on the node information in the smart grid topology map;

[0008] Based on the network security index, all the node information and the energy storage network information, respectively construct the distribution network active network loss value and the first constraint condition;

[0009] Based on the energy storage grid information, constructing energy storage capacity value and second constraint condition respectively;

[0010] Based on the first constraint condition and the second constraint condition, the MOPSO algorithm is used to solve the minimum value of the power grid security index, the active network loss value of the distribution network and the energy storage capacity value to obtain an optimized scheduling and distribution plan for the smart grid.

[0011] The present application provides a power distribution device based on a smart grid, including an acquisition module, a construction module, a safety index module, an energy storage access module and an optimization module, wherein:

[0012] Acquisition module: used to acquire smart grid topology and energy storage grid information, wherein each trunk line in the smart grid topology corresponds to a plurality of different node information connected in sequence, and each of the node information includes at least voltage, current, first power, phase angle difference and first time; the energy storage grid information includes at least energy storage system access location, energy storage capacity, second power and second time;

[0013] A construction module: used to construct a power grid security index based on the node information in the smart grid topology map;

[0014] Safety index module: used to construct the distribution network active network loss value and the first constraint condition respectively based on the network safety index, all the node information and the energy storage network information;

[0015] Energy storage access module: used to construct energy storage capacity value and second constraint condition respectively based on the energy storage grid information;

[0016] Optimization module: used to solve the minimum value of the power grid security index, the active network loss value of the distribution network and the energy storage capacity value based on the first constraint condition and the second constraint condition using the MOPSO algorithm to obtain the optimized scheduling and distribution plan of the smart grid.

[0017] The beneficial effects of the present invention are:

[0018] In the present invention, energy storage is connected under the premise of ensuring the safety of power grid operation (i.e., voltage stability and risk resistance), with the grid safety index, distribution network active network loss value, and minimum energy storage rated capacity as the goal, and under the constraints of constraints, the MOPSO algorithm is used to optimize the capacity and location of the energy storage system, and at the same time optimize the optimal operation strategy of energy storage to obtain the optimized dispatching and distribution plan of the smart grid. This optimized dispatching and distribution plan can not only improve the safety of power grid operation, reduce system network losses, and reduce energy storage configuration costs, but also improve power quality and the overall efficiency of the power system.

[0019] Secondly, a dynamic splitting operator is introduced into the MOPSO algorithm to solve the problem of ultimately solving the local optimal problem. During the iteration process, the transitionally aggregated particle swarm is adaptively split to enhance the diversity of the population, making the algorithm have a strong global optimization capability in the early stage and gradually enhancing the local optimization performance in the later stage, thereby enhancing the convergence performance of the algorithm.

[0020] Furthermore, in the step of preprocessing the acquired data, the time factor is used for discretization, and the obtained discrete data is more accurate than the corresponding original data. Then, the discrete data is processed by outlier deletion and filling, etc., which not only ensures the integrity of the data, but also avoids the interference of data defects on the later results, thereby improving the data calculation rate.

[0021] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a block diagram of a power distribution method based on a smart grid in this embodiment;

[0023] Figure 2 is a block diagram of a power distribution device based on a smart grid in this embodiment;

[0024] Figure 3 Schematic diagram of the structure of power distribution equipment based on smart grid in this embodiment.

[0025] In the figure: 710-acquisition module; 720-preprocessing module; 721-segmentation unit; 722-discrete unit; 723-filling unit; 7231-third calculation unit; 7232-deletion unit; 7233-supplement unit; 724-retrieval unit; 725-processing unit; 730-construction module; 731-normalization unit; 732-first calculation unit; 733-second calculation unit; 734-third calculation unit; 740-safety index module; 750-energy storage access module; 760-optimization module; 761-optimization unit; 762-initialization unit; 763-loop unit; 764-judgment unit; 800-power distribution equipment based on smart grid; 801-processor; 802-memory; 803-multimedia component; 804-I / O interface; 805-communication component. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0027] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0028] Embodiment 1:

[0029] This embodiment provides a power distribution method based on a smart grid. Figure 1 , the figure shows that the method includes step S1, step S2, step S3, step S4 and step S5.

[0030] Step S1, obtaining a smart grid topology map and energy storage grid information, wherein each trunk line in the smart grid topology map corresponds to a plurality of different node information connected in sequence, and each of the node information includes at least voltage, current, first power, phase angle difference and first time; the energy storage grid information includes at least energy storage system access location, energy storage capacity, second power and second time.

[0031] After the above information is acquired, preprocessing is performed, and the preprocessing method includes step S11, step S12, step S13, step S14 and step S15.

[0032] Step S11: segment each type of data in each node using a standard time interval to form a time series vector.

[0033] It can be understood that in this step, a standard time interval is selected according to the actual situation to segment each different type of data such as voltage (or current, first power, phase angle difference), and the corresponding voltage data is collected at the segmentation point based on the time sequence to form a time series vector. For example, the time series vector corresponding to the voltage data is x={x m1 ,x m2 …,xmn}, where x is a time series vector; x mn It is the data information of the mth type of data at the nth time division point.

[0034] Step S12: obtaining discrete information based on the time series vector changing by a time factor.

[0035] It can be understood that in this step, the time scale factor is introduced to discretize the time series vector according to formula (1), so that the standard time series vector under different time interval lengths can be freely selected, which improves the accuracy of obtaining discrete information and greatly improves the data processing efficiency.

[0036]

[0037] in: is the standard time series vector; τ is the time factor; m is the total number of time interval points; n is the number of time separation points in the time series; k is the charging operation status data of different data types; x mk It is the discrete charging operation state data corresponding to the m time intervals corresponding to the k-th charging operation state data.

[0038] Step S13: performing outlier elimination and filling processing based on the discrete information to obtain valid data.

[0039] It is understandable that in this step, due to many uncertain factors such as monitoring equipment disconnection, sensor failure, network transmission interruption, replacement of monitoring equipment, etc., the monitoring time series data has different degrees of missing data or abnormal values, which in turn affects the integrity of the monitoring data and the accuracy of the monitoring object evaluation. The outliers corresponding to the discrete information of each type of data are removed to prevent these abnormal monitoring data from interfering with the subsequent time series data prediction, and then the missing data after the outliers are removed are filled to ensure the integrity and reliability of the data.

[0040] In detail, the method for acquiring valid data includes step S131, step S132 and step S133.

[0041] Step S131, calculating the elimination condition: calculating based on the same type of discrete information in at least ten consecutive time periods corresponding to each node, respectively obtaining an average value and a standard deviation value; and calculating based on the average value and the standard deviation value to obtain the elimination condition.

[0042] It can be understood that in this step, at least ten continuous time periods of data are intercepted from each type of discrete information, and the average value and standard deviation of all data in the time period are calculated respectively. The elimination condition is obtained according to the average value and standard deviation using the Laida rule as shown in formula (2):

[0043] |X i -x|>3δ (2)

[0044] Where: X i is the average of each type of discrete information, x is each type of discrete information, and δ is the standard deviation of each type of discrete information.

[0045] Step S132: Eliminate the discrete information based on the elimination condition to obtain the discrete information after elimination.

[0046] It can be understood that in this step, the discrete data beyond the above-mentioned elimination condition range is abnormal data, which is marked and then eliminated to obtain the discrete information after elimination.

[0047] Step S133: determine whether the discrete information after elimination obeys the normal distribution. If it does not obey the normal distribution, return to the step of calculating the elimination condition according to the discrete information after elimination until the discrete information after elimination obeys the normal distribution, and then fill in the valid data based on the discrete information after elimination.

[0048] It can be understood that in this step, the remaining data is judged whether it obeys the normal distribution based on the discrete information after elimination. If it does not obey, the elimination conditions are recalculated based on the retained discrete information, and elimination is performed based on the updated elimination conditions until the discrete information after elimination obeys the normal distribution. Then, Lagrange interpolation and mean are used to fill in the missing data to obtain complete valid data.

[0049] Step S14: Find the maximum value and the minimum value based on the main line corresponding to the valid data.

[0050] Step S15: performing maximum and minimum normalization processing based on the maximum value, the minimum value and the valid data to obtain preprocessed data.

[0051] Step S2: constructing a power grid security index based on the node information in the smart grid topology map.

[0052] It can be understood that in this step, a power grid security index is constructed based on the operating status information of each node to measure the stability and risk resistance of the node voltage to improve the power supply quality.

[0053] In detail, the above-mentioned method for constructing the power grid security index includes step S21, step S22, step S23 and step S24.

[0054] Step S21: Based on the voltage corresponding to each node, the first time and the preset maximum voltage offset, a risk value corresponding to each node is obtained and normalized.

[0055] It can be understood that in this step, the normalized risk value is calculated according to formula (3):

[0056]

[0057]

[0058] Where: v(t,i) is the risk value of any node i in the distribution network at time t; U t,i is the voltage at node i at time t; U i,0 is the rated voltage of node i; 0.07 is the maximum voltage offset; is the normalized risk value of any node i in the distribution network at time t; v(t,i max ) and v(t,i min ) are the maximum and minimum risk values ​​of all nodes in the distribution network at time t before normalization.

[0059] Step S22: Calculate an average value based on all the risk values ​​after normalization to obtain an average risk value.

[0060] Step S23: Calculate all the risk values ​​after normalization using the balance index method to obtain a risk balance degree.

[0061] It can be understood that in this step, the risk balance is calculated according to formula (4):

[0062]

[0063]

[0064] Where: y(t) is the risk balance degree at time t, ranging from 0 to 1, the smaller the risk, the more absolute the balance; N is the total number of nodes at time t; is the normalized risk value of any node i in the distribution network at time t.

[0065] Step S24: Calculate based on the average risk value and the risk balance to obtain a power grid security index.

[0066] It can be understood that in this step, the power grid security index is calculated according to formula (5):

[0067]

[0068] Among them: G is the power grid security index, which ranges from 0 to 1. The smaller the value, the safer the power supply; H is the measurement time interval; y(t) is the risk balance degree at time t; is the average risk value.

[0069] Step S3: constructing the distribution network active network loss value and the first constraint condition based on the network security index, all the node information and the energy storage network information.

[0070] It can be understood that in this step, the active network loss value of the distribution network is calculated according to formula (6-1), and the first constraint condition is calculated according to formula (6-2):

[0071]

[0072]

[0073] Where: B is the active network loss value of the distribution network; H is the measurement time interval; L is all branches of the distribution network; D ij is the conductance set of nodes i and j; U i,t and U j,t are the voltages of nodes i and j at time t; ij,t is the phase angle difference between the starting and ending nodes i and j of the branch at time t; B g (t) is the active power flowing into the network at time t; N DG 、N S are the number of installations of distribution network and energy storage network respectively; B DG,i (t) is the active power of the ith DG at time t; B S,j (t) is the charge / discharge power of the jth energy storage at time t, and the discharge is positive; B la (t) and B ls (t) are the total system load and total network loss at time t respectively.

[0074] Step S4: constructing an energy storage capacity value and a second constraint condition based on the energy storage grid information.

[0075] It can be understood that in this step, the energy storage capacity value is calculated according to formula (7-1), and the second constraint condition is calculated according to formula (7-2):

[0076]

[0077]

[0078] in: and are the lower and upper limits of the jth energy storage charge / discharge power respectively; B S,j (t) is the charge / discharge power of the jth energy storage at time t; N S is the number of energy storage network installations; H is the measurement time interval; E S,j (t) is the capacity of energy storage j at time t; ω is the self-discharge current rate; θ c and θ d They are respectively energy storage charging / discharging efficiency; SOC j (t) is the charge state of energy storage j at time t; a1 and a2 are the energy storage charge and discharge states respectively.

[0079] Step S5: Based on the first constraint condition and the second constraint condition, the MOPSO algorithm is used to solve the minimum value of the power grid security index, the active network loss value of the distribution network and the energy storage capacity value to obtain an optimized dispatching and distribution plan for the smart grid.

[0080] It can be understood that in this step, energy storage is connected under the premise of ensuring the safety of grid operation (i.e., voltage stability and risk resistance), with the grid safety index, distribution network active network loss value, and minimum energy storage rated capacity as the goal, and under the constraints of constraints, the MOPSO algorithm is used to optimize the capacity and location of the energy storage system, and at the same time optimize the optimal operation strategy of energy storage to obtain the optimized dispatching and distribution plan of the smart grid. This optimized dispatching and distribution plan can not only improve the safety of grid operation, reduce system network losses, and reduce energy storage configuration costs, but also improve power quality and the overall efficiency of the power system.

[0081] In detail, the method for obtaining the optimized dispatching and distribution plan of the above-mentioned smart grid includes step S51, step S52, step S53 and step S54.

[0082] Step S51, constructing an optimization model with the first constraint condition and the second constraint condition as constraint conditions, and taking the minimum value of the power grid security index, the distribution network active network loss value and the energy storage capacity value as the objective function.

[0083] Step S52, based on the optimization model, relevant parameters of the MOPSO algorithm are set, the energy storage location capacity and power are encoded, an initial population is generated, and the initial value of the number of iterations is set to 1; the relevant parameters include at least the population size, the number of iterations and the particle dimension.

[0084] It can be understood that in this step, the charging and discharging power composition and its location information within a day are randomly generated according to the constraints of the energy storage charging and discharging power in formula (7-2) and its location constraints in the network to generate an initial population.

[0085] Step S53, loop iteration: based on the initial population, obtain the objective function value corresponding to each particle through power flow calculation, determine the historical optimum and global optimum corresponding to each particle according to the particle dominance relationship, and add one to the number of iterations to obtain the updated number of iterations.

[0086] It can be understood that in this step, the current minimum objective function value is calculated according to the optimization model based on the relevant parameters corresponding to the initial population, and the historical optimum and global optimum corresponding to each particle are determined according to the particle dominance relationship, and the number of iterations is updated.

[0087] Step S54, determine whether the updated iteration number reaches the preset maximum number. If it does not reach the preset maximum number, determine whether the preset splitting condition is met according to the historical optimum and the global optimum of the particle. If the preset splitting condition is met, update the position and speed of the particle, and then return to the loop iteration step based on the updated particle until the updated iteration number reaches the preset maximum number, then output the optimal energy storage position, capacity and charge and discharge power curve.

[0088] It can be understood that in this step, when the number of iterations is less than the preset maximum number, the preset splitting condition is calculated according to formula (8), and the position and velocity of the particle are updated according to formula (9):

[0089]

[0090]

[0091] Where: S I,J is the Euclidean distance between particle i and its nearest particle j in the m-dimensional space with the target function value as the coordinate; S I,BEST is the Euclidean distance between particle i and the historical optimal value of the population in m-dimensional space; T is the splitting threshold that decreases linearly with the number of iterations. When the algorithm does not converge in the early stage, T is large, which is convenient for expanding the search range. When it approaches the global optimal solution in the later stage, T is reduced to make full use of the optimal solution information to enhance the rapid convergence of the algorithm; T0 is the initial threshold; t is the current number of iterations; t max is the maximum number of iterations; G is the dynamic splitting operator; li(t) is the position of particle i after t iterations; rand(-1 / 2, 1 / 2) is a pseudo-random number distributed in the interval [-1 / 2, 1 / 2]; is the adaptive branch threshold; ρ is a very small number used to open the search space. The control variables are repeatedly iterated through the improved MOPSO algorithm, and the optimal access position, capacity and charge and discharge power curve of the energy storage are finally obtained. By adaptively changing the value of the dynamic splitting operator, the algorithm has a strong global optimization ability in the early stage and gradually enhances the local optimization performance in the later stage, which enhances the convergence performance of the algorithm.

[0092] Embodiment 2:

[0093] Please refer to Figure 2 , Figure 2 The figure shows a power distribution device based on a smart grid in this embodiment. The power distribution device based on a smart grid includes an acquisition module 710, a construction module 730, a safety index module 740, an energy storage access module 750 and an optimization module 760, wherein:

[0094] Acquisition module 710: used to acquire a smart grid topology map and energy storage grid information, wherein each trunk line in the smart grid topology map corresponds to a plurality of different node information connected in sequence, and each of the node information includes at least voltage, current, first power, phase angle difference and first time; the energy storage grid information includes at least energy storage system access location, energy storage capacity, second power and second time.

[0095] Furthermore, the power distribution device based on the smart grid further includes a preprocessing module 720, wherein the preprocessing module 720 includes a segmentation unit 721, a discrete unit 722, a filling unit 723, a retrieval unit 724 and a processing unit 725, wherein:

[0096] Segmentation unit 721: used for segmenting each type of data in each node using a standard time interval to form a time series vector;

[0097] Discrete unit 722: used to obtain discrete information by changing the time series vector through a time factor;

[0098] Filling unit 723: used for performing outlier elimination and filling processing based on the discrete information to obtain valid data;

[0099] Furthermore, the filling unit 723 includes a third calculating unit 7231, a deleting unit 7232 and a supplementing unit 7233, wherein:

[0100] The third calculation unit 7231 is used to calculate the elimination condition: based on the same type of discrete information in at least ten consecutive time periods corresponding to each node, calculate to obtain an average value and a standard deviation value respectively; and calculate based on the average value and the standard deviation value to obtain the elimination condition;

[0101] Deleting unit 7232: used for eliminating the discrete information based on the elimination condition to obtain the discrete information after elimination;

[0102] Supplementing unit 7233: used to determine whether the discrete information after elimination obeys the normal distribution. If it does not obey the normal distribution, returning to the step of calculating the elimination condition according to the discrete information after elimination, until the discrete information after elimination obeys the normal distribution, and then filling in valid data based on the discrete information after elimination.

[0103] Retrieval unit 724: used to find the maximum value and the minimum value based on the trunk line corresponding to the valid data;

[0104] Processing unit 725: used for performing maximum and minimum normalization processing based on the maximum value, the minimum value and the valid data to obtain pre-processed data.

[0105] Construction module 730: used to construct a power grid security index based on the node information in the smart grid topology map.

[0106] Preferably, the construction module 730 includes a normalization unit 731, a first calculation unit 732, a second calculation unit 733 and a third calculation unit 7231, wherein:

[0107] Normalization unit 731: used for calculating based on the voltage corresponding to each node, the first time and the preset maximum voltage offset, obtaining the risk value corresponding to each node and performing normalization processing;

[0108] A first calculation unit 732 is used to calculate an average value based on all the risk values ​​after normalization to obtain an average risk value;

[0109] The second calculation unit 733 is used to calculate based on all the risk values ​​after normalization using the balance index method to obtain the risk balance degree;

[0110] The third calculation unit 7231 is used to calculate based on the average risk value and the risk balance degree to obtain a power grid security index.

[0111] Safety index module 740: used to construct the distribution network active network loss value and the first constraint condition respectively based on the network safety index, all the node information and the energy storage network information.

[0112] Energy storage access module 750: used to construct energy storage capacity value and second constraint condition respectively based on the energy storage grid information.

[0113] Optimization module 760: used to solve the minimum value of the power grid security index, the active network loss value of the distribution network and the energy storage capacity value based on the first constraint condition and the second constraint condition using the MOPSO algorithm to obtain an optimized scheduling and distribution plan for the smart grid.

[0114] Preferably, the optimization module 760 includes an optimization unit 761, an initialization unit 762, a loop unit 763 and a judgment unit 764, wherein:

[0115] Optimization unit 761: used to construct an optimization model with the first constraint condition and the second constraint condition as constraint conditions, and with the minimum value of the power grid security index, the distribution network active network loss value and the energy storage capacity value as the objective function;

[0116] Initialization unit 762: used to set relevant parameters of the MOPSO algorithm based on the optimization model, encode the energy storage location capacity and power, generate an initial population, and set the initial value of the number of iterations to 1; the relevant parameters include at least the population size, the number of iterations and the particle dimension;

[0117] Loop unit 763: used for loop iteration: obtaining the objective function value corresponding to each particle through power flow calculation based on the initial population, determining the historical optimum and the global optimum corresponding to each particle according to the particle dominance relationship, and adding one to the number of iterations to obtain the updated number of iterations;

[0118] Judgment unit 764: used to judge whether the updated iteration number reaches the preset maximum number. If it does not reach the preset maximum number, judge whether the preset splitting condition is met according to the historical optimum and global optimum of the particle. If the preset splitting condition is met, update the position and speed of the particle, and then return to the loop iteration step based on the updated particle until the updated iteration number reaches the preset maximum number, and then output the optimal energy storage position, capacity and charge and discharge power curve.

[0119] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0120] Embodiment 3:

[0121] Corresponding to the above method embodiment, this embodiment also provides a power distribution device based on a smart grid. The power distribution device based on a smart grid described below and the power distribution method based on a smart grid described above can refer to each other.

[0122] Figure 3 8 is a block diagram of a power distribution device 800 based on a smart grid according to an exemplary embodiment. Figure 3 As shown, the smart grid-based power distribution device 800 may include: a processor 801 and a memory 802. The smart grid-based power distribution device 800 may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.

[0123] The processor 801 is used to control the overall operation of the smart grid-based power distribution device 800 to complete all or part of the steps in the above-mentioned smart grid-based power distribution method. The memory 802 is used to store various types of data to support the operation of the smart grid-based power distribution device 800, and these data may include, for example, instructions for any application or method used to operate on the smart grid-based power distribution device 800, and application-related data. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the smart grid-based power distribution device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 may include: Wi-Fi module, Bluetooth module, NFC module.

[0124] In an exemplary embodiment, the smart grid-based power distribution equipment 800 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, referred to as ASIC), digital signal processors (Digital Signal Processor, referred to as DSP), digital signal processing devices (Digital Signal Processing Device, referred to as DSPD), programmable logic devices (Programmable Logic Device, referred to as PLD), field programmable gate arrays (Field Programmable Gate Array, referred to as FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned smart grid-based power distribution method.

[0125] Embodiment 4:

[0126] Corresponding to the above method embodiment, a storage medium is also provided in this embodiment. The storage medium described below and the power distribution method based on the smart grid described above can refer to each other.

[0127] A storage medium stores a computer program, which, when executed by a processor, implements the steps of the power distribution method based on a smart grid in the above method embodiment.

[0128] The storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other storage medium that can store program codes.

[0129] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0130] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A power distribution method based on smart grid, characterized in that: include: Acquire a smart grid topology map and energy storage grid information, wherein each trunk line in the smart grid topology map is formed by sequentially connecting a plurality of different node information, and each of the node information includes at least voltage, current, first power, phase angle difference and first time; The energy storage grid information includes at least the energy storage system access location, energy storage capacity, second power and second time; A power grid security index is constructed based on the node information in the smart grid topology diagram; the power grid security index is a parameter calculated based on a first parameter and a second parameter, wherein the first parameter is the average value of all risk values ​​after normalization, and the second parameter is the risk balance degree, wherein the calculation formula of the normalized risk value is as follows: ; Where v(t,i) is the risk value of any node i in the distribution network at time t; U t,i is the voltage at node i at time t; U i,0 is the rated voltage of node i; 0.07 is the maximum voltage offset; is the normalized risk value of any node i in the distribution network at time t; v( t,imax ) and v( t,imin ) are the maximum and minimum risk values ​​of all nodes in the distribution network at time t before normalization; the calculation formula of the risk balance degree is as follows: ; Where: y(t) is the risk balance degree at time t, ranging from 0 to 1, the smaller the risk, the more absolute the balance; N is the total number of nodes at time t; is the normalized risk value of any node i in the distribution network at time t; the calculation formula of the power grid security index is as follows: ; Among them: G is the power grid security index, which ranges from 0 to 1. The smaller the value, the safer the power supply; H is the measurement time interval; y(t) is the risk balance degree at time t; is the average risk value; Based on all the node information and the energy storage grid information, respectively construct the distribution network active network loss value and the first constraint condition; Based on the energy storage grid information, constructing energy storage capacity value and second constraint condition respectively; Based on the first constraint condition and the second constraint condition, the MOPSO algorithm is used to solve the minimum value of the power grid security index, the active network loss value of the distribution network and the energy storage capacity value to obtain an optimized scheduling and distribution plan for the smart grid.

2. The power distribution method based on smart grid according to claim 1, characterized in that: The method for obtaining the optimized dispatching and distribution plan of the smart grid includes: Taking the first constraint condition and the second constraint condition as constraint conditions, taking the minimum value of the power grid security index, the distribution network active network loss value and the energy storage capacity value as the objective function, constructing an optimization model; Based on the optimization model, relevant parameters of the MOPSO algorithm are set, the energy storage location capacity and power are encoded, an initial population is generated, and the initial value of the number of iterations is set to 1; the relevant parameters include at least the population size, the number of iterations and the particle dimension; Cyclic iteration: obtaining the objective function value corresponding to each particle through power flow calculation based on the initial population, determining the historical optimum and global optimum corresponding to each particle according to the particle dominance relationship, and adding one to the number of iterations to obtain the updated number of iterations; Determine whether the updated iteration number reaches the preset maximum number. If it does not reach the preset maximum number, determine whether the preset splitting condition is met according to the historical optimum and the global optimum of the particle. If the preset splitting condition is met, update the position and speed of the particle, and then return to the loop iteration step based on the updated particle until the updated iteration number reaches the preset maximum number, then output the optimal energy storage position, capacity and charge and discharge power curve.

3. The power distribution method based on smart grid according to claim 1, characterized in that: After obtaining the smart grid topology map and the energy storage grid information, preprocessing is performed, and the preprocessing method includes: Based on each type of data in each of the nodes, the data is segmented using a standard time interval to form a time series vector; Based on the time series vector changing through the time factor, discrete information is obtained; Perform outlier elimination and filling processing based on the discrete information to obtain valid data; Find the maximum value and the minimum value based on the main line corresponding to the valid data; Maximum and minimum normalization processing is performed based on the maximum value, the minimum value and the valid data to obtain preprocessed data.

4. The power distribution method based on smart grid according to claim 3, characterized in that: The outlier elimination and filling processing based on the discrete information to obtain valid data includes: Calculating the elimination condition: calculating based on the same type of discrete information in at least ten consecutive time periods corresponding to each node, respectively obtaining an average value and a standard deviation value; and calculating based on the average value and the standard deviation value to obtain the elimination condition; Eliminate the discrete information based on the elimination condition to obtain the discrete information after elimination; Based on the discrete information after elimination, determine whether it obeys the normal distribution. If it does not obey the normal distribution, return to the step of calculating the elimination condition based on the discrete information after elimination until the discrete information after elimination obeys the normal distribution, and then fill in the valid data based on the discrete information after elimination.

5. A power distribution device based on a smart grid, characterized in that: include: Acquisition module: used to acquire smart grid topology and energy storage grid information, wherein each trunk line in the smart grid topology corresponds to a plurality of different node information connected in sequence, and each of the node information includes at least voltage, current, first power, phase angle difference and first time; the energy storage grid information includes at least energy storage system access location, energy storage capacity, second power and second time; Construction module: used to construct a power grid security index based on the node information in the smart grid topology diagram; the power grid security index is a parameter calculated based on a first parameter and a second parameter, wherein the first parameter is the average value of all risk values ​​after normalization, and the second parameter is the risk balance degree, wherein the calculation formula of the normalized risk value is as follows: ; Where v(t,i) is the risk value of any node i in the distribution network at time t; U t,i is the voltage at node i at time t; U i,0 is the rated voltage of node i; 0.07 is the maximum voltage offset; is the normalized risk value of any node i in the distribution network at time t; v( t,imax ) and v( t,imin ) are the maximum and minimum risk values ​​of all nodes in the distribution network at time t before normalization; the calculation formula of the risk balance degree is as follows: ; Where: y(t) is the risk balance degree at time t, ranging from 0 to 1, the smaller the risk, the more absolute the balance; N is the total number of nodes at time t; is the normalized risk value of any node i in the distribution network at time t; the calculation formula of the power grid security index is as follows: ; Among them: G is the power grid security index, which ranges from 0 to 1. The smaller the value, the safer the power supply; H is the measurement time interval; y(t) is the risk balance degree at time t; is the average risk value; Safety index module: used to construct the distribution network active network loss value and the first constraint condition respectively based on all the node information and the energy storage network information; Energy storage access module: used to construct energy storage capacity value and second constraint condition respectively based on the energy storage grid information; Optimization module: used to solve the minimum value of the power grid security index, the active network loss value of the distribution network and the energy storage capacity value based on the first constraint condition and the second constraint condition using the MOPSO algorithm to obtain the optimized scheduling and distribution plan of the smart grid.

6. The power distribution device based on the smart grid according to claim 5, characterized in that: The optimization module includes: An optimization unit is used to construct an optimization model by taking the first constraint condition and the second constraint condition as constraint conditions and taking the minimum value of the power grid security index, the distribution network active network loss value and the energy storage capacity value as the objective function; Initialization unit: used to set relevant parameters of the MOPSO algorithm based on the optimization model, encode the energy storage location capacity and power, generate an initial population, and set the initial value of the number of iterations to 1; the relevant parameters include at least the population size, the number of iterations and the particle dimension; Loop unit: used for loop iteration: obtaining the objective function value corresponding to each particle through power flow calculation based on the initial population, determining the historical optimum and global optimum corresponding to each particle according to the particle dominance relationship, and adding one to the number of iterations to obtain the updated number of iterations; A judgment unit is used to judge whether the updated iteration number reaches a preset maximum number. If it does not reach the preset maximum number, whether the preset splitting condition is met is judged according to the historical optimum and the global optimum of the particle. If the preset splitting condition is met, the position and speed of the particle are updated, and then the loop iteration step is returned based on the updated particle until the updated iteration number reaches the preset maximum number, and then the optimal position, capacity and charge and discharge power curve of energy storage are output.

7. The power distribution device based on smart grid according to claim 5, characterized in that: It also includes a pre-processing module, the pre-processing module includes: A segmentation unit: used for segmenting each type of data in each node using a standard time interval to form a time series vector; Discrete unit: used to obtain discrete information based on the time series vector changing through the time factor; Filling unit: used for performing outlier elimination and filling processing based on the discrete information to obtain valid data; Retrieval unit: used for finding the maximum value and the minimum value based on the trunk line corresponding to the valid data; Processing unit: used for performing maximum and minimum normalization processing based on the maximum value, the minimum value and the valid data to obtain pre-processed data.

8. The power distribution device based on smart grid according to claim 7, characterized in that: The filling unit comprises: A third calculation unit is used to calculate the elimination condition: based on the same type of discrete information in at least ten consecutive time periods corresponding to each node, calculate to obtain an average value and a standard deviation value respectively; and calculate based on the average value and the standard deviation value to obtain the elimination condition; Deletion unit: used for eliminating the discrete information based on the elimination condition to obtain the discrete information after elimination; Supplementing unit: used to determine whether the discrete information after elimination obeys the normal distribution. If it does not obey the normal distribution, the step of recalculating the elimination condition is returned according to the discrete information after elimination, until the discrete information after elimination obeys the normal distribution, and then fill in the valid data based on the discrete information after elimination.