WO2025061009A1 - Constraint set reduction method and system for electric power system optimization problem - Google Patents
Constraint set reduction method and system for electric power system optimization problem Download PDFInfo
- Publication number
- WO2025061009A1 WO2025061009A1 PCT/CN2024/119307 CN2024119307W WO2025061009A1 WO 2025061009 A1 WO2025061009 A1 WO 2025061009A1 CN 2024119307 W CN2024119307 W CN 2024119307W WO 2025061009 A1 WO2025061009 A1 WO 2025061009A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- reduced
- graph
- constraint
- directed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9035—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/008—Circuit arrangements for AC mains or AC distribution networks involving trading of energy or energy transmission rights
-
- H02J2103/35—
Definitions
- the present invention relates to the technical field of power systems, and in particular to a constraint set reduction method and system for power system optimization problems.
- the resource allocation optimization problem in the electricity spot market needs to be solved by modeling it as a mixed integer programming problem.
- the scale of the problems to be solved in the electricity spot market is getting larger and larger, and the requirements for solution efficiency are becoming more and more stringent.
- the pre-solution module can eliminate redundant constraints in the problem, reduce the problem scale, and tighten the feasible domain of the problem, which plays a key role in improving the solution efficiency.
- the pre-solution schemes applied to power market optimization problems generally come from the built-in default algorithms of general mathematical programming solvers, mainly including infeasibility detection, tightening of upper and lower bounds of constraints, tightening of constraint coefficients, and various classical reduction methods.
- general methods often fail to effectively utilize the complex relationship between problem constraints and variables, resulting in the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
- the present invention provides a constraint intensive reduction method and system for power system optimization problems, which solves the technical problem that it is currently difficult to effectively utilize the complex relationship between problem constraints and variables, resulting in the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
- a first aspect of the present invention provides a constraint set reduction method for a power system optimization problem, comprising the following steps:
- Constraint set Based on the preset optimization problem of the power system, multiple constraints to be reduced are determined and the constraints to be reduced are constructed. Constraint set;
- each node in the directed order graph is traversed and redundant edge elimination processing is performed, and constraint reduction is performed on the constraint set to be reduced according to the redundant edge elimination processing result.
- the steps of determining a plurality of constraints to be reduced and constructing a set of constraints to be reduced specifically include:
- constraints containing two decision variables of 0-1 are screened out as constraints to be reduced, and a constraint set to be reduced is constructed.
- each participating variable of the constraint to be reduced is taken as a node, and the nodes are connected according to the order relationship of the participating variables, and before the step of constructing a directed order graph, the method further includes:
- the step of performing mathematical deformation on each constraint to be reduced in the constraint set to be reduced to obtain the participating variables and the order relationship of the participating variables of each constraint to be reduced specifically comprises:
- Each to-be-reduced constraint in the to-be-reduced constraint set is mathematically transformed to obtain an order constraint, wherein the order constraint is an inequality constraint and the order constraint includes participating variables and an order relationship of the participating variables.
- the step of performing node topological sorting on all nodes in the directed sequence graph according to the in-degree size of each node in the directed sequence graph specifically includes:
- the inserted node and the edge linked to it are deleted from the directed sequence graph, and the in-degree of each node in the directed sequence graph is updated;
- the step of inserting the node with the smallest in-degree in the directed sequence graph into the topological sorting list is performed until all the nodes in the directed sequence graph are inserted into the topological sorting list in sequence, thereby obtaining a node topological sorting result.
- the steps of traversing each node in the directed ordered graph and performing redundant edge elimination processing according to the node topological sorting result, and performing constraint reduction on the constraint set to be reduced according to the redundant edge elimination processing result specifically include:
- the corresponding to-be-reduced constraints in the to-be-reduced constraint set are reduced according to the reduced redundant edges.
- the step of traversing each node in the directed ordered graph and performing redundant edge elimination processing according to the node topological sorting result to obtain the transfer reduction graph specifically includes:
- edge e is deleted from the directed sequence graph to obtain a transitive reduction graph.
- comparing the transitive reduction graph with the directed order graph to determine the step of reducing redundant edges specifically includes:
- the transitive reduction graph is compared with the directed order graph, and edges that exist in the directed order graph but do not exist in the transitive reduction graph are screened out as reduced redundant edges.
- the step of reducing the corresponding to-be-reduced constraints in the to-be-reduced constraint set according to the reduced redundant edges specifically includes:
- the corresponding participating variables and their corresponding to-be-reduced constraints are matched in the to-be-reduced constraint set through the nodes on both sides of the reduced redundant edge. bundle;
- the matched constraints to be reduced are deleted from the set of constraints to be reduced.
- the present invention further provides a constraint set reduction system for power system optimization problems, comprising:
- a reduction constraint acquisition module is used to determine multiple constraints to be reduced based on a preset optimization problem of the power system and to construct a set of constraints to be reduced;
- a graph construction module is used to take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order relationship of the participating variables to construct a directed order graph;
- a node topology sorting module is used to perform node topology sorting on all nodes in the directed sequence graph according to the in-degree size of each node in the directed sequence graph;
- the constraint reduction module is used to traverse each node in the directed order graph according to the node topology sorting result and perform redundant edge elimination processing, and perform constraint reduction on the constraint set to be reduced according to the redundant edge elimination processing result.
- the present invention further provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
- Memory used to store computer programs
- the processor is used to implement the above method steps when executing the program stored in the memory.
- the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above-mentioned method steps when executed by a processor.
- the present invention determines a set of constraints to be reduced from a preset optimization problem of an electric power system, connects participating variables of each constraint to be reduced as nodes according to the order relationship of the participating variables, constructs a directed order graph, performs node topology sorting on all nodes using the in-degree size of each node in the directed order graph, traverses each node in the directed order graph according to the node topology sorting result and performs redundant edge elimination processing, and performs constraint reduction on the set of constraints to be reduced according to the redundant edge elimination processing result, thereby effectively utilizing the relationship between problem constraints and variables, avoiding missing a large number of redundant constraints that are difficult to detect, facilitating rapid solution, and improving solution efficiency.
- Figure 1 is a schematic diagram of the output range of a hydropower unit
- FIG4 is a schematic diagram of eliminating redundant edges in a directed sequence graph provided by an embodiment of the present invention.
- FIG6 is a schematic diagram of an IEEE6 node connection topology structure provided in an embodiment of the present invention.
- FIG7 is a directed sequence graph provided by an embodiment of the present invention.
- FIG11 is a schematic diagram of the structure of a constraint set reduction system for a power system optimization problem provided by an embodiment of the present invention.
- the pre-solution solutions applied to power market optimization problems generally come from the built-in default algorithms of general mathematical programming solvers, mainly including infeasibility detection, tightening of upper and lower bounds of constraints, tightening of constraint coefficients, and various classical reduction methods.
- general methods are often difficult to effectively use.
- the complex relationship between problem constraints and variables may lead to the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
- the unit combination problem is one of the most critical issues in the electricity market clearing. Its purpose is to determine the start and stop status of each unit. Due to the complexity of the actual problem scenario, a large number of constraints need to be introduced into the mathematical model of the unit combination problem to describe the complex business logic. These constraints are usually an important factor in determining the efficiency of problem solving.
- the solver can make full use of this property to speed up the calculation of subsequent modules.
- unit start and stop and hydropower vibration zone are the basic business logic.
- the constraints used to characterize this logic account for a large proportion of all model constraints, which increases the scale of the optimization problem and affects the efficiency of solving the optimization problem.
- i is the sequence number of the unit
- t is the decision dimension in time
- Wi ,t is the start state decision of unit i in period t
- Yi is the stop state decision of unit i in period t
- Ii ,t is the start and stop state of unit i in period t
- Ii ,t-1 is the start and stop state of unit i in period t-1.
- the first constraint describes the change of the unit's start-up or shutdown status when the unit makes a startup or shutdown decision; the second constraint restricts the unit from being started and shut down at the same time.
- the output range of hydropower units is not continuous, as shown in Figure 1 As shown in Figure 1, the output range of the hydropower unit is shown, which requires us to introduce a 0-1 variable Indicates whether the output of the hydropower unit is within a certain range, and introduces the following constraints to ensure that the output of the unit is within a certain range.
- the constraint expression is:
- S represents the number of units.
- the order constraints are: represents a start-stop decision different from xi .
- the direction of the inequality sign determines the logical order of the variables on both sides of the constraint.
- the relationship between the direction of the inequality sign and the order of the variables on both sides of the constraint is set by yourself, such as The order relationship of the variables on both sides of the constraint is shown in Figure 2.
- a constraint set reduction method for a power system optimization problem includes the following steps 101 to 104, specifically including the following steps:
- the preset optimization problem of the power system is built based on the variables of the power system.
- the optimization problem generally includes an objective function and constraints, and determines the set of order constraints that need to be reduced.
- the participating variables and the participating variable order relationship are obtained based on the variables in the constraint formula to be reduced after determining the constraint to be reduced, wherein the participating variables refer to the variables participating in the decision-making in the constraint to be reduced, and the participating variable order relationship refers to the order relationship between the participating variables.
- the participating variable order relationship can be mapped based on the size relationship between the participating variables, and the participating variable order relationship is set based on the size relationship between the participating variables.
- the variables participating in the constraints to be reduced can be used as nodes, and directed edges can be connected between the nodes according to the order of the participating variables.
- a directed graph can be obtained with the number of nodes equal to the number of variables and the number of edges equal to the number of constraints. Assuming that there is no loop in the graph that can be obtained (otherwise the series of inequality constraints that form the loop will be converted into equations), a directed acyclic graph is formed based on graph theory.
- R and E both represent nodes, and the in-degree of each node R is defined as the number of edges entering R; the out-degree is defined as the number of edges departing from R.
- each node in the directed order graph is traversed and redundant edge elimination is performed, and according to the redundant edge elimination result, constraint reduction is performed on the constraint set to be reduced.
- the transitive reduction scheme converts the logical reasoning required in the transitive reduction method into the problem of eliminating redundant edges in a directed order graph, as shown in Figure 4.
- Figure 4 illustrates the elimination of redundant edges in a directed order graph, thereby eliminating the connecting edges between variables x1 and x4 . After the eliminated connecting edges are mapped to the set of constraints to be reduced, the edges that can be deleted without changing the reachability of the graph correspond to the redundant reducible parts in the constraint set.
- the present invention determines the set of constraints to be reduced from the preset optimization problem of the power system, connects the participating variables of each constraint to be reduced as nodes according to the order relationship of the participating variables, constructs a directed order graph, and uses the in-degree size of each node in the directed order graph to perform node topological sorting on all nodes.
- each node in the directed order graph is traversed and redundant edge elimination is performed, and constraint reduction is performed on the constraint set to be reduced according to the redundant edge elimination result, thereby effectively utilizing the relationship between the problem constraints and the variables, avoiding missing a large number of redundant constraints that are difficult to detect, facilitating rapid solution, and improving solution efficiency.
- a constraint set reduction method for a power system optimization problem provided by another embodiment of the present invention includes the following steps:
- step 201 specifically includes:
- the constraints containing two decision variables of 0-1 are selected as the constraints to be reduced, and the constraint set to be reduced is constructed.
- the present invention performs transitive reduction on constraints containing two decision variables of 0-1, wherein the constraints of the two decision variables of 0-1 refer to that the decision is 0 or 1, and different decisions cannot be made at the same time.
- the trivial pre-solution method will be used to reduce the model size and determine the values of some 0-1 variables in advance.
- each constraint to be reduced in the constraint set to be reduced is mathematically transformed through mathematical operations and transformations, such as the participating variables in the power on/off constraint W 1 +Y 1 ⁇ 1 are W 1 and Y 1 , and a mapping relationship between constraints and variables is established in the computer for subsequent establishment of an ordered directed sequence graph.
- each to-be-reduced constraint in the to-be-reduced constraint set is mathematically transformed to obtain an order constraint, wherein the order constraint is an inequality constraint and includes participating variables and an order relationship of the participating variables.
- the constraints to be reduced need to be simplified in form by introducing auxiliary constraints and merging similar terms and equivalent mathematical transformations, so as to convert the constraints to be reduced into order constraints of inequalities involving only the participating variables.
- the direction of the inequality sign determines the logical order of the variables on both sides of the constraint.
- the relationship between the direction of the inequality sign and the order relationship of the variables on both sides of the constraint is set by yourself, such as The order relationship of the variables on both sides of the constraint is shown in Figure 2.
- the multiple constraints to be reduced can be sorted according to the number of decision variables. In general examples, they are sorted in ascending order, that is, sorted according to the difficulty of constraint reduction.
- the sorted multiple constraints to be reduced form a constraint set to be reduced. In practical applications, if there is a constraint that contains a variable in the constraint set to be reduced, the format is similar to the following:
- i the unit number
- S the number of units
- xi the 0-1 decision variable of unit i
- xi 0 or 1
- y represents other decision variables
- b the right value of the constraint.
- the constraint format is similar to the following:
- step 203 in this embodiment is consistent with step 101 in the aforementioned embodiment and will not be described in detail here.
- step 204 includes:
- the topological sorting list is empty.
- in-degree is defined as the number of edges connected to a node.
- the inserted node and the edge linked to it are deleted from the directed sequence graph, and the in-degree of each node in the directed sequence graph is updated.
- the nodes in the directed sequence graph are not empty, then continue to insert the node with the smallest in-degree in the directed sequence graph into the topological sorting list until all the nodes in the directed sequence graph are empty, and the order in which the nodes are inserted into the topological sorting list in turn is the node topological sorting result.
- the node topology sorting process is: select a node u with an in-degree of 0 in the directed graph G and add it to the sorting. Then, for each node v that has not been sorted, if there is a directed edge from u to v, we reduce the in-degree of node v by one. Repeat the above process until all nodes are sorted. The sorting result is the node topology. Sort the results.
- each node in the directed order graph is traversed and redundant edges are eliminated to obtain a transitive reduction graph.
- step 205 includes:
- each node in the directed sequence graph is traversed in turn to determine the edges connecting each two nodes in the directed sequence graph.
- edge e that can go from the departure node u to the arrival node v, then delete edge e from the directed sequence graph to obtain a transitive reduction graph.
- edge e is a logically redundant edge, that is, a logically redundant constraint in the constraint system.
- the edge relationships between the three are u>v>z and u>z. Since node u can already reach z through the path u>v>z, and since u>v or v>z cannot be deleted because u cannot reach v or v cannot reach z after deleting the two paths u>v or v>z, the two paths u>v or v>z cannot be deleted.
- the edge u>z is an extra edge and can be deleted, which means that the edge u>z is a logically redundant edge, which is a logically redundant constraint in the constraint system.
- a transitive reduction graph can also be constructed based on top-down transitive reduction and bottom-up transitive closure. Specifically, the construction of the transitive closure starts from the empty edge set E’ and continuously adds new edges. For example, for each node u traversed by topological sorting, for each node v that can be reached by u in the set E, if there is no path from u to v in the set E’, then (u,v) is added to the set E’.
- the transitive reduction graph Gt when we obtain the transitive reduction graph Gt , we can map its edge set back to the constraint set. At this time, since the directed order graph G and the transitive reduction graph Gt have the same transitive closure, the feasible domain range represented by the constraint does not change.
- the cardinality of the edge set of the reduction graph Gt is generally always smaller than that of the directed order graph G.
- the transitive reduction graph Gt is also called the transitive reduction graph of the directed order graph G.
- the transitive reduction graph is compared with the directed order graph, and edges that exist in the directed order graph but not in the transitive reduction graph are screened out as reduced redundant edges.
- step 207 includes:
- the corresponding participating variables and their corresponding to-be-reduced constraints are matched in the to-be-reduced constraint set by reducing the nodes on both sides of the redundant edge.
- the nodes are connected based on the participating variables, so there is a mapping relationship between the nodes and the participating variables.
- the corresponding participating variables and their corresponding constraints to be reduced can be matched in the set of constraints to be reduced based on the mapping relationship between the nodes and the participating variables.
- FIG6 illustrates an IEEE 6-node connection topology structure.
- a constraint set reduction method for a power system optimization problem provided by the present invention is applied to a system of an IEEE 6-node unit combination problem.
- the system is formed by connecting 6 buses Bus1, Bus2, Bus3, Bus4, Bus5, Bus6, 3 units G 1 , G 2 , G 3 , 3 load nodes D 1 , D 2 , D 3 and 11 tie lines. Specific data parameters are shown in Tables 1 to 3.
- the mathematical model of the unit commitment problem includes objective function and constraints.
- the objective function is:
- T is the number of optimization periods
- PC i (P i,t ) is the unit operation quotation
- I i,t is the unit start and stop status
- SU i,t and SD i,t are the unit startup and shutdown costs, respectively.
- this constraint requires that the load of each node can be satisfied, I b is all the units contained in node b, P i,t is the power of unit i at time t, j is the tie line number, is the tie line of input node b, is the tie line leaving node b, TL j,t is the output of tie line j in period t, and D b,t is the load of node b in period t.
- ir i and dr i are the climbing rate and the descending rate of unit i respectively.
- ⁇ is the maximum start-stop time
- Ti down and Ti up are the minimum off time and minimum on time of unit i, respectively.
- tie line output must meet a certain output range. are the minimum and maximum outputs of tie line j respectively.
- This patented method focuses on removing redundancy that only contains 0-1 variables, which in this example is the minimum start-stop time constraint.
- the trivial pre-solving method is used to reduce the model size and determine the values of some 0-1 variables in advance.
- some 0-1 variables can be determined in advance through the following business logic to simulate the process of trivial pre-solving of the general solver.
- node 4 and load 1 require a power greater than 160MW.
- node 4 is connected by only two paths, path 1-2-4 and path 1-4.
- the upper limit of all tie lines in the two paths is 160MW.
- the patented method can delete redundant constraints for the following constraints.
- a directed order graph can be constructed as shown in FIG7 .
- nodes are continuously deleted according to the in-degree of the directed graph nodes to obtain a topological sort.
- the topological sorting process is shown in FIG8 .
- each node is traversed according to the topological sorting to obtain the transitive reduction graph as shown in FIG9 .
- connections can be checked. These connections are the edges whose redundant constraints can be deleted, as shown in FIG10 .
- FIG10 illustrates a simplified directed order graph, in which the dotted lines are the edges that can be deleted.
- edges that can be deleted are mapped to the constraint set, so that the inequality system after redundant filtering can be obtained as follows: I 1,11 -I 1,12 ⁇ 1-I 1,13 I 1,11 -I 1,12 ⁇ 1-I 1,15 I 1,12 -I 1,13 ⁇ 1-I 1,16 I 1,13 -I 1,14 ⁇ 1-I 1,17 I 1,14 -I 1,15 ⁇ 1-I 1,17 I 1,15 -I 1,16 ⁇ 1-I 1,17 I 1,14 ⁇ I 1,15 I 1,15 ⁇ I 1,16 I 1,16 ⁇ I 1,17 ;
- a SCUC problem for six units with 24 periods of time corresponds to some unit on/off constraints, in which three redundant constraints are hidden. At this time, manual logical deduction is completely unable to identify the reducible constraints. If a constraint set reduction method for power system optimization problems is proposed by the present invention, transfer reduction is performed based on a transfer order graph, thereby easily reducing the three redundant constraints.
- the present invention further provides a constraint set reduction system for power system optimization problems, including:
- the reduction constraint acquisition module 100 is used to determine a plurality of constraints to be reduced based on a preset optimization problem of the power system, and to construct a set of constraints to be reduced;
- a graph construction module 200 is used to take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order relationship of the participating variables to construct a directed order graph;
- the node topology sorting module 300 is used to sort the nodes in the directed sequence graph according to the in-degree of each node. Perform node topological sorting on all nodes in the directed order graph;
- the constraint reduction module 400 is used to traverse each node in the directed order graph according to the node topology sorting result and perform redundant edge elimination processing, and perform constraint reduction on the constraint set to be reduced according to the redundant edge elimination processing result.
- the present invention also provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
- Memory used to store computer programs
- the processor is used to implement the above method steps when executing the program stored in the memory.
- the present invention also provides a computer-readable storage medium, in which a computer program is stored.
- a computer program is stored.
- the above method steps are implemented.
- the disclosed systems, electronic devices, computer-readable storage media and methods can be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of modules is only a logical function division. There may be other division methods in actual implementation.
- multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.
- Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
- modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above-mentioned integrated modules may be implemented in the form of hardware or software. It is implemented in the form of software function modules.
- the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of the present invention in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the various embodiments of the method of the present invention through a computer device (which can be a personal computer, server, or network device, etc.).
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- General Health & Medical Sciences (AREA)
- Water Supply & Treatment (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Public Health (AREA)
- Power Engineering (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
Description
本申请要求于2023年9月20日提交中国专利局、申请号为202311211715.7、发明名称为“一种电力系统优化问题的约束集约减方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on September 20, 2023, with application number 202311211715.7 and invention name “A Constrained Aggregate Reduction Method and System for Power System Optimization Problems”, the entire contents of which are incorporated by reference in this application.
本发明涉及电力系统技术领域,尤其涉及一种电力系统优化问题的约束集约减方法及系统。The present invention relates to the technical field of power systems, and in particular to a constraint set reduction method and system for power system optimization problems.
目前,在电力现货市场中的资源配置优化问题需要通过建模为混合整数规划问题解决,同时,电力现货市场中的待求解的问题规模越来越大,对求解效率的要求也越发严格。预求解模块作为混合整数规划求解器的重要组成部分,能够消除问题中的冗余约束,缩减问题规模,收紧问题可行域,对提升求解效率有关键作用。At present, the resource allocation optimization problem in the electricity spot market needs to be solved by modeling it as a mixed integer programming problem. At the same time, the scale of the problems to be solved in the electricity spot market is getting larger and larger, and the requirements for solution efficiency are becoming more and more stringent. As an important part of the mixed integer programming solver, the pre-solution module can eliminate redundant constraints in the problem, reduce the problem scale, and tighten the feasible domain of the problem, which plays a key role in improving the solution efficiency.
目前,应用于电力市场优化问题的预求解方案普遍来自于通用数学规划求解器的内置默认算法,主要包括不可行性探测、约束上下界收紧、约束系数收紧及各类经典约减方法。尽管上述方法对任意混合整数均具有适用性,但在电力市场优化这一特殊优化场景中,泛用方法往往难以有效利用问题约束与变量间复杂的关系,以至于遗漏大量不易探测的冗余约束,不利于快速求解,对求解效率造成不利影响。At present, the pre-solution schemes applied to power market optimization problems generally come from the built-in default algorithms of general mathematical programming solvers, mainly including infeasibility detection, tightening of upper and lower bounds of constraints, tightening of constraint coefficients, and various classical reduction methods. Although the above methods are applicable to any mixed integers, in the special optimization scenario of power market optimization, general methods often fail to effectively utilize the complex relationship between problem constraints and variables, resulting in the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
发明内容Summary of the invention
本发明提供了一种电力系统优化问题的约束集约减方法及系统,解决了目前难以有效利用问题约束与变量间复杂的关系,以至于遗漏大量不易探测的冗余约束,不利于快速求解,对求解效率造成不利影响的技术问题。The present invention provides a constraint intensive reduction method and system for power system optimization problems, which solves the technical problem that it is currently difficult to effectively utilize the complex relationship between problem constraints and variables, resulting in the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
有鉴于此,本发明第一方面提供了一种电力系统优化问题的约束集约减方法,包括以下步骤:In view of this, a first aspect of the present invention provides a constraint set reduction method for a power system optimization problem, comprising the following steps:
基于电力系统的预置优化问题,确定多个待约减约束,并构建待约减 约束集;Based on the preset optimization problem of the power system, multiple constraints to be reduced are determined and the constraints to be reduced are constructed. Constraint set;
将每个待约减约束的参与变量作为节点,并按照参与变量次序关系进行节点连接,构建有向次序图;Take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order of the participating variables to construct a directed order graph;
根据所述有向次序图中的每个节点的入度大小对所述有向次序图中的所有节点进行节点拓扑排序;Performing node topological sorting on all nodes in the directed sequence graph according to the in-degree size of each node in the directed sequence graph;
根据节点拓扑排序结果遍历所述有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对所述待约减约束集进行约束约减。According to the node topology sorting result, each node in the directed order graph is traversed and redundant edge elimination processing is performed, and constraint reduction is performed on the constraint set to be reduced according to the redundant edge elimination processing result.
优选地,基于电力系统的预置优化问题,确定多个待约减约束,并构建待约减约束集的步骤,具体包括:Preferably, based on a preset optimization problem of the power system, the steps of determining a plurality of constraints to be reduced and constructing a set of constraints to be reduced specifically include:
基于电力系统的预置优化问题,确定电力系统的约束集;Determine the constraint set of the power system based on the preset optimization problem of the power system;
基于所述电力系统的约束集,筛选出包含0-1两个决策变量的约束作为待约减约束,并构建待约减约束集。Based on the constraint set of the power system, constraints containing two decision variables of 0-1 are screened out as constraints to be reduced, and a constraint set to be reduced is constructed.
优选地,将每个待约减约束的参与变量作为节点,并按照参与变量次序关系进行节点连接,构建有向次序图的步骤之前,还包括:Preferably, each participating variable of the constraint to be reduced is taken as a node, and the nodes are connected according to the order relationship of the participating variables, and before the step of constructing a directed order graph, the method further includes:
对所述待约减约束集中的每个待约减约束进行数学形变,得到每个待约减约束的参与变量和参与变量次序关系。Mathematically transform each constraint to be reduced in the constraint set to be reduced to obtain participating variables and participating variable order relationships of each constraint to be reduced.
优选地,对所述待约减约束集中的每个待约减约束进行数学形变,得到每个待约减约束的参与变量和参与变量次序关系的步骤具体包括:Preferably, the step of performing mathematical deformation on each constraint to be reduced in the constraint set to be reduced to obtain the participating variables and the order relationship of the participating variables of each constraint to be reduced specifically comprises:
对所述待约减约束集中的每个待约减约束进行数学形变,得到次序约束,其中,所述次序约束为不等式约束,所述次序约束包含参与变量以及参与变量次序关系。Each to-be-reduced constraint in the to-be-reduced constraint set is mathematically transformed to obtain an order constraint, wherein the order constraint is an inequality constraint and the order constraint includes participating variables and an order relationship of the participating variables.
优选地,根据所述有向次序图中的每个节点的入度大小对所述有向次序图中的所有节点进行节点拓扑排序的步骤,具体包括:Preferably, the step of performing node topological sorting on all nodes in the directed sequence graph according to the in-degree size of each node in the directed sequence graph specifically includes:
对拓扑排序列表进行初始化;Initialize the topological sorted list;
利用广度/深度优先搜索算法遍历所述有向次序图中的每个节点,将所述有向次序图中入度最小的节点插入所述拓扑排序列表中;Using a breadth/depth first search algorithm to traverse each node in the directed sequence graph, inserting the node with the smallest in-degree in the directed sequence graph into the topological sorting list;
基于所述拓扑排序列表中插入的节点,将所插入的节点以及其所链接的边从所述有向次序图中删除,更新所述有向次序图中各节点的入度;Based on the node inserted in the topological sorting list, the inserted node and the edge linked to it are deleted from the directed sequence graph, and the in-degree of each node in the directed sequence graph is updated;
基于更新后的所述有向次序图中的剩余节点的入度,重新执行将所述 有向次序图中入度最小的节点插入所述拓扑排序列表中的步骤,直至所述有向次序图中的所有节点均依次被插入至所述拓扑排序列表中,得到节点拓扑排序结果。Based on the updated in-degree of the remaining nodes in the directed sequence graph, re-execute the The step of inserting the node with the smallest in-degree in the directed sequence graph into the topological sorting list is performed until all the nodes in the directed sequence graph are inserted into the topological sorting list in sequence, thereby obtaining a node topological sorting result.
优选地,根据节点拓扑排序结果遍历所述有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对所述待约减约束集进行约束约减的步骤,具体包括:Preferably, the steps of traversing each node in the directed ordered graph and performing redundant edge elimination processing according to the node topological sorting result, and performing constraint reduction on the constraint set to be reduced according to the redundant edge elimination processing result specifically include:
根据节点拓扑排序结果遍历所述有向次序图中的各个节点并进行冗余边消除处理,得到传递约减图;Traversing each node in the directed order graph according to the node topological sorting result and performing redundant edge elimination processing to obtain a transitive reduction graph;
将所述传递约减图与所述有向次序图进行对比,确定约减冗余边;Comparing the transitive reduction graph with the directed order graph to determine the reduced redundant edges;
根据所述约减冗余边对所述待约减约束集中对应的待约减约束进行约减。The corresponding to-be-reduced constraints in the to-be-reduced constraint set are reduced according to the reduced redundant edges.
优选地,根据节点拓扑排序结果遍历所述有向次序图中的各个节点并进行冗余边消除处理,得到传递约减图的步骤,具体包括:Preferably, the step of traversing each node in the directed ordered graph and performing redundant edge elimination processing according to the node topological sorting result to obtain the transfer reduction graph specifically includes:
根据节点拓扑排序结果依次遍历所述有向次序图中的各个节点,确定所述有向次序图中的两两节点之间所链接的边;Traversing each node in the directed sequence graph in turn according to the node topological sorting result, and determining the edges connecting two nodes in the directed sequence graph;
根据节点拓扑排序结果依次遍历所述有向次序图中的各个边e=(u,v),其中,e表示边,u表示出发节点,v表示到达节点,判断所述有向次序图中是否存在除了边e外的其它边能从出发节点u至到达节点v;According to the node topological sorting result, traverse each edge e=(u,v) in the directed sequence graph in turn, where e represents an edge, u represents a departure node, and v represents an arrival node, and determine whether there are other edges in the directed sequence graph that can go from the departure node u to the arrival node v except the edge e;
若判断所述有向次序图中存在除了边e外的其它边能从出发节点u至到达节点v,则将边e从所述有向次序图中删除,得到传递约减图。If it is determined that there are other edges in the directed sequence graph except edge e that can reach the arrival node v from the departure node u, then edge e is deleted from the directed sequence graph to obtain a transitive reduction graph.
优选地,将所述传递约减图与所述有向次序图进行对比,确定约减冗余边的步骤,具体包括:Preferably, comparing the transitive reduction graph with the directed order graph to determine the step of reducing redundant edges specifically includes:
将所述传递约减图与所述有向次序图进行对比,筛选出存在于所述有向次序图且不存在于所述传递约减图中的边作为约减冗余边。The transitive reduction graph is compared with the directed order graph, and edges that exist in the directed order graph but do not exist in the transitive reduction graph are screened out as reduced redundant edges.
优选地,根据所述约减冗余边对所述待约减约束集中对应的待约减约束进行约减的步骤,具体包括:Preferably, the step of reducing the corresponding to-be-reduced constraints in the to-be-reduced constraint set according to the reduced redundant edges specifically includes:
获取所述约减冗余边两侧的节点;Obtaining nodes on both sides of the reduced redundant edge;
基于节点与参与变量之间的映射关系,通过所述约减冗余边两侧的节点在所述待约减约束集中匹配出相应的参与变量以及其对应的待约减约 束;Based on the mapping relationship between nodes and participating variables, the corresponding participating variables and their corresponding to-be-reduced constraints are matched in the to-be-reduced constraint set through the nodes on both sides of the reduced redundant edge. bundle;
将所匹配出的待约减约束在所述待约减约束集中进行删除。The matched constraints to be reduced are deleted from the set of constraints to be reduced.
第二方面,本发明还提供了一种电力系统优化问题的约束集约减系统,包括:In a second aspect, the present invention further provides a constraint set reduction system for power system optimization problems, comprising:
约减约束获取模块,用于基于电力系统的预置优化问题,确定多个待约减约束,并构建待约减约束集;A reduction constraint acquisition module is used to determine multiple constraints to be reduced based on a preset optimization problem of the power system and to construct a set of constraints to be reduced;
图构建模块,用于将每个待约减约束的参与变量作为节点,并按照参与变量次序关系进行节点连接,构建有向次序图;A graph construction module is used to take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order relationship of the participating variables to construct a directed order graph;
节点拓扑排序模块,用于根据所述有向次序图中的每个节点的入度大小对所述有向次序图中的所有节点进行节点拓扑排序;A node topology sorting module is used to perform node topology sorting on all nodes in the directed sequence graph according to the in-degree size of each node in the directed sequence graph;
约束约减模块,用于根据节点拓扑排序结果遍历所述有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对所述待约减约束集进行约束约减。The constraint reduction module is used to traverse each node in the directed order graph according to the node topology sorting result and perform redundant edge elimination processing, and perform constraint reduction on the constraint set to be reduced according to the redundant edge elimination processing result.
第三方面,本发明还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, the present invention further provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
存储器,用于存放计算机程序;Memory, used to store computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述的方法步骤。The processor is used to implement the above method steps when executing the program stored in the memory.
第四方面,本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法步骤。In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above-mentioned method steps when executed by a processor.
从以上技术方案可以看出,本发明具有以下优点:It can be seen from the above technical solutions that the present invention has the following advantages:
本发明通过从电力系统的预置优化问题中确定待约减约束集,将每个待约减约束的参与变量作为节点按照参与变量次序关系进行连接,构建有向次序图,利用有向次序图中的每个节点的入度大小对所有节点进行节点拓扑排序,根据节点拓扑排序结果遍历有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对待约减约束集进行约束约减,从而有效利用问题约束与变量间的关系,避免遗漏大量不易探测的冗余约束,有利于快速求解,提高求解效率。 The present invention determines a set of constraints to be reduced from a preset optimization problem of an electric power system, connects participating variables of each constraint to be reduced as nodes according to the order relationship of the participating variables, constructs a directed order graph, performs node topology sorting on all nodes using the in-degree size of each node in the directed order graph, traverses each node in the directed order graph according to the node topology sorting result and performs redundant edge elimination processing, and performs constraint reduction on the set of constraints to be reduced according to the redundant edge elimination processing result, thereby effectively utilizing the relationship between problem constraints and variables, avoiding missing a large number of redundant constraints that are difficult to detect, facilitating rapid solution, and improving solution efficiency.
图1为水电机组的出力区间示意图;Figure 1 is a schematic diagram of the output range of a hydropower unit;
图2为约束两侧变量的次序关系示意图;Figure 2 is a schematic diagram of the order relationship of the variables on both sides of the constraint;
图3为本发明一个实施例提供的一种电力系统优化问题的约束集约减方法的流程图;FIG3 is a flow chart of a constraint set reduction method for a power system optimization problem provided by an embodiment of the present invention;
图4为本发明实施例提供的有向次序图中的冗余边消除情况示意图;FIG4 is a schematic diagram of eliminating redundant edges in a directed sequence graph provided by an embodiment of the present invention;
图5为本发明另一个实施例提供的一种电力系统优化问题的约束集约减方法的流程图;FIG5 is a flow chart of a constraint set reduction method for a power system optimization problem provided by another embodiment of the present invention;
图6为本发明实施例提供的IEEE6节点连接拓扑结构示意图;FIG6 is a schematic diagram of an IEEE6 node connection topology structure provided in an embodiment of the present invention;
图7为本发明实施例提供的有向次序图;FIG7 is a directed sequence graph provided by an embodiment of the present invention;
图8为本发明实施例提供的拓扑排序过程示意图;FIG8 is a schematic diagram of a topological sorting process provided by an embodiment of the present invention;
图9为本发明实施例提供的传递约减图;FIG9 is a transfer reduction diagram provided by an embodiment of the present invention;
图10为本发明实施例提供的精简后的有向次序图;FIG10 is a simplified directed sequence graph provided by an embodiment of the present invention;
图11为本发明实施例提供的一种电力系统优化问题的约束集约减系统的结构示意图。FIG11 is a schematic diagram of the structure of a constraint set reduction system for a power system optimization problem provided by an embodiment of the present invention.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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.
目前,应用于电力市场优化问题的预求解方案普遍来自于通用数学规划求解器的内置默认算法,主要包括不可行性探测、约束上下界收紧、约束系数收紧及各类经典约减方法。尽管上述方法对任意混合整数均具有适用性,但在电力市场优化这一特殊优化场景中,泛用方法往往难以有效利 用问题约束与变量间复杂的关系,以至于遗漏大量不易探测的冗余约束,不利于快速求解,对求解效率造成不利影响。At present, the pre-solution solutions applied to power market optimization problems generally come from the built-in default algorithms of general mathematical programming solvers, mainly including infeasibility detection, tightening of upper and lower bounds of constraints, tightening of constraint coefficients, and various classical reduction methods. Although the above methods are applicable to any mixed integers, in the special optimization scenario of power market optimization, general methods are often difficult to effectively use. The complex relationship between problem constraints and variables may lead to the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
其中,机组组合问题作为电力市场出清中最关键的问题之一,其目的是决定各个机组启停的状态。由于实际问题场景较复杂,机组组合问题的数学模型中需要引入大量的约束用于刻画复杂的业务逻辑。这些约束通常是决定问题求解效率的重要因素。Among them, the unit combination problem is one of the most critical issues in the electricity market clearing. Its purpose is to determine the start and stop status of each unit. Due to the complexity of the actual problem scenario, a large number of constraints need to be introduced into the mathematical model of the unit combination problem to describe the complex business logic. These constraints are usually an important factor in determining the efficiency of problem solving.
在绝大多数情况下,刻画同一业务逻辑所用的约束数目越少,混合整数规划求解器在求解问题时的效率相对越高。尤其是在问题根节点求解较为困难时,如果能找到问题可行域更为紧凑简洁的表示,求解器可以充分利用这一性质加速后续模块的计算速度。In most cases, the fewer the number of constraints used to describe the same business logic, the more efficient the mixed integer programming solver is in solving the problem. Especially when the root node of the problem is difficult to solve, if a more compact and concise representation of the feasible domain of the problem can be found, the solver can make full use of this property to speed up the calculation of subsequent modules.
在机组组合问题中,机组启停、水电振动区为基本的业务逻辑,刻画这一逻辑所使用的约束在所有模型约束中占较大比重,这增加了优化问题的规模,影响了对优化问题的求解效率。In the unit combination problem, unit start and stop and hydropower vibration zone are the basic business logic. The constraints used to characterize this logic account for a large proportion of all model constraints, which increases the scale of the optimization problem and affects the efficiency of solving the optimization problem.
例如:在机组启停约束中,机组启停约束可以由三类变量表示,三类变量包括I、W和Y,其中,I表示各机组在不同时段的启停状态,I是优化问题的直接决策变量,W和Y分别表示各机组在不同时段的启停决策,这三类变量共同建模了机组组合问题的启停约束为:
Wi,t-Yi,t=Ii,t-Ii,t-1;
Wi,t-Yi,t≤1;For example, in the unit start-stop constraint, the unit start-stop constraint can be represented by three types of variables, including I, W and Y, where I represents the start-stop status of each unit at different time periods, I is the direct decision variable of the optimization problem, W and Y represent the start-stop decision of each unit at different time periods, and these three types of variables jointly model the start-stop constraint of the unit combination problem as follows:
W i,t -Y i,t =I i,t -I i,t-1 ;
Wi ,t - Yi,t≤1 ;
式中,i为机组的序号,t为时间上的决策维度,Wi,t为机组i在t时段上的启动状态决策,Yi,t为机组i在t时段上的停止状态决策,Ii,t为机组i在t时段上的启停状态,Ii,t-1为机组i在t-1时段上的启停状态。Where i is the sequence number of the unit, t is the decision dimension in time, Wi ,t is the start state decision of unit i in period t, Yi ,t is the stop state decision of unit i in period t, Ii ,t is the start and stop state of unit i in period t, and Ii ,t-1 is the start and stop state of unit i in period t-1.
其中,第一个约束刻画了机组做出开机或关机决策时的机组启停状态的改变;第二个约束限制了机组在同一时刻不能同时开机与关机。Among them, the first constraint describes the change of the unit's start-up or shutdown status when the unit makes a startup or shutdown decision; the second constraint restricts the unit from being started and shut down at the same time.
为了方便表述,我们省略时间维度的下标,将第二个约束表达式转换为形如:For the sake of convenience, we omit the subscript of the time dimension and transform the second constraint expression into the following form:
Wi+Yi≤1的约束。The constraint of Wi + Yi ≤1.
除机组启停这一基本约束外,电力市场对水电振动区的刻画也会引入类似的约束:与火电机组不同,水电机组的出力区间并不连续的,如图1
所示,图1示意了水电机组的出力区间,需要我们引入0-1变量表示水电机组出力是否在某个区间内,并引入如下约束确保机组的出力一定处于某个区间内,其约束表达式为:
In addition to the basic constraint of unit start-up and shutdown, the characterization of hydropower vibration zone in the power market will also introduce similar constraints: unlike thermal power units, the output range of hydropower units is not continuous, as shown in Figure 1 As shown in Figure 1, the output range of the hydropower unit is shown, which requires us to introduce a 0-1 variable Indicates whether the output of the hydropower unit is within a certain range, and introduces the following constraints to ensure that the output of the unit is within a certain range. The constraint expression is:
式中,S表示机组个数。In the formula, S represents the number of units.
不失一般性的,可以加入辅助变量将多个0-1变量求和的情况化简,进而将上述两类约束用x统一表示为形如:
Without loss of generality, we can add auxiliary variables to simplify the sum of multiple 0-1 variables, and then use x to uniformly represent the above two types of constraints as follows:
的约束,其中,xi、xj分别机组在同一时刻的启停决策,再通过对上述约束进行调整,引入这一辅助约束,我们可以进一步将约束改写为形如:
The constraints are as follows, where x i and x j are the start and stop decisions of the units at the same time. Then, by adjusting the above constraints, This auxiliary constraint can be further rewritten as follows:
的次序约束,其中,表示不同于xi的启停决策。The order constraints are: represents a start-stop decision different from xi .
在次序约束中,不等号方向确定了约束两侧变量在逻辑上具有先后顺序,其中,不等号方向与约束两侧变量的次序关系之间的关系自行设定,如约束下的约束两侧变量的次序关系如图2所示。In the order constraint, the direction of the inequality sign determines the logical order of the variables on both sides of the constraint. The relationship between the direction of the inequality sign and the order of the variables on both sides of the constraint is set by yourself, such as The order relationship of the variables on both sides of the constraint is shown in Figure 2.
在电力市场出清优化问题中,可以观察到以下现象:当存在三个及三个以上变量间的先后次序关系时,数学模型中经常存在冗余的逻辑关系。以三个变量何约束为例,在x1≤x2,x2≤x3,x1≤x3这三个约束中,x1≤x2,x2≤x3可以通过不等式的传递性隐式地表示x1≤x3,因此我们可以将其从问题中移除,且不影响其与原问题的等价性,这一约减过程也被称为传递约减方法。In the optimization problem of electricity market clearing, the following phenomenon can be observed: when there are three or more variables with a chronological order, there are often redundant logical relationships in the mathematical model. Taking the three-variable constraint as an example, among the three constraints x 1 ≤x 2 ,x 2 ≤x 3 ,x 1 ≤x 3 , x 1 ≤x 2 ,x 2 ≤x 3 can be implicitly expressed as x 1 ≤x 3 through the transitivity of inequalities, so we can remove it from the problem without affecting its equivalence with the original problem. This reduction process is also called the transitive reduction method.
尽管上述三个变量的三个约束的约减过程在直觉上较简单,但当变量和约束数量巨大时,通过人工寻找所有能够被传递约减的约束是非常困难的。如南方区域电力现货市场机组组合模型中,变量和约束均在百万级别,此时依靠人工逻辑推演难以辨别可约减约束,因此我们需要提出系统性的 解决方案,借助计算机完成约减任务。但同样由于传递约减需要同时考虑多个约束间的联系,在计算机中直接实现代数层面上的逻辑推理并遍历各个组合较为困难,而泛用方法往往难以有效利用问题约束与变量间复杂的关系,以至于遗漏大量不易探测的冗余约束,不利于快速求解,对求解效率造成不利影响。Although the reduction process of the three constraints of the three variables mentioned above is intuitively simple, it is very difficult to manually find all the constraints that can be transferred and reduced when the number of variables and constraints is huge. For example, in the unit combination model of the southern regional power spot market, the variables and constraints are all at the million level. At this time, it is difficult to identify the reducible constraints by manual logical deduction. Therefore, we need to propose a systematic The solution is to use computers to complete the reduction task. However, since transitive reduction requires considering the relationship between multiple constraints at the same time, it is difficult to directly implement logical reasoning at the algebraic level and traverse each combination in a computer, and general methods often fail to effectively utilize the complex relationship between problem constraints and variables, resulting in the omission of a large number of redundant constraints that are difficult to detect, which is not conducive to rapid solution and has an adverse impact on solution efficiency.
为此,请参阅图3,本发明提供的一种电力系统优化问题的约束集约减方法,包括下述步骤101至104,具体包括以下步骤:To this end, referring to FIG. 3 , a constraint set reduction method for a power system optimization problem provided by the present invention includes the following steps 101 to 104, specifically including the following steps:
101、基于电力系统的预置优化问题,确定多个待约减约束,并构建待约减约束集。101. Based on the preset optimization problem of the power system, multiple constraints to be reduced are determined, and a set of constraints to be reduced is constructed.
其中,电力系统的预置优化问题是基于电力系统的变量进行搭建,优化问题一般包含目标函数和约束条件,并从中确定需要进行约减的次序约束集。Among them, the preset optimization problem of the power system is built based on the variables of the power system. The optimization problem generally includes an objective function and constraints, and determines the set of order constraints that need to be reduced.
102、将每个待约减约束的参与变量作为节点,并按照参与变量次序关系进行节点连接,构建有向次序图。102. Take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order relationship of the participating variables to construct a directed order graph.
其中,参与变量和参与变量次序关系是在确定待约减约束后,基于待约减约束公式中的变量进行获得的,其中,参与变量是指参与待约减约束中的决策的变量,参与变量次序关系是指参与变量之间的先后次序关系,参与变量次序关系可以基于各参与变量之间的大小关系进行映射,其参与变量次序关系基于各参与变量之间的大小关系进行自行设定。Among them, the participating variables and the participating variable order relationship are obtained based on the variables in the constraint formula to be reduced after determining the constraint to be reduced, wherein the participating variables refer to the variables participating in the decision-making in the constraint to be reduced, and the participating variable order relationship refers to the order relationship between the participating variables. The participating variable order relationship can be mapped based on the size relationship between the participating variables, and the participating variable order relationship is set based on the size relationship between the participating variables.
具体来说,可以将参与待约减约束的变量作为节点,并根据参与变量次序关系在各个节点之间进行连接有向边。在根据上述规则进行构造后,可以得到一个节点数等于变量数,边数等于约束数的有向图。假设可以得到的图中没有环存在(否则形成环的一系列不等式约束将被转化为等式),则基于图论形成有向无环图。Specifically, the variables participating in the constraints to be reduced can be used as nodes, and directed edges can be connected between the nodes according to the order of the participating variables. After construction according to the above rules, a directed graph can be obtained with the number of nodes equal to the number of variables and the number of edges equal to the number of constraints. Assuming that there is no loop in the graph that can be obtained (otherwise the series of inequality constraints that form the loop will be converted into equations), a directed acyclic graph is formed based on graph theory.
103、根据有向次序图中的每个节点的入度大小对有向次序图中的所有节点进行节点拓扑排序。103. Perform node topological sorting on all nodes in the directed sequence graph according to the in-degree of each node in the directed sequence graph.
在本实施例中,对于有向次序图G=(R,E),R、E均表示节点,其每一个节点R的入度定义为进入到R的边的数量;出度定义为由R出发的边的数量。 In this embodiment, for a directed ordered graph G=(R, E), R and E both represent nodes, and the in-degree of each node R is defined as the number of edges entering R; the out-degree is defined as the number of edges departing from R.
104、根据节点拓扑排序结果遍历有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对待约减约束集进行约束约减。104. According to the node topology sorting result, each node in the directed order graph is traversed and redundant edge elimination is performed, and according to the redundant edge elimination result, constraint reduction is performed on the constraint set to be reduced.
需要说明的是,传递约减方案是将传递约减方法中需要的逻辑推理转化为有向次序图中的冗余边消除问题,如图4所示,图4示意了有向次序图中的冗余边消除情况,从而消除了变量x1和x4之间的连接边,将消除的连接边对应到待约减约束集中后,可以在不改变图的可到达性前提下被删除的边则对应了约束集合中的冗余可约减部分。It should be noted that the transitive reduction scheme converts the logical reasoning required in the transitive reduction method into the problem of eliminating redundant edges in a directed order graph, as shown in Figure 4. Figure 4 illustrates the elimination of redundant edges in a directed order graph, thereby eliminating the connecting edges between variables x1 and x4 . After the eliminated connecting edges are mapped to the set of constraints to be reduced, the edges that can be deleted without changing the reachability of the graph correspond to the redundant reducible parts in the constraint set.
需要说明的是,本发明通过从电力系统的预置优化问题中确定待约减约束集,将每个待约减约束的参与变量作为节点按照参与变量次序关系进行连接,构建有向次序图,利用有向次序图中的每个节点的入度大小对所有节点进行节点拓扑排序,根据节点拓扑排序结果遍历有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对待约减约束集进行约束约减,从而有效利用问题约束与变量间的关系,避免遗漏大量不易探测的冗余约束,有利于快速求解,提高求解效率。It should be noted that the present invention determines the set of constraints to be reduced from the preset optimization problem of the power system, connects the participating variables of each constraint to be reduced as nodes according to the order relationship of the participating variables, constructs a directed order graph, and uses the in-degree size of each node in the directed order graph to perform node topological sorting on all nodes. According to the node topological sorting result, each node in the directed order graph is traversed and redundant edge elimination is performed, and constraint reduction is performed on the constraint set to be reduced according to the redundant edge elimination result, thereby effectively utilizing the relationship between the problem constraints and the variables, avoiding missing a large number of redundant constraints that are difficult to detect, facilitating rapid solution, and improving solution efficiency.
以上为本发明提供的一种电力系统优化问题的约束集约减方法的一个实施例的详细描述,以下为本发明提供的一种电力系统优化问题的约束集约减方法的另一个实施例的详细描述。The above is a detailed description of an embodiment of a constraint set reduction method for a power system optimization problem provided by the present invention. The following is a detailed description of another embodiment of a constraint set reduction method for a power system optimization problem provided by the present invention.
为了便于理解,请参阅图5,本发明另一个实施例提供的一种电力系统优化问题的约束集约减方法,包括以下步骤:For ease of understanding, please refer to FIG5 , a constraint set reduction method for a power system optimization problem provided by another embodiment of the present invention includes the following steps:
201、基于电力系统的预置优化问题,确定多个待约减约束,并构建待约减约束集。Based on a preset optimization problem of the power system, multiple constraints to be reduced are determined, and a set of constraints to be reduced is constructed.
在一个示例中,步骤201具体包括:In one example, step 201 specifically includes:
2011、基于电力系统的预置优化问题,确定电力系统的约束集。2011. Determine the constraint set of the power system based on the preset optimization problem of the power system.
2012、基于电力系统的约束集,筛选出包含0-1两个决策变量的约束作为待约减约束,并构建待约减约束集。2012. Based on the constraint set of the power system, the constraints containing two decision variables of 0-1 are selected as the constraints to be reduced, and the constraint set to be reduced is constructed.
需要说明的是,本发明是对包含0-1两个决策变量的约束进行传递约减,其中,0-1两个决策变量的约束是指其决策为0或1,其不能在同一时间作出不同的决策,在通用求解器计算机组组合问题前,会采用平凡预求解的方法缩减模型规模,并提前确定部分0-1变量取值。 It should be noted that the present invention performs transitive reduction on constraints containing two decision variables of 0-1, wherein the constraints of the two decision variables of 0-1 refer to that the decision is 0 or 1, and different decisions cannot be made at the same time. Before the general solver computer group combines the problems, the trivial pre-solution method will be used to reduce the model size and determine the values of some 0-1 variables in advance.
202、对待约减约束集中的每个待约减约束进行数学形变,得到每个待约减约束的参与变量和参与变量次序关系。202. Perform mathematical transformation on each constraint to be reduced in the constraint set to obtain participating variables and participating variable order relations of each constraint to be reduced.
需要说明的是,通过数学运算以及变形对待约减约束集中的每一个待约减约束进行数学形变,如W1+Y1≤1这一开关机约束中的参与变量为W1、Y1,并在计算机中建立约束-变量之间的映射关系,用于在后续建立具有次序的有向次序图。It should be noted that each constraint to be reduced in the constraint set to be reduced is mathematically transformed through mathematical operations and transformations, such as the participating variables in the power on/off constraint W 1 +Y 1 ≤1 are W 1 and Y 1 , and a mapping relationship between constraints and variables is established in the computer for subsequent establishment of an ordered directed sequence graph.
在一个能够实现的方式中,对待约减约束集中的每个待约减约束进行数学形变,得到次序约束,其中,次序约束为不等式约束,次序约束包含参与变量以及参与变量次序关系。In one achievable manner, each to-be-reduced constraint in the to-be-reduced constraint set is mathematically transformed to obtain an order constraint, wherein the order constraint is an inequality constraint and includes participating variables and an order relationship of the participating variables.
需要说明的是,在得到待约减约束集后,通过引入辅助约束并通过合并同类项以及等价数学转化,将需要将待约减约束进行形变化简,从而将待约减约束转换为只要参与变量的不等式的次序约束,在次序约束中,不等号方向确定了约束两侧变量在逻辑上具有先后顺序,其中,不等号方向与约束两侧变量的次序关系之间的关系自行设定,如约束下的约束两侧变量的次序关系如图2所示。It should be noted that after obtaining the set of constraints to be reduced, the constraints to be reduced need to be simplified in form by introducing auxiliary constraints and merging similar terms and equivalent mathematical transformations, so as to convert the constraints to be reduced into order constraints of inequalities involving only the participating variables. In the order constraints, the direction of the inequality sign determines the logical order of the variables on both sides of the constraint. The relationship between the direction of the inequality sign and the order relationship of the variables on both sides of the constraint is set by yourself, such as The order relationship of the variables on both sides of the constraint is shown in Figure 2.
在一个电力优化问题中,包含0-1两个决策变量的约束个数可以为多个,对于多个包含0-1两个决策变量的约束,则可以将多个待约减约束按照决策变量的数量大小进行排序,一般示例中,按照升序方式进行排序,也即按照约束约减的难易程度进行排序,排序后的多个待约减约束组成待约减约束集。在实际应用中,如果存在一个约束包含在待约减约束集中约束包含的变量,形式类似如下:
In an electric power optimization problem, there can be multiple constraints containing two decision variables of 0-1. For multiple constraints containing two decision variables of 0-1, the multiple constraints to be reduced can be sorted according to the number of decision variables. In general examples, they are sorted in ascending order, that is, sorted according to the difficulty of constraint reduction. The sorted multiple constraints to be reduced form a constraint set to be reduced. In practical applications, if there is a constraint that contains a variable in the constraint set to be reduced, the format is similar to the following:
式中,i表示机组序号,S表示机组数量,xi表示机组i的0-1决策变量,xi=0或1,y表示其它决策变量,b表示约束右值。Wherein, i represents the unit number, S represents the number of units, xi represents the 0-1 decision variable of unit i, xi = 0 or 1, y represents other decision variables, and b represents the right value of the constraint.
将约束形式类似如下:
The constraint format is similar to the following:
并进行如下进行数学形变为:
And the mathematical transformation is as follows:
完成上述处理后,可以得到一个只包含两个决策变量的约束。After completing the above processing, a constraint containing only two decision variables can be obtained.
203、将每个待约减约束的参与变量作为节点,并按照参与变量次序关系进行节点连接,构建有向次序图。203. Take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order relationship of the participating variables to construct a directed order graph.
需要说明的是,本实施例中的步骤203与前述实施例中的步骤101一致,在此不再赘述。It should be noted that step 203 in this embodiment is consistent with step 101 in the aforementioned embodiment and will not be described in detail here.
204、根据有向次序图中的每个节点的入度大小对有向次序图中的所有节点进行节点拓扑排序。204. Perform node topological sorting on all nodes in the directed sequence graph according to the in-degree size of each node in the directed sequence graph.
具体来说,步骤204具体包括:Specifically, step 204 includes:
2041、对拓扑排序列表进行初始化。2041. Initialize the topologically sorted list.
其中,对拓扑排序列表进行初始化后,拓扑排序列表为空。Among them, after the topological sorting list is initialized, the topological sorting list is empty.
2042、利用广度/深度优先搜索算法遍历有向次序图中的每个节点,将有向次序图中入度最小的节点插入拓扑排序列表中。2042. Use the breadth/depth first search algorithm to traverse each node in the directed ordered graph, and insert the node with the smallest in-degree in the directed ordered graph into the topological sorted list.
其中,入度定义为连接到节点的边的数量。Here, in-degree is defined as the number of edges connected to a node.
2043、基于拓扑排序列表中插入的节点,将所插入的节点以及其所链接的边从有向次序图中删除,更新有向次序图中各节点的入度。2043. Based on the node inserted in the topological sort list, the inserted node and the edge linked to it are deleted from the directed sequence graph, and the in-degree of each node in the directed sequence graph is updated.
需要说明的是,在删除节点以及其所链接的边后,有向次序图中剩余的节点的入度也会有所更新。It should be noted that after deleting a node and the edges to which it is linked, the in-degrees of the remaining nodes in the directed sequence graph will also be updated.
2044、基于更新后的有向次序图中的剩余节点的入度,重新执行将有向次序图中入度最小的节点插入拓扑排序列表中的步骤,直至有向次序图中的所有节点均依次被插入至拓扑排序列表中,得到节点拓扑排序结果。2044. Based on the in-degrees of the remaining nodes in the updated directed sequence graph, re-execute the step of inserting the node with the smallest in-degree in the directed sequence graph into the topological sorting list until all the nodes in the directed sequence graph are inserted into the topological sorting list in sequence, thereby obtaining a node topological sorting result.
其中,若有向次序图中的所有节点不为空,则继续将有向次序图中入度最小的节点插入拓扑排序列表中,直至有向次序图中的所有节点为空,其节点依次被插入至拓扑排序列表中的顺序即为节点拓扑排序结果。Among them, if all the nodes in the directed sequence graph are not empty, then continue to insert the node with the smallest in-degree in the directed sequence graph into the topological sorting list until all the nodes in the directed sequence graph are empty, and the order in which the nodes are inserted into the topological sorting list in turn is the node topological sorting result.
在一个示例中,给定有向次序图G,其节点拓扑排序过程为:选择有向次序图G中的节点入度为0的节点u加入排序中,然后对于每一个尚未加入排序的节点v,若存在由u到v的有向边,我们将节点v的入度减一,重复以上过程直到所有的节点被加入排序,得到的排序结果即为节点拓扑 排序结果。In an example, given a directed graph G, the node topology sorting process is: select a node u with an in-degree of 0 in the directed graph G and add it to the sorting. Then, for each node v that has not been sorted, if there is a directed edge from u to v, we reduce the in-degree of node v by one. Repeat the above process until all nodes are sorted. The sorting result is the node topology. Sort the results.
205、根据节点拓扑排序结果遍历有向次序图中的各个节点并进行冗余边消除处理,得到传递约减图。205. According to the node topological sorting result, each node in the directed order graph is traversed and redundant edges are eliminated to obtain a transitive reduction graph.
具体来说,步骤205具体包括:Specifically, step 205 includes:
2051、根据节点拓扑排序结果依次遍历有向次序图中的各个节点,确定有向次序图中的两两节点之间所链接的边。2051. According to the node topological sorting result, each node in the directed sequence graph is traversed in turn to determine the edges connecting each two nodes in the directed sequence graph.
2052、根据节点拓扑排序结果依次遍历有向次序图中的各个边e=(u,v),其中,e表示边,u表示出发节点,v表示到达节点,判断有向次序图中是否存在除了边e外的其它边能从出发节点u至到达节点v。2052. According to the node topological sorting result, traverse each edge e=(u,v) in the directed sequence graph in turn, where e represents the edge, u represents the starting node, and v represents the arrival node, and determine whether there are other edges in the directed sequence graph except the edge e that can go from the starting node u to the arrival node v.
2053、若判断有向次序图中存在除了边e外的其它边能从出发节点u至到达节点v,则将边e从有向次序图中删除,得到传递约减图。2053. If it is determined that there are other edges in the directed sequence graph except edge e that can go from the departure node u to the arrival node v, then delete edge e from the directed sequence graph to obtain a transitive reduction graph.
需要说明的是,若在有向次序图中存在除了边e外的其它边能从出发节点u至到达节点v,则说明边e为逻辑上的冗余边,也即约束系统里逻辑上冗余的约束。It should be noted that if in the directed sequence graph there are edges other than edge e that can go from the departure node u to the arrival node v, then edge e is a logically redundant edge, that is, a logically redundant constraint in the constraint system.
在一个示例中,假设有向次序图中有三个节点u、v、z,三者的边关系是u>v>z和u>z,由于节点u已经可以通过u>v>z这条路径到达z了,而u>v或v>z这两个路径由于删除后u无法到达v或v无法到达z,则u>v或v>z这两个路径不能删除,则边u>z这个路径就是额外的边,可以删除,也即u>z这个边就是逻辑上冗余的边,也就是约束系统里逻辑上冗余的约束。In an example, suppose there are three nodes u, v, and z in a directed order graph, and the edge relationships between the three are u>v>z and u>z. Since node u can already reach z through the path u>v>z, and since u>v or v>z cannot be deleted because u cannot reach v or v cannot reach z after deleting the two paths u>v or v>z, the two paths u>v or v>z cannot be deleted. The edge u>z is an extra edge and can be deleted, which means that the edge u>z is a logically redundant edge, which is a logically redundant constraint in the constraint system.
在另一个示例中,还可以基于自上而下的传递约减与自下而上的传递闭包构建传递约减图,具体地,传递闭包的构建则是从空边集合E’出发,不断加入新的边,例如对于按拓扑排序遍历的每个节点u,对于每一个在集合E中可以由u到达的节点v,若在集合E’中不存在从u到v的路径,则将(u,v)加入集合E’中。In another example, a transitive reduction graph can also be constructed based on top-down transitive reduction and bottom-up transitive closure. Specifically, the construction of the transitive closure starts from the empty edge set E’ and continuously adds new edges. For example, for each node u traversed by topological sorting, for each node v that can be reached by u in the set E, if there is no path from u to v in the set E’, then (u,v) is added to the set E’.
206、将传递约减图与有向次序图进行对比,确定约减冗余边。206. Compare the transitive reduction graph with the directed order graph to determine the reduced redundant edges.
需要说明的是,基于图论可知,当我们得到传递约减图Gt后,可以将其边集合映射回约束集合,并且此时由于有向次序图G与传递约减图Gt具有相同的传递闭包,约束表示的可行域范围没有变化。由于实际中传递 约减图Gt的边集合的基数一般总是比有向次序图G要小,传递约减图Gt也被称为有向次序图G的传递约减图。It should be noted that, based on graph theory, when we obtain the transitive reduction graph Gt , we can map its edge set back to the constraint set. At this time, since the directed order graph G and the transitive reduction graph Gt have the same transitive closure, the feasible domain range represented by the constraint does not change. The cardinality of the edge set of the reduction graph Gt is generally always smaller than that of the directed order graph G. The transitive reduction graph Gt is also called the transitive reduction graph of the directed order graph G.
同时,在获得传递约减图Gt后,则将其与有向次序图G进行比较,找出存在于原次序图,但不存在于约减后次序图中的边即为约减冗余边。At the same time, after obtaining the transitive reduction graph Gt , it is compared with the directed order graph G to find out the edges that exist in the original order graph but not in the reduced order graph, which are the reduced redundant edges.
在一个能够实现的方式中,将传递约减图与有向次序图进行对比,筛选出存在于有向次序图且不存在于传递约减图中的边作为约减冗余边。In one achievable manner, the transitive reduction graph is compared with the directed order graph, and edges that exist in the directed order graph but not in the transitive reduction graph are screened out as reduced redundant edges.
207、根据约减冗余边对待约减约束集中对应的待约减约束进行约减。207. Reduce the corresponding to-be-reduced constraints in the to-be-reduced constraint set according to the reduced redundant edges.
具体来说,步骤207具体包括:Specifically, step 207 includes:
2071、获取约减冗余边两侧的节点。2071. Obtain the nodes on both sides of the reduced redundant edge.
2072、基于节点与参与变量之间的映射关系,通过约减冗余边两侧的节点在待约减约束集中匹配出相应的参与变量以及其对应的待约减约束。2072. Based on the mapping relationship between nodes and participating variables, the corresponding participating variables and their corresponding to-be-reduced constraints are matched in the to-be-reduced constraint set by reducing the nodes on both sides of the redundant edge.
需要说明的是,在形成有向次序图过程中,是基于参与变量作为节点进行连接起来的,故存在节点与参与变量之间的映射关系,而在确定约减冗余边两侧的节点后,则依据节点与参与变量之间的映射关系,可以在待约减约束集中匹配出相应的参与变量以及其对应的待约减约束。It should be noted that in the process of forming a directed order graph, the nodes are connected based on the participating variables, so there is a mapping relationship between the nodes and the participating variables. After determining the nodes on both sides of the reduced redundant edges, the corresponding participating variables and their corresponding constraints to be reduced can be matched in the set of constraints to be reduced based on the mapping relationship between the nodes and the participating variables.
2073、将所匹配出的待约减约束在待约减约束集中进行删除。2073. Delete the matched constraints to be reduced from the set of constraints to be reduced.
为了更清晰地说明上述的电力系统优化问题的约束集约减过程,下面结合本发明提供的一种电力系统优化问题的约束集约减方法给出一个电力系统机组组合的实际案例进行说明。In order to more clearly illustrate the above-mentioned constraint set reduction process of the power system optimization problem, a practical example of power system unit combination is given below for illustration in combination with a constraint set reduction method for the power system optimization problem provided by the present invention.
如图6所示,图6示意了一个IEEE6节点连接拓扑结构,本发明提供的一种电力系统优化问题的约束集约减方法应用到一个IEEE6节点机组组合问题的系统中,该系统由6条母线Bus1、Bus2、Bus3、Bus4、Bus5、Bus6、3台机组G1、G2、G3、3个负荷节点D1、D2、D3和11条联络线进行连接形成,具体数据参数如表1~表3。As shown in FIG6 , FIG6 illustrates an IEEE 6-node connection topology structure. A constraint set reduction method for a power system optimization problem provided by the present invention is applied to a system of an IEEE 6-node unit combination problem. The system is formed by connecting 6 buses Bus1, Bus2, Bus3, Bus4, Bus5, Bus6, 3 units G 1 , G 2 , G 3 , 3 load nodes D 1 , D 2 , D 3 and 11 tie lines. Specific data parameters are shown in Tables 1 to 3.
表1 机组数据
Table 1 Unit data
表2 联络线数据
Table 2 Tie line data
表3 每小时负荷数据
Table 3 Hourly load data
该机组组合问题的数学模型包括目标函数和约束条件。The mathematical model of the unit commitment problem includes objective function and constraints.
其中,目标函数为:
Among them, the objective function is:
式中,Z为运行成本,T为优化时段数,PCi(Pi,t)为机组运行报价,Ii,t为机组启停状态,SUi,t、SDi,t分别为机组启动和关机成本。Where Z is the operating cost, T is the number of optimization periods, PC i (P i,t ) is the unit operation quotation, I i,t is the unit start and stop status, SU i,t and SD i,t are the unit startup and shutdown costs, respectively.
基于机组运行成本最低考虑以下约束条件,包括:The following constraints are considered based on the lowest unit operating cost, including:
1)节点负荷平衡约束为:
1) The node load balancing constraint is:
其中,该约束要求每个节点的负荷都能被满足,Ib为节点b包含的所有机组,Pi,t为机组i在时间t的功率,j为联络线序号,为输入节点b的联络线,为离开节点b的联络线,TLj,t为联络线j在时段t时的出力,Db,t为节点b在时段t时的负荷。Among them, this constraint requires that the load of each node can be satisfied, I b is all the units contained in node b, P i,t is the power of unit i at time t, j is the tie line number, is the tie line of input node b, is the tie line leaving node b, TL j,t is the output of tie line j in period t, and D b,t is the load of node b in period t.
2)机组出力约束为:
2) The unit output constraint is:
该约束要求机组i在时段t如果开机则满足出力范围,如果关机则出力为0。Pi,t、分别为机组的最小出力和最大出力。This constraint requires that if unit i is turned on in time period t, the output range is met, and if it is turned off , the output is 0. are the minimum and maximum output of the unit respectively.
3)机组爬坡约束为:
3) The unit climbing constraint is:
该约束要求机组i的出力变化符合机组爬坡范围要求,且只有爬坡至最小出力时才能关机。其中,iri、dri分别为机组i的上爬坡速率和下爬坡速率。This constraint requires that the output change of unit i meets the unit climbing range requirements, and it can only be shut down when it climbs to the minimum output. Among them, ir i and dr i are the climbing rate and the descending rate of unit i respectively.
4)机组最小启停时间约束为:
4) The minimum start and stop time constraint of the unit is:
该约束要求机组i每次开机或关机时需要开满一定的最小开机时间和最小关机时间。其中,τ为启停最大时间,Ti down、Ti up分别为机组i的最小关机时间和最小开机时间。This constraint requires that each time the unit i is turned on or off, it must be kept on for a certain minimum on time and minimum off time. Among them, τ is the maximum start-stop time, and Ti down and Ti up are the minimum off time and minimum on time of unit i, respectively.
5)联络线出力约束
5) Tie line output constraints
该约束要求联络线出力需要满足一定的出力范围。其中,TL i,t、分别为联络线j的最小出力和最大出力。This constraint requires that the tie line output must meet a certain output range. are the minimum and maximum outputs of tie line j respectively.
本专利方法着重于删除只含有0-1变量的冗余,在这个实例中则是最小启停时间约束。在通用求解器计算机组组合问题前,会采用平凡预求解的方法缩减模型规模,并提前确定部分0-1变量取值。在本示例的6节点系统中,由于规模很小,可以通过如下业务逻辑提前确定一些0-1变量,模拟通用求解器平凡预求解的过程。This patented method focuses on removing redundancy that only contains 0-1 variables, which in this example is the minimum start-stop time constraint. Before the general solver computer group combines the problem, the trivial pre-solving method is used to reduce the model size and determine the values of some 0-1 variables in advance. In the 6-node system in this example, due to the small scale, some 0-1 variables can be determined in advance through the following business logic to simulate the process of trivial pre-solving of the general solver.
利用业务逻辑判定0-1变量:在负荷数据表中的18,19,20时刻节点4,负荷1要求电量都大于160MW。同时节点4只两条路径连接,分别是路径1-2-4和路径1-4。两条路径中所有的联络线出力上限都为160MW。其中节点1包含机组G1,节点2包含机组G2。如果G1在18,19,20时刻关机,则负荷D1无法通过2-4的联络线160MW上限满足负荷需求,因此机组G1都需要在18,19,20时刻开机出力,即I1,18=I1,19=I1,20=1。但机组G2无法被确定状态,因为G1可以分别通过两条路径1-2-4和1-4满足负荷D1的需求。Use business logic to determine 0-1 variables: In the load data table, at 18, 19, and 20, node 4 and load 1 require a power greater than 160MW. At the same time, node 4 is connected by only two paths, path 1-2-4 and path 1-4. The upper limit of all tie lines in the two paths is 160MW. Node 1 contains unit G 1 and node 2 contains unit G 2. If G 1 is shut down at 18, 19, and 20, load D 1 cannot meet the load demand through the 160MW upper limit of the tie line 2-4. Therefore, unit G 1 needs to start up and output at 18, 19, and 20, that is, I 1,18 =I 1,19 =I 1,20 =1. However, the state of unit G 2 cannot be determined because G 1 can meet the demand of load D 1 through two paths 1-2-4 and 1-4 respectively.
在获得以上预处理信息后,本专利方法可以对以下约束进行冗余约束删减。
I1,11-I1,12≤1-I1,13
I1,11-I1,12≤1-I1,14
I1,11-I1,12≤1-I1,15
I1,12-I1,13≤1-I1,14
I1,12-I1,13≤1-I1,15
I1,12-I1,13≤1-I1,16
I1,13-I1,14≤1-I1,15
I1,13-I1,14≤1-I1,16
I1,13-I1,14≤1-I1,17
I1,14-I1,15≤1-I1,16
I1,14-I1,15≤1-I1,17
I1,14-I1,15≤1-I1,18
I1,15-I1,16≤1-I1,17
I1,16-I1,17≤1-I1,18
I1,16-I1,17≤1-I1,19
I1,16-I1,17≤1-I1,20;After obtaining the above preprocessing information, the patented method can delete redundant constraints for the following constraints.
I 1,11 -I 1,12 ≤1-I 1,13
I 1,11 -I 1,12 ≤1-I 1,14
I 1,11 -I 1,12 ≤1-I 1,15
I 1,12 -I 1,13 ≤1-I 1,14
I 1,12 -I 1,13 ≤1-I 1,15
I 1,12 -I 1,13 ≤1-I 1,16
I 1,13 -I 1,14 ≤1-I 1,15
I 1,13 -I 1,14 ≤1-I 1,16
I 1,13 -I 1,14 ≤1-I 1,17
I 1,14 -I 1,15 ≤1-I 1,16
I 1,14 -I 1,15 ≤1-I 1,17
I 1,14 -I 1,15 ≤1-I 1,18
I 1,15 -I 1,16 ≤1-I 1,17
I 1,16 -I 1,17 ≤1-I 1,18
I 1,16 -I 1,17 ≤1-I 1,19
I 1,16 - I 1,17 ≤1-I 1,20 ;
通过合并同类项等价数学转化并化简,最终得到下述中右边的不等式为:
I1,11-I1,12≤1-I1,13
I1,11-I1,12≤1-I1,14
I1,11-I1,12≤1-I1,15
I1,12-I1,13≤1-I1,14
I1,12-I1,13≤1-I1,15
I1,12-I1,13≤1-I1,16
I1,13-I1,14≤1-I1,15
I1,13-I1,14≤1-I1,16
I1,13-I1,14≤1-I1,17
I1,14-I1,15≤1-I1,16
I1,14-I1,15≤1-I1,17
I1,15-I1,16≤1-I1,17
1-I1,15≤1-I1,14
1-I1,16≤1-I1,15
1-I1,17≤1-I1,16;By combining like terms and equivalent mathematical transformation and simplifying, we finally get the following inequality on the right side:
I 1,11 -I 1,12 ≤1-I 1,13
I 1,11 -I 1,12 ≤1-I 1,14
I 1,11 -I 1,12 ≤1-I 1,15
I 1,12 -I 1,13 ≤1-I 1,14
I 1,12 -I 1,13 ≤1-I 1,15
I 1,12 -I 1,13 ≤1-I 1,16
I 1,13 -I 1,14 ≤1-I 1,15
I 1,13 -I 1,14 ≤1-I 1,16
I 1,13 -I 1,14 ≤1-I 1,17
I 1,14 -I 1,15 ≤1-I 1,16
I 1,14 -I 1,15 ≤1-I 1,17
I 1,15 -I 1,16 ≤1-I 1,17
1-I 1,15 ≤1-I 1,14
1-I 1,16 ≤1-I 1,15
1-I 1,17 ≤1-I 1,16 ;
现在需要基于本专利方法将上述系统变量替换为每个约束只有两个变
量,即定义为:
αt=I1,t-I1,t+1
βt=1-I1,t;Now we need to replace the above system variables with each constraint based on the patent method. Quantity, which is defined as:
α t =I 1,t -I 1,t+1
β t =1-I 1,t ;
使得上述不等式变为:
α11≤β13
α11≤β14
α11≤β15
α12≤β14
α12≤β15
α12≤β16
α13≤β15
α13≤β16
α13≤β17
α14≤β16
α14≤β17
α15≤β17
β15≤β14
β16≤β15
β17≤β16;So the above inequality becomes:
α 11 ≤β 13
α 11 ≤β 14
α 11 ≤β 15
α 12 ≤β 14
α 12 ≤β 15
α 12 ≤β 16
α 13 ≤β 15
α 13 ≤β 16
α 13 ≤β 17
α 14 ≤β 16
α 14 ≤β 17
α 15 ≤β 17
β 15 ≤ β 14
β 16 ≤β 15
β 17 ≤ β 16 ;
根据上述不等式中的变量次序关系可以构建有向次序图如图7所示。According to the order relationship of the variables in the above inequality, a directed order graph can be constructed as shown in FIG7 .
然后根据有向图节点入度不断删去节点获得拓扑排序,其拓扑排序过程为图8所示。Then, nodes are continuously deleted according to the in-degree of the directed graph nodes to obtain a topological sort. The topological sorting process is shown in FIG8 .
然后根据拓扑排序遍历各个节点,获得传递约减图如图9所示。Then, each node is traversed according to the topological sorting to obtain the transitive reduction graph as shown in FIG9 .
完成最终的传递约减图后,可以检查删除的连接,这些连接就是冗余的约束可以被删减的边,如图10所示,图10示意了精简后的有向次序图,其中,虚线即为可以被删减的边。After completing the final transitive reduction graph, the deleted connections can be checked. These connections are the edges whose redundant constraints can be deleted, as shown in FIG10 . FIG10 illustrates a simplified directed order graph, in which the dotted lines are the edges that can be deleted.
然后将可以被删减的边映射会约束条件集合中,从而可以获得冗余筛选后的不等式系统为:
I1,11-I1,12≤1-I1,13
I1,11-I1,12≤1-I1,15
I1,12-I1,13≤1-I1,16
I1,13-I1,14≤1-I1,17
I1,14-I1,15≤1-I1,17
I1,15-I1,16≤1-I1,17
I1,14≤I1,15
I1,15≤I1,16
I1,16≤I1,17;Then the edges that can be deleted are mapped to the constraint set, so that the inequality system after redundant filtering can be obtained as follows:
I 1,11 -I 1,12 ≤1-I 1,13
I 1,11 -I 1,12 ≤1-I 1,15
I 1,12 -I 1,13 ≤1-I 1,16
I 1,13 -I 1,14 ≤1-I 1,17
I 1,14 -I 1,15 ≤1-I 1,17
I 1,15 -I 1,16 ≤1-I 1,17
I 1,14 ≤I 1,15
I 1,15 ≤I 1,16
I 1,16 ≤I 1,17 ;
最终通过本方法删减6条不等式约束,相比与现有泛用方法,本方法对于电力优化问题具有更高的适用性,可以辨识出大量泛用方法无法识别的冗余约束。在实际电力系统生产环境中,本方案的约减效果显著。目前在实际应用中,在整体约束(超过50万条)中,方法平均能够有效删除超过5%的冗余次序约束,计算效率提升约21%。Finally, six inequality constraints were deleted through this method. Compared with the existing general methods, this method has higher applicability for power optimization problems and can identify a large number of redundant constraints that general methods cannot identify. In the actual power system production environment, the reduction effect of this scheme is significant. At present, in practical applications, among the overall constraints (more than 500,000), the method can effectively delete more than 5% of the redundant order constraints on average, and the computational efficiency is improved by about 21%.
在实际应用中,一个六个机组24时段机组的SCUC问题对应的部分机组开关机约束,其中隐藏了三个冗余的约束,此时人工的逻辑推演完全无法辨别可约减约束,若通过本发明提出一种电力系统优化问题的约束集约减方法,基于传递次序图进行传递约减,从而可以很容易地约减其中的三个冗余的约束。In practical applications, a SCUC problem for six units with 24 periods of time corresponds to some unit on/off constraints, in which three redundant constraints are hidden. At this time, manual logical deduction is completely unable to identify the reducible constraints. If a constraint set reduction method for power system optimization problems is proposed by the present invention, transfer reduction is performed based on a transfer order graph, thereby easily reducing the three redundant constraints.
以上为本发明提供的一种电力系统优化问题的约束集约减方法的实施例的详细描述,以下为本发明提供的一种电力系统优化问题的约束集约减系统的实施例的详细描述。The above is a detailed description of an embodiment of a constraint set reduction method for a power system optimization problem provided by the present invention. The following is a detailed description of an embodiment of a constraint set reduction system for a power system optimization problem provided by the present invention.
为了便于理解,请参阅图11,本发明还提供了一种电力系统优化问题的约束集约减系统,包括:For ease of understanding, please refer to FIG. 11 . The present invention further provides a constraint set reduction system for power system optimization problems, including:
约减约束获取模块100,用于基于电力系统的预置优化问题,确定多个待约减约束,并构建待约减约束集;The reduction constraint acquisition module 100 is used to determine a plurality of constraints to be reduced based on a preset optimization problem of the power system, and to construct a set of constraints to be reduced;
图构建模块200,用于将每个待约减约束的参与变量作为节点,并按照参与变量次序关系进行节点连接,构建有向次序图;A graph construction module 200 is used to take each participating variable of the constraint to be reduced as a node, and connect the nodes according to the order relationship of the participating variables to construct a directed order graph;
节点拓扑排序模块300,用于根据有向次序图中的每个节点的入度大 小对有向次序图中的所有节点进行节点拓扑排序;The node topology sorting module 300 is used to sort the nodes in the directed sequence graph according to the in-degree of each node. Perform node topological sorting on all nodes in the directed order graph;
约束约减模块400,用于根据节点拓扑排序结果遍历有向次序图中的各个节点并进行冗余边消除处理,根据冗余边消除处理结果对待约减约束集进行约束约减。The constraint reduction module 400 is used to traverse each node in the directed order graph according to the node topology sorting result and perform redundant edge elimination processing, and perform constraint reduction on the constraint set to be reduced according to the redundant edge elimination processing result.
本发明还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;The present invention also provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
存储器,用于存放计算机程序;Memory, used to store computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述的方法步骤。The processor is used to implement the above method steps when executing the program stored in the memory.
本发明还提供了一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时实现上述的方法步骤。The present invention also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above method steps are implemented.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,电子设备和计算机可读存储介质的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, electronic device and computer-readable storage medium can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,电子设备、计算机可读存储介质和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, electronic devices, computer-readable storage media and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软 件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or software. It is implemented in the form of software function modules.
集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以通过一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文全称:Read-Only Memory,英文缩写:ROM)、随机存取存储器(英文全称:Random Access Memory,英文缩写:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the various embodiments of the method of the present invention through a computer device (which can be a personal computer, server, or network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (12)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311211715.7 | 2023-09-20 | ||
| CN202311211715.7A CN116957170B (en) | 2023-09-20 | 2023-09-20 | Constraint intensive reduction method and system for power system optimization problem |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025061009A1 true WO2025061009A1 (en) | 2025-03-27 |
Family
ID=88456797
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/119307 Pending WO2025061009A1 (en) | 2023-09-20 | 2024-09-18 | Constraint set reduction method and system for electric power system optimization problem |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116957170B (en) |
| WO (1) | WO2025061009A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116957170B (en) * | 2023-09-20 | 2023-12-22 | 中国南方电网有限责任公司 | Constraint intensive reduction method and system for power system optimization problem |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5617510A (en) * | 1989-06-13 | 1997-04-01 | Schlumberger Technology Corporation | Dependency graph solution for constraint systems |
| CN110968613A (en) * | 2018-09-30 | 2020-04-07 | 日本电气株式会社 | Method and device for determining causal structure of nonlinear data |
| CN113420917A (en) * | 2021-06-18 | 2021-09-21 | 广东工业大学 | Method, computer device and storage medium for predicting future failure of business system |
| CN114239138A (en) * | 2021-12-09 | 2022-03-25 | 南京航空航天大学 | Flight control system layered SDG modeling method based on topological sorting algorithm |
| CN116957170A (en) * | 2023-09-20 | 2023-10-27 | 中国南方电网有限责任公司 | Constraint intensive reduction method and system for power system optimization problem |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102831432A (en) * | 2012-05-07 | 2012-12-19 | 江苏大学 | Redundant data reducing method suitable for training of support vector machine |
| CN108988325B (en) * | 2018-07-11 | 2020-05-15 | 国网能源研究院有限公司 | A distribution network planning method considering the access of distributed power sources and electric vehicles |
| US12086636B2 (en) * | 2020-09-01 | 2024-09-10 | Qualcomm Incorporated | Memory-bound scheduling |
| CN113420259B (en) * | 2021-06-28 | 2022-09-09 | 广东电网有限责任公司 | Safety restraint unit combination restraint reduction method, device, terminal and medium |
| CN115310718A (en) * | 2022-09-13 | 2022-11-08 | 广东电网有限责任公司广州供电局 | SCUC optimization method based on redundancy safety constraint reduction |
| CN115587459A (en) * | 2022-11-09 | 2023-01-10 | 西安交通大学 | Graph maximum density-based radial constraint modeling method and system for power distribution network |
-
2023
- 2023-09-20 CN CN202311211715.7A patent/CN116957170B/en active Active
-
2024
- 2024-09-18 WO PCT/CN2024/119307 patent/WO2025061009A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5617510A (en) * | 1989-06-13 | 1997-04-01 | Schlumberger Technology Corporation | Dependency graph solution for constraint systems |
| CN110968613A (en) * | 2018-09-30 | 2020-04-07 | 日本电气株式会社 | Method and device for determining causal structure of nonlinear data |
| CN113420917A (en) * | 2021-06-18 | 2021-09-21 | 广东工业大学 | Method, computer device and storage medium for predicting future failure of business system |
| CN114239138A (en) * | 2021-12-09 | 2022-03-25 | 南京航空航天大学 | Flight control system layered SDG modeling method based on topological sorting algorithm |
| CN116957170A (en) * | 2023-09-20 | 2023-10-27 | 中国南方电网有限责任公司 | Constraint intensive reduction method and system for power system optimization problem |
Non-Patent Citations (3)
| Title |
|---|
| ANONYMOUS: "[Classic algorithm] --- Topological sorting (implemented by in-degree table, DFS, stack, and queue respectively)", CSDN, 21 April 2019 (2019-04-21), pages 1 - 7, XP093293158, Retrieved from the Internet <URL:https://blog.csdn.net/qq_41879343/article/details/89435119> [retrieved on 20241213] * |
| LEE, SEONG-WHAN ; LI, STAN Z: "SAT 2015 18th International Conference, Austin, TX, USA, September 24-27, 2015", vol. 7908 Chap.28, 17 June 2013, SPRINGER , Berlin, Heidelberg , ISBN: 3540745491, article MAGGI FABRIZIO M.; BOSE R. P.; AALST WIL M. VAN DER: "A Knowledge-Based Integrated Approach for Discovering and Repairing Declare Maps", pages: 433 - 448, XP047490594, 032548, DOI: 10.1007/978-3-642-38709-8_28 * |
| W1UE: "Transitive Reduction Algorithm for Directed Acyclic Graphs", CSDN, 10 June 2021 (2021-06-10), pages 1 - 9, XP093293148, Retrieved from the Internet <URL:https://blog.csdn.net/wyzidu/article/details/117789524> [retrieved on 20241213] * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116957170A (en) | 2023-10-27 |
| CN116957170B (en) | 2023-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Rong-Hong | Design of reliable networks | |
| Chen et al. | RELIABILITY-ANALYSIS OF DISTRIBUTED SYSTEMS BASED ON A FAST RELIABILITY ALGORITHM | |
| WO2025061009A1 (en) | Constraint set reduction method and system for electric power system optimization problem | |
| CN111309979B (en) | A RDF Top-k Query Method Based on Neighbor Vectors | |
| CN113360300B (en) | Interface call link generation method, device, equipment and readable storage medium | |
| Byeon et al. | Benders subproblem decomposition for bilevel problems with convex follower | |
| CN115359844A (en) | Non-overlapping condition negative sequence pattern mining method | |
| CN118690069A (en) | A multimodal social media popularity prediction method based on hypergraph retrieval enhancement | |
| WO2024099308A1 (en) | Codon sequence optimization method and apparatus, computer device, and storage medium | |
| CN116388177A (en) | Static voltage stability analysis method, device, equipment and medium of power system | |
| Liu et al. | A new quadratic semi-infinite programming algorithm based on dual parametrization | |
| CN116757388B (en) | Electric power market clearing method and device based on redundancy constraint screening | |
| CN118368240A (en) | Path determination method, device, equipment and storage medium | |
| Mori et al. | A tabu search based approach to (Nk) static contingency selection in power systems | |
| CN111222788B (en) | Comprehensive energy system multi-scene oriented two-stage random planning method and device | |
| Chen et al. | Distributed optimization design of multi-agent systems with packet losses | |
| Karaata | A self-stabilizing algorithm for finding articulation points | |
| CN118279087B (en) | Power spot market resource allocation problem optimization method and system | |
| CN105630789A (en) | Query plan converting method and device | |
| JP2016071725A (en) | Workflow control program, workflow control method and information processing unit | |
| CN114302431B (en) | Network element configuration method, device, electronic device and storage medium | |
| Hartmann et al. | Dynamic Gomory-Hu Tree Construction--fast and simple | |
| Nasseri et al. | Semi-infinite programming to solve linear programming with triangular fuzzy coefficients | |
| Ding et al. | Large-Scale Spectral Graph Neural Networks via Laplacian Sparsification: Technical Report | |
| CN113761781B (en) | Distributed protection device model sharing method and device based on ant colony algorithm |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24867417 Country of ref document: EP Kind code of ref document: A1 |