Medium-voltage power distribution network target net rack networking method and device, and computer equipment
Through deep learning network and particle search optimization technology, combined with non-uniform search grid and input cost and benefit comparison theory, the problem of low utilization of power grid resources is solved, more efficient power grid planning and resource allocation are achieved, and power supply reliability is improved. and grid benefits.
Patent Information
- Application Number
- CN202410798965.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-15
AI Technical Summary
The utilization rate of existing power grid resources is low and cannot fully meet the demand for power resources for urban development. Moreover, the planning method is relatively simple and lacks the maximum combination of different benefits.
A deep learning network is used to process the installation distribution data of the medium-voltage distribution network. Through particle search and non-uniform search grid optimization, combined with the input cost and benefit comparison theory, the mutually suppressive relationship balance between the main area and sub-area of the network is achieved. Optimize the target grid planning of the power grid.
It improves the utilization rate of power grid resources, improves power supply reliability and grid efficiency, and achieves more scientific power grid planning and resource allocation.
Smart Images

Figure CN118780474A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for constructing a target grid for a medium-voltage distribution network. Background Technology
[0002] With the continuous acceleration of the construction of new power systems, the power grid, as an important component of the power system, is facing significant changes in its situation and undertakings. In particular, in recent years, with the continuous acceleration of urbanization, the demand for power resources has been increasing day by day.
[0003] To better meet the needs of urban development, power supply departments must attach great importance to power grid construction and planning, improve the efficiency and quality of power services, and meet users' electricity needs. However, current planning considerations are relatively simplistic and do not fully combine different benefits to maximize efficiency. Starting from demand and operational safety and reliability, a more scientific planning method has not been formed, resulting in low utilization of power grid resources.
[0004] Therefore, the relevant technologies suffer from the problem of low resource utilization of the power grid. Summary of the Invention
[0005] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for building a medium-voltage distribution network target grid that can improve the resource utilization rate of the power grid, in response to the above-mentioned technical problems.
[0006] Firstly, this application provides a method for configuring a target grid structure for a medium-voltage distribution network, including:
[0007] Obtain the installation distribution matrix corresponding to the target network structure of the medium-voltage distribution network; the installation distribution matrix is an n*m*k matrix; wherein, the target network structure of the medium-voltage distribution network includes n main network areas, and by taking the k installation distribution data of the first m sub-regions of each main network area, n m*k matrices are constructed to obtain the installation distribution matrix;
[0008] Multiple deep learning networks are used to process the installation distribution data of the corresponding main network area. The installation distribution pattern of the target grid of the medium voltage distribution network is mined through shallower networks to obtain the target grid network cost and benefit data in the historical period.
[0009] Multiple deep learning networks are used to collect and integrate data on the cost and benefit of the target network architecture over a relatively short historical period.
[0010] The target network architecture cost and benefit data obtained through information collection are represented as a particle; the particle consists of several ordered nodes; each ordered node represents the location coordinates of an information collection point RP.
[0011] Using a single particle, the global search problem of collecting the target network architecture cost and benefit data by replacing the best information of the gateway node is transformed into a random search problem of each ordered node on a single particle in space.
[0012] In the search process, each time an ordered node is randomly selected, a pre-constructed non-uniform search grid is used to search, transforming the continuous search of the selected ordered node within the coverage area into a discrete search on the non-uniform search grid to determine the fitness value of the particle; the fitness value is used to determine whether the target grid networking cost and benefit data obtained through information collection is valid; the fitness value is negatively correlated with the power grid planning effect corresponding to the target grid networking cost and benefit data;
[0013] Based on the fitness values of each particle, the cost-benefit comparison model is manipulated through a two-way balancing strategy to balance the target network cost and benefit data corresponding to the added or reduced main network area interference, thereby determining the mutual inhibition relationship between the main network area and the sub-network area.
[0014] By adopting the theory and mechanism of input cost and benefit comparison, interference in the main network area is prevented. Through the mutual inhibition strategy, the input cost and benefit are compared online according to the mutual inhibition relationship to obtain the power grid target network planning scheme.
[0015] In one embodiment, the step of using multiple deep learning networks to collect and integrate information on the network cost and benefit data of the target network architecture over a relatively short historical period includes:
[0016] Based on the installation distribution relationship corresponding to the target network structure networking cost and benefit data, the target network structure networking cost and benefit data are divided into a training set, a validation set, and a test set for model training, evaluation, and testing, respectively.
[0017] Construct n identical deep learning networks;
[0018] The target network structure networking cost and benefit data are input into the corresponding deep learning network according to the number of the state in the cycle; including: if the installation distribution sequence data cycle is n, then there are n deep learning networks; the installation distribution matrix corresponding to the input target network structure networking cost and benefit data is an n*m*k matrix; the cycle data is numbered in a fixed way, and the numbered data is input into the deep learning network with the same number.
[0019] The outputs of the n deep learning networks are rearranged according to their installation distribution order, and the rearranged n values are input into a deep fully connected neural network.
[0020] Set the network loss function, optimization algorithm, and learning rate;
[0021] The model is trained using the validation set with early termination, and a pre-trained model is obtained based on the accuracy changes of the validation set.
[0022] The test set is predicted using the pre-trained model to obtain the prediction results for the test set.
[0023] In one embodiment, representing the target network architecture cost and benefit data obtained through information collection as a particle includes:
[0024] Initialize a valid set of target network architecture cost and benefit data obtained through information collection;
[0025] The initialized target network structure networking cost and benefit data are converted into an ordered linked list of information collection point (RP) locations.
[0026] Based on the order of each RP in the initial target network cost and benefit data, the position coordinates of each RP are used as an installation distribution matrix to construct an ordered multi-installation distribution matrix linked list, and this structure is treated as a particle.
[0027] Each time, a randomly selected ordered node is searched using a pre-constructed non-uniform search grid. This transforms the continuous search of the selected ordered node within the coverage area into a discrete search on the non-uniform search grid, in order to determine the fitness value of the particle, including:
[0028] Randomly select one RP position from the particle and perform a random search according to the non-uniform search grid to obtain a better information collection point position;
[0029] Traverse each installation distribution matrix of the particles and merge adjacent installation distribution matrices with a spacing less than a preset threshold;
[0030] Calculate the ratio between the target network structure networking cost and revenue data obtained through information collection for the particle; the ratio is used as the fitness value of the particle.
[0031] Return to the step of randomly selecting one of the RP positions in the particle until the fitness value of the particle no longer decreases;
[0032] Output the target network structure networking cost and benefit data and fitness value represented by the particles, obtained through information collection.
[0033] In one embodiment, the random selection of a position RP from the particle and the random search based on the non-uniform search grid includes:
[0034] Randomly select an installation distribution matrix from the particles as the original installation distribution matrix; the position coordinates corresponding to the original installation distribution matrix are used as the position coordinates of the original installation distribution matrix.
[0035] Construct a non-uniform search grid, superimpose the non-uniform search grid onto the selected original installation distribution matrix position coordinates, and obtain a set of candidate position coordinates based on the non-uniform search grid;
[0036] Let the communication radius of both the sensor node and the replacement gateway node be R. Let the set of sensor nodes that the replacement gateway node can cover when it is located at the original installation distribution matrix coordinates be the original covered sensor node set. Then, the candidate position coordinates are evaluated one by one to select the target candidate position coordinates to form the final selected position coordinate set. The set of sensor nodes that the replacement gateway node can cover when it is located at the target candidate position coordinates can completely include the original covered sensor node set.
[0037] Replacement location coordinates of the original installation distribution matrix location coordinates are selected from the final selection location coordinate set, and the particles are updated using the replacement location coordinates; the replacement location coordinates are the target candidate location coordinates that minimize the ratio between the network cost and benefit data of the target network structure corresponding to the replaced gateway node.
[0038] In one embodiment, traversing each installation distribution matrix of the particles and merging adjacent installation distribution matrices with a spacing less than a preset threshold includes:
[0039] Traverse each of the particle's installation distribution matrices from front to back, determine the distance between the current installation distribution matrix position coordinates and the position coordinates of two adjacent installation distribution matrices in the target network cost and benefit data, and if the distance is less than the preset threshold, then count the set of sensor nodes that can be covered by the replacement gateway node at the position coordinates of the two adjacent installation distribution matrices.
[0040] If the set of sensor nodes that can be covered by two adjacent installation distribution matrix position coordinates have an inclusion relationship, then the installation distribution matrix position coordinates that can cover more sensor nodes are retained, and the installation distribution matrix position coordinates that cover fewer sensor nodes are deleted.
[0041] If the set of sensor nodes covered is the same, then one of the two adjacent installation distribution matrix position coordinates is randomly deleted.
[0042] In one embodiment, the adoption of the cost-benefit comparison theory and mechanism to prevent interference in the main network area, and the online comparison of cost-benefit based on the mutual inhibition relationship through a mutual inhibition strategy to obtain the target power grid planning scheme, includes:
[0043] The first m sub-regions of the main network area are M={1,2,…,m}, which will include the pre-set target network structure quantity information for the medium-voltage distribution network. Submit, summarize resource information and put it into the target grid quantity set, and determine the total allocation and installation distribution set; the total allocation and installation distribution set includes T installation distribution ratios; wherein, This represents the network cost and benefit data for the j-th target network structure in a medium-voltage distribution network. This represents the j-th target network channel in a medium-voltage distribution network.
[0044] Determine the set N={1,2,…,n} of all network sub-regions participating in mutual suppression of the current installation distribution ratio, and the interference map. Where V represents a non-empty set, called the vertex set, and E is a subset of V×V, called the arc set; all participating network sub-regions need to submit a set of requirement information. ; Data on the overall target network architecture's cost and benefits; The number of channels requested; To request the use of the installation distribution ratio; all participating network sub-regions require a maximum of m channels and occupy a maximum of T installation distribution ratios; based on the demand information submitted by the network sub-region corresponding to the current installation distribution ratio, calculate the discounted target network architecture cost and benefit data and interference discount for each network sub-region corresponding to the current installation distribution ratio, so as to predict and quantify the possible interference and losses caused by the network sub-region corresponding to the current installation distribution ratio;
[0045] Based on opportunity cost and quantitative results, candidate network sub-regions are selected from the network sub-regions corresponding to the current installation distribution ratio to participate in the cost-benefit comparison.
[0046] Based on the geographical location in the interference map of the candidate network sub-regions, the network is grouped using a grouping algorithm, and the network cost and benefit data of the target network structure corresponding to each group are calculated.
[0047] The main network regions are sorted sequentially using a sorting algorithm that is independent of the target network structure's network cost and benefit data, and the candidate network sub-regions are sorted according to the target network structure's network cost and benefit data.
[0048] Based on the sorting results, the main network region and the candidate network sub-regions are matched one by one. Successful matches are taken as valid values, and the valid values of the main network region and the candidate network sub-regions are determined respectively.
[0049] By finding the critical nodes using the effective values, the installation quantity of the main network area and the sub-network area can be determined respectively, thus obtaining the target grid planning scheme.
[0050] Secondly, this application also provides a target grid networking device for a medium-voltage distribution network, comprising:
[0051] The acquisition module is used to acquire the installation distribution matrix corresponding to the target network structure of the medium-voltage distribution network; the installation distribution matrix is an n*m*k matrix; wherein, the target network structure of the medium-voltage distribution network includes n main network areas, and the installation distribution matrix is obtained by taking the k installation distribution data of the first m sub-regions of each main network area and constructing n m*k matrices;
[0052] The processing module is used to process the installation distribution data of the corresponding main network area using multiple deep learning networks, and to mine the installation distribution pattern of the target grid of the medium voltage distribution network through shallower networks, so as to obtain the target grid network cost and benefit data in the historical period.
[0053] The collection module is used to collect and integrate information on the network cost and benefit data of the target network structure over a relatively short historical period using multiple deep learning networks.
[0054] The particle determination module is used to represent the target network structure networking cost and benefit data obtained through information collection as a particle; the particle is composed of several ordered nodes; each ordered node represents the position coordinates of an information collection point RP.
[0055] The conversion module is used to transform the global search problem of collecting the target network architecture networking cost and benefit data by replacing the best information of the gateway node into a random search problem of each ordered node on the single particle in space.
[0056] In the search process, each time an ordered node is randomly selected, a pre-constructed non-uniform search grid is used to search, transforming the continuous search of the selected ordered node within the coverage area into a discrete search on the non-uniform search grid to determine the fitness value of the particle; the fitness value is used to determine whether the target grid networking cost and benefit data obtained through information collection is valid; the fitness value is negatively correlated with the power grid planning effect corresponding to the target grid networking cost and benefit data;
[0057] The balancing module is used to manipulate the cost-benefit comparison model based on the fitness values of each particle through a two-way balancing strategy to balance the target network cost and benefit data corresponding to the added or reduced network main area interference, and to determine the mutual inhibition relationship between the network main area and the network sub-area.
[0058] The scheme determination module is used to prevent interference in the main network area by adopting the theory and mechanism of input cost and benefit comparison. Through the mutual inhibition strategy, the input cost and benefit are compared online according to the mutual inhibition relationship to obtain the power grid target network planning scheme.
[0059] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the steps of the method described above.
[0060] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.
[0061] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described method.
[0062] The aforementioned method, apparatus, computer equipment, computer-readable storage medium, and computer program product for constructing a target network for a medium-voltage distribution network obtain the installation distribution matrix corresponding to the target network structure of the medium-voltage distribution network. The installation distribution matrix is an n*m*k matrix. The target network structure comprises n main network regions. By taking the k installation distribution data from the first m sub-regions of each main network region, n m*k matrices are constructed to obtain the installation distribution matrix. Multiple deep learning networks are used to process the installation distribution data of the corresponding main network regions, and the target network structure of the medium-voltage distribution network is mined through a shallower network layer. By analyzing the installation and distribution patterns of the network, accurate historical data on the cost and benefit of the target network can be obtained. Multiple deep learning networks are used to collect and integrate this data for shorter historical periods. The collected cost and benefit data are represented as particles, each composed of several ordered nodes. Each ordered node represents the location coordinates of an information collection point (RP). Using a single particle, the global search problem for optimal information collection of the target network cost and benefit data by changing gateway nodes is transformed into a random search problem of ordered nodes on a single particle within space. During the search, an ordered node is randomly selected each time, and a pre-constructed non-uniform search grid is used. The continuous search of the selected ordered node within the coverage area is transformed into a discrete search on the non-uniform search grid to determine the particle's fitness value. The fitness value is used to determine the validity of the target network cost and benefit data obtained through information collection. The fitness value is negatively correlated with the power grid planning effect corresponding to the target network cost and benefit data. Thus, based on the fitness values of each particle, a two-way balancing strategy is used to manipulate the input cost and benefit comparison model. This invention balances the network cost and benefit data corresponding to the addition or reduction of interference in the main network area, and determines the mutual inhibition relationship between the main network area and the sub-network areas. It employs a cost-benefit comparison theory and mechanism to prevent interference in the main network area. Through a mutual inhibition strategy, it compares the cost and benefit online based on the mutual inhibition relationship to obtain the power grid target network planning scheme. Compared with related technologies, this application can improve the accuracy of power grid target network planning, thereby improving power supply reliability, maximizing power grid benefits, and achieving the technical effect of more fully utilizing power grid resources and improving the power grid resource utilization rate. Attached Figure Description
[0063] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0064] Figure 1 This is a flowchart illustrating a method for constructing a target network structure for a medium-voltage distribution network in one embodiment.
[0065] Figure 2 This is a flowchart illustrating the random search step based on a non-uniform search grid in one embodiment.
[0066] Figure 3 This is a flowchart illustrating a method for constructing a target network structure for a medium-voltage distribution network in another embodiment.
[0067] Figure 4 This is a structural block diagram of a target grid networking device for a medium-voltage distribution network in one embodiment;
[0068] Figure 5 is an internal structure diagram of a computer device in one embodiment. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0070] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0071] In one embodiment, such as Figure 1 As shown, a method for constructing a target network structure for a medium-voltage distribution network is provided, which can be applied to adapt to new power systems. This embodiment illustrates the method by applying it to a computer device. The computer device can be a terminal or a server. In this embodiment, the method includes the following steps:
[0072] Step S110: Obtain the installation distribution matrix corresponding to the target grid structure of the medium-voltage distribution network.
[0073] The installation distribution matrix is an n*m*k matrix;
[0074] The medium-voltage distribution network target network consists of n main network areas. By taking the k installation distribution data of the first m sub-regions of each main network area, n m*k matrices are constructed to obtain the installation distribution matrix.
[0075] Where n, m, and k are all positive integers.
[0076] In practice, computer equipment can obtain the installation distribution matrix corresponding to the target grid structure of the medium-voltage distribution network. The installation distribution matrix is an n*m*k matrix.
[0077] Step S120: Multiple deep learning networks are used to process the installation distribution data of the corresponding main network area. The installation distribution pattern of the target grid of medium voltage distribution network is mined through shallower networks to obtain the target grid network cost and benefit data in the historical period.
[0078] In practice, computer equipment can use multiple deep learning networks to process the installation distribution data of the corresponding main network area. By mining the installation distribution pattern of the target grid of the medium-voltage distribution network through shallower networks, the cost and benefit data of the target grid in the historical period can be obtained.
[0079] In step S120, the computer device can divide the target network structure cost and benefit data into training, validation, and test sets for model training, evaluation, and testing, respectively, based on the installation distribution relationship corresponding to the target network structure cost and benefit data. Furthermore, the computer device can construct n identical deep learning networks. Then, the computer device can input the target network structure cost and benefit data into the corresponding deep learning network according to the state number in its current cycle. The outputs of the n deep learning networks are then rearranged according to the installation distribution order, and the rearranged n values are input into a deep fully connected neural network.
[0080] In addition, the computer device can set the network loss function, optimization algorithm, and learning rate; train the model using a validation set with early termination, and obtain the pre-trained model based on the accuracy changes of the validation set; and predict the test set using the pre-trained model to obtain the prediction results for the test set.
[0081] In the process of inputting the target network architecture cost and benefit data into the corresponding deep learning network according to the number of its state in the cycle, the installation distribution sequence data cycle is n, which corresponds to n deep learning networks. The installation distribution matrix corresponding to the input target network architecture cost and benefit data is an n*m*k matrix. The cycle data is numbered in a fixed way, and the numbered data corresponds to the deep learning network with the same number.
[0082] In the process of rearranging the outputs of n deep learning networks according to their installation distribution order and inputting the rearranged n values into a deep fully connected neural network, the computer equipment can reorder the data numbered 1 to n from the outputs of the deep learning networks according to the order before the target network structure cost and benefit data were input into the deep learning networks, thereby determining the installation distribution relationship between the target network structure cost and benefit data and the installation distribution data to be tested.
[0083] The data is input into the deep learning network in the following order: (np, n-p+1, ..., n, 1, ..., np-1). The data is input into the deep learning network according to the number correspondence. The output data is rearranged to (np, n-p+1, ..., n, 1, ..., np-1) and then input into the deep fully connected neural network.
[0084] Step S130: Use multiple deep learning networks to collect and integrate information on the cost and benefit data of the target network architecture in the short term.
[0085] In practice, computer equipment can use multiple deep learning networks to collect and integrate information on the cost and benefit data of the target network architecture over a relatively short historical period.
[0086] Step S140: The target network structure networking cost and benefit data obtained through information collection is represented as a particle.
[0087] The particles are composed of several ordered nodes.
[0088] Each ordered node represents the location coordinates of an information collection point RP.
[0089] In practice, computer equipment can represent the target network structure cost and benefit data obtained through information collection as a particle composed of several ordered nodes.
[0090] In the process of representing the target network structure cost and benefit data obtained through information collection as a particle composed of several ordered nodes, the computer equipment can initialize a valid target network structure cost and benefit data obtained through information collection. Then, the initialized target network structure cost and benefit data is converted into an ordered linked list of information collection point RP locations. According to the order of each RP in the initialized target network structure cost and benefit data, the location coordinates of each RP are used as an installation distribution matrix to construct an ordered multi-installation distribution matrix linked list, and this structure is used as a particle.
[0091] Step S150: Using a single particle, the global search problem of collecting target network architecture network cost and benefit data for optimal information collection on changing gateway nodes is transformed into a random search problem of ordered nodes in space on a single particle.
[0092] In practice, computer devices can use a single particle to transform the global search problem of collecting optimal information on the network structure cost and benefit data for replacing gateway nodes into a random search problem of ordered nodes in space on a single particle.
[0093] During the search process, the computer device can randomly select an ordered node each time and use a pre-constructed non-uniform search grid to search, transforming the continuous search of the selected ordered node within the coverage area into a discrete search on the non-uniform search grid in order to determine the fitness value of the particle.
[0094] Among them, the fitness value is used to determine whether the target network architecture cost and benefit data obtained through information collection is valid.
[0095] Among them, the fitness value is negatively correlated with the power grid planning effect corresponding to the target grid configuration cost and benefit data. That is, the smaller the fitness value, the better the power grid planning effect.
[0096] In this process, the computer device randomly selects an ordered node each time and searches it using a pre-built non-uniform search grid. The continuous search of the selected ordered node within the coverage area is transformed into a discrete search on the non-uniform search grid. In order to determine the fitness value of the particle, the computer device can randomly select an RP position in the particle and perform a random search according to the non-uniform search grid to obtain a better information collection point position.
[0097] Furthermore, the computer device can traverse all the installation distribution matrices of the particles and merge adjacent installation distribution matrices with a spacing less than a preset threshold. In addition, the computer device can calculate the ratio between the target network structure networking cost and benefit data obtained through information collection for the particle; this ratio serves as the particle's fitness value.
[0098] Then, the computer device can iteratively execute the following steps: randomly selecting a position RP from a particle, performing a random search based on a non-uniform search grid to obtain a better information collection point location, traversing each installation distribution matrix of the particle, merging adjacent installation distribution matrices with a spacing less than a preset threshold, and calculating the ratio between the target network cost and benefit data obtained through information collection for the particle, until the particle's fitness value no longer decreases. Thus, the computer device can output the target network cost and benefit data obtained through information collection, along with the fitness value, represented by the particle.
[0099] For example, the exit condition for the iteration can be: if the fitness value obtained by the search does not decrease by 1 / 100 in 100 iterations, then the algorithm exits and outputs the optimal target network structure networking cost and benefit data and the fitness value corresponding to the optimal target network structure networking cost and benefit data. If the algorithm does not exit, it returns to continue the iteration.
[0100] In this process, the computer device randomly selects a position RP within a particle and performs a random search based on a non-uniform search grid, such as... Figure 2 As shown, it includes the following steps:
[0101] Step S210: Randomly select an installation distribution matrix from the particles as the original installation distribution matrix.
[0102] The position coordinates corresponding to the original installation distribution matrix are used as the position coordinates of the original installation distribution matrix.
[0103] Step S220: Construct a non-uniform search grid, superimpose the non-uniform search grid onto the selected original installation distribution matrix position coordinates, and obtain a set of candidate position coordinates based on the non-uniform search grid.
[0104] Step S230: Let the communication radius of both the sensor node and the replacement gateway node be R. Let the set of sensor nodes that the replacement gateway node can cover when it is located at the original installation distribution matrix position coordinates be the original covered sensor node set. Then, determine the candidate position coordinates one by one in the candidate position coordinate set to select the target candidate position coordinates to form the final selected position coordinate set.
[0105] Specifically, when the gateway node is replaced and located at the target alternative location coordinates, the set of sensor nodes that can be covered can completely include the original set of covered sensor nodes.
[0106] Step S240: Select replacement position coordinates for the original installation distribution matrix position coordinates from the final selected position coordinate set, and update the particles by replacing the position coordinates.
[0107] Among them, the replacement location coordinates are the target alternative location coordinates that shorten the ratio between the network cost and benefit data of the target network structure corresponding to the replacement gateway node the most.
[0108] For example, during the random search process of a computer device at a randomly selected RP position of a particle based on a non-uniform search grid, a search method for the shortest information collection target network structure cost and benefit data can be adopted. This search method constructs a multi-layer circular grid structure with 4 layers and 32 grid points. The 4 layers of circular grids are set according to the percentage of the overlap area between the old and new information collection points' communication ranges. From the inside out, they represent the search grids at overlap rates of 95%, 90%, 80%, and 70%, respectively. The radius of each ring structure is calculated from the overlap percentage and the communication radius of the nodes. The same number of grid points are set on each ring structure. The grid positions within the grid are marked as... The subscript i indicates which raster layer is being considered from the inside out, the numerical value represents the corresponding overlap rate, and the superscript k indicates the layer number from the outside out. The starting grid position identifiers, from 1 to 8, represent respectively Grid points in the direction.
[0109] In some embodiments, during the process of traversing the various installation distribution matrices of the particles and merging adjacent installation distribution matrices with a spacing less than a preset threshold, the computer device can traverse the various installation distribution matrices of the particles from front to back, determine the spacing between the current installation distribution matrix position coordinates and the position coordinates of two adjacent installation distribution matrices in the target network cost and benefit data, and if the spacing is less than a preset threshold (for example, the preset threshold can be 0.1R), the computer device can respectively count the set of sensor nodes that can be covered by the replaced gateway node at the position coordinates of the two adjacent installation distribution matrices.
[0110] If the set of sensor nodes that can be covered by two adjacent installation distribution matrix position coordinates are inclusive, the computer device can retain the installation distribution matrix position coordinates that can cover more sensor nodes and delete the installation distribution matrix position coordinates that cover fewer sensor nodes.
[0111] If the set of sensor nodes covered is the same, the computer device can randomly delete one of the two adjacent installation distribution matrix position coordinates.
[0112] Step S160: Based on the fitness values of each particle, the cost-benefit comparison model is manipulated through a two-way balancing strategy to balance the target network cost and benefit data corresponding to the added or reduced main network area interference, and to determine the mutual inhibition relationship between the main network area and the sub-network area.
[0113] In practice, the computer equipment can manipulate the cost-benefit comparison model based on the fitness value of each particle through a two-way balancing strategy to balance the network cost and benefit data of the target network structure corresponding to the added or reduced network main area interference, and determine the mutual inhibition relationship between the network main area and the network sub-area.
[0114] Step S170: Using the theory and mechanism of input cost and benefit comparison, interference in the main network area is prevented. Through the mutual inhibition strategy, the input cost and benefit are compared online according to the mutual inhibition relationship to obtain the power grid target network planning scheme.
[0115] In specific implementation, in step S170, the first m sub-regions of the main network area are M={1,2,…,m}, and the computer equipment can display the pre-set target network structure quantity information of the medium-voltage distribution network. Submit, summarize the resource information and put it into the target grid quantity set, and determine the total allocation and installation distribution set; the total allocation and installation distribution set includes T installation distribution ratios.
[0116] in, This represents the network cost and benefit data for the j-th target network structure in a medium-voltage distribution network. This represents the j-th target network channel in a medium-voltage distribution network.
[0117] Then, the computer equipment can determine the set N={1,2,…,n} of all network sub-regions participating in mutual suppression of the current installation distribution ratio, as well as the interference map. Where V represents a non-empty set, called the vertex set, and E is a subset of V×V, called the arc set.
[0118] Among them, all participating network sub-regions need to submit a set of requirement information. ; Data on the overall target network architecture's cost and benefits; The number of channels requested; To apply for the installation distribution ratio; all participating network sub-areas require a maximum of m channels and occupy a maximum of T of the aforementioned installation distribution ratios.
[0119] Then, the computer equipment can calculate the discounted target network cost and benefit data and interference discount for each network sub-region corresponding to the current installation distribution ratio based on the demand information submitted by the network sub-region corresponding to the current installation distribution ratio, so as to predict and quantify the possible interference and loss caused by the network sub-region corresponding to the current installation distribution ratio.
[0120] In this way, the computer equipment can select candidate network sub-regions from the current installation distribution ratio based on opportunity cost and quantification results to participate in the cost-benefit comparison; and based on the geographical location of the candidate network sub-regions in the interference map, the candidate network sub-regions are grouped by a grouping algorithm to obtain candidate network sub-region groups, and the network cost and benefit data of the target network structure corresponding to each group are calculated.
[0121] Therefore, the computer equipment can use a network main area sorting algorithm, which is independent of the target network network cost and benefit data, to sort the various network main areas sequentially, and sort the candidate network sub-areas according to the target network network cost and benefit data. Then, based on the sorting results, the computer equipment can match the network main areas with the candidate network sub-areas one by one. Successful matches will be used as valid values to determine the valid values of the network main areas and candidate network sub-areas respectively. Furthermore, the computer equipment can use the valid values to find critical nodes to determine the installation quantity of the network main areas and network sub-areas respectively, thus obtaining the power grid target network planning scheme.
[0122] Among them, interference map The interference relationship in the signal-to-noise ratio can be indirectly described by calculating the distance between each mutual inhibition group.
[0123] The interference discount is the reciprocal of the product of the average interference level of a network sub-region to its neighboring nodes and its reusability, indicating a ratio of the potential losses that the network sub-region may cause.
[0124] Among them, the discounted target network structure networking cost and benefit data refers to the product of the interference discount and the original target network structure networking cost and benefit data, that is, the target network structure networking cost and benefit data after the loss is calculated.
[0125] Among them, opportunity cost is the estimated cost price based on the discounted target network architecture cost and benefit data and information such as channel application. If the opportunity cost of a network sub-region is less than its discounted benefit, that is, less than the benefit calculated based on the discounted target network architecture cost and benefit data, then the network sub-region can be used as a candidate network sub-region.
[0126] Among them, the sorting algorithm for the main network area, which is unrelated to the target network structure's network cost and benefit data, does not directly sort the main network area using the target network structure's network cost and benefit data, but instead uses coordinate sorting.
[0127] The matching process between the main network area and the candidate network sub-area involves matching the number of channels applied for by the main network area and the candidate network sub-area one by one. Success is achieved only if all applied channels of the candidate network sub-area group are matched; otherwise, no channels are allocated to that group.
[0128] Among them, critical nodes refer to critical unmatched nodes in the main network area and critical unmatched groups in the candidate network sub-area groups; the target network cost and benefit data corresponding to the critical nodes in the main network area and the target network cost and benefit data corresponding to the critical nodes in the candidate network sub-areas are taken respectively to determine the final number of installations in the main network area and network sub-areas.
[0129] In the above-mentioned medium-voltage distribution network target grid networking method, the installation distribution matrix corresponding to the medium-voltage distribution network target grid networking is obtained. The installation distribution matrix is an n*m*k matrix. The medium-voltage distribution network target grid networking includes n main networking regions. By taking the k installation distribution data of the first m sub-regions of each main networking region, n m*k matrices are constructed to obtain the installation distribution matrix. Multiple deep learning networks are used to process the installation distribution data of the corresponding main networking regions. By mining the installation distribution patterns of the medium-voltage distribution network target grid networking through shallower networks, the historical data can be accurately obtained. The study collects and integrates target network architecture cost and benefit data over a short period using multiple deep learning networks. The collected data is represented as a particle, with each particle consisting of several ordered nodes. Each ordered node represents the location coordinates of an information collection point (RP). By using a single particle, the global search problem for optimal information collection of target network architecture cost and benefit data by changing gateway nodes is transformed into a random search problem of ordered nodes on a single particle within space. In the search process, an ordered node is randomly selected each time, and a pre-constructed non-uniform search grid is used for searching. The continuous search of the selected ordered node within the coverage area is transformed into a discrete search on the non-uniform search grid to determine the fitness value of the particle. The fitness value is used to determine whether the target grid network cost and benefit data obtained through information collection is effective. The fitness value is negatively correlated with the power grid planning effect corresponding to the target grid network cost and benefit data. Thus, based on the fitness value of each particle, the input cost and benefit comparison model is manipulated through a two-way balancing strategy to balance the target grid network cost and benefit data corresponding to the added or reduced main area interference, and to determine the mutual inhibition relationship between the main area and the sub-area. The input cost and benefit comparison theory and mechanism are adopted to prevent interference in the main area. The input cost and benefit are compared online according to the mutual inhibition relationship through the mutual inhibition strategy to obtain the power grid target grid planning scheme. Compared with related technologies, this application can improve the accuracy of power grid target grid planning, thereby improving power supply reliability, maximizing power grid benefits, and achieving the technical effect of making fuller use of power grid resources and improving the power grid resource utilization rate.
[0130] In another embodiment, such as Figure 3 As shown, a method for constructing a target network structure for a medium-voltage distribution network is provided. Taking the application of this method to computer equipment as an example, the method includes the following steps:
[0131] Step S302: Use multiple deep learning networks to process the installation distribution data of the corresponding main network area. Through shallower networks, the installation distribution pattern of the target grid of medium voltage distribution network is mined to obtain the target grid network cost and benefit data in the historical period.
[0132] Step S304: Use multiple deep learning networks to collect and integrate information on the network cost and benefit data of the target network structure in the short term.
[0133] Step S306: Initialize a valid set of target network architecture cost and benefit data obtained through information collection.
[0134] Step S308: Convert the initialized target network structure networking cost and benefit data into an ordered linked list of information collection point RP locations.
[0135] Step S310: According to the order of each RP in the target network cost and benefit data after initialization, the position coordinates of each RP are used as an installation distribution matrix to construct an ordered multi-installation distribution matrix linked list, and this structure is used as a particle.
[0136] Step S312: Using a single particle, the global search problem of collecting target network architecture cost and benefit data for optimal information collection on changing gateway nodes is transformed into a random search problem of ordered nodes in space on a single particle.
[0137] Step S314: Based on the fitness values of each particle, the cost-benefit comparison model is manipulated through a two-way balancing strategy to balance the target network cost and benefit data corresponding to the added or reduced network main area interference, and to determine the mutual inhibition relationship between the network main area and the network sub-area.
[0138] Step S316: Using the theory and mechanism of input cost and benefit comparison, interference in the main network area is prevented. Through the mutual inhibition strategy, the input cost and benefit are compared online according to the mutual inhibition relationship to obtain the power grid target network planning scheme.
[0139] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a medium-voltage distribution network target grid configuration method described above.
[0140] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0141] Based on the same inventive concept, this application also provides a medium-voltage distribution network target grid networking device for implementing the above-mentioned medium-voltage distribution network target grid networking method. The solution provided by this device is similar to the solution described in the above-described method. Therefore, the specific limitations of one or more medium-voltage distribution network target grid networking device embodiments provided below can be found in the limitations of the medium-voltage distribution network target grid networking method above, and will not be repeated here.
[0142] In one exemplary embodiment, such as Figure 4 As shown, a medium-voltage distribution network target grid networking device is provided, including: an acquisition module 410, a processing module 420, a collection module 430, a particle determination module 440, a conversion module 450, a balancing module 460, and a scheme determination module 470, wherein:
[0143] The acquisition module 410 is used to acquire the installation distribution matrix corresponding to the target network structure of the medium-voltage distribution network; the installation distribution matrix is an n*m*k matrix; wherein, the target network structure of the medium-voltage distribution network includes n main network areas, and the installation distribution matrix is obtained by taking the k installation distribution data of the first m sub-regions of each main network area and constructing n m*k matrices.
[0144] The processing module 420 is used to process the installation distribution data of the corresponding main network area using multiple deep learning networks, and to mine the installation distribution pattern of the target grid of the medium voltage distribution network through shallower networks, so as to obtain the target grid network cost and benefit data in the historical period.
[0145] The collection module 430 is used to collect and integrate information on the network cost and benefit data of the target network structure in a relatively short historical period using multiple deep learning networks.
[0146] The particle determination module 440 is used to represent the target network structure networking cost and benefit data obtained through information collection as a particle; the particle is composed of several ordered nodes; each ordered node represents the position coordinates of an information collection point RP.
[0147] The conversion module 450 is used to transform the global search problem of collecting the target network architecture networking cost and benefit data by replacing the best information of the gateway node into a random search problem of each ordered node on the single particle in space.
[0148] In the search process, each time an ordered node is randomly selected, a pre-constructed non-uniform search grid is used to search, transforming the continuous search of the selected ordered node within the coverage area into a discrete search on the non-uniform search grid to determine the fitness value of the particle; the fitness value is used to determine whether the target grid networking cost and benefit data obtained through information collection is valid; the fitness value is negatively correlated with the power grid planning effect corresponding to the target grid networking cost and benefit data.
[0149] The balancing module 460 is used to balance the target network cost and benefit data corresponding to the added or reduced network main area interference based on the fitness value of each particle through a two-way balancing strategy to manipulate the input cost and benefit comparison model, and to determine the mutual inhibition relationship between the network main area and the network sub-area.
[0150] The scheme determination module 470 is used to adopt the theory and mechanism of input cost and benefit comparison to prevent interference in the main network area. Through the mutual inhibition strategy, the input cost and benefit are compared online according to the mutual inhibition relationship to obtain the power grid target network planning scheme.
[0151] In one embodiment, the collection module 430 is specifically used to divide the target network structure network cost and benefit data into a training set, a validation set, and a test set for model training, evaluation, and testing, respectively, based on the installation distribution relationship corresponding to the target network structure network cost and benefit data; construct n identical deep learning networks; input the target network structure network cost and benefit data into the corresponding deep learning network according to the number of its state in the cycle; including: if the installation distribution sequence data cycle is n, then there are n deep learning networks; the installation distribution matrix corresponding to the input target network structure network cost and benefit data is an n*m*k matrix; the cycle data is numbered in a fixed way, and the numbered data is input into the deep learning network with the same number; rearrange the output results of the n deep learning networks according to the installation distribution order, and input the rearranged n values into a deep fully connected neural network; set the network loss function, optimization algorithm, and learning rate; train the model using the validation set in a way that terminates early, and obtain a pre-trained model based on the accuracy change of the validation set; predict the test set using the pre-trained model to obtain the prediction result of the test set.
[0152] In one embodiment, the particle determination module 440 is specifically used to initialize a valid target network cost and benefit data obtained through information collection; convert the initialized target network cost and benefit data into an ordered linked list of information collection point (RP) locations; according to the order of each RP in the initialized target network cost and benefit data, use the location coordinates of each RP as an installation distribution matrix to construct an ordered linked list of multiple installation distribution matrices, and use this structure as a particle.
[0153] In one embodiment, the conversion module 450 is specifically used to randomly select a position RP in the particle, perform a random search according to the non-uniform search grid to obtain a better information collection point location; traverse each installation distribution matrix of the particle, merge adjacent installation distribution matrices with a spacing less than a preset threshold; calculate the ratio between the target network structure networking cost and benefit data obtained through information collection corresponding to the particle; the ratio is used as the fitness value of the particle; return to the step of randomly selecting a position RP in the particle until the fitness value of the particle no longer decreases; output the target network structure networking cost and benefit data and fitness value obtained through information collection represented by the particle.
[0154] In one embodiment, the conversion module 450 is specifically configured to: randomly select an installation distribution matrix from the particles as the original installation distribution matrix; use the position coordinates corresponding to the original installation distribution matrix as the position coordinates of the original installation distribution matrix; construct a non-uniform search grid; superimpose the non-uniform search grid onto the selected position coordinates of the original installation distribution matrix; obtain a set of candidate position coordinates based on the non-uniform search grid; and let R be the communication radius of both the sensor node and the replacement gateway node, and let the set of sensor nodes that the replacement gateway node can cover when it is located at the position coordinates of the original installation distribution matrix be the original... The set of covered sensor nodes is evaluated one by one in the set of candidate location coordinates to select target candidate location coordinates to form a final set of location coordinates; wherein, when the replaced gateway node is located at the target candidate location coordinates, the set of sensor nodes that can be covered can completely include the original set of covered sensor nodes; the replacement location coordinates of the original installation distribution matrix location coordinates are selected from the final set of location coordinates, and the particles are updated by the replacement location coordinates; the replacement location coordinates are the target candidate location coordinates that shorten the ratio between the network cost and benefit data of the target network structure corresponding to the replaced gateway node to the greatest extent.
[0155] In one embodiment, the conversion module 450 is specifically used to traverse each of the installation distribution matrices of the particle from front to back, determine the distance between the current installation distribution matrix position coordinates and the two adjacent installation distribution matrix position coordinates in the target network cost and benefit data, if the distance is less than the preset threshold, then the set of sensor nodes that can be covered by the replacement gateway node at the two adjacent installation distribution matrix position coordinates are counted respectively; if the set of sensor nodes that can be covered at the two adjacent installation distribution matrix position coordinates has an inclusion relationship, then the installation distribution matrix position coordinates that can cover more sensor nodes are retained, and the installation distribution matrix position coordinates that cover fewer sensor nodes are deleted; if the set of covered sensor nodes is the same, then one installation distribution matrix position coordinate is randomly deleted from the two adjacent installation distribution matrix position coordinates.
[0156] In one embodiment, the scheme determination module 470 is specifically used for the first m sub-regions of the main network area, M={1,2,…,m}, to pre-set the target network structure quantity information of the medium-voltage distribution network. Submit, summarize resource information and put it into the target grid quantity set, and determine the total allocation and installation distribution set; the total allocation and installation distribution set includes T installation distribution ratios; wherein, This represents the network cost and benefit data for the j-th target network structure in a medium-voltage distribution network. Represents the j-th target network channel in a medium-voltage distribution network; determines the set N={1,2,…,n} of all network sub-regions participating in mutual suppression with the current installed distribution ratio, and the interference map. Where V represents a non-empty set, called the vertex set, and E is a subset of V×V, called the arc set; all participating network sub-regions need to submit a set of requirement information. ; Data on the overall target network architecture's cost and benefits; The number of channels requested; To request the use of installation distribution ratios; all participating network sub-regions require a maximum of m channels and occupy a maximum of T installation distribution ratios; based on the demand information submitted by the network sub-regions corresponding to the current installation distribution ratio, calculate the discounted target network architecture cost and benefit data and interference discount for each network sub-region corresponding to the current installation distribution ratio, to predict and quantify the possible interference and losses caused by the network sub-regions corresponding to the current installation distribution ratio; based on the opportunity cost and quantification results, select candidate network sub-regions from the network sub-regions corresponding to the current installation distribution ratio to participate in the cost and benefit comparison; based on the geographical location of the candidate network sub-regions in the interference map, through segmentation... The algorithm groups the network into groups and calculates the target network architecture network cost and benefit data for each group. A network main area sorting algorithm, independent of the target network architecture network cost and benefit data, is used to sort the main network areas sequentially. Candidate sub-regions are then sorted based on the target network architecture network cost and benefit data. According to the sorting results, the main network areas and candidate sub-regions are matched one-to-one. Successful matches are used as valid values, and the valid values for the main network areas and candidate sub-regions are determined. Critical nodes are found using these valid values to determine the installation quantity for each main network area and sub-region, thus obtaining the target network architecture planning scheme.
[0157] Each module in the aforementioned medium-voltage distribution network target grid networking device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0158] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram is shown in Figure 5. The computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device stores installation and distribution data. The I / O interfaces of the computer device are used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for networking a target grid structure of a medium-voltage power distribution network.
[0159] Those skilled in the art will understand that the structure shown in Figure 5 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.
[0160] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0161] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0162] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0163] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0164] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0165] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0166] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for establishing a target grid of a medium voltage distribution network, characterized in that: The method comprises: Obtaining an installation distribution matrix corresponding to a target grid network of a medium voltage distribution network; the installation distribution matrix is an n*m*k matrix; wherein the target grid network of the medium voltage distribution network includes n main networking areas, and by taking k installation distribution data of the first m networking sub-areas from each main networking area, n m*k matrices are constructed to obtain the installation distribution matrix; Using multiple deep learning networks to process the installation distribution data of the corresponding main networking areas respectively, mining the installation distribution law of the target grid networking of the medium voltage distribution network through a shallower network, and obtaining the target grid networking cost and benefit data in the historical period; Use multiple deep learning networks to collect and integrate information on the target grid networking cost and benefit data in the relatively short historical period; The target grid networking cost and benefit data obtained through information collection are represented as a particle; the particle is composed of a number of ordered nodes; each of the ordered nodes represents the position coordinates of an information collection point RP; Using a single particle, the global search problem of replacing the best information of the gateway node to collect the target grid networking cost and benefit data is converted into a random search problem in space for each ordered node on a single particle; In the search process, one of the ordered nodes is randomly selected each time, and a pre-constructed non-uniform search grid is used for search, and the continuous search of the selected ordered node within the coverage range is converted into a discrete search on the non-uniform search grid to determine the fitness value of the particle; the fitness value is used to determine whether the target grid networking cost and benefit data obtained through information collection are valid; the fitness value is negatively correlated with the power grid planning effect corresponding to the target grid networking cost and benefit data; According to the fitness value of each particle, the input cost and benefit comparison model is manipulated through a two-way balance strategy to balance the target grid networking cost and benefit data corresponding to the added or reduced networking main area interference, and determine the mutual inhibition relationship between the networking main area and the networking sub-area; The input cost and benefit comparison theory and mechanism are adopted to prevent interference in the main area of the network. The input cost and benefit are compared online according to the mutual inhibition relationship through the mutual inhibition strategy to obtain the target grid planning scheme of the power grid.
2. The method according to claim 1, characterized in that The using of multiple deep learning networks to collect and integrate information on the target grid networking cost and benefit data in a relatively short historical period includes: According to the installation distribution relationship corresponding to the target grid networking cost and revenue data, the target grid networking cost and revenue data are divided into a training set, a validation set and a test set for model training, evaluation and testing respectively; Constructing n identical deep learning networks; Input the target grid networking cost and benefit data into the corresponding deep learning network according to the number of the state in the cycle; including: if the installation distribution sequence data cycle is n, then it corresponds to n deep learning networks, and the installation distribution matrix corresponding to the input target grid networking cost and benefit data is an n*m*k matrix, and the cycle data is numbered in a fixed way, and the numbered data corresponds to the input of the deep learning network with the same number; Rearranging the output results of the n deep learning networks according to the installation distribution order, and inputting the rearranged n values into the deep fully connected neural network; Set the network loss function, optimization algorithm, and learning rate; Using the validation set to train the model in an early termination manner, and obtaining a pre-trained model according to a change in the accuracy of the validation set; The test set is predicted by the pre-trained model to obtain a prediction result of the test set.
3. The method according to claim 1, characterized in that The target grid networking cost and benefit data obtained through information collection is expressed as a particle, including: Initialize a valid target grid network cost and benefit data obtained through information collection; Convert the initialized target grid networking cost and benefit data into an ordered information collection point RP position list; According to the order of each RP in the initialization target grid networking cost and benefit data, the position coordinates of each RP are used as an installation distribution matrix to construct an ordered multi-installation distribution matrix linked list, and the structure is used as a particle; The step of randomly selecting one of the ordered nodes each time and searching using a pre-constructed non-uniform search grid, and converting a continuous search of the selected ordered node within a coverage range into a discrete search on the non-uniform search grid to determine the fitness value of the particle includes: Randomly select an RP position in the particle and perform a random search according to the non-uniform search grid to obtain a better information collection point position; Traversing each installation distribution matrix of the particle, and merging adjacent installation distribution matrices whose spacing is less than a preset threshold; Calculating the ratio between the target grid networking cost and the benefit data corresponding to the particle obtained through information collection; the ratio is used as the fitness value of the particle; Returning to the step of randomly selecting an RP position in the particle until the fitness value of the particle no longer decreases; Output the target grid networking cost and benefit data and fitness value represented by the particle obtained through information collection.
4. The method according to claim 3, characterized in that The randomly selecting an RP position in the particle and performing a random search according to the non-uniform search grid comprises: Randomly selecting an installation distribution matrix from the particles as the original installation distribution matrix; the position coordinates corresponding to the original installation distribution matrix are used as the position coordinates of the original installation distribution matrix; Constructing a non-uniform search grid, superimposing the non-uniform search grid on the selected position coordinates of the original installation distribution matrix, and obtaining a set of candidate position coordinates according to the non-uniform search grid; Assume that the communication radius of the sensor node and the replacement gateway node are both R, and assume that the set of sensor nodes that can be covered when the replacement gateway node is located at the position coordinates of the original installation distribution matrix is the original covered sensor node set, and judge one by one in the candidate position coordinate set to select the target candidate position coordinates to form the final selected position coordinate set; wherein, the set of sensor nodes that can be covered when the replacement gateway node is located at the target candidate position coordinates can completely include the original covered sensor node set; The replacement position coordinates of the original installation distribution matrix position coordinates are selected from the final position coordinate set, and the particles are updated by the replacement position coordinates; the replacement position coordinates are target candidate position coordinates that can shorten the ratio between the target grid networking cost and benefit data corresponding to the replacement gateway node the most.
5. The method according to claim 3, characterized in that: The traversing each installation distribution matrix of the particle and merging adjacent installation distribution matrices whose spacing is less than a preset threshold comprises: Traversing each of the installation distribution matrices of the particle from front to back, determining the distance between the current installation distribution matrix position coordinates and the two adjacent installation distribution matrix position coordinates on the target grid networking cost and benefit data, and if the distance is less than the preset threshold, respectively counting the sensor node sets that can be covered by the replacement gateway nodes on the two adjacent installation distribution matrix position coordinates; If the sensor node sets that can be covered by the position coordinates of the two adjacent installation distribution matrices are included, the installation distribution matrix position coordinates that can cover more sensor nodes are retained, and the installation distribution matrix position coordinates that cover fewer sensor nodes are deleted; If the covered sensor node sets are the same, then one installation distribution matrix position coordinate is randomly deleted from the two adjacent installation distribution matrix position coordinates.
6. The method according to claim 1, characterized in that The input cost and benefit comparison theory and mechanism are adopted to prevent interference in the main area of the network, and the input cost and benefit are compared online according to the mutual inhibition relationship through the mutual inhibition strategy to obtain the target grid planning scheme of the power grid, including: The first m networking sub-areas of the main networking area are M={1,2,…,m}, and the target grid quantity information of the medium-voltage distribution network is preset. Submit, the resource information is summarized into the target grid quantity set, and the total allocation installation distribution set is determined; the total allocation installation distribution set includes T installation distribution ratios; wherein, represents the cost and benefit data of the jth target grid of the medium voltage distribution network, represents the jth target grid channel of the medium voltage distribution network; Determine the set of all networking sub-areas participating in mutual inhibition N={1,2,…,n} and the interference graph of the current installation distribution ratio ; Where V represents a non-empty set, called the vertex set, and E is a subset of V×V, called the arc set; where all networking sub-areas participating in mutual inhibition need to submit a set of demand information ; Provide cost and benefit data for the overall target grid; The number of channels to apply for; To apply for the installation distribution ratio; all networking sub-areas participating in mutual suppression require a maximum of m channels and occupy a maximum of T installation distribution ratios; according to the demand information submitted by the networking sub-area corresponding to the current installation distribution ratio, the discounted target grid networking cost and benefit data and interference discount of each networking sub-area corresponding to the current installation distribution ratio are calculated to predict the possible interference and loss caused by the networking sub-area corresponding to the current installation distribution ratio and quantify them; According to the opportunity cost and the quantified result, a candidate networking sub-area is selected in the networking sub-area corresponding to the current installation distribution ratio to participate in the comparison of investment cost and benefit; According to the geographical location in the interference graph of the candidate networking sub-area, the candidate networking sub-areas are grouped by a grouping algorithm, and the group target grid networking cost and benefit data corresponding to each group are calculated; The respective networking main areas are sequentially sorted by a networking main area sorting algorithm that is independent of the target network frame networking cost and benefit data, and the candidate networking sub-areas are sorted according to the target network frame networking cost and benefit data; According to the sorting results, the main networking area is matched with the candidate networking sub-areas one by one, and the successfully matched ones are used as valid values to determine the valid values of the main networking area and the candidate networking sub-areas respectively; The critical nodes are found through the effective value to respectively determine the installation quantity of the networking main area and the networking sub-area, and obtain the target grid planning scheme of the power grid.
7. A medium voltage distribution network target grid networking device, characterized in that: The device comprises: An acquisition module is used to acquire an installation distribution matrix corresponding to a target grid network of a medium voltage distribution network; the installation distribution matrix is an n*m*k matrix; wherein the target grid network of the medium voltage distribution network includes n main networking areas, and k installation distribution data of the first m networking sub-areas are taken from each main networking area to construct n m*k matrices to obtain the installation distribution matrix; A processing module, used to use multiple deep learning networks to process the installation distribution data of the corresponding main networking areas respectively, and to mine the installation distribution law of the target grid networking of the medium voltage distribution network through a shallower network to obtain the target grid networking cost and benefit data in the historical period; A collection module, used to use multiple deep learning networks to collect and integrate information on the target grid networking cost and benefit data in a relatively short period of history; A particle determination module is used to represent the target grid networking cost and benefit data obtained through information collection as a particle; the particle is composed of a number of ordered nodes; each of the ordered nodes represents the position coordinates of an information collection point RP; A conversion module, used to use a single particle to convert the global search problem of replacing the best information of the gateway node to collect the target grid networking cost and benefit data into a random search problem of each ordered node on the single particle in space; In the search process, one of the ordered nodes is randomly selected each time, and a pre-constructed non-uniform search grid is used for search, and the continuous search of the selected ordered node within the coverage range is converted into a discrete search on the non-uniform search grid to determine the fitness value of the particle; the fitness value is used to determine whether the target grid networking cost and benefit data obtained through information collection are valid; the fitness value is negatively correlated with the power grid planning effect corresponding to the target grid networking cost and benefit data; A balancing module is used to manipulate the input cost and benefit comparison model through a two-way balancing strategy according to the fitness value of each particle, balance the target grid networking cost and benefit data corresponding to the added or reduced networking main area interference, and determine the mutual inhibition relationship between the networking main area and the networking sub-area; The scheme determination module is used to adopt the input cost and benefit comparison theory and mechanism to prevent interference in the main area of the network, and to compare the input cost and benefit online according to the mutual inhibition relationship through the mutual inhibition strategy to obtain the target grid planning scheme of the power grid.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
