Microgrid network reconstruction method and related device

By using the associative memory optimization algorithm in the microgrid network reconstruction, a mathematical model is constructed to represent the load balance pointer and optimize the switching state, which solves the problem of instability of meta-heuristic technology and achieves stable, accurate network reconstruction and fast and efficient The result output.

CN118783397APending Publication Date: 2024-10-15GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410701562.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The metaheuristic technology used in existing microgrid network reconstruction is unstable, resulting in unreliable results and no guarantee that the obtained solution is the optimal solution.

Method used

Using the associative memory optimization algorithm, by constructing a mathematical model of microgrid correlation, the objective function represents the minimization of the load balance pointer of the system, and solving the mathematical model through the network structure of the associative memory optimization algorithm, an optimization algorithm is obtained to obtain the optimal switch.

Benefits of technology

It is possible to output the optimal switch in a stable and accurate state during microgrid network reconstruction, and complete the reconstruction quickly and efficiently, taking into account both effect and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118783397A_ABST
    Figure CN118783397A_ABST
Patent Text Reader

Abstract

The invention belongs to a reconstruction method, and provides a micro-grid network reconstruction method and a related device for solving the technical problem that the meta-heuristic technology is adopted and the result is not credible when an existing micro-grid network is reconstructed, a micro-grid load is input to a reconstruction optimization algorithm, a reconstructed optimal switch is obtained, and when the reconstruction optimization algorithm is obtained, the optimal switch is obtained. By constructing a mathematical model associated with the micro-grid and adopting an associative memory optimization algorithm network structure to solve the mathematical model, based on an objective function of the mathematical model and in combination with the advantages of the associative memory optimization algorithm network structure, the reconstruction method provided by the invention can output an optimal switch in a stable and accurate state; and completing network reconstruction of the micro-grid. The method depends on an intelligent algorithm, reconstruction can be completed quickly and efficiently, and both the effect and the efficiency are considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a reconstruction method, and specifically to a microgrid network reconstruction method and related devices. Background Art

[0002] Microgrid network reconstruction is the process of changing the switches of the distribution system in order to minimize the power loss of the distribution system. In the past, metaheuristic techniques have been widely used for network reconstruction considering fixed load configurations. When the load changes, the current configuration may not be the optimal configuration. Therefore, this technique needs to be executed to find a new optimal configuration based on the latest load. Since metaheuristic techniques are unstable, it cannot be guaranteed that the optimal solution is obtained. There will be different results for the same problem, some of which are better, but some are worse. This instability makes the results obtained in practical applications unreliable. Summary of the invention

[0003] The present application aims to solve the technical problem that the meta-inspiration technology used in the existing micro-grid network reconstruction results are unreliable, and provides a micro-grid network reconstruction method and related devices.

[0004] In order to achieve the above objectives, this application adopts the following technical solutions:

[0005] In a first aspect, the present application proposes a microgrid network reconstruction method, comprising:

[0006] Get the microgrid load;

[0007] Input the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction;

[0008] The input of the reconstruction optimization algorithm is the load pattern, and the output is the optimal switch;

[0009] The method for obtaining the reconstruction optimization algorithm comprises:

[0010] Constructing a mathematical model associated with a microgrid; the objective function of the mathematical model represents the minimization of a load balance index of the system;

[0011] The mathematical model is solved through the associative memory optimization algorithm network structure to obtain an optimization algorithm.

[0012] Furthermore, the mathematical model includes:

[0013]

[0014] Among them, B S is the load balance pointer of the system, N is the total number of branches in the system, S i is the complex power flowing through branch i, S imaxis the rated transmission capacity of branch i, i=1,2…,N, f min To minimize active power loss, k i is the state of switch i, r i is the resistance of branch i, P i is the active power flowing through branch i, Q i is the reactive power flowing through branch i, U i is the voltage at the end node of the branch.

[0015] Furthermore, during the training of the reconstruction optimization algorithm, the threshold of the i-th neuron is:

[0016]

[0017] Among them, C i is the threshold of the i-th neuron, ω ij is the weight of the jth neuron in the ith column, x j is the state of the jth neuron, is the i-th element in the k-th sample data vector to be stored in the memory pattern, and n is the number of neurons.

[0018] Furthermore, during the training of the reconstruction optimization algorithm, when updating the neuron state, it includes:

[0019]

[0020] Among them, x i (t+1) is the state of the i-th neuron at time t+1, x j (t) is the state of the jth neuron at time t.

