Power system security constraint unit combinatorial graph model modeling method, device, equipment, medium and product

Through the power system safety constraint unit combination graph model modeling method, the problem of low efficiency of multi-source heterogeneous data management in the power grid is solved, efficient data management and rapid calculation of the power system are achieved, and the optimization capability of the power system is improved.

CN118735371APending Publication Date: 2024-10-01CHINA SOUTHERN POWER GRID ARTIFICIAL INTELLIGENCE TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410846458.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing power grid analysis software platforms are difficult to meet the rapid calculation requirements when faced with large-scale and highly complex power systems, especially when it comes to the low efficiency of multi-source heterogeneous data management.

Method used

Using the power system safety constrained unit combination graph model modeling method, by establishing a mathematical model, determining constraint parameters, and constructing graph model nodes and edges, a power system safety constrained unit combination graph model is formed, using the 'node-edge' mode of graph model technology Manage heterogeneous resource data, conform to the power grid structure, and improve data organization and management efficiency.

Benefits of technology

It achieves efficient management of multi-source heterogeneous data in the power system, reduces the complexity of analysis and dispatching, meets the needs for rapid calculation of large-scale power grid integration, and improves the optimization capabilities of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735371A_ABST
    Figure CN118735371A_ABST
Patent Text Reader

Abstract

The invention relates to a power system security constraint unit combinatorial graph model modeling method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: establishing a security constraint unit commitment mathematical model according to physical models of various resources included in a power system by taking the minimum total operation cost of the power system as a target; determining constraint parameters corresponding to each resource according to the security constraint unit commitment mathematical model; according to the constraint parameter corresponding to each resource, constructing a graph model node corresponding to each resource; constructing a plurality of graph model edges according to the connection relationship and the topological structure among the plurality of resources in the power system; and according to the plurality of graph model nodes and the plurality of graph model edges, constructing the power system security constraint unit combinatorial graph model. By adopting the method, the efficiency of organizing and managing the multi-source heterogeneous data of the power system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power grid data modeling, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for modeling a power system safety constraint unit combination model. Background Art

[0002] As the scale of power systems becomes larger and more complex, higher requirements are placed on the speed of power grid optimization calculations. Therefore, the security-constrained unit commitment (SCUC) problem is one of the most basic problems that need to be optimized in the power system. However, in the face of increasing uncertainty on both the source and load sides of the power system, multi-form network coupling, and a surge in market size and trading entities. The existing power grid analysis software platform faces large-scale and highly complex power systems, which specifically involve different types of units; when analyzing and optimizing scheduling, there are many variables and constraints involved, and the complexity faced in analyzing scheduling will also increase significantly, making it difficult to meet the needs of large-scale integrated fast computing of power grids. There is a problem of low efficiency in organizing and managing multi-source heterogeneous data in power systems. Summary of the invention

[0003] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for modeling a power system safety constraint unit combination diagram model that can improve the efficiency of organizing and managing multi-source heterogeneous data in the power system in response to the above-mentioned technical problems.

[0004] In a first aspect, the present application provides a method for modeling a power system safety constraint unit combination diagram model, comprising:

[0005] Taking the minimization of the total cost of power system operation as the goal, a mathematical model of the day-ahead safety-constrained unit combination is established according to the physical models of various resources included in the power system;

[0006] Determining constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model;

[0007] According to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed;

[0008] Constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system;

[0009] According to the plurality of graph model nodes and the plurality of graph model edges, a power system safety constraint unit combination graph model is constructed.

[0010] In one embodiment, the goal is to minimize the total cost of power system operation, and according to the physical models of various resources included in the power system, a day-ahead safety-constrained unit combination mathematical model is established, including:

[0011] Taking the minimum total cost of power system operation as the goal, the total cost of power system unit operation is calculated according to the total number of units included in the power system, the total number of preset time periods, and the power, operation cost, startup cost and minimum stable technical output cost of each unit in the preset time period;

[0012] Calculating the line congestion cost of the power system according to a preset constraint relaxation penalty factor, the total number of lines included in the power system, a line forward power flow relaxation variable, and a line reverse power flow relaxation variable;

[0013] According to the total operating cost of the units in the power system and the line congestion cost, an objective function of a safety-constrained unit combination mathematical model is established.

[0014] In one embodiment, constructing a graph model node corresponding to each resource according to the constraint parameters corresponding to each resource includes:

[0015] Determine the constraint operation attribute of each resource under the constraint conditions according to the constraint parameters corresponding to each resource;

[0016] According to the constraint operation attributes and inherent attributes corresponding to each resource, a graph model node corresponding to each resource is constructed.

[0017] In one embodiment, after constructing the graph model node corresponding to each resource according to the constraint operation attribute and the inherent attribute corresponding to each resource, the method further includes:

