Intelligent optimization method and system for power supply path of power grid diagram based on homologous maintenance
By decomposing the path optimization task into multiple stages in the power grid diagram and using a mixed integer linear programming model for global optimization, the problem of inefficiency of the power grid power supply path optimization system in the existing technology under complex constraints and dynamic changes is solved, and a more efficient solution is achieved. Efficient power transmission and system stability.
Patent Information
- Application Number
- CN202410797810.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing power grid power supply path optimization systems perform poorly when dealing with complex constraints and dynamic changes, are difficult to achieve overall optimization effects, have low computational efficiency, and are prone to falling into local optimal solutions.
Adopt an intelligent optimization method for the power supply path of the power grid diagram based on homologous maintenance, and incorporate all conditions into the solution process through clear linear inequalities and equality constraints, decompose the path optimization task into subtasks of multiple stages, and use dynamic programming and mixed integer linear The planning model performs global optimization, adapts to dynamic changes in grid status, and regularly evaluates and adjusts power supply paths.
It achieves comprehensive consideration of complex constraints and real-time adjustment of grid status, significantly improves the overall optimization effect of the power supply path, and improves power transmission efficiency and system stability.
Smart Images

Figure CN118364976B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply path optimization, and in particular to a method and system for intelligently optimizing power supply paths in a power grid diagram based on homologous maintenance. Background Art
[0002] The scale and complexity of modern power systems are constantly increasing, and the grid structure is becoming increasingly complex. With the access of distributed energy and renewable energy, the power supply path design of traditional power grids faces challenges and requires more flexible and intelligent optimization methods. Intelligent optimization of power supply paths in power grid diagrams refers to optimizing the power supply paths in power systems by applying advanced algorithms and technologies, thereby improving power transmission efficiency and reducing the occurrence of faults.
[0003] The prior art has the following deficiencies:
[0004] Existing optimization systems perform poorly when dealing with multiple complex constraints (such as supply and demand balance, line capacity, path selection, etc.), and are difficult to adapt to dynamic changes and real-time adjustments in grid status. Not only are they prone to falling into local optimal solutions, but when dealing with large-scale grid optimization problems, computational efficiency often becomes a bottleneck, resulting in poor overall optimization of power supply paths. Summary of the invention
[0005] The purpose of the present invention is to provide an intelligent optimization method and system for the power supply path of a power grid diagram based on homologous maintenance. Through clear linear inequalities and equality constraints, all conditions are incorporated into the solution process, thereby achieving comprehensive consideration of complex constraints, and adapting to the dynamic changes and real-time adjustments of the power grid state, effectively improving the overall optimization effect of the power supply path, and solving the shortcomings of the background technology.
[0006] In order to achieve the above object, the present invention provides the following technical solution: an intelligent optimization method for power supply paths of a power grid diagram based on homologous maintenance, the optimization method comprising the following steps:
[0007] The optimization system obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, establishes a line set E for all node lines, and obtains the attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, and each subtask solves the optimal path from the starting point to the intermediate node in the current stage;
[0008] The optimal path obtained by dynamic programming is used as the initial solution, and a mixed integer linear programming model is constructed for global optimization. The mixed integer linear programming model is solved by MILP solver to obtain the optimal decision variables, and the optimal power supply path and transmission power distribution plan of the power grid diagram are determined according to the solution results.
[0009] Regularly conduct comprehensive evaluations on the optimal power supply path and transmission power allocation plan. When the nodes in the power grid diagram change or the evaluation of the optimal power supply path and transmission power allocation plan fails, re-optimize the power grid path.
[0010] In a preferred embodiment, the attribute data of each line in the line set E is obtained, and the attribute data includes the transmission cost ,capacity and transmission loss coefficient .
[0011] In a preferred embodiment, obtaining the attribute data of each line in the line set E includes the following steps:
[0012] Transmission costs The acquisition logic is: obtain the construction cost and maintenance cost of the line, and sum the construction cost and maintenance cost to get the transmission cost ;
[0013] capacity The acquisition logic is as follows: the capacity of the line indicates the maximum amount of power that the line can bear, which is obtained from the power grid system;
[0014] Transmission loss coefficient The acquisition logic is: obtain the frequency of the grid current, and the expression of the transmission loss coefficient within the monitoring time range is:
[0015] ,
[0016] In the formula, Indicates frequency, Indicates the monitoring time range, Indicates frequency Down The current at the moment, Indicates frequency The resistance under Indicates frequency Down Voltage at the moment.
[0017] In a preferred embodiment, the path optimization task is decomposed into subtasks of multiple stages, and each subtask solves the optimal path of the current stage from the starting point to the intermediate node, including the following steps:
[0018] All intermediate nodes in the node set V are classified according to regions. The intermediate nodes in the same region are classified into one category. The path optimization task is decomposed into subtasks of multiple stages. The routes of all intermediate nodes in the first region are traced forward from the starting node. The intermediate node corresponding to the route with the maximum fitness value is selected and connected to the starting node as the optimal path of the first stage. The intermediate node connected to the starting node is marked as the output node.
[0019] Get the lines between the output node and all the intermediate nodes in the second area, select the intermediate node corresponding to the line with the maximum fitness value and connect it with the output node as the optimal path of the second stage, repeat the above steps until the optimal path selection of the terminal node is completed, so as to obtain the optimal path of each stage.
[0020] In a preferred embodiment, the function expression of the line fitness value is:
[0021] , where represents the fitness value, Indicates capacity, represents the transmission loss coefficient, represents the transmission cost, , , represent the capacity, transmission loss coefficient, and transmission cost proportionality coefficient respectively, and , , Both are greater than 0.
[0022] In a preferred embodiment,
[0023] Solving the mixed integer linear programming model with the MILP solver to obtain the optimal decision variables includes the following steps:
[0024] The optimal path obtained by dynamic programming is used as the initial solution to input into the mixed integer linear programming model. The mixed integer linear programming model is solved by the MILP solver. The solver uses the initial solution to perform global optimization and adjust the decision variables. The value of maximizes the total fitness value and satisfies all constraints. The overall optimal path is extracted from the output of the MILP solver. The overall optimal path is the line combination from the starting node s to the end node m.
[0025] In a preferred embodiment, the optimization system obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, and establishes a line set E for all node lines, including the following steps:
[0026] Obtain information about nodes and lines connecting nodes from the power grid diagram, including node locations, load conditions, line capacity, and length information, traverse all node information in the power grid diagram, add each node to the node set V, and assign a unique identifier or name to each node;
[0027] Traverse the line information in the power grid diagram, including the starting node and the ending node of each line connection. Each line is represented as an ordered pair. , in the line is the starting node, As the end node, each ordered pair Added to the line set E, it represents the line in the power grid.
[0028] The intelligent optimization system of power supply path of power grid diagram based on homologous maintenance includes phased optimization module, global optimization module and evaluation module;
[0029] Phased optimization module: obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, establishes a line set E for all node lines, obtains attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, and each subtask solves the optimal path from the starting point to the intermediate node in the current stage;
[0030] Global optimization module: The phased optimal path obtained by dynamic programming is used as the initial solution, and a mixed integer linear programming model is constructed for global optimization. The mixed integer linear programming model is solved by the MILP solver to obtain the optimal decision variables. Based on the solution results, the optimal power supply path and transmission power distribution plan of the power grid diagram are determined;
[0031] Evaluation module: Regularly conduct comprehensive evaluations on the optimal power supply path and transmission power allocation plan. When the nodes in the power grid diagram change or the evaluation of the optimal power supply path and transmission power allocation plan fails, re-optimize the power grid path.
[0032] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0033] The present invention obtains the attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, each subtask solves the optimal path of the current stage from the starting point to the intermediate node, takes the staged optimal path obtained by dynamic programming as the initial solution, constructs a mixed integer linear programming model for global optimization, solves the mixed integer linear programming model by MILP solver to obtain the optimal decision variables, and determines the optimal power supply path and transmission power distribution plan of the power grid diagram according to the solution results. The optimization system incorporates all conditions into the solution process through clear linear inequalities and equality constraints, thereby achieving comprehensive consideration of complex constraints, and adapting to the dynamic changes and real-time adjustments of the power grid state, effectively improving the overall optimization effect of the power supply path. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0035] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] Example 1: Please refer to Figure 1 As shown, the intelligent optimization method of the power supply path of the power grid diagram based on homologous maintenance described in this embodiment includes the following steps:
[0038] The optimization system obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, establishes a line set E for all node lines, and obtains the attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, and each subtask solves the optimal path of the current stage from the starting point to the intermediate node. The stage-by-stage optimal path obtained by dynamic programming is used as the initial solution, and a mixed integer linear programming model is constructed for global optimization. The mixed integer linear programming model is solved by the MILP solver to obtain the optimal decision variables. According to the solution results, the optimal power supply path and transmission power allocation plan of the power grid diagram are determined, and the optimal power supply path and transmission power allocation plan are comprehensively evaluated regularly. When the nodes of the power grid diagram change or the evaluation of the optimal power supply path and transmission power allocation plan is unqualified, the power grid path is optimized again.
[0039] This application obtains the attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, each subtask solves the optimal path of the current stage from the starting point to the intermediate node, takes the stage-by-stage optimal path obtained by dynamic programming as the initial solution, constructs a mixed integer linear programming model for global optimization, solves the mixed integer linear programming model by MILP solver to obtain the optimal decision variables, and determines the optimal power supply path and transmission power distribution plan of the power grid diagram according to the solution results. This optimization system incorporates all conditions into the solution process through clear linear inequalities and equality constraints, thereby achieving comprehensive consideration of complex constraints, and adapting to the dynamic changes and real-time adjustments of the power grid state, effectively improving the overall optimization effect of the power supply path.
[0040] Embodiment 2: The optimization system obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, and establishes a line set E for all node lines, including the following steps:
[0041] Obtain information about nodes and lines connecting nodes from the power grid diagram, including the location of nodes, load conditions, capacity and length of lines, etc., traverse all node information in the power grid diagram, add each node to the node set V, assign a unique identifier or name to each node for identification and reference in subsequent operations, traverse the line information in the power grid diagram, including the start and end nodes of each line connection, and represent each line as an ordered pair. , for each line, is the starting node, As the end node, each ordered pair Added to the line set E, it represents the line in the power grid.
[0042] Obtaining the attribute data of each line in the line set E includes the following steps:
[0043] Attribute data including transport costs ,capacity and transmission loss coefficient .
[0044] Transmission costs The acquisition logic is: obtain the construction cost and maintenance cost of the line, and sum the construction cost and maintenance cost to get the transmission cost ;
[0045] In this application, the expected transmission cost The smaller the better, as follows:
[0046] Transmission costs include construction costs and maintenance costs. Reducing transmission costs helps reduce the overall economic expenditure of power transmission. Lower transmission costs mean that more grid infrastructure can be built and maintained under the same budget, thereby improving the coverage and reliability of the power supply network. Lower costs also mean higher economic efficiency, which helps to reduce electricity prices and benefit users.
[0047] capacity The acquisition logic is as follows: the capacity of a line indicates the maximum amount of power that the line can bear, which is obtained from the design and construction specifications of the power grid system and is usually clearly specified in the technical specifications of the power grid equipment and lines;
[0048] In this application, the expected capacity The bigger the better, as follows:
[0049] Larger capacity means that the line can transmit more electricity and meet higher electricity demand without overloading, which is especially important during peak loads. Larger capacity improves the flexibility and adaptability of the power grid and can better respond to load changes and emergencies. Larger capacity also helps reduce bottlenecks in the power grid and improves the reliability and stability of overall power transmission.
[0050] Transmission loss coefficient The acquisition logic is: obtain the frequency of the grid current, and the expression of the transmission loss coefficient within the monitoring time range is:
[0051] ,
[0052] In the formula, Indicates frequency, Indicates the monitoring time range, Indicates frequency Down The current at the moment, Indicates frequency The resistance under Indicates frequency Down Voltage at the moment;
[0053] In this application, the expected transmission loss coefficient The smaller the better, as follows:
[0054] The transmission loss coefficient indicates the loss ratio of electricity during transmission. A smaller loss coefficient means less power loss during transmission, more power can be effectively transmitted to the load end, and the power transmission efficiency is improved. A smaller loss coefficient helps reduce energy waste and environmental pollution, and improves the energy efficiency and sustainability of the power grid. Smaller losses also mean reduced loss costs, thereby reducing the overall transmission cost, making the power grid operation more economical and efficient.
[0055] The path optimization task is decomposed into subtasks of multiple stages. Each subtask solves the optimal path of the current stage from the starting point to the intermediate node, including the following steps:
[0056] Calculate the fitness value of each line, the function expression is: , where represents the fitness value, Indicates capacity, represents the transmission loss coefficient, represents the transmission cost, , , represent the capacity, transmission loss coefficient, and transmission cost proportionality coefficient respectively, and , , Both are greater than 0.
[0057] All intermediate nodes in the node set V are classified according to regions, that is, the intermediate nodes belonging to the same region are classified into one category. There are usually multiple pre-selected intermediate nodes within a region. The path optimization task is decomposed into sub-tasks of multiple stages. The lines of all intermediate nodes in the first region are traced forward from the starting node. The intermediate node corresponding to the line with the maximum fitness value is selected and connected to the starting node as the optimal path of the first stage, and the intermediate node connected to the starting node is marked as the output node. The line between the output node and all intermediate nodes in the second region is obtained, and the intermediate node corresponding to the line with the maximum fitness value is selected and connected to the output node as the optimal path of the second stage. Repeat the above steps until the optimal path selection of the terminal node is completed to obtain the optimal path for each stage.
[0058] The phased optimal path obtained by dynamic programming is used as the initial solution to construct a mixed integer linear programming model for global optimization, including the following steps:
[0059] After the optimization system obtains the optimal path of each node, it reversely traces the optimal path of each stage from the terminal node based on the fitness value. After obtaining the optimal path of each stage through reverse tracing, the optimal path of each stage of forward tracing is compared with the optimal path of each stage of corresponding reverse tracing. If the optimal path of the forward tracing stage is the same as the optimal path of the reverse tracing stage, no adjustment is made. If the optimal path of the forward tracing stage is different from the optimal path of the reverse tracing stage, the line with the largest fitness value is selected to update the optimal path of the forward tracing stage. After completing the update of the optimal path of each stage of forward tracing, the optimal path of each stage of forward tracing is used as the initial solution.
[0060] Based on decision variables Determine whether to select a slave node To Node The line, decision variable The expression is:
[0061] ,
[0062] The mixed integer linear programming model is to maximize the total fitness value of the power grid, and the function expression is:
[0063] ,
[0064] In the formula, Represents a slave node To Node The fitness value of the line, is the decision variable, Represents a collection of lines;
[0065] And the lines between nodes need to meet the constraints:
[0066] Path displacement constraint ensures that there is only one path from the starting point to the end point:
[0067] (The out-degree of the starting point is 1);
[0068] (The out-degree of the end point is 1);
[0069] In the formula, V Represents a node set, s represents the starting node, and m represents the ending node.
[0070] Solving the mixed integer linear programming model with the MILP solver to obtain the optimal decision variables includes the following steps:
[0071] The optimal path obtained by dynamic programming is used as the initial solution to input the mixed integer linear programming model. The mixed integer linear programming model is solved by a MILP solver (such as CPLEX, Gurobi, etc.). The solver uses the initial solution to perform global optimization and adjust the decision variables. The value of maximizes the total fitness value and satisfies all constraints. The overall optimal path is extracted from the output of the MILP solver. The overall optimal path is the line combination from the starting node s to the end node m.
[0072] According to the solution results, the optimal power supply path and transmission power distribution plan of the power grid diagram are determined, including the following steps:
[0073] Extracting optimal decision variables from the output of a MILP solver The value of the decision variable The value of determines which lines are selected (i.e. 1), starting from the starting node s, according to the decision variables The value of is used to gradually construct the optimal path from the starting node s to the end node m;
[0074] According to the optimal path, calculate the transmission power on each line, set the total required power D (the total required power from the starting node s to the end node m), create a dictionary Allocation-Plan to store the transmission power and loss on each line, and set each selected line The transmission power Store in Allocation-Plan to ensure that the total transmission power meets the demand and the total fitness value is greater than or equal to the fitness threshold.
[0075] Embodiment 3: Regularly comprehensively evaluate the optimal power supply path and the transmission power allocation plan. When the nodes of the power grid diagram change or the optimal power supply path and the transmission power allocation plan are evaluated to be unqualified, the power grid path is optimized again, including the following steps:
[0076] Regularly obtain the transmission cost of the optimal power supply path and transmission power allocation plan from the power grid management system ,capacity and transmission loss coefficient .
[0077] Transmission costs The acquisition logic is: obtain the construction cost and maintenance cost of the line, and sum the construction cost and maintenance cost to get the transmission cost ;
[0078] In this application, the expected transmission cost The smaller the better, as follows:
[0079] Transmission costs include construction costs and maintenance costs. Reducing transmission costs helps reduce the overall economic expenditure of power transmission. Lower transmission costs mean that more grid infrastructure can be built and maintained under the same budget, thereby improving the coverage and reliability of the power supply network. Lower costs also mean higher economic efficiency, which helps to reduce electricity prices and benefit users.
[0080] capacity The acquisition logic is as follows: the capacity of a line indicates the maximum amount of power that the line can bear, which is obtained from the design and construction specifications of the power grid system and is usually clearly specified in the technical specifications of the power grid equipment and lines;
[0081] In this application, the expected capacity The bigger the better, as follows:
[0082] Larger capacity means that the line can transmit more electricity and meet higher electricity demand without overloading, which is especially important during peak loads. Larger capacity improves the flexibility and adaptability of the power grid and can better respond to load changes and emergencies. Larger capacity also helps reduce bottlenecks in the power grid and improves the reliability and stability of overall power transmission.
[0083] Transmission loss coefficient The acquisition logic is: obtain the frequency of the grid current, and the expression of the transmission loss coefficient within the monitoring time range is:
[0084] ,
[0085] In the formula, Indicates frequency, Indicates the monitoring time range, Indicates frequency Down The current at the moment, Indicates frequency The resistance under Indicates frequency Down Voltage at the moment;
[0086] In this application, the expected transmission loss coefficient The smaller the better, as follows:
[0087] The transmission loss coefficient indicates the loss ratio of electricity during transmission. A smaller loss coefficient means less power loss during transmission, more power can be effectively transmitted to the load end, and the power transmission efficiency is improved. A smaller loss coefficient helps reduce energy waste and environmental pollution, and improves the energy efficiency and sustainability of the power grid. Smaller losses also mean reduced loss costs, thereby reducing the overall transmission cost, making the power grid operation more economical and efficient.
[0088] Based on the transmission cost ,capacity and transmission loss coefficient Calculate the total fitness value of the optimal power supply path and the transmission power allocation plan. If the total fitness value is greater than or equal to the fitness threshold, the optimal power supply path and the transmission power allocation plan are evaluated to be qualified. If the total fitness value is less than the fitness threshold, the optimal power supply path and the transmission power allocation plan are evaluated to be unqualified.
[0089] When the nodes in the power grid diagram change or the evaluation of the optimal power supply path and the transmission power distribution plan is unqualified, the power grid path is re-optimized, including re-searching for the optimal path (including re-searching for the overall optimal path or re-searching for the phased optimal path).
[0090] Embodiment 4: The power grid diagram power supply path intelligent optimization system based on homologous maintenance described in this embodiment includes a phased optimization module, a global optimization module, and an evaluation module;
[0091] Phased optimization module: obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, establishes a line set E for all node lines, and obtains the attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, and each subtask solves the optimal path of the current stage from the starting point to the intermediate node. The optimal path information of the current stage is sent to the global optimization module;
[0092] Global optimization module: The phased optimal path obtained by dynamic programming is used as the initial solution, and a mixed integer linear programming model is constructed for global optimization. The mixed integer linear programming model is solved by the MILP solver to obtain the optimal decision variables. Based on the solution results, the optimal power supply path and transmission power allocation plan of the power grid diagram are determined, and the optimal power supply path and transmission power allocation plan of the power grid diagram are sent to the evaluation module;
[0093] Evaluation module: Regularly conduct comprehensive evaluations on the optimal power supply path and transmission power allocation plan. When the nodes in the power grid diagram change or the evaluation of the optimal power supply path and transmission power allocation plan fails, re-optimize the power grid path.
[0094] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0095] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0096] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. An intelligent optimization method for power supply path of power grid diagram based on homologous maintenance, characterized by: The optimization method comprises the following steps: The optimization system obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, establishes a line set E for all node lines, and obtains the attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, and each subtask solves the optimal path from the starting point to the intermediate node in the current stage; The optimal path obtained by dynamic programming is used as the initial solution, and a mixed integer linear programming model is constructed for global optimization. The mixed integer linear programming model is solved by MILP solver to obtain the optimal decision variables, and the optimal power supply path and transmission power distribution plan of the power grid diagram are determined according to the solution results. Regularly conduct comprehensive evaluations on the optimal power supply path and transmission power allocation plan. When the nodes in the power grid diagram change or the optimal power supply path and transmission power allocation plan are evaluated as unqualified, re-optimize the power grid path; The path optimization task is decomposed into subtasks of multiple stages. Each subtask solves the optimal path of the current stage from the starting point to the intermediate node, including the following steps: All intermediate nodes in the node set V are classified according to regions. The intermediate nodes in the same region are classified into one category. The path optimization task is decomposed into subtasks of multiple stages. The routes of all intermediate nodes in the first region are traced forward from the starting node. The intermediate node corresponding to the route with the maximum fitness value is selected and connected to the starting node as the optimal path of the first stage. The intermediate node connected to the starting node is marked as the output node. Obtain the lines between the output node and all the intermediate nodes in the second area, select the intermediate node corresponding to the line with the maximum fitness value and connect it with the output node as the optimal path of the second stage, repeat the above steps until the optimal path selection of the terminal node is completed, so as to obtain the optimal path of each stage; The function expression of the line fitness value is: , where represents the fitness value, Indicates capacity, represents the transmission loss coefficient, represents the transmission cost, , , represent the capacity, transmission loss coefficient, and transmission cost proportionality coefficient respectively, and , , All are greater than 0; Solving the mixed integer linear programming model with the MILP solver to obtain the optimal decision variables includes the following steps: The optimal path obtained by dynamic programming is used as the initial solution to input into the mixed integer linear programming model. The mixed integer linear programming model is solved by the MILP solver. The solver uses the initial solution to perform global optimization and adjust the decision variables. The value of maximizes the total fitness value and satisfies all constraints. The overall optimal path is extracted from the output of the MILP solver. The overall optimal path is the line combination from the starting node s to the end node m.
2. The method for intelligent optimization of power supply paths in a power grid diagram based on homologous maintenance according to claim 1 is characterized in that: Get the attribute data of each line in the line set E, including the transmission cost ,capacity and transmission loss coefficient .
3. The method for intelligent optimization of power supply paths in a power grid diagram based on homologous maintenance according to claim 2 is characterized in that: Obtaining the attribute data of each line in the line set E includes the following steps: Transmission costs The acquisition logic is: obtain the construction cost and maintenance cost of the line, and sum the construction cost and maintenance cost to get the transmission cost ; capacity The acquisition logic is as follows: the capacity of the line indicates the maximum amount of power that the line can bear, which is obtained from the power grid system; Transmission loss coefficient The acquisition logic is: obtain the frequency of the grid current, and the expression of the transmission loss coefficient within the monitoring time range is: , In the formula, Indicates frequency, Indicates the monitoring time range, Indicates frequency Down The current at the moment, Indicates frequency The resistance under Indicates frequency Down Voltage at the moment.
4. The method for intelligent optimization of power supply paths in a power grid diagram based on homologous maintenance according to claim 3 is characterized in that: The optimization system obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, and establishes a line set E for all node lines, including the following steps: Obtain information about nodes and lines connecting nodes from the power grid diagram, including node locations, load conditions, line capacity, and length information, traverse all node information in the power grid diagram, add each node to the node set V, and assign a unique identifier or name to each node; Traverse the line information in the power grid diagram, including the starting node and the ending node of each line connection. Each line is represented as an ordered pair. , in the line is the starting node, As the end node, each ordered pair Added to the line set E, it represents the line in the power grid.
5. An intelligent optimization system for power supply paths of power grid diagrams based on homologous maintenance, used to implement the optimization method described in any one of claims 1 to 4, characterized in that: Including phased optimization module, global optimization module and evaluation module; Phased optimization module: obtains information about nodes and lines connecting nodes from the power grid diagram, establishes a node set V for all nodes, establishes a line set E for all node lines, obtains attribute data of each line in the line set E, decomposes the path optimization task into subtasks of multiple stages, and each subtask solves the optimal path from the starting point to the intermediate node in the current stage; Global optimization module: The phased optimal path obtained by dynamic programming is used as the initial solution, and a mixed integer linear programming model is constructed for global optimization. The mixed integer linear programming model is solved by the MILP solver to obtain the optimal decision variables. Based on the solution results, the optimal power supply path and transmission power distribution plan of the power grid diagram are determined; Evaluation module: Regularly conduct comprehensive evaluations on the optimal power supply path and transmission power allocation plan. When the nodes in the power grid diagram change or the evaluation of the optimal power supply path and transmission power allocation plan fails, re-optimize the power grid path.