[0021] Furthermore, the termination condition of the reconstruction optimization algorithm training includes: minimizing the mean square error.

[0022] Furthermore, the constraints of the reconstruction optimization algorithm include:

[0023] Complex power constraints flowing through the branch, voltage constraints at the end nodes of the branch, and threshold constraints for each neuron.

[0024] In a second aspect, the present application proposes a microgrid network reconstruction system, comprising:

[0025] An acquisition module, used for acquiring microgrid load;

[0026] An optimization module, used to input the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction;

[0027] The input of the reconstruction optimization algorithm is the load pattern, and the output is the optimal switch;

[0028] The method for obtaining the reconstruction optimization algorithm comprises:

[0029] Constructing a mathematical model associated with a microgrid; the objective function of the mathematical model represents the minimization of a load balance index of the system;

[0030] The mathematical model is solved through the associative memory optimization algorithm network structure to obtain an optimization algorithm.

[0031] Furthermore, the mathematical model includes:

[0032]

[0033] Among them, B S is the load balance pointer of the system, N is the total number of branches in the system, S i is the complex power flowing through the branch, S imax is the rated transmission capacity of branch i, i=1,2…,N, f min To minimize active power loss, k i is the state of switch i, r i is the resistance of branch i, P i is the active power flowing through branch i, Q i is the reactive power flowing through branch i, U i is the voltage at the end node of the branch;

[0034] During the training of the reconstruction optimization algorithm, the threshold of the i-th neuron is:

[0035]

[0036] Among them, C i is the threshold of the i-th neuron, ω ij is the weight of the jth neuron in the ith column, x j is the state of the jth neuron, is the i-th element of the k-th sample data, and n is the number of neurons.

[0037] In a third aspect, the present application provides an electronic device, comprising:

[0038] Memory for storing computer programs;

[0039] A processor is used to implement the steps of the above-mentioned microgrid network reconstruction method when executing the computer program.

[0040] In a fourth aspect, the present application proposes a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned microgrid network reconstruction method are implemented.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] This application proposes a microgrid network reconstruction method, which inputs the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction. When the reconstruction optimization algorithm is obtained, a mathematical model associated with the microgrid is constructed, and the mathematical model is solved using the associative memory optimization algorithm network structure. Based on the objective function of the mathematical model and combined with the advantages of the associative memory optimization algorithm network structure, the reconstruction method of this application can output the optimal switch in a stable and accurate state to complete the microgrid network reconstruction. Moreover, this application relies on intelligent algorithms to quickly and efficiently complete the reconstruction, taking into account both effect and efficiency.

[0043] The present application also proposes a microgrid network reconstruction system, an electronic device and a computer-readable storage medium, which have all the advantages of the above-mentioned microgrid network reconstruction method. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 This is a schematic diagram of the first process of the microgrid network reconstruction method of the present application;

[0046] Figure 2 A second flow chart of the microgrid network reconstruction method of the present application;

[0047] Figure 3 is a schematic diagram of the IEEE 123 bus system;

[0048] Figure 4 A comparison diagram of node voltages before and after reconstruction in an embodiment of the present application;

[0049] Figure 5 A connection diagram of the microgrid network reconstruction system of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0051] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0052] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0053] In the description of the embodiments of the present application, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the invented product is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element 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 application. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0054] In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0055] In the description of the embodiments of the present application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can 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 the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0056] With the rapid development of power generation technology, the popularity of distributed grid-connected power generation systems based on renewable energy has increased year by year. Distributed grid-connected power generation systems have improved the flexibility and reliability of power supply, but at the same time they have also caused the problem of heavy loads, which has caused serious harm to electrical equipment and personal safety. Therefore, a fast and reliable network reconstruction method is of great significance to distributed grid-connected power generation systems.

[0057] Microgrid network reconstruction is an important means to optimize the distribution system technology and improve the safety and economy of the distribution system. Microgrid network reconstruction is to determine the microgrid operation mode that optimizes the microgrid line loss, load balance, power supply quality and other indicators under the premise of meeting the requirements of microgrid radial shape, feeder hot melting, node voltage deviation and transformer capacity.

[0058] Since a large number of normally closed section switches and normally open interconnecting switches exist in the microgrid, dispatchers need to operate the section switches and interconnecting switches according to actual conditions in normal, maintenance or accident operation modes to adjust the microgrid structure and optimize the microgrid operation mode, thereby improving the safety, reliability and economy of the power grid.