[0018] Setting a corresponding index identifier for each resource;

[0019] A mapping table is established between the index identifier of each resource and the corresponding constraint operation attribute and the inherent attribute, the graph data of each resource is obtained, and the graph data of each resource is stored in a graph database.

[0020] In one embodiment, constructing multiple graph model edges according to the connection relationship and topological structure between the multiple resources in the power system includes:

[0021] According to the connection relationship and topological structure between the various resources in the power system, multiple types of connection edges are determined; the connection edges include direct current transmission lines, alternating current transmission lines, market connection edges between distributed energy individuals and aggregators, and regional connection lines;

[0022] According to the starting points and end points corresponding to the multiple types of connecting edges, multiple graph model edges are constructed.

[0023] In one embodiment, after constructing a plurality of graph model edges according to the starting points and end points corresponding to the plurality of types of connection edges, the method further comprises:

[0024] Obtaining transmission attributes corresponding to multiple types of connection edges;

[0025] A mapping table between the starting point and end point of each type of the connection edge and the transmission attribute is established to obtain the graph data of each graph model edge, and the graph data of each graph model edge is stored in the graph database.

[0026] In a second aspect, the present application also provides a modeling device for a power system safety constraint unit combination diagram model, comprising:

[0027] A mathematical model building module is used to establish a day-ahead safety-constrained unit combination mathematical model based on physical models of multiple resources included in the power system with the goal of minimizing the total cost of power system operation;

[0028] A constraint condition determination module, used to determine the constraint parameters corresponding to the plurality of resources according to the safety constraint unit combination mathematical model;

[0029] A graph node construction module, used to construct a graph model node corresponding to each resource according to the constraint parameters corresponding to each resource;

[0030] A graph model edge construction module, used for constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system;

[0031] The graph model construction module is used to construct a power system safety constraint unit combination graph model based on multiple graph model nodes and multiple graph model edges.

[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] Taking the minimization of the total cost of power system operation as the goal, a safety-constrained unit combination mathematical model is established based on the physical models of various resources included in the power system;

[0034] Determining constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model;

[0035] According to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed;

[0036] Constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system;

[0037] According to the plurality of graph model nodes and the plurality of graph model edges, a power system safety constraint unit combination graph model is constructed.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0039] Taking the minimization of the total cost of power system operation as the goal, a safety-constrained unit combination mathematical model is established based on the physical models of various resources included in the power system;

[0040] Determining constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model;

[0041] According to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed;

[0042] Constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system;

[0043] According to the plurality of graph model nodes and the plurality of graph model edges, a power system safety constraint unit combination graph model is constructed.

[0044] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0045] Taking the minimization of the total cost of power system operation as the goal, a safety-constrained unit combination mathematical model is established based on the physical models of various resources included in the power system;

[0046] Determining constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model;

[0047] According to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed;

[0048] Constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system;

[0049] According to the plurality of graph model nodes and the plurality of graph model edges, a power system safety constraint unit combination graph model is constructed.

[0050] The above-mentioned power system safety constraint unit combination graph model modeling method, device, computer equipment, computer readable storage medium and computer program product take the total cost of power system operation as the target, establish a date safety constraint unit combination model according to the physical model of various resources included in the power system, and determine the constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model, so as to solve the optimization problem of the power system. Further, according to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed, and according to the connection relationship and topological structure between various resources in the power system, a plurality of graph model edges are constructed, and finally, according to the plurality of graph model nodes and the plurality of graph model edges, a power system safety constraint unit combination graph model is constructed. By constructing a global safety constraint unit combination graph model of the power system for the connection relationship and topological structure between various resources included in the power system and the resources, all heterogeneous resource data of the power system are managed in the "node-edge" storage mode of the graph model technology, which conforms to the structure of the power grid and improves the efficiency of organizing and managing multi-source heterogeneous data in the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 A schematic diagram of a flow chart of a method for modeling a power system safety constraint unit combination graph model in one embodiment;

[0053] Figure 2 A schematic diagram of the LCC model structure in one embodiment;

[0054] Figure 3 A schematic diagram of a process of constructing a map model node in an embodiment;

[0055] Figure 4 A schematic diagram of a cascade hydroelectric power station in one embodiment;

[0056] Figure 5 A schematic diagram of a distributed aggregation business graph model in one embodiment;

[0057] Figure 6 A schematic diagram of a multi-source heterogeneous source-grid-load-storage resource graph model of a new energy power system in one embodiment;

[0058] Figure 7 It is a structural block diagram of a modeling device for a power system safety constraint unit combination diagram model in one embodiment;

[0059] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0061] In an exemplary embodiment, Figure 1 As shown, a method for modeling a power system safety constraint unit combination diagram model is provided, comprising the following steps S102 to S110. Among them:

