Power system transient stability prevention and control method and device
Through the model-driven-data-driven hybrid method and clustering method, practical dynamic security domain boundaries of the power system are built, potential instability modes are identified, and the rapid accuracy of power system's transient stability prevention and control is solved, and online formulation is achieved. Control measures improve the availability of transient stability analysis models.
Patent Information
- Application Number
- CN202410910989.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-01
AI Technical Summary
In the power system with large number of new energy access, transient stability prevention and control is difficult to achieve rapid and accurate online application. Traditional methods have complex calculations, long calculation times, and offline analysis is difficult to meet the rapid needs. And the problem of insufficient constraint accuracy built on model-driven methods.
Using a hybrid model to drive and data to build practical dynamic security domain boundaries of the power system, using clustering methods to identify potential instability modes online/offline, construct analytical expression forms through transient stability analysis agent models, and construct prevention and control optimization Model to achieve fast and accurate transient stability prevention control.
It realizes rapid and accurate solution of transient stability prevention and control of power system, improves the accuracy and scalability of optimization results, meets the availability of transient stability analysis models in new scenarios, and can formulate effective control measures online.
Smart Images

Figure CN118889557A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of power system transient stability preventive control, and in particular relates to a power system transient stability preventive control method and device. Background Art
[0002] At present, as an important part of the energy supply system, the safe and stable operation of the power system is crucial to ensuring efficient power supply and maintaining the normal operation of society. The safety and stability issues of the power system include static safety, transient stability, voltage stability, frequency stability, etc. In today's power system with a large number of new energy sources connected, the safety and stability margin of the power system is further compressed, and traditional offline analysis and control strategies can no longer meet the rapid requirements.
[0003] At present, transient stability prevention and control prevents possible system safety and stability problems after an accident by changing the current operating point. At the same time, the transient stability analysis model contains nonlinear differential algebraic equations, high computational complexity, and long operation time, which makes it difficult to effectively apply the time domain simulation method directly on large-scale power grids. With the vigorous development of wide-area measurement systems, new opportunities have been provided for online transient stability analysis and prevention and control, especially in terms of massive data collection and storage. It is not limited to the grid structure of the power grid and the selection of electrical component models. The wide-area measurement system obtains real-time dynamic response information of different regions of the power system under the same reference time frame in real time, conducts transient stability analysis of the power grid and formulates control strategies to meet the needs of online applications.
[0004] However, in the face of the complex and changeable operation of power systems, the traditional transient stability preventive control method based on offline simulation and key anticipated fault sets is no longer applicable. Existing technologies often only consider the accuracy of the mapping relationship between data input and result output, and construct a large number of non-explicit "black box constraints", making it difficult to be applied to optimization solutions. At the same time, in real-time applications, the rapid construction of transient stability constraints is also difficult to achieve, and the constraints constructed based on model-driven methods have the problem of insufficient accuracy. Summary of the invention
[0005] To this end, the present invention provides a method and device for transient stability preventive control of an electric power system, which adopts a clustering method to obtain a cluster of machines that are most likely to experience power angle divergence, constructs a critical cluster of unstable modes, and realizes rapid and accurate solution of the optimization problem of transient stability preventive control of the electric power system by taking into account the analytical expression of transient stability constraints constructed online / offline; and solves the problems that the evaluation rules of the transient stability analysis model are difficult to parse, the transient stability preventive control decision-making process is uncontrollable, and the evaluation results are unknowable.
[0006] In order to achieve the above object, the present invention provides the following technical solution: a method for preventing and controlling transient stability of a power system, comprising:
[0007] A practical dynamic safety domain boundary of the power system is constructed by a hybrid model-driven and data-driven approach, and a clustering method is used to identify potential instability modes of the power system operation points online / offline to determine whether there is a dynamic safety domain boundary corresponding to the instability mode;
[0008] Acquire the topological structure and branch data of the power system, and construct a transient stability analysis agent model according to the acquired topological structure and branch data of the power system; construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and update the unconfirmed dynamic safety domain boundary in real time by using the online / offline identification of the dominant instability mode;
[0009] A preventive control optimization model is constructed, wherein the objective function of the preventive control optimization model is to minimize the total cost of generator output, and the constraints of the preventive control optimization model include power flow constraints, transient stability constraints, and line current constraints; the dynamic safety domain boundary is corrected using the preventive control optimization model to obtain a transient stability preventive control optimization result for the power system.
[0010] As a preferred scheme for the transient stability preventive control method of the power system, the practical dynamic security region of the power system transforms the strong nonlinear problem into a linear problem:
[0011]
[0012] Where P is the set of node outputs; R is the set of real numbers, a i is the coefficient of the i-th unit in the dynamic safety region, are the upper and lower limits of the generator output, n is the number of generators in the power system; Ω d It is the set of all dynamic security domain boundaries.
[0013] As a preferred method for transient stability prevention and control of power systems, clustering methods are used to identify potential instability modes of power system operating points online / offline, and physical driving boundary coefficients are used as hot start conditions. Simulation data are used to fine-tune the obtained practical dynamic safety region boundaries.
[0014] When fine-tuning the obtained practical dynamic safety region boundary, the L2 regularization loss function and the physical model driven loss function are taken into account:
[0015]
[0016] Where L1 is the ridge regression loss function, and w is the weight matrix in the network;
[0017]
[0018] Where L2 is the physical model driven loss function, w0 = [S1] T is the initial value of the weight, S is the safety domain coefficient matrix, 1 is the unit matrix, and n is the number of training samples.
[0019] As a preferred method for preventing and controlling transient stability of power systems, clustering methods are used to identify potential instability modes of power system operating points online / offline. The transient stability is pre-evaluated by identifying the instability modes near the initial operating point of the power system. The initial rotor acceleration of generator i at the moment of fault is:
[0020]
[0021] Where P mi is the mechanical power of generator i, P ei is the electromagnetic power of generator i, M i is the moment of inertia of generator i;
[0022] According to the results of coherent identification, the average initial acceleration of the generators in the coherent group is calculated; the group with the largest average initial acceleration is the critical group, and the remaining generators are the remaining group, in order to identify the unstable mode of the current operating state.
[0023] As a preferred method for transient stability prevention and control of power systems, clustering methods are used to identify potential instability modes of power system operation points online / offline, and the mean shift vector of data points in the window is iteratively calculated:
[0024]
[0025] Where X is the current center coordinate, S r (X) is a high-dimensional sphere centered on X, r is the radius of the sphere, and X i is the i-th data point;
[0026] The introduction of Gaussian kernel function makes the cluster center converge more to the nearest local density maximum point:
[0027]
[0028] Where λ is the current center coordinate, λ i is the i-th data point;
[0029] For a given sample X k , select the power angle of each generator with different frequencies after the fault is cleared:
[0030] X k =[δ 0,k ,δ1.k ,…,δ p,k ]
[0031] In the formula, p is the last moment of the time series data, δ p,k is the power angle of the kth generator at p cycle.
[0032] As a preferred method for preventing and controlling transient stability of power systems, the objective function of the preventive control optimization model is The expression is:
[0033]
[0034] In the formula, c 0i 、c 1i 、c 2i is the cost coefficient of the generator; P Gi is the active output of the i-th generator, E is the output limit set, S G For generator collection.
[0035] As a preferred solution of the transient stability preventive control method of the power system, the power flow constraint expression of the preventive control optimization model is:
[0036]
[0037] Where P Gi , Q Gi are respectively the active injection and reactive injection of node i; P Di , Q Di are the active load and reactive load of node i respectively; V i and V j is the node voltage amplitude, θ ij is the node voltage phase angle difference; G ij , B ij are the real and imaginary parts of the branch admittance respectively.
[0038] As a preferred solution of the transient stability preventive control method for power system, the transient stability constraint expression of the preventive control optimization model is:
[0039] Ω D = {P∈R n-1 |α 1,k P1+α 2,k P2+…+α n-1,k P n-1 ≤1}
[0040] In the formula, α n-1,k is the coefficient of the kth linear equation of transient stability constraint; P n-1 is the active power output of node n-1.
[0041] As a preferred solution of the transient stability preventive control method of the power system, the line current constraint of the preventive control optimization model is transformed into the form of a safety domain:
[0042] Ω T = {P∈R n-1 |β 1,h P1+β 2,h P2+…+β n-1,h P n-1 ≤1}
[0043] In the formula, β n-1,h are the coefficients of the hth linear equation of the static safety constraint.
[0044] The present invention also provides a power system transient stability preventive control device, which adopts the above-mentioned power system transient stability preventive control method, comprising:
[0045] The safety domain boundary analysis module is used to construct a practical dynamic safety domain boundary of the power system by adopting a model-driven-data-driven hybrid approach, and to identify potential instability modes of the power system operation point online / offline using a clustering method, and to determine whether there is a dynamic safety domain boundary corresponding to the instability mode;
[0046] An analysis agent model building module is used to obtain the topology structure and branch data of the power system, and build a transient stability analysis agent model based on the obtained power system topology structure and branch data;
[0047] A safety domain boundary confirmation module is used to construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and to update the unconfirmed dynamic safety domain boundary in real time by using the online / offline identification of the dominant instability mode;
[0048] A preventive control optimization model construction module is used to construct a preventive control optimization model, wherein the objective function of the preventive control optimization model is to minimize the total cost of generator output, and the constraint conditions of the preventive control optimization model include power flow constraint, transient stability constraint, and line current constraint;
[0049] The safety domain boundary correction module is used to correct the dynamic safety domain boundary using the preventive control optimization model to obtain the power system transient stability preventive control optimization result.
[0050] The present invention has the following advantages: adopting a model-driven-data-driven hybrid approach to construct a practical dynamic safety domain boundary of a power system, and using a clustering method to identify potential instability modes of power system operation points online / offline, and to determine whether there is a dynamic safety domain boundary corresponding to the instability mode; obtaining the topological structure and branch data of the power system, and constructing a transient stability analysis agent model according to the obtained power system topological structure and branch data; constructing an analytical expression of transient stability constraints through the transient stability analysis agent model, and using the online / offline identification of the dominant instability mode to update the unconfirmed dynamic safety domain boundary in real time; constructing a preventive control optimization model, the objective function of which is to minimize the total cost of generator output, and the constraint conditions of the preventive control optimization model include power flow constraints, transient stability constraints, and line current constraints; using the preventive control optimization model to correct the dynamic safety domain boundary, and obtain the optimization result of transient stability preventive control of the power system. The present invention realizes the optimal power flow solution analysis that can consider multiple stability constraints, and meets the availability of the transient stability analysis model in new scenarios; improves the accuracy and extensibility of the optimization results, and realizes the online formulation of effective power system control measures. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0052] Figure 1 A schematic diagram of a flow chart of a method for preventing and controlling transient stability of a power system provided in an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a power system transient stability preventive control method provided in an embodiment of the present invention;
[0054] Figure 3 It is the cluster marking result in the power system transient stability preventive control method provided in the embodiment of the present invention;
[0055] Figure 4 A constraint violation situation in the power system transient stability preventive control method provided in an embodiment of the present invention;
[0056] Figure 5 The comparison result of the method in the power system transient stability preventive control method provided in the embodiment of the present invention;
[0057] Figure 6The constraint verification result in the power system transient stability preventive control method provided in the embodiment of the present invention;
[0058] Figure 7 This is a diagram of the architecture of a power system transient stability preventive control device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] Example 1
[0061] See also Figure 1 and Figure 2 In embodiment 1 of the present invention, a method for preventing and controlling transient stability of a power system is provided, comprising the following steps:
[0062] S1. Use a hybrid model-driven and data-driven approach to construct a practical dynamic safety domain boundary for the power system, and use a clustering method to identify potential instability modes of the power system operating point online / offline, and determine whether there is a dynamic safety domain boundary corresponding to the instability mode;
[0063] S2. Acquire the topological structure and branch data of the power system, and construct a transient stability analysis agent model according to the acquired topological structure and branch data of the power system; construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and update the unconfirmed dynamic safety domain boundary in real time by using the online / offline identification of the dominant instability mode;
[0064] S3. Construct a preventive control optimization model, wherein the objective function of the preventive control optimization model is to minimize the total cost of generator output, and the constraints of the preventive control optimization model include power flow constraints, transient stability constraints, and line current constraints; use the preventive control optimization model to correct the dynamic safety domain boundary to obtain the transient stability preventive control optimization result of the power system.
[0065] The traditional power system flow model mainly considers the voltage constraints of nodes, the current constraints of branches and other constraints, but does not take into account the stability constraints. The biggest reason is that the nonlinear non-convex form of the stability constraints is difficult to apply directly. As shown in formula (1), the analytical form of the stability constraints is called the practical dynamic security region. The practical dynamic security region of the power system transforms the strong nonlinear problem into a linear problem:
[0066]
[0067] Where P is the set of node outputs; R is the set of real numbers, a i is the coefficient of the ith unit in the dynamic safety region, are the upper and lower limits of the generator output, n is the number of generators in the power system; Ω d is the set of all dynamic safety domain boundaries. The number of safety boundaries depends on the number of anticipated accidents and unstable modes considered, that is, Ω d is the set of all safety boundaries. This means that theoretically enough boundaries will guarantee the accuracy of the transient stability domain.
[0068] The boundaries of the security domain With the topological characteristics of "density, continuity, and compactness", the practical dynamic safety domain can be approximately composed of several hyperplanes, and each linear boundary corresponds to an unstable mode one by one. The practical dynamic safety domain has a natural advantage in the construction of stability constraints. Its linear form has excellent interpretability and practicality, especially in the preventive control of large-scale power grids. In practical applications, there are There are many unstable modes. However, even if all the expected failures are enumerated as much as possible, it is still a combinatorial explosion problem for the construction of safety boundaries. Therefore, the stability constraints constructed solely by the model-driven method are difficult to cover the real stability domain boundaries. It is necessary to adopt a data-driven approach to fine-tune the obtained boundaries and continuously adapt to new scenarios. The embodiment of the present invention realizes the guiding role of physical knowledge on the training results. The neural network model is sensitive to the selection of initial weights. In order to prevent the optimization from falling into a local minimum, the neural network uses the physical driving boundary coefficient as the hot start condition, and then fine-tunes it with less actual data (simulation data).
[0069] Specifically, when fine-tuning the obtained practical dynamic safety region boundary, the L2 regularization loss function and the physical model driven loss function are taken into account:
[0070]
[0071] Where L1 is the ridge regression loss function, and w is the weight matrix in the network;
[0072]
[0073] Where L2 is the physical model driven loss function, w0 = [S1] T is the initial value of the weight, S is the safety domain coefficient matrix, 1 is the unit matrix, and n is the number of training samples. It can be seen that when the number of samples is small, L2 is involved in guiding the generation of the safety margin, and when the number of samples is large enough, the network can ignore this item.
[0074] The most direct manifestation of transient instability in the power system is the divergence of the power angle difference between different generators. When constructing the safety boundary, it is necessary to determine the instability mode under the current operating mode in advance. In traditional analysis methods, it is often necessary to group the units after the disturbance, and then divide the units with the same power angle change law into the same cluster, and then perform equivalent calculations. However, the actual power grid has higher requirements on the speed of preventive safety and stability assessment and the prediction of instability modes. Therefore, this embodiment uses a clustering method to identify potential instability modes of the power system operating point online / offline. By identifying the instability modes near the initial operating point of the power system, a preliminary assessment of transient stability is performed. The initial rotor acceleration of generator i at the moment of failure is:
[0075]
[0076] Where P mi is the mechanical power of generator i, P ei is the electromagnetic power of generator i, M i is the moment of inertia of generator i; according to the result of coherent identification, the average initial acceleration of the generators in the coherent group is calculated; the group with the largest average initial acceleration is the critical group, and the remaining generators are the remaining group, in order to identify the unstable mode of the current operating state.
[0077] After a lot of simulations, it is found that the transition of the power system from one unstable mode to another is a gradual process. After effective identification, the L-group critical group will eventually be obtained. The gradual process is also regarded as a mode to ensure the accuracy of the boundary. The power system may have It is possible to screen the critical group only by initial acceleration, but it is difficult to confirm the dominant unstable unit.
[0078] Therefore, in this embodiment, the initial acceleration is used as the initial screening index, and then the MeanShift clustering algorithm is used to confirm the transient stability instability mode. The core idea of this method is that the data points will move to the area with higher density until they reach the local maximum density area, that is, the center point of the cluster. This process is achieved by iteratively calculating the mean shift vector of the data points in the window. In the process of online / offline identification of potential instability modes of power system operation points using clustering methods, the mean shift vector of the data points in the window is iteratively calculated:
[0079]
[0080] Where X is the current center coordinate, S r (X) is a high-dimensional sphere centered on X, r is the radius of the sphere, and X iis the i-th data point; in the traditional method, each data point in the target domain is given the same weight when calculating the offset vector, which is not conducive to the convergence of the cluster center. Therefore, the Gaussian kernel function is introduced to improve the clustering algorithm, as shown in formula (6). Points closer to the current center are given a larger weight, so that the cluster center is easier to converge to the nearest local density maximum point, and the clustering result is more accurate.
[0081] Among them, the introduction of Gaussian kernel function makes the cluster center converge more to the nearest local density maximum point:
[0082]
[0083] Where λ is the current center coordinate, λ i is the i-th data point;.
[0084] The MeanShift algorithm determines the density of each data point by adaptive bandwidth, without requiring the user to specify the number of clusters in advance. This makes the algorithm more flexible and applicable to clusters of various shapes and sizes. The swing curve over a period of time after the system fault is cleared is used to identify the critical cluster, which can be obtained through real-time measurement of the PMU. k , select the power angle of each generator with different frequencies after the fault is cleared:
[0085] X k =[δ 0,k ,δ 1.k ,…,δ p,k ] (7)
[0086] In the formula, p is the last moment of the time series data, δ p,k is the power angle of the kth generator at the p-cycle. The clustered critical group can be roughly understood as the key unit. This operation can make the original high-dimensional data more streamlined, thereby reducing the impact of non-critical features. Especially in the generation link of transient stability constraint analysis and construction, it is helpful for the pre-screening of physical boundaries. At the same time, in the preventive control link, the identification of the dominant instability mode can also help to predict the effectiveness of the boundary in advance to guide the generation of new boundaries.
[0087] In this embodiment, step S2 adds transient stability constraints to the traditional optimal power flow model to form a new preventive control optimization model. Under the condition that all system constraints are met, the optimal operating point of the objective function, i.e., the dispatching strategy, is solved. The objective function of the preventive control optimization model is The expression is:
[0088]
[0089] In the formula, c 0i、c 1i 、c 2i is the cost coefficient of the generator; P Gi is the active output of the i-th generator, E is the output limit set, S G For generator collection.
[0090] Among them, the power flow constraint is the most basic constraint of preventive control, which is used to construct a mapping relationship between node injection power and node voltage that is consistent with the actual situation. The power flow constraint expression of the preventive control optimization model is:
[0091]
[0092] Where P Gi , Q Gi are respectively the active injection and reactive injection of node i; P Di , Q Di are the active load and reactive load of node i respectively; V i and V j is the node voltage amplitude, θ ij is the node voltage phase angle difference; G ij , B ij are the real and imaginary parts of the branch admittance respectively.
[0093] In this embodiment, the transient stability constraint is constructed as a convex envelope composed of linear equations. However, this does not mean that the linear equations remain unchanged. In practical applications, the existing boundaries will be gradually adjusted as the operating points accumulate. Similarly, as new unstable modes are generated, the corresponding linear equations will also be updated to meet the accuracy requirements. The transient stability constraint expression of the preventive control optimization model is:
[0094] Ω D = {P∈R n-1 |α 1,k P1+α 2,k P2+…+α n-1,k P n-1 ≤1} (11)
[0095] In the formula, α n-1,k is the coefficient of the kth linear equation of transient stability constraint, which is related to P n-1 ;P n-1 is the active power output of node n-1.
[0096] In addition to the above transient stability constraints, static safety cannot be ignored. The current constraints on the line can also be converted into the form of safety domains, and their number is basically controllable. Among them, the line current constraints of the preventive control optimization model are converted into the form of safety domains:
[0097] Ω T=T{P∈R n-1 |β 1,h P1+β 2,h P2+…+β n-1,h P n-1 ≤1} (12)
[0098] In the formula, β n-1,h is the coefficient of the hth linear equation of the static safety constraint, related to P n-1 .
[0099] Since the optimization problem is large-scale and non-convex, and becomes more complex as the number of simulation scenarios increases, in order to solve this problem and improve practicality, this embodiment uses Benders decomposition theory to decompose the original problem into a main problem and a constraint check sub-problem.
[0100] Specifically, the main problem is mainly composed of the objective function (8) and constraints (9)-(12) and the benders splitting of the sub-problem feedback to achieve the most economical strategy generation. This can simplify the redundant constraints of the original problem, and only the effective constraints are fed back to the main problem in the form of cut sets, and iteratively solved. In practical applications, new boundaries will be generated, which will not affect the sub-problems. It is only necessary to verify the sub-problems accordingly. If the verification is passed, no new cut constraints will be generated. If the verification fails, new cut constraints will be generated and fed back to the main problem.
[0101] Among them, the objective function of the sub-problem is constructed, and the relaxation factor S1 is introduced k,t , S2 k,t , S3 h,t , S4 h,t When the sum of the relaxation factors is 0, it means that the subproblem has passed the verification. When the sum of the relaxation factors is not 0, it means that there is a constraint violation, and a benders cut is generated and returned to the main problem. Specifically, as shown in formula (13):
[0102]
[0103] In the formula, is the objective function value; T is the total number of time periods; K is the number of transient stability constraints; H is the number of static safety constraints.
[0104] As shown in formula (14), it is a relaxed expression of the transient stability constraint to make the optimization problem feasible:
[0105] α 1,k P 1,t +α 2,k P 2,t +…+α n-1,k P n-1,t +S1 k,t -S2 k,t ≤1 (14)
[0106] Similarly, formula (15) is the relaxed expression of the static safety constraint.
[0107] β 1,h P 1,t +β 2,h P 2,t +…+β n-1,h P n-1,t +S3 h,t -S4 h,t ≤1 (15)
[0108] S1 k,t ,S2 k,t ,S3 k,t ,S4 k,t ≥0 (16)
[0109] Among them, the constructed Benders cut is shown in formula (17):
[0110]
[0111] In the formula, is the objective function value of the previous iterative subproblem, are dual variables, P and are the variables to be optimized and the optimized values of the previous iteration respectively; α is the coefficient of the transient stability constraint; β is the coefficient of the static stability constraint. If a new boundary is generated, a new sub-problem can be constructed for verification, and then a new cut constraint can be fed back to meet the needs of real-time boundary update and rapid formulation of preventive control.
[0112] See also Figure 3 , which is the cluster labeling result provided by the embodiment of the present invention; it illustrates the dominant instability mode identification process in this embodiment, with the unit with the most serious power angle swing as the dominant factor constructed by the boundary. Figure 4 , which is the constraint violation situation provided in this embodiment; it is used to illustrate the constraint limitation process of transient stability preventive control. After multiple iterations, it is finally ensured that the operation scheme can satisfy all constraints. Figure 5 , which is the comparison result of the method provided in this embodiment; it is used to illustrate the power angle situation before and after control. The results show that the operation scheme after preventive control will not cause power angle instability. Figure 6 , is the constraint verification result provided by this embodiment. The method of the present invention is compared with the traditional model-driven method, data-driven method and data-model hybrid driven method. The results show that the method of the present invention has excellent performance. Among them, Figure 3It is shown in the results that the clustering algorithm can effectively distinguish units with different instability conditions, which is helpful for the accurate identification of instability modes. After the identification of instability modes, the potential static safety constraints and transient safety constraints can be quickly identified, and then it can be determined whether there are ungenerated boundary constraints. Figure 4 The results in effectively represent the constraints that take effect in the iteration process, thereby ensuring that the final scheduling method will not violate the constraints; Figure 5 and Figure 6 The results further verify the effectiveness of the proposed method, especially in the identification of unstable modes at the moment of fault and the rapid linear construction of safety constraints. Figure 5 Characterization The method proposed in this paper covers the fault scenarios more comprehensively. Figure 6 The results show that the proposed method can better meet the actual scheduling constraints and achieve the effectiveness of the final result.
[0113] In summary, the embodiment of the present invention adopts a hybrid model-driven-data-driven approach to construct a practical dynamic safety domain boundary of the power system, and uses a clustering method to identify potential instability modes of the power system operation point online / offline, and determine whether there is a dynamic safety domain boundary corresponding to the instability mode; obtain the topology structure and branch data of the power system, and construct a transient stability analysis agent model based on the acquired power system topology structure and branch data; construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and use the online / offline identification of the dominant instability mode to update the unconfirmed dynamic safety domain boundary in real time; construct a preventive control optimization model, the objective function of the preventive control optimization model is the lowest total cost of generator output, and the constraint conditions of the preventive control optimization model include power flow constraints, transient stability constraints, and line current constraints; use the preventive control optimization model to correct the dynamic safety domain boundary and obtain the power system transient stability preventive control optimization result. The present invention realizes the optimal power flow solution analysis that can consider multiple stability constraints, meets the availability of the transient stability analysis model in new scenarios; improves the accuracy and scalability of the optimization results, and realizes the online formulation of effective power system control measures.
[0114] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0115] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0116] Example 2
[0117] See also Figure 7 Embodiment 2 of the present invention further provides a power system transient stability preventive control device, which adopts a power system transient stability preventive control method of the above embodiment 1, including:
[0118] The safety domain boundary analysis module 100 is used to construct a practical dynamic safety domain boundary of the power system by adopting a model-driven-data-driven hybrid approach, and to identify potential instability modes of the power system operation point online / offline by using a clustering method, and to determine whether there is a dynamic safety domain boundary corresponding to the instability mode;
[0119] The analysis agent model construction module 200 is used to obtain the topology structure and branch data of the power system, and to construct a transient stability analysis agent model according to the obtained topology structure and branch data of the power system;
[0120] The safety domain boundary confirmation module 300 is used to construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and to update the unconfirmed dynamic safety domain boundary in real time by using the online / offline identification of the dominant instability mode;
[0121] A preventive control optimization model construction module 400 is used to construct a preventive control optimization model, wherein the objective function of the preventive control optimization model is to minimize the total cost of generator output, and the constraint conditions of the preventive control optimization model include power flow constraint, transient stability constraint, and line current constraint;
[0122] The safety domain boundary correction module 500 is used to correct the dynamic safety domain boundary using the preventive control optimization model to obtain the power system transient stability preventive control optimization result.
[0123] It should be noted that the information interaction, execution process and other contents between the modules of the above-mentioned device are based on the same concept as the method embodiment in Example 1 of the present application, and the technical effects they bring are the same as those of the method embodiment of the present application. For specific contents, please refer to the description in the method embodiment shown in the previous part of the present application, and will not be repeated here.
[0124] Example 3
[0125] Embodiment 3 of the present invention provides a non-transient computer-readable storage medium, in which a program code of a power system transient stability preventive control method is stored, and the program code includes instructions for executing the power system transient stability preventive control method of embodiment 1 or any possible implementation thereof.
[0126] The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0127] Example 4
[0128] Embodiment 4 of the present invention provides an electronic device, including: a memory and a processor;
[0129] The processor and the memory communicate with each other via a bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the power system transient stability prevention and control method of embodiment 1 or any possible implementation thereof.
[0130] Specifically, the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor implemented by reading software codes stored in a memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.
[0131] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
[0132] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0133] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A method for preventing and controlling transient stability of a power system, characterized in that: include: A practical dynamic safety domain boundary of the power system is constructed by a hybrid model-driven and data-driven approach, and a clustering method is used to identify potential instability modes of the power system operation points online / offline to determine whether there is a dynamic safety domain boundary corresponding to the instability mode; Acquire the topological structure and branch data of the power system, and construct a transient stability analysis agent model according to the acquired topological structure and branch data of the power system; construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and update the unconfirmed dynamic safety domain boundary in real time by using the online / offline identification of the dominant instability mode; A preventive control optimization model is constructed, wherein the objective function of the preventive control optimization model is to minimize the total cost of generator output, and the constraints of the preventive control optimization model include power flow constraints, transient stability constraints, and line current constraints; the dynamic safety domain boundary is corrected using the preventive control optimization model to obtain a transient stability preventive control optimization result for the power system.
2. A method for preventing and controlling transient stability of a power system according to claim 1, characterized in that: The practical dynamic security region of the power system transforms the strongly nonlinear problem into a linearized problem: Where P is the set of node outputs; R is the set of real numbers, a i is the coefficient of the ith unit in the dynamic safety region, are the upper and lower limits of the generator output, n is the number of generators in the power system; Ω d It is the set of all dynamic security domain boundaries.
3. A method for preventing and controlling transient stability of a power system according to claim 2, characterized in that: In the process of identifying potential destabilizing modes of power system operating points online / offline using clustering methods, physical driving boundary coefficients are used as hot start conditions, and simulation data are used to fine-tune the obtained practical dynamic safety region boundaries; When fine-tuning the obtained practical dynamic safety region boundary, the L2 regularization loss function and the physical model driven loss function are taken into account: Where L1 is the ridge regression loss function, and w is the weight matrix in the network; Where L2 is the physical model driven loss function, w0 = [S 1] T is the initial value of the weight, S is the safety domain coefficient matrix, 1 is the unit matrix, and n is the number of training samples.
4. A method for preventing and controlling transient stability of a power system according to claim 3, characterized in that: In the process of online / offline identification of potential instability modes at the power system operating point using clustering methods, the transient stability is pre-evaluated by identifying the instability modes near the initial operating point of the power system. The initial rotor acceleration of generator i at the moment of fault is: Where P mi is the mechanical power of generator i, P ei is the electromagnetic power of generator i, M i is the moment of inertia of generator i; According to the results of coherent identification, the average initial acceleration of the generators in the coherent group is calculated; the group with the largest average initial acceleration is the critical group, and the remaining generators are the remaining group, in order to identify the unstable mode of the current operating state.
5. A method for preventing and controlling transient stability of a power system according to claim 4, characterized in that: In the process of online / offline identification of potential unstable modes of power system operation points using clustering methods, the mean shift vector of the data points in the window is iteratively calculated: Where X is the current center coordinate, S r (X) is a high-dimensional sphere centered on X, r is the radius of the sphere, and X i is the i-th data point; The introduction of Gaussian kernel function makes the cluster center converge more to the nearest local density maximum point: Where λ is the current center coordinate, λ i is the i-th data point; For a given sample X k , select the power angle of each generator with different frequencies after the fault is cleared: X k =[δ 0,k ,d 1.k ,...,d p,k ] In the formula, p is the last moment of the time series data, δ p,k is the power angle of the kth generator at p cycle.
6. A method for preventing and controlling transient stability of a power system according to claim 5, characterized in that: The objective function of the preventive control optimization model The expression is: In the formula, c 0i 、c 1i 、c 2i is the cost coefficient of the generator; P Gi is the active output of the ith generator, E is the output limit set, S G For generator collection.
7. A method for preventing and controlling transient stability of a power system according to claim 6, characterized in that: The power flow constraint expression of the preventive control optimization model is: Where P Gi , Q Gi are respectively the active injection and reactive injection of node i; P Di , Q Di are the active load and reactive load of node i respectively; V i and V j is the node voltage amplitude, θ ij is the node voltage phase angle difference; G ij , B ij are the real and imaginary parts of the branch admittance respectively.
8. A method for preventing and controlling transient stability of a power system according to claim 7, characterized in that: The transient stability constraint expression of the preventive control optimization model is: Oh D ={P∈R n-1 |a 1,k P1+a 2,k P2+...+a n-1,k P n-1 ≤1} In the formula, α n-1,k is the coefficient of the kth linear equation of transient stability constraint; P n-1 is the active power output of node n-1.
9. A method for preventing and controlling transient stability of a power system according to claim 8, characterized in that: The line current constraints of the preventive control optimization model are transformed into the form of safety domain: Oh T ={P∈R n-1 |b 1,h P1+β 2,h P2+...+β n-1,h P n-1 ≤1} In the formula, β n-1,h are the coefficients of the hth linear equation of the static safety constraint.
10. A power system transient stability preventive control device, using a power system transient stability preventive control method according to any one of claims 1 to 9, characterized in that: include: The safety domain boundary analysis module is used to construct a practical dynamic safety domain boundary of the power system by adopting a model-driven-data-driven hybrid approach, and to identify potential instability modes of the power system operation point online / offline using a clustering method, and to determine whether there is a dynamic safety domain boundary corresponding to the instability mode; An analysis agent model building module is used to obtain the topology structure and branch data of the power system, and build a transient stability analysis agent model based on the obtained power system topology structure and branch data; A safety domain boundary confirmation module is used to construct an analytical expression of transient stability constraints through the transient stability analysis agent model, and to update the unconfirmed dynamic safety domain boundary in real time by using the online / offline identification of the dominant instability mode; A preventive control optimization model construction module is used to construct a preventive control optimization model, wherein the objective function of the preventive control optimization model is to minimize the total cost of generator output, and the constraint conditions of the preventive control optimization model include power flow constraint, transient stability constraint, and line current constraint; The safety domain boundary correction module is used to correct the dynamic safety domain boundary using the preventive control optimization model to obtain the power system transient stability preventive control optimization result.
Citation Information
Cited By
Model data hybrid driven power system operation safety improvement method and device
CN120150122A
Method and device for improving power system operation safety driven by model data hybrid
CN120150122B