[0059] Microgrid network reconstruction refers to a technical means of reconfiguring the network topology by changing the state of distribution switches (usually section switches and tie switches) in a microgrid to optimize network operation performance. The main purpose of microgrid network reconstruction is to reduce network losses, improve power supply reliability, improve voltage quality, and enhance network flexibility by adjusting the network structure without changing the existing network equipment and load distribution. The topology of a microgrid network refers to the connection mode and structural layout between various components (such as nodes, feeders, switches, etc.) in a microgrid.

[0060] Metaheuristic technology is an optimization method based on computational intelligence, which is used to find the optimal solution or satisfactory solution to complex optimization problems. By understanding the relevant behaviors, functions, experience, and rules in the system or field, the design principles of the optimization algorithm are revealed, and an intelligent iterative search optimization algorithm is designed. When metaheuristic technology is applied to microgrid network reconstruction, it cannot guarantee the optimal solution due to its unstable performance.

[0061] In view of the above situation, the present application proposes a microgrid network reconstruction method and related devices, and the present application is further described in detail below in conjunction with the embodiments and drawings.

[0062] See also Figure 1 , which is a first flow chart of the microgrid network reconstruction method of the present application, may include:

[0063] S101, obtaining microgrid load.

[0064] It should be noted that the microgrid load refers to the power demand part of the microgrid system, which covers various electrical equipment and facilities, including various electrical equipment in homes, institutions or commercial facilities, such as lighting, air conditioning, electrical appliances, etc. These load devices are controlled by the microgrid controller to ensure the effective distribution and power supply of energy.

[0065] S102, inputting the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction.

[0066] In practical applications, the reconstruction optimization algorithm can obtain the optimal switch after reconstruction according to the load conditions of the microgrid, which is convenient for application.

[0067] The input of the reconstruction optimization algorithm is the load pattern, and the output is the optimal switch.

[0068] The method for obtaining the reconstruction optimization algorithm includes:

[0069] Construct a mathematical model associated with the microgrid; the objective function of the mathematical model represents the minimization of the load balance pointer of the system;

[0070] The mathematical model is solved through the associative memory optimization algorithm network structure to obtain the optimization algorithm.

[0071] In practical applications, load balancing is a key goal to ensure the balance between power supply and demand, thereby maintaining the stable operation of the system. In order to characterize load balance in a mathematical model and pursue its minimization, an objective function can be constructed. The objective function can involve the difference between the power supply and the actual load demand, aiming to minimize this difference by optimizing the decision variables. In addition, a series of constraints can also be considered, such as the output limit of the generator set, the line transmission capacity limit, the node voltage limit, etc., which can be adjusted according to the actual situation.

[0072] It should be noted that the Associative Memory Optimization Algorithm (AMOA) is a heuristic optimization method that simulates the human associative memory process and searches for the optimal solution in the solution space through the association and recall mechanism. The network structure of the associative memory optimization algorithm usually includes two main parts: the reasoning network and the associative memory network. The two networks work together to enable the entire system to infer possible conclusions from the given input and associate additional information related to the input.

[0073] See also Figure 2 , which is a second flow chart of the microgrid network reconstruction method of the present application, may include:

[0074] S201, construct a mathematical model associated with the microgrid.

[0075] (1) Determine the mathematical model of the distribution network with load balancing as the objective function:

[0076]

[0077] Among them, B S is the load balance pointer of the system, N is the total number of branches in the system, S i is the complex power flowing through branch i, Simax is the rated transmission capacity of branch i.

[0078] (2) Taking load balance and line loss minimization as the objective function:

[0079]

[0080] Among them, f min Minimize active power loss; k i is the state of switch i, 0 means open, 1 means closed; r i is the resistance of branch i; P i , Q i are the active power and reactive power flowing through branch i respectively; U i is the voltage at the end node of branch i.

[0081] S202, solving the mathematical model through the associative memory optimization algorithm network structure to obtain an optimization algorithm.

[0082] S203, training the reconstruction optimization algorithm.

[0083] When training, you can use the following methods:

[0084] (1) The current state of the network is:

[0085] X(t)=[x1(t),x2(t),…,x n (t)] T

[0086] The current state of the network is composed of the set of states of each neuron at the current moment. The state of each neuron at the initial moment is:

[0087] p(0)=[p1(0),p2(0),…,p n (0)] T .

[0088] (2) Update the state of neurons. The associative memory process is:

[0089]

[0090] Where n is the number of neurons, C i is the threshold of the i-th neuron, sign is the activation function, ω ij is the weight of the jth neuron in the ith column, x i (t+1) is the state of the i-th neuron at time t+1, x j (t) is the state of the jth neuron at time t.