[0062] Step S102, with the goal of minimizing the total cost of power system operation, a safety-constrained unit combination mathematical model is established based on the physical models of various resources included in the power system.

[0063] The total cost of power system operation can be the sum of the costs incurred by the power equipment included in the power system during production and operation. The various resources included in the power system can be units, power stations and distributed energy aggregators in the power grid.

[0064] Among them, the safety-constrained unit combination mathematical model can be the objective function for solving the unit combination optimization problem based on safety constraints. Mathematically, unit combination is a high-dimensional, discrete, nonlinear mixed integer optimization problem involving 0-1 integer variables and continuous variables. It is necessary to make decisions on the generator sets, decide which generators to turn on and off, and how much electricity the turned-on generators produce to meet market demand. The goal is to minimize the total cost of power generation (there are also many other goals, such as considering environmental impacts), and the constraints are mainly to ensure safety constraints, that is, the amount of electricity transmitted by each power transmission line cannot exceed its load.

[0065] Optionally, the server establishes a safety-constrained unit combination mathematical model based on the minimum total cost of the power system and the minimum sum of physical models of various resources included in the power system and the constraints corresponding to the loads of the power grid circuit lines.

[0066] Step S104, determining the constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model.

[0067] Among them, the constraint parameters may be rules or restrictions that need to be followed in specific situations, and the constraint parameters may be resource constraints or time constraints. Considering the constraint parameters ensures that the final solution can meet the actual situation and feasibility. In this embodiment, it may refer to resource constraints and time constraints of the power grid.

[0068] Optionally, the server determines the constraint parameters corresponding to each resource under the condition of minimizing the total cost of the power system based on the safety constraint unit combination mathematical model, including system load balance constraint, system positive reserve capacity constraint, system negative reserve capacity constraint, system primary frequency regulation reserve capacity constraint, and line flow constraint; the physical constraints of thermal power units include upper and lower limit constraints of unit (group) output, unit climbing constraints, minimum continuous start and stop time constraints of units, and maximum start and stop times constraints of units; and the physical constraints of other resources themselves, including cascade hydropower stations, pumped storage power stations, energy storage power stations, wind turbines, photovoltaic power stations, and distributed energy aggregators. For example, the power generation constraints of wind turbines are determined in the following ways: Among them, P t wind is the planned wind power active power value on the previous day, P wf and They are the lower and upper bounds of the 95% confidence interval for short-term wind power probability forecast. The power generation constraints of the photovoltaic power station are determined by: Among them, P t solar is the planned value of photovoltaic active power on the previous day, P sf and They are the lower and upper bounds of the 95% confidence interval for short-term photovoltaic power probability prediction. The constraints of the energy storage power station are determined by the following formula:

[0069]

[0070] in, is the output active power value of the i-th energy storage power station unit at the t-th moment, which is a negative value in the charging state and a positive value in the discharging state; and is the state variable of the i-th energy storage power station unit at time t. When the energy storage power station unit is in the charging state is 1, is 0, is the input active power in this state, P i cMax It is the upper limit of active power input during charging; when the energy storage power station unit is in the discharging state, is 0, is 1, is the output active power in this state, P i dMax is the upper limit of the output active power during discharge, is the storage capacity of the i-th energy storage station at time t, is the upper limit of the storage capacity. The constraints of the DC transmission line are as follows: Figure 2Taking the LCC (Line Commutated Converter) model provided as an example, the constraint model of the DC transmission line is determined in the following way:

[0071]

[0072] I dc,h -G h ·V dc =0

[0073] P term,h =V dc,h I dc,h

[0074] Q term,h =V dc,h I dc,h tanφ h

[0075] Among them, I dc,h is the DC (Direct Current) current of the converter h, V dc,h is the DC voltage of the converter h, T h Non-nominal tap ratio of the transformer connected to the converter h, V m is the AC voltage amplitude on bus m, α h The trigger angle of the converter h, X c,h The commutation reactance of the converter h, φ h is the power factor angle of the converter h, G h is the admittance matrix of the DC transmission system of converter h, P term,h and Q term,h are the active and reactive powers of converter h respectively.

[0076] Step S106: construct a graph model node corresponding to each resource according to the constraint parameters corresponding to each resource.

[0077] Among them, the graph model can be a mathematical model representing the graph structure, which is composed of nodes (or nodes) and edges. The graph model node can be the basic element of the graph, usually used to represent an entity or object. The node can be a data object of various types. In this embodiment, the graph model node represents each power device in the power system.

[0078] Optionally, the server constructs a graph model node corresponding to each resource based on the graph model and graph computing theory, as well as constraint parameters corresponding to each resource, taking each resource as an object.

[0079] Step S108, constructing multiple graph model edges according to the connection relationship and topological structure between various resources in the power system.