[0091] Among them, during the training process, the threshold of the i-th neuron is:

[0092]

[0093] Among them, C i is the threshold of the i-th neuron, ω ij is the weight of the jth neuron in the ith column, x j is the state of the jth neuron, is the i-th element in the k-th sample data vector to be stored in the memory pattern, and n is the number of neurons.

[0094] The training is terminated when the training process is continued until the mean square error is minimized. For example, if the RMS (Root Mean Square) value is less than 0.05, a satisfactory level is reached.

[0095] As an example of training,

[0096] The reconstruction optimization algorithm is applied to the distribution network reconstruction. Each node in the network has an associated weight ω ij . It is composed of a set of input and output data. All node sets Trainset = [(I1, O1), (I2, O2), ... (I P ,O P )], where (I P ,O P ) are the input and output of a single training pattern.

[0097] In order to model the proposed network reconstruction, a set of optimal configuration data under different load conditions is required, and the selection of this data is performed by evolutionary programming (EP) method.

[0098] The training data of the reconstruction optimization algorithm generated by EP optimization is as follows:

[0099]

[0100] Among them, OS mP is the load mode LP m Lower switch group G P The optimal connected switch in , m is the number of load patterns, P is the number of switch groups, LP m is the operating percentage of residential, commercial and industrial loads.

[0101] The data for the reconstruction optimization algorithm are randomly selected from the generated data, with the load pattern as input and the optimal switch as the desired output of the model.

[0102] Using the normalization formula, all switch groups are normalized:

[0103]

[0104] The first AMO is trained on the first set of optimal switches G1, starting with one neuron and random initial weights. The training process continues for a specific number of iterations while updating the weights. The root mean square and absolute error are used to determine how well the AMO has learned the data. If the RMS value is less than 0.05, the network has reached a satisfactory level of training.

[0105] If the accuracy is high, the training is completed. Otherwise, the number of neurons is increased by 1 and the training continues.

[0106] S204, obtaining the microgrid load, inputting the microgrid load into the trained reconstruction optimization algorithm, and obtaining the optimal switch after reconstruction.

[0107] like Figure 3 The figure shows a schematic diagram of the IEEE 123 bus system. As a channel for data transmission, the bus system plays a vital role in the microgrid. It can connect various components in the microgrid, such as distributed power sources, energy storage devices, loads, and monitoring and protection devices, to achieve high-speed and reliable data transmission. Through the bus system, the centralized controller of the microgrid can obtain the status information of each component in real time, so as to perform precise control and scheduling. At the same time, each component can also receive control instructions through the bus system to achieve collaborative work.

[0108] In extreme weather conditions such as hurricanes, one or more sections of the feeder may be isolated due to line faults. Take the IEEE 123 bus system as an example. The entire network is divided into several areas and each area is numbered. In this example, 13-18 and 105-108 are triggered.

[0109] Among them, the mathematical model with balanced load as the objective function is:

[0110] Branch load balance pointer B Li The mathematical definition of is:

[0111] The objective function is load balancing and line loss minimization:

[0112] And add the following constraints:

[0113] Branch capacity constraint: S i ≤S i,max .

[0114] Node voltage constraint: U i,min ≤U i ≤U i,max .

[0115] The upper and lower thresholds of each neuron are: and

[0116] like Figure 4 As shown, a set of node voltage comparison diagrams before and after reconstruction in an embodiment of the present application.

[0117] According to the above microgrid network reconstruction method, Figure 5 As shown, the present application also proposes a microgrid network reconstruction system, which may include:

[0118] An acquisition module, used for acquiring microgrid load;

[0119] An optimization module, used to input the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction;

[0120] The input of the reconstruction optimization algorithm is the load pattern, and the output is the optimal switch;

[0121] The method for obtaining the reconstruction optimization algorithm comprises:

[0122] Constructing a mathematical model associated with a microgrid; the objective function of the mathematical model represents the minimization of a load balance index of the system;

[0123] The mathematical model is solved through the associative memory optimization algorithm network structure to obtain an optimization algorithm.

[0124] It should be noted that in other embodiments of the microgrid network reconstruction system of the present application, the specific functions in each module can also adopt the embodiments of the aforementioned microgrid network reconstruction method, which will not be repeated here.

[0125] It should be noted that in the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each module is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another device, or some features can be ignored or not executed. The module described as a separate component may or may not be physically separated. The component displayed as a module may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0126] In addition, each module in each embodiment of the present invention may be integrated into a processing unit, each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0127] An electronic device provided in an embodiment of the present application includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the steps of the microgrid network reconstruction method described in any of the above embodiments are implemented.

[0128] Another electronic device provided in the embodiment of the present application may also include: an input port connected to the processor, used to transmit multimodal data collected by an external acquisition device to the processor; and a display unit connected to the processor, used to display the processing results of the processor to the outside world; a communication module connected to the processor, used to realize communication between the electronic device and the outside world. The display unit can be a display panel, a laser scanning display, etc.; the communication mode adopted by the communication module includes but is not limited to mobile high-definition link technology (HML), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless connection: wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.

[0129] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the microgrid network reconstruction method described in any of the above embodiments are implemented.

[0130] The computer-readable storage medium involved in the present application includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field.

[0131] For the description of the relevant parts of the microgrid network reconstruction system, electronic device and computer-readable storage medium provided in the embodiments of the present application, please refer to the detailed description of the corresponding parts in the distribution network operation optimization method based on optimization acceleration provided in the embodiments of the present application, which will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.

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

Claims

1. A microgrid network reconstruction method, It is characterized in that include: Get the microgrid load; Input the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction; The input of the reconstruction optimization algorithm is the load pattern, and the output is the optimal switch; The method for obtaining the reconstruction optimization algorithm comprises: Constructing a mathematical model associated with a microgrid; the objective function of the mathematical model represents the minimization of a load balance index of the system; The mathematical model is solved through the associative memory optimization algorithm network structure to obtain an optimization algorithm.

2. According to the microgrid network reconstruction method of claim 1, It is characterized in that The mathematical model comprises: Among them, B S is the load balance pointer of the system, N is the total number of branches in the system, S i is the complex power flowing through branch i, S imax is the rated transmission capacity of branch i, i=1,2…,N, f min To minimize active power loss, k i is the state of switch i, r i is the resistance of branch i, P i is the active power flowing through branch i, Q i is the reactive power flowing through branch i, U i is the voltage at the end node of the branch.

3. According to the microgrid network reconstruction method of claim 2, It is characterized in that During the training of the reconstruction optimization algorithm, the threshold of the i-th neuron is: Among them, C i is the threshold of the i-th neuron, ω ij is the weight of the jth neuron in the ith column, x j is the state of the jth neuron, is the i-th element in the k-th sample data vector to be stored in the memory pattern, and n is the number of neurons.

4. According to the microgrid network reconstruction method of claim 3, It is characterized in that During the training of the reconstruction optimization algorithm, when the neuron state is updated, it includes: Among them, x i (t+1) is the state of the i-th neuron at time t+1, x j (t) is the state of the jth neuron at time t.

5. According to the microgrid network reconstruction method of claim 4, It is characterized in that The termination condition of the reconstruction optimization algorithm training includes: the mean square error is minimized.

6. According to the microgrid network reconstruction method of claim 5, It is characterized in that The constraints of the reconstruction optimization algorithm include: Complex power constraints flowing through the branch, voltage constraints at the end nodes of the branch, and threshold constraints for each neuron.

7. A microgrid network reconstruction system, It is characterized in that include: An acquisition module, used for acquiring microgrid load; An optimization module, used to input the microgrid load into the reconstruction optimization algorithm to obtain the optimal switch after reconstruction; The input of the reconstruction optimization algorithm is the load pattern, and the output is the optimal switch; The method for obtaining the reconstruction optimization algorithm comprises: Constructing a mathematical model associated with a microgrid; the objective function of the mathematical model represents the minimization of a load balance index of the system; The mathematical model is solved through the associative memory optimization algorithm network structure to obtain an optimization algorithm.

8. According to the microgrid network reconstruction system of claim 7, It is characterized in that The mathematical model comprises: Among them, B S is the load balance pointer of the system, N is the total number of branches in the system, S i is the complex power flowing through the branch, S imax is the rated transmission capacity of branch i, i=1,2…,N, f min To minimize active power loss, k i is the state of switch i, r i is the resistance of branch i, P i is the active power flowing through branch i, Q i is the reactive power flowing through branch i, U i is the voltage at the end node of the branch; During the training of the reconstruction optimization algorithm, the threshold of the i-th neuron is: Among them, C i is the threshold of the i-th neuron, ω ij is the weight of the jth neuron in the ith column, x j is the state of the jth neuron, is the i-th element of the k-th sample data, and n is the number of neurons.

9. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the microgrid network reconstruction method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the microgrid network reconstruction method according to any one of claims 1 to 6 are implemented.