[0080] The edges of the graph model can be line segments or arrows connecting the nodes in the graph, which are used to represent the relationship or connection between the nodes. Edges can be undirected, indicating a peer relationship between nodes, or directed, indicating a directed relationship between nodes. Edges can also carry weights or labels to indicate the strength of the relationship between nodes or other attribute information. In graph theory, edges are an important part of the graph, and they are the bridges for information transmission and association between nodes.

[0081] Optionally, the server constructs multiple graph model edges based on the connection relationship between various resources in the power system and the topological structure of the power grid, including AC lines, DC lines, interconnection lines between power equipment in the power system, and market connection relationships between distributed energy individuals and aggregators.

[0082] Step S110: constructing a power system safety constraint unit combination graphical model according to a plurality of graphical model nodes and a plurality of graphical model edges.

[0083] Optionally, the server determines the graph model nodes corresponding to the starting points and the ending points of the multiple graph model edges, thereby connecting the multiple graph model nodes with the multiple graph model edges to construct a power system safety constraint unit combination graph model.

[0084] In the above-mentioned power system safety constraint unit combination graph model modeling method, the total cost of power system operation is taken as the target, and the safety constraint unit combination model is established according to the physical model of various resources included in the power system. According to the safety constraint unit combination mathematical model, the constraint parameters corresponding to each resource are determined, thereby solving the optimization problem of the power system. Further, according to the constraint parameters corresponding to each resource, the graph model node corresponding to each resource is constructed, and according to the connection relationship and topological structure between various resources in the power system, multiple graph model edges are constructed. Finally, according to multiple graph model nodes and multiple graph model edges, the power system safety constraint unit combination graph model is constructed. By constructing a global safety constraint unit combination graph model for the power system according to the connection relationship and topological structure between various resources and resources included in the power system, all heterogeneous resource data of the power system are managed in the "node-edge" storage mode of the graph model technology, which conforms to the structure of the power grid and improves the efficiency of organizing and managing multi-source heterogeneous data in the power system.

[0085] In an exemplary embodiment, step S102 takes minimizing the total cost of power system operation as the goal, and establishes a safety constraint unit combination mathematical model based on the physical models of various resources included in the power system, including:

[0086] With the goal of minimizing the total operating cost of the power system, the total operating cost of the power system units is calculated based on the total number of units included in the power system, the total number of sections in a preset time period, and the power, operating cost, startup cost and minimum stable technical output cost of each unit in the preset time period; the line congestion cost of the power system is calculated based on the preset constraint relaxation penalty factor, the total number of lines included in the power system, the line forward power flow relaxation variable and the line reverse power flow relaxation variable; based on the total operating cost of the power system units and the line congestion cost, the objective function of the safety constraint unit combination mathematical model is established.

[0087] The slack variable indicates the degree of sample outlier. The larger the slack variable, the farther the outlier. If the slack variable is zero, the sample has no outliers. The penalty factor indicates the importance of the loss caused by outliers. When the penalty factor is infinite, the hyperplane will be forced to correctly classify all samples, which degenerates into a hard margin classifier.

[0088] Optionally, the server takes the minimum total cost of power system operation as the goal, and calculates the total cost of power system unit operation based on the total number of units included in the power system, the total number of sections in a preset time period, and the power, operation cost, startup cost and minimum stable technical output cost of each unit in the preset time period, and calculates the line congestion cost of the power system based on a preset constraint relaxation penalty factor, the total number of lines included in the power system, the line forward flow relaxation variable and the line reverse flow relaxation variable; further, a safety constraint unit combination mathematical model is established based on the total cost of power system unit operation and the line congestion cost. The safety constraint unit combination mathematical model includes:

[0089]

[0090] Where N is the total number of units, t is the preset time period, T is the total number of preset time periods, M is the preset constraint relaxation penalty factor, SL + l is the forward power flow slack variable of the line, SL - l is the reverse power flow slack variable of the line, NL is the total number of lines, P i,t , C i,t (P i,t ), They respectively represent the power, operating cost, startup cost and minimum stable technical output cost of the unit within the preset time period.

[0091] In this embodiment, by considering constraints, such as the total number of lines and flow slack variables, the system can better understand the constraints of the power system, which helps to avoid system instability or exceeding the carrying capacity, and ensures the safety and stability of the power system while reducing the operating cost of the power system.

[0092] In an exemplary embodiment, Figure 3 As shown, according to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed, including the following steps S302 to S304. Among them:

[0093] Step S302: determining the constraint operation attribute of each resource under the constraint condition according to the constraint parameters corresponding to each resource.

[0094] Among them, the constraints can be system load balance constraints, system positive reserve capacity constraints, system negative reserve capacity constraints, system primary frequency regulation reserve capacity constraints, and line flow constraints; the physical constraints of thermal power units include upper and lower limit constraints on unit (group) output, unit climbing constraints, unit minimum continuous start and stop time constraints, and unit maximum start and stop times constraints; and the physical constraints of other resources themselves, including cascade hydropower stations, pumped storage power stations, energy storage power stations, wind turbines, photovoltaic power stations, and distributed energy aggregators.

[0095] Optionally, the server determines the constrained operating attributes of each resource under the constraint conditions based on the constraint parameters corresponding to each resource. For example, when the resource is a thermal power unit, the server determines the startup power limit, shutdown power limit and minimum downtime of the thermal power unit as the constrained operating attributes under the constraint conditions.

[0096] Step S304: construct a graph model node corresponding to each resource according to the constraint operation attributes and inherent attributes corresponding to each resource.

[0097] Among them, the inherent attributes can be the fixed physical attributes of the power equipment included in the power system, such as the system capacity of the thermal power unit, the water storage capacity of the hydroelectric power station, etc.

[0098] Optionally, according to the constraint operation attributes and inherent attributes corresponding to each resource, a graph model node of the type corresponding to each resource is constructed. The multiple node types corresponding to multiple heterogeneous resources of the power system include: bus node type (Bus), thermal power unit node type (Generators), cascade hydropower station node type (Hydro_thermal), pumped storage power station node type (PHS), wind power new energy unit node type (Wind), photovoltaic new energy unit node type (Solar), energy storage station node type (Energy_storage), contact area node type (Area), distributed energy aggregator node type (Aggregator).

[0099] In an exemplary embodiment, after step S204 constructs the graph model node corresponding to each resource according to the constraint operation attribute and inherent attribute corresponding to each resource, the step further includes:

[0100] A corresponding index identifier is set for each resource; a mapping table is established between the index identifier of each resource and the corresponding constraint operation attributes and inherent attributes, the graph data of each resource is obtained, and the graph data of each resource is stored in the graph database.

[0101] Among them, the index identifier can be a name used to identify objects such as tables, columns, indexes, constraints, etc. in the database. In the database, identifiers usually include table names, column names, view names, etc., which are used to uniquely identify these objects. Identifiers in the database play a role similar to that of index identifiers in programming, and are unique names used to reference and operate database objects.

[0102] Optionally, the server sets a corresponding index identifier for the graph model node of each resource, establishes a mapping table between the resource index identifier and the corresponding constraint operation attribute and inherent attribute, obtains the graph data of each resource, and stores the graph data of each resource in the graph database for management. For example, as shown in Table 1, the graph data corresponding to the busbar in the power grid structure as a graph model node is provided:

[0103] Table 1

[0104]

[0105]

[0106] As shown in Table 2, the graph data corresponding to the thermal power unit as the graph model node is provided:

[0107] Table 2

[0108]

[0109]

[0110] As shown in Table 3, the graph data of the cascade hydropower stations as nodes of the graph model are provided:

[0111] Table 3

[0112]

[0113]

[0114] like Figure 4 As shown, a graph model of a cascade hydroelectric power station is provided, in which the upstream and downstream relationships between the three water stations of the cascade hydroelectric power station are taken as directed edges, and the arrows represent the direction from upstream to downstream.

[0115] As shown in Table 4, graph data of the pumped storage power station as a graph model node is provided:

[0116] Table 4

[0117]

[0118]

[0119] As shown in Table 5, the graph data corresponding to the wind turbine as the graph model node is provided:

[0120] Table 5

[0121]

[0122]

[0123] As shown in Table 6, the graph data corresponding to the photovoltaic power station as the graph model node is provided:

[0124] Table 6

[0125]

[0126] As shown in Table 7, the graph data corresponding to the energy storage power station as a graph model node is provided:

[0127] Table 7

[0128]

[0129] like Figure 5 As shown in the figure, a distributed aggregator graph model is provided. For distributed energy aggregators, wind turbines and photovoltaic units are used as individuals of distributed aggregators to participate in power market transactions in the form of virtual power plants. The graph data corresponding to the nodes of the aggregator model graph are shown in Table 8:

[0130] Table 8

[0131]

[0132]

[0133] As shown in Table 9, the graph data corresponding to the contact area as a graph model node is provided:

[0134]

[0135] In this embodiment, a mapping table between an index identifier and multiple attributes of a resource is established for a graph model node of each resource in the power system, and the table is stored in a graph model database as graph data for management, thereby improving the management efficiency of the graph data corresponding to the graph model node.

[0136] In an exemplary embodiment, step S106 constructs multiple graph model edges according to the connection relationship and topological structure between multiple resources in the power system, including:

[0137] According to the connection relationship and topological structure between various resources in the power system, various types of connection edges are determined; according to the starting points and end points corresponding to the various types of connection edges, multiple graph model edges are constructed.

[0138] Among them, the connecting edges include DC transmission lines, AC transmission lines, market connecting edges between distributed energy individuals and aggregators, and regional interconnection lines.

[0139] Optionally, the server determines multiple types of connection edges according to the connection relationship between multiple resources in the power system and the topological structure of the power grid, and constructs multiple graph model edges according to the starting points and end points corresponding to the multiple types of connection edges. For example, when the resource is a busbar, in the topological structure of the power grid, the busbars are connected to each other through AC transmission lines, so that the starting point of the AC transmission line is determined to be the busbar, and the focus is also the busbar.

[0140] In this embodiment, different types of connection edges are determined according to the connection relationship and topological structure of each resource in the power system, and then multiple graph model edges are constructed based on the starting and ending points of these connection edges. This method can more clearly express the connection relationship between resources in the power system, helping to analyze and optimize the operation of the power system.

[0141] In an exemplary embodiment, after constructing multiple graph model edges according to the starting points and end points corresponding to multiple types of connection edges in the above embodiment, the following further includes:

[0142] Obtain the transmission properties corresponding to multiple types of connection edges; establish a mapping table between the starting point and end point of each type of connection edge and the transmission properties, obtain the graph data of each graph model edge, and store the graph data of each graph model edge in the graph database.

[0143] The transmission attribute may be an attribute corresponding to the operation of the connection edge, such as the flow rate of the line, the threshold of the power flowing through, the line resistance, etc.

[0144] Optionally, the server obtains transmission attributes corresponding to multiple types of connection edges, establishes a mapping table between the starting point and end point of the connection edge and the transmission attributes, obtains the graph data of the graph model edge corresponding to the connection edge, and stores the graph data of the graph model edge in the graph database for management. For example, as shown in Table 10, the corresponding graph data when the market connection relationship between the distributed energy individual and the aggregator is used as the graph model edge is provided:

[0145] Table 10

[0146]

[0147] As shown in Table 11, graph data corresponding to the AC transmission line as the edge of the graph model is provided:

[0148] Table 11

[0149]

[0150]

[0151] As shown in Table 12, the graph data corresponding to the DC transmission line as the edge of the graph model is provided:

[0152] Table 12

[0153]

[0154]

[0155] As shown in Table 13, the corresponding graph data when the tie line is used as the edge of the graph model is provided. The tie line can transmit power to the system, with positive input and negative output.

[0156] Table 13

[0157]

[0158] In this embodiment, a mapping table is constructed as graph data for the transmission properties of each connection edge in the power system, as well as the corresponding starting point and end point, and is stored in a graph database for management, thereby improving the association between various resources in the power system and the management efficiency of line attribute data.

[0159] In an exemplary embodiment, another method for modeling a power system safety constraint unit combination graph model is provided. The specific contents include:

[0160] Step 1. Establish a mathematical model of the day-ahead safety-constrained unit combination considering multiple resources, with the goal of minimizing the total system cost; the constraints are: system operation constraints include system load balance constraints, system positive reserve capacity constraints, system negative reserve capacity constraints, system primary frequency regulation reserve capacity constraints, and line flow constraints; the physical constraints of thermal power units include upper and lower limits of unit (group) output constraints, unit climbing constraints, minimum continuous start and stop time constraints, and maximum start and stop times constraints; and the physical constraints of other resources themselves, including cascade hydropower stations, pumped storage power stations, energy storage power stations, wind turbines, photovoltaic power stations, and distributed energy aggregators.

[0161] Step 2: Based on the graph model and graph computing theory, with the parameters of market participants as node attributes, establish graph model nodes for heterogeneous sources, loads and storage resources, which considers multiple resource graph nodes such as power grid bus, thermal power units, cascade hydropower stations, pumped storage power stations, wind turbines, photovoltaic power stations, energy storage power stations and distributed energy aggregators.

[0162] Step 3: Based on the graph model and graph computing theory, with connection relationships, topological structures, etc. as edge attributes, the graph model edges of the new energy power system network are established, which takes into account the edges of graph models such as AC lines, DC lines, and interconnection lines.

[0163] Step 4: Based on the graph database platform, a safety constraint unit combination graph model architecture under the market environment was built.

[0164] Step 4.1, create a node type:

[0165] In the graph data platform, according to the attributes of the bus nodes listed in Table 1, the attributes of the traditional thermal power unit nodes listed in Table 2, the attributes of the hydropower station nodes listed in Table 3, the attributes of the pumped storage power station nodes listed in Table 4, the attributes of the wind turbine nodes listed in Table 5, the attributes of the photovoltaic unit nodes listed in Table 6, the attributes of the energy storage power station nodes listed in Table 7, the attributes of the connection area nodes listed in Table 9, and the attributes of the distributed energy aggregator nodes listed in Table 8, create bus node types (Bus), thermal power unit node types (Generators), cascade hydropower station node types (Hydro_thermal), pumped storage power station node types (PHS), wind power new energy unit node types (Wind), photovoltaic new energy unit node types (Solar), energy storage power station node types (Energy_storage), connection area node types (Area), and distributed energy aggregator node types (Aggregator).

[0166] Step 4.2, create edge type:

[0167] In the graph data platform, according to the attributes of the AC transmission line edges listed in Table 10, the attributes of the DC transmission line edges listed in Table 11, the attributes of the interconnection lines listed in Table 12, and the attributes of the market connection edges between distributed energy individuals and aggregators listed in Table 13, the above edge types and the connection edges between thermal power unit nodes, cascade hydropower station nodes, pumped storage power station nodes, wind power new energy unit nodes, photovoltaic new energy unit nodes, energy storage power station nodes, distributed energy aggregator nodes and bus nodes are created.

[0168] 4.3. Create a graph:

[0169] According to the established nodes and edges, an improved global graph model of the node system is created, and a multi-source heterogeneous source-grid-load-storage resource graph model of the new energy power system under the market environment is obtained, such as Figure 6 shown.

[0170] Step 5. Based on the global graph model of safety-constrained unit combinations under the market environment built in step 4, all resource data contained in the improved node system are imported into the graph model in the form of a relational database, and the data of the multi-source heterogeneous source-grid-load-storage resource graph model of the new energy power system under the market environment is imported into the graph data platform and converted into graph data storage.

[0171] In this embodiment, graph data modeling of the safety-constrained unit combination optimization model of the new power system is carried out. In order to solve the problem of large-scale unit combination optimization calculation at multiple time scales such as the day-ahead market and real-time scheduling after the addition of future new energy, it is necessary to use a graph database to efficiently manage the data of the source-grid-load-storage unit combination model containing massive heterogeneous resources, and efficiently organize and manage dynamic and static data such as market quotations, boundary conditions, and calculation models through graphs.

[0172] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0173] Based on the same inventive concept, the embodiment of the present application also provides a power system safety constraint unit combination diagram model modeling device for implementing the power system safety constraint unit combination diagram model modeling method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power system safety constraint unit combination diagram model modeling device embodiments provided below can refer to the limitations of the power system safety constraint unit combination diagram model modeling method above, and will not be repeated here.

[0174] In an exemplary embodiment, Figure 7 As shown, a power system safety constraint unit combination graph model modeling device 700 is provided, comprising: a mathematical model building module 602, a constraint condition determination module 704, a graph node building module 706, a graph model edge building module 708 and a graph model building module 710, wherein:

[0175] The mathematical model building module 702 is used to establish a day-ahead safety-constrained unit combination mathematical model based on the physical models of various resources included in the power system with the goal of minimizing the total cost of power system operation.

[0176] The constraint condition determination module 704 is used to determine the constraint parameters corresponding to the various resources according to the safety constraint unit combination mathematical model.

[0177] The graph node construction module 706 is used to construct a graph model node corresponding to each resource according to the constraint parameters corresponding to each resource.

[0178] The graph model edge construction module 708 is used to construct multiple graph model edges according to the connection relationship and topological structure between multiple resources in the power system.

[0179] The graphical model construction module 710 is used to construct a power system safety constraint unit combination graphical model according to multiple graphical model nodes and multiple graphical model edges.

[0180] Furthermore, in one embodiment, the mathematical model building module 702 is also used to calculate the total unit operating cost of the power system with the goal of minimizing the total operating cost of the power system based on the total number of units included in the power system, the total number of sections in a preset time period, and the power, operating cost, startup cost and minimum stable technical output cost of each unit in the preset time period; calculate the line congestion cost of the power system based on a preset constraint relaxation penalty factor, the total number of lines included in the power system, the line forward flow relaxation variable and the line reverse flow relaxation variable; and establish the objective function of the safety constraint unit combination mathematical model based on the total unit operating cost and the line congestion cost of the power system.

[0181] Furthermore, in one embodiment, the graph node construction module 706 is also used to determine the constraint operation properties of each resource under the constraint conditions according to the constraint parameters corresponding to each resource; and to construct the graph model node corresponding to each resource according to the constraint operation properties and inherent properties corresponding to each resource.

[0182] Furthermore, in one embodiment, the graph node construction module 706 is also used to set a corresponding index identifier for each resource; establish a mapping table between the index identifier of each resource and the corresponding constraint operation attributes and inherent attributes, obtain the graph data of each resource, and store the graph data of each resource in the graph database.

[0183] Furthermore, in one embodiment, the graph model edge construction module 708 is also used to determine multiple types of connection edges based on the connection relationship and topological structure between multiple resources in the power system; the connection edges include DC transmission lines, AC transmission lines, market connection edges between distributed energy individuals and aggregators, and regional interconnection lines; and multiple graph model edges are constructed based on the starting points and end points corresponding to the multiple types of connection edges.

[0184] Furthermore, in one embodiment, the graph model edge construction module 708 is also used to obtain transmission properties corresponding to multiple types of connection edges; establish a mapping table between the starting point and end point of each type of connection edge and the transmission properties, obtain the graph data of each graph model edge, and store the graph data of each graph model edge in the graph database.

[0185] Each module in the above-mentioned power system safety constraint unit combination diagram modeling device 700 can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0186] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to the graphical model of the power system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for modeling a combination graphical model of a power system safety constraint unit is implemented.

[0187] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0188] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0189] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0190] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0191] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0192] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0193] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0194] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for modeling a power system safety constraint unit combination diagram model, characterized in that: The method comprises: Taking the minimization of the total cost of power system operation as the goal, a mathematical model of the day-ahead safety-constrained unit combination is established according to the physical models of various resources included in the power system; Determining constraint parameters corresponding to each resource according to the safety constraint unit combination mathematical model; According to the constraint parameters corresponding to each resource, a graph model node corresponding to each resource is constructed; Constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system; According to the plurality of graph model nodes and the plurality of graph model edges, a power system safety constraint unit combination graph model is constructed.

2. The method according to claim 1, characterized in that The method takes minimizing the total cost of power system operation as the goal and establishes a day-ahead safety-constrained unit combination mathematical model based on the physical models of various resources included in the power system, including: Taking the minimum total cost of power system operation as the goal, the total cost of power system unit operation is calculated according to the total number of units included in the power system, the total number of preset time periods, and the power, operation cost, startup cost and minimum stable technical output cost of each unit in the preset time period; Calculating the line congestion cost of the power system according to a preset constraint relaxation penalty factor, the total number of lines included in the power system, a line forward power flow relaxation variable, and a line reverse power flow relaxation variable; According to the total operating cost of the units in the power system and the line congestion cost, an objective function of a safety-constrained unit combination mathematical model is established.

3. The method according to claim 1, characterized in that The step of constructing a graph model node corresponding to each resource according to the constraint parameters corresponding to each resource includes: Determine the constraint operation attribute of each resource under the constraint conditions according to the constraint parameters corresponding to each resource; According to the constraint operation attributes and inherent attributes corresponding to each resource, a graph model node corresponding to each resource is constructed.

4. The method according to claim 3, characterized in that After constructing the graph model node corresponding to each resource according to the constraint operation attribute and the inherent attribute corresponding to each resource, the method further includes: Setting a corresponding index identifier for each resource; A mapping table is established between the index identifier of each resource and the corresponding constraint operation attribute and the inherent attribute, the graph data of each resource is obtained, and the graph data of each resource is stored in a graph database.

5. The method according to claim 1, characterized in that The step of constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system includes: According to the connection relationship and topological structure between the various resources in the power system, multiple types of connection edges are determined; the connection edges include direct current transmission lines, alternating current transmission lines, market connection edges between distributed energy individuals and aggregators, and regional connection lines; According to the starting points and end points corresponding to the multiple types of connecting edges, multiple graph model edges are constructed.

6. The method according to claim 5, characterized in that After constructing a plurality of graph model edges according to the starting points and end points corresponding to the plurality of types of connection edges, the method further includes: Obtaining transmission attributes corresponding to multiple types of connection edges; A mapping table between the starting point and end point of each type of the connection edge and the transmission attribute is established to obtain the graph data of each graph model edge, and the graph data of each graph model edge is stored in the graph database.

7. A modeling device for a power system safety constraint unit combination diagram model, characterized in that: The device comprises: A mathematical model building module is used to establish a day-ahead safety-constrained unit combination mathematical model based on physical models of multiple resources included in the power system with the goal of minimizing the total cost of power system operation; A constraint condition determination module, used to determine the constraint parameters corresponding to the plurality of resources according to the safety constraint unit combination mathematical model; A graph node construction module, used to construct a graph model node corresponding to each resource according to the constraint parameters corresponding to each resource; A graph model edge construction module, used for constructing a plurality of graph model edges according to the connection relationship and topological structure between the plurality of resources in the power system; The graph model construction module is used to construct a power system safety constraint unit combination graph model based on multiple graph model nodes and multiple graph model edges.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Pricing method of hydropower in electric power spot market

    CN115049431A

  • Power heterogeneous network resource dynamic slicing optimization method and system

    CN117979370A

  • Power distribution network data graph model construction method and device, electronic equipment and storage medium

    CN118035502A

  • Activity Diagram Model-Based System Behavior Simulation Method

    US20160283201A1

  • Method and device for scheduling resources

    WO2018177335A1