Method and device for calculating load shedding and electronic equipment

By constructing an economic cost objective function using a power fault twin model and solving for the minimum value using parameter index vectors, the economic cost problem of load shedding control in power systems is solved, achieving a reduction in economic costs while ensuring stability.

CN121072886APending Publication Date: 2025-12-05STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511290645.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-10
Publication Date
2025-12-05

AI Technical Summary

Technical Problem

In the power system, the high uncertainty of new energy power generation and the strong correlation of dynamic loads lead to a reduction in system inertia, resulting in transient voltage stability problems. Existing load shedding control measures increase economic costs, and power companies have to bear fines.

Method used

By constructing constraints for the economic cost objective function using a power fault twin model, and solving for the minimum value using parameter index vectors, the target load shedding vector is obtained, thereby reducing economic costs while ensuring power system stability.

Benefits of technology

It achieves a balance between power system stability and economic cost, reduces the economic cost of load shedding, and meets the stability requirements of power fault twin models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121072886A_ABST
    Figure CN121072886A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for calculating load shedding and electronic equipment. The method comprises the following steps: acquiring a parameter index vector according to a preset power failure twinborn model; the parameter index vector is an index vector representing the stability of the power failure twinborn model; constructing an economic cost objective function according to the load shedding of the power failure twinborn model; using the parameter index vector to construct a constraint condition of the economic cost objective function; and solving the minimum value of the economic cost target function according to the constraint condition to obtain a target load shedding vector. Therefore, the minimum target load shedding vector can be obtained under the condition that the stability and the economic cost of the power failure twinborn model are controlled at the same time, so that the target load shedding vector can meet the requirements of the stability and the economic cost of the power failure twinborn model at the same time, and thus the load shedding efficiency can be improved under the condition that the stability of a power system is ensured. And the economic cost required by load shedding is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of power systems, in particular to a method and device for calculating load shedding and electronic equipment. BACKGROUND

[0002] At present, in order to realize sustainable development, clean, low-carbon and efficient new energy power generation has entered the vision of more people. Compared with conventional power sources, new energy power generation has high uncertainty, and there is strong correlation between new energies and dynamic loads. The dynamic characteristics of its output power are closely related to power electronic equipment, and the reactive power support capability is weak. Large-scale new energy grid connection will significantly reduce the system inertia. With the continuous interconnection of power grids, the complex interaction between AC and DC makes the system produce serious faults such as transmission line fault, generator unit tripping, load loss, and the voltage stability tends to be chaotic after a large disturbance. With the expansion of the scale of the power system and the increasing complexity of its dynamic characteristics, the transient voltage stability problem of new energy power system has gradually become a major challenge to the safe and reliable operation of the power grid.

[0003] When the power system encounters a sudden situation or a fault, in order to quickly restore the system voltage stability and ensure that the system can maintain normal operation during the transient process after the fault, transient voltage emergency control is needed. Load shedding is a common emergency control measure for transient voltage emergency control. However, according to the regulations on emergency disposal and investigation and handling of power safety accidents, system load shedding is equivalent to fault loss load, and the power enterprise needs to bear the load loss caused by control and pay a corresponding amount of fine according to the accident rating. Therefore, under the premise of ensuring system stability, reducing the economic cost of control measures has become the focus of attention of power enterprises. SUMMARY

[0004] The technical problem to be solved by the present application is how to improve the reliability of data amplification, and the purpose is to provide a method and device for calculating load shedding and electronic equipment to reduce the economic cost required for load shedding while ensuring the stability of the power system.

[0005] The present application is realized by the following technical scheme:

[0006] In a first aspect, a method for calculating load shedding includes: obtaining a parameter index vector according to a preset power fault twin model; the parameter index vector is an index vector representing the stability of the power fault twin model; constructing an economic cost objective function according to the load shedding of the power fault twin model; constructing a constraint condition of the economic cost objective function by using the parameter index vector; and solving the minimum value of the economic cost objective function according to the constraint condition to obtain a target load shedding vector.

[0007] In some embodiments, the power failure twin model is obtained by: constructing a preset digital twin model corresponding to a power system; setting a power failure on the digital twin model to obtain the power failure twin model.

[0008] In some embodiments, the parameter index vector is obtained according to the preset power failure twin model, including: obtaining a transient power angle stability margin index according to a maximum generator inter-area power angle difference of the power failure twin model; obtaining a transient frequency stability margin index according to an output frequency of the power failure twin model; obtaining a transient voltage stability margin index according to an output voltage of the power failure twin model; and obtaining the parameter index vector according to the transient power angle stability margin index, the transient frequency stability margin index, and the transient voltage stability margin index.

[0009] In some embodiments, the economic cost objective function is constructed according to the load shedding of the power failure twin model, including: obtaining a unit load shedding economic cost coefficient corresponding to each preset node in the power failure twin model; obtaining a transient voltage global sensitivity coefficient corresponding to each preset node in the power failure twin model; obtaining a weight of the economic cost objective function according to the unit load shedding economic cost coefficient and the transient voltage global sensitivity coefficient; and constructing the economic cost objective function according to the weight and the load shedding of the power failure twin model.

[0010] In some embodiments, the constraint condition of the economic cost objective function is constructed by using the parameter index vector, including: obtaining a first limit condition corresponding to the parameter index vector; obtaining a second limit condition corresponding to the load shedding of the power failure twin model; and determining the first limit condition and the second limit condition as the constraint condition.

[0011] In some embodiments, the minimum value of the economic cost objective function is solved according to the constraint condition to obtain a target load shedding vector, including: converting the minimum value of the economic cost objective function into an emergency control mathematical model according to the constraint condition; converting the emergency control mathematical model into a linear programming model according to the constraint condition by using a preset numerical perturbation method; iteratively solving the linear programming model; and obtaining the target load shedding vector in a case where it is determined that the linear programming model converges.

[0012] In some embodiments, the parameter index vector comprises a transient power angle stability margin index, a transient frequency stability margin index, and a transient voltage stability margin index; the convergence of the linear programming model is determined in the case that a difference between the transient power angle stability margin index and a preset power angle stability margin critical value is less than a preset zero-approaching parameter, a difference between the transient frequency stability margin index and a preset frequency stability margin critical value is less than a preset zero-approaching parameter, or a difference between the transient voltage stability margin index and a preset voltage stability margin critical value is less than a preset zero-approaching parameter; a variation of the economic cost of the linear programming model is obtained; and the convergence of the linear programming model is determined in the case that the variation is less than a preset threshold.

[0013] In a second aspect, an apparatus for calculating a cut load comprises: a vector obtaining module configured to obtain a parameter index vector according to a preset power fault twin model; a target function constructing module configured to construct an economic cost target function according to a cut load of the power fault twin model; a constraint condition constructing module configured to construct a constraint condition of the economic cost target function by using the parameter index vector; and a solving module configured to solve a minimum value of the economic cost target function according to the constraint condition to obtain a target cut load vector.

[0014] In a third aspect, an electronic device comprises one or more processors; and a storage device storing one or more programs, which when executed by the one or more processors, cause the electronic device to implement the method for calculating a cut load described above.

[0015] In a fourth aspect, a computer-readable storage medium stores computer-readable instructions, which when executed by a processor of a computer, cause the computer to perform the method for calculating a cut load described above.

[0016] Compared with the prior art, the parameter index vector of the power fault twin model is used to construct a constraint condition of an economic cost target function of a cut load of the power fault twin model, so as to solve a minimum value of the economic cost target function according to the constraint condition and obtain a target cut load vector. In this way, the minimum value of the economic cost target function is solved in combination with the parameter index vector representing the stability of the power fault twin model, the minimum target cut load vector is obtained while the stability and the economic cost of the power fault twin model are controlled, the target cut load vector can meet the requirements of both the stability and the economic cost of the power fault twin model, and thus the economic cost required by the cut load is reduced while the stability of the power system is ensured. BRIEF DESCRIPTION OF DRAWINGS

[0017] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be considered as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort. In the drawings:

[0018] Figure 1 This is a schematic flowchart of a method for calculating load shearing provided in an embodiment of this disclosure;

[0019] Figure 2 This is a schematic diagram of a digital twin model corresponding to an AC / DC hybrid power system provided in an embodiment of this disclosure;

[0020] Figure 3(a) is an example of an embodiment provided in this disclosure. Figure 2 The voltage trajectory diagram of each node during a power fault twin model is shown below.

[0021] Figure 3(b) is an embodiment of this disclosure. Figure 2 The diagram shows the power angle trajectory of each node during a power fault twin model.

[0022] Figure 3(c) is an embodiment of this disclosure. Figure 2 The diagram shows the frequency trajectory of each node during a power fault twin model.

[0023] Figure 4(a) is a voltage trajectory diagram of each node after adjusting the load using the prior art, according to an embodiment of this disclosure.

[0024] Figure 4(b) is a power angle trajectory diagram of each node after adjusting the load using the prior art, according to an embodiment of this disclosure.

[0025] Figure 4(c) is a frequency trajectory diagram of each node after adjusting the load using the prior art, according to an embodiment of this disclosure.

[0026] Figure 5 This is a flowchart illustrating another method for calculating load shearing provided in an embodiment of this disclosure;

[0027] Figure 6(a) is a voltage trajectory diagram of each node after adjusting the load using the method of this application, according to an embodiment of this disclosure.

[0028] Figure 6(b) is a power angle trajectory diagram of each node after adjusting the load using the method of this application, according to an embodiment of this disclosure.

[0029] Fig. 6(c) is a frequency trajectory diagram of each node after the load is adjusted by the method of the present application according to an embodiment of the present disclosure;

[0030] Figure 7 Fig. 1 is a schematic diagram of an apparatus for calculating a cut load according to an embodiment of the present disclosure;

[0031] Figure 8 Fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] In order to make the objects, technical solutions, and advantages of the present application clearer, further detailed description will be given below in conjunction with embodiments and drawings. The schematic embodiments of the present application and the description thereof are only used to explain the present application and do not limit the present application.

[0033] The exemplary embodiments will be described in detail herein below with reference to the drawings. In the following description, the same numbers in different drawings represent the same or similar elements unless otherwise represented. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the present application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims.

[0034] The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, the functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0035] The flowcharts shown in the drawings are merely exemplary descriptions and do not necessarily include all the contents and operations / steps, nor do they necessarily have to be executed in the order described. For example, some operations / steps can be further divided, and some operations / steps can be combined or partially combined, so that the actual execution order can be changed according to the actual situation.

[0036] In the present application, "a plurality of" means two or more. The association relationship of "and / or" between associated objects means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally means that the associated objects before and after it have an "or" relationship.

[0037] In conjunction with Figure 1 As shown, the present disclosure provides a method for calculating a cut load, which comprises:

[0038] In step S101, a parameter index vector is obtained according to a preset power fault twin model. The parameter index vector is an index vector representing stability of the power fault twin model.

[0039] In step S102, an economic cost objective function is constructed according to a load shedding of the power fault twin model.

[0040] In step S103, a constraint condition of the economic cost objective function is constructed by using the parameter index vector.

[0041] In step S104, a minimum value of the economic cost objective function is solved according to the constraint condition, to obtain a target load shedding vector.

[0042] By using the method for calculating load shedding provided in the embodiments of the present disclosure, the constraint condition of the economic cost objective function of the load shedding of the power fault twin model is constructed by using the parameter index vector of the power fault twin model, so as to solve the minimum value of the economic cost objective function according to the constraint condition, and obtain the target load shedding vector. In this way, the minimum value of the economic cost objective function is solved in combination with the parameter index vector representing the stability of the power fault twin model, so that the minimum target load shedding vector can be obtained while controlling the stability and the economic cost of the power fault twin model, and the target load shedding vector can meet the requirements of both the stability and the economic cost of the power fault twin model, so that the economic cost required by the load shedding can be reduced while ensuring the stability of the power system.

[0043] It should be noted that the parameter index vector is an index vector representing the stability of the power system corresponding to the preset power fault twin model.

[0044] The parameter index vector includes a transient power angle stability margin index, a transient frequency stability margin index, and a transient voltage stability margin index. The transient power angle stability margin index represents the power angle stability of the power system corresponding to the preset power fault twin model, the transient frequency stability margin index represents the frequency stability of the power system corresponding to the preset power fault twin model, and the transient voltage stability margin index represents the voltage stability of the power system corresponding to the preset power fault twin model.

[0045] Further, the power fault twin model is obtained by constructing a digital twin model corresponding to a preset power system, and setting a power fault on the digital twin model to obtain the power fault twin model.

[0046] In this way, by constructing the digital twin model corresponding to the preset power system, and then setting the power failure on the digital twin model to obtain the power failure twin model, the failure can be accurately simulated on the digital twin model at any time, so that the corresponding load shedding of different failures can be calculated in advance through the failure simulation, and when the corresponding failure occurs in the real power system, the load shedding calculated in advance can be set quickly to make the power system quickly recover to stability.

[0047] Further, the digital twin model corresponding to the preset power system is constructed, including: constructing the digital twin model corresponding to the preset power system on the CloudPSS platform.

[0048] In some embodiments, the preset power system is an alternating current-direct current hybrid power system containing a high proportion of new energy, and the digital twin model constructed by the CloudPSS platform is as shown in Figure 2 . Figure 2 It is a schematic diagram of a digital twin model corresponding to an alternating current-direct current hybrid power system. As shown in Figure 2 , the digital twin model includes 8 non-new energy generators, 6 wind power generators, 6 photovoltaic power generators, a receiver 23 and a transmitter 24. The single-line connection in the figure represents a single-loop connection; the double-line connection in the figure represents a double-loop connection; and the digital twin model shown in Figure 2 contains a high proportion of new energy generators. Among them, the digital twin model is provided with non-new energy generators and new energy generators. The non-new energy generators are conventional generators, and the new energy generators include photovoltaic generators and wind power generators. The installed capacity of photovoltaic power generation is 600 MW; the installed capacity of wind power generation is 1200 MW; the installed capacity ratio of new energy generators to non-new energy in the system is 1:2.62; and it also contains 22 loads, all of which use dynamic load models.

[0049] It should be noted that a plurality of nodes are also provided in the digital twin model, including: a first node 1, a second node 2, a third node 3, a fourth node 4, a fifth node 5, a sixth node 6, a seventh node 7, an eighth node 8, a ninth node 9, a tenth node 10, an eleventh node 11, a twelfth node 12, a thirteenth node 13, a thirteenth node 14, a fifteenth node 15, a sixteenth node 16, a seventeenth node 17, an eighteenth node 18, a nineteenth node 19, a twentieth node 20, a twenty-first node 21, a twenty-second node

[0050] 22. Each generator includes: a first generator 31, a second generator 32, a third generator 33, a fourth generator 34, a fifth generator 35, a sixth generator 36, a seventh generator 37, an eighth generator 38. Each wind power generator includes: a first wind power generator 41, a second wind power generator 42, a third wind power generator 43, a fourth wind power generator 44, a fifth wind power generator 45, a sixth wind power generator 46. Each thermal power generator includes: a first thermal power generator 51, a second thermal power generator 52, a third thermal power generator 53, a fourth thermal power generator 54, a fifth thermal power generator 55, a sixth thermal power generator 56.

[0051] As Figure 2As shown, the fourth generator 34 is connected to one end of the eighth node 8; the other end of the eighth node 8 is connected to the first port of the sixth node 6; the second port of the sixth node 6 is connected to the third generator 33; the third port of the sixth node 6 is connected to the first wind generator 41; the fourth port of the sixth node 6 is connected to the first port of the fourth node 4; the fifth port of the sixth node 6 is connected to the first port of the seventh node 7; the second port of the fourth node 4 is connected to one end of the first node 1; the third port of the fourth node 4 is connected to one end of the fifth node 5; the other end of the first node 1 is connected to one end of the second node 2; the other end of the second node 2 is connected to one end of the third node 3; the other end of the third node 3 is connected to the first port of the first generator 31; the second port of the first generator 31 is connected to the other end of the fifth node 5; the third port of the first generator 31 is connected to one end of the second generator 32; the other end of the second generator 32 is connected to the second port of the seventh node 7; the third port of the seventh node 7 is connected to one end of the second wind generator 42; the fourth port of the seventh node 7 is connected to the first port of the ninth node 9; the second port of the ninth node 9 is connected to the sixth wind generator 46; the third port of the ninth node 9 is connected to the first port of the tenth node 10; the second port of the tenth node 10 is connected to the first thermal generator 51; the third port of the tenth node 10 is connected to one end of the tenth node 11; the other end of the tenth node 11 is connected to the first port of the twentieth node 20; the second port of the twentieth node 20 is connected to the seventh generator 37; the third port of the twentieth node 20 is connected to the first port of the fifteenth node 15; the fourth port of the twentieth node 20 is connected to the first port of the sixteenth node 16; the fifth port of the twentieth node 20 is connected to the first port of the twenty-first node 21; the second port of the fifteenth node 15 is connected to the second thermal generator 52; the third port of the fifteenth node 15 is connected to the second port of the sixteenth node 16; the fourth port of the fifteenth node 15 is connected to the first port of the twelfth node 12; the second port of the twelfth node 12 is connected to the third wind generator 43; the third port of the twelfth node 12 is connected to the fifth port of the seventh node 7; the fourth port of the twelfth node 12 is connected to the fifth generator 35; the fifth port of the twelfth node 12 is connected to the third port of the sixteenth node 16; the sixth port of the twelfth node 12 is connected to the first port of the thirteenth node 13; the second port of the thirteenth node 13 is connected to the fourth wind generator 44; the third port of the thirteenth node 13 is connected to one end of the receiver 23; the other end of the receiver is connected to the transmitter 24; the fourth port of the thirteenth node 13 is connected to the first port of the fourteenth node 14;The fifth port of the thirteenth node 13 is connected with the first port of the seventeenth node 17; the second port of the seventeenth node 17 is connected with the fourth thermal power generator 54; the third port of the seventeenth node 17 is connected with the fourth port of the sixteenth node 16; the fifth port of the sixteenth node 16 is connected with the third thermal power generator 53; the fourth port of the seventeenth node 17 is connected with the second port of the twenty-first node 21; the third port of the twenty-first node 21 is connected with the eighth generator 38; the fourth port of the twenty-first node 21 is connected with the first port of the twenty-second node 22; the second port of the twenty-second node 22 is connected with the first port of the eighteenth node 18; the second port of the eighteenth node 18 is connected with the fifth thermal power generator 55; the third port of the eighteenth node 18 is connected with the fifth port of the seventeenth node 17; the sixth port of the seventeenth node 17 is connected with the second port of the fourteenth node 14; the fourth port of the eighteenth node 18 is connected with the third port of the fourteenth node 14; the fourth port of the fourteenth node 14 is connected with the fifth wind power generator 45; the fifth port of the fourteenth node 14 is connected with the first port of the nineteenth node 19; the second port of the nineteenth node 19 is connected with the sixth thermal power generator 56; the third port of the nineteenth node 19 is connected with one end of the sixth generator 36; the other end of the sixth generator 36 is connected with the third port of the twenty-second node 22.

[0052] In some embodiments, the power failure is set on the digital twin model to obtain a power failure twin model, i.e., the power failure that can be directly set on the digital twin model according to the power failure to be simulated to obtain the power failure twin model.

[0053] Further, the parameter index vector is obtained according to the preset power failure twin model, including: obtaining a transient power angle stability margin index according to the maximum power angle difference between the generators of the power failure twin model; obtaining a transient frequency stability margin index according to the output frequency of the power failure twin model; obtaining a transient voltage stability margin index according to the output voltage of the power failure twin model; and obtaining the parameter index vector according to the transient power angle stability margin index, the transient frequency stability margin index, and the transient voltage stability margin index.

[0054] Thus, by obtaining the transient power angle stability margin index according to the maximum generator inter-power angle difference of the power fault twin model, obtaining the transient frequency stability margin index according to the output frequency of the power fault twin model, obtaining the transient voltage stability margin index according to the output voltage of the power fault twin model, and then obtaining the parameter index vector according to the transient power angle stability margin index, the transient frequency stability margin index and the transient voltage stability margin index, the stability of the power system can be reflected from the three dimensions of power angle, voltage and frequency, and then the minimum value of the economic cost objective function is solved according to the stability, so that the minimum target load shedding vector can be obtained while controlling the stability and economic cost of the power fault twin model, so that the target load shedding vector can meet the demand of the stability and economic cost of the power fault twin model, thereby reducing the economic cost required for load shedding while ensuring the stability of the power system.

[0055] Further, the transient power angle stability margin index is obtained according to the maximum generator inter-power angle difference of the power fault twin model, including: by calculating , the transient power angle stability margin index is obtained. Wherein, η δ is the transient power angle stability margin index; Δδ max is the maximum generator inter-power angle difference, which is a preset value.

[0056] It should be noted that in the case of η δ > 0, the power angle stability of the power system corresponding to the power fault twin model is better, the greater the value is, the better the stability of the power system corresponding to the power fault twin model is. In the case of η δ = 0, the power system corresponding to the power fault twin model is in a critical stable state; in the case of η δ < 0, the power angle of the power system corresponding to the power fault twin model is unstable, the smaller the value is, the worse the stability of the power system corresponding to the power fault twin model is.

[0057] Further, the transient frequency stability margin index is obtained according to the output frequency of the power fault twin model, including: obtaining the frequency stability boundary value corresponding to the preset frequency in the preset multiple frequency boundary database; the preset frequency is the output frequency required by the power system corresponding to the power fault twin model; by calculating , the stability margin index corresponding to the jth frequency boundary database is obtained. Wherein, η f,i,j is the stability margin index corresponding to the ith output frequency in the jth frequency boundary database; f i is the ith output frequency; f cr,j is the output frequency boundary value corresponding to the jth frequency boundary database; characterizes the stability margin from time t to t cr,j , the function (fi -f cr,j ) is integrated; t cr,j is the maximum allowable time when the output frequency exceeds the output frequency boundary value corresponding to the jth frequency boundary database; f O is a preset rated frequency; T is a preset transient duration. The transient frequency stability margin index is obtained by calculating η f = min(η f,i,j ), 0≤i≤N, 0≤j≤M. f is the transient frequency stability margin index; N is the number of output frequencies required by the power fault twin model of the power system; M is the number of frequency boundary databases.

[0058] In some embodiments, there are multiple frequency boundary databases, each of which stores N output frequencies and the stability margin index corresponding to each output frequency. And each frequency boundary database corresponds to an output frequency boundary value and a maximum allowable time. In some embodiments, the output frequency boundary value corresponding to the jth frequency boundary database is 49.25 Hz, and the maximum allowable time is 0.5 s.

[0059] It should be noted that the stability degree of the frequency of the power system corresponding to the power fault twin model is positively correlated with the transient frequency stability margin index; in some embodiments, in the case of η f > 0, the frequency of the power system corresponding to the power fault twin model is stable; in the case of η f = 0, the frequency of the power system corresponding to the power fault twin model is in a critical stable state; in the case of η f < 0, the frequency of the power system corresponding to the power fault twin model is unstable.

[0060] Further, the transient voltage stability margin index is obtained according to the output voltage of the power fault twin model, including: obtaining the voltage stability boundary value corresponding to the preset voltage in the preset multiple voltage boundary databases; the preset voltage is the output voltage required by the power system corresponding to the power fault twin model; by calculating obtain the stability margin index corresponding to the jth voltage boundary database. Wherein η u,a,b is the stability margin index corresponding to the a th output voltage in the b th voltage boundary database; u a is the a th output voltage; u cr,b is the output voltage boundary value corresponding to the b th voltage boundary database. characterizes the integral of the function (u cr,b -u a ) from time t to t cr,b ; t cr,bis the maximum allowable time when the output voltage exceeds the output voltage boundary value corresponding to the bth voltage boundary database; u Q is a preset rated voltage; T is a preset transient duration. The transient voltage stability margin index is obtained by calculating u = min(η u,a,b ), 0≤a≤A, 0≤b≤B. u is the transient voltage stability margin index; A is the number of output voltages required by the power fault twin model of the power system; B is the number of voltage boundary databases.

[0061] In some embodiments, there are multiple voltage boundary databases, each of which stores A output voltages and the stability margin index corresponding to each output voltage. And each voltage boundary database corresponds to an output voltage boundary value and a maximum allowable time. In some embodiments, the output voltage boundary value corresponding to the bth voltage boundary database is 0.75pu, and the maximum allowable time is 0.5s.

[0062] It should be noted that the stability degree of the voltage of the power system corresponding to the power fault twin model is positively correlated with the transient voltage stability margin index; in some embodiments, when η u > 0, the voltage of the power system corresponding to the power fault twin model is stable; when η u = 0, the voltage of the power system corresponding to the power fault twin model is in a critical stable state; when η u < 0, the voltage of the power system corresponding to the power fault twin model is unstable.

[0063] In some embodiments, the transient power angle stability margin index is η δ , the transient frequency stability margin index is η f , and the transient voltage stability margin index is η u , each index represents a row vector of the parameter index vector, and the parameter index vector is wherein η is the parameter index vector.

[0064] Further, the economic cost objective function is constructed according to the load shedding of the power fault twin model, including: obtaining the unit load shedding economic cost coefficient corresponding to each preset node in the power fault twin model; obtaining the transient voltage global sensitivity coefficient corresponding to each preset node in the power fault twin model; obtaining the weight of the economic cost objective function according to the unit load shedding economic cost coefficient and the transient voltage global sensitivity coefficient; and constructing the economic cost objective function according to the weight and the load shedding of the power fault twin model.

[0065] Thus, by obtaining the unit cut-load economic cost coefficient corresponding to each preset node in the power failure twin model, obtaining the transient voltage global sensitivity coefficient corresponding to each preset node in the power failure twin model, then obtaining the weight of the economic cost objective function according to the unit cut-load economic cost coefficient and the transient voltage global sensitivity coefficient, and constructing the economic cost objective function according to the weight and the cut-load of the power failure twin model, the economic cost objective function is obtained by combining the unit cut-load economic cost of each node and the transient voltage global sensitivity of each node, so that the economic cost objective function can achieve the best balance between power system stability and economic loss, and thus the target cut-load vector can meet the requirements of both stability and economic cost of the power failure twin model, thereby reducing the economic cost required by the cut-load while ensuring the stability of the power system.

[0066] Further, obtaining the unit cut-load economic cost coefficient corresponding to each preset node in the power failure twin model includes: obtaining the unit cut-load economic cost corresponding to each node; obtaining the maximum unit cut-load economic cost from the unit cut-load economic cost; and obtaining the unit cut-load economic cost coefficient corresponding to the nth node by calculating , wherein is the unit cut-load economic cost coefficient corresponding to the nth node; k n is the unit cut-load economic cost corresponding to the nth node; k max is the maximum unit cut-load economic cost.

[0067] It should be noted that the unit cut-load economic cost corresponding to a node is set according to the type of load connected to the node; for example, in the case where the type of load connected to the node is a thermal power generator, the unit cut-load economic cost corresponding to the node is c; in the case where the type of load connected to the node is a wind power generator, the unit cut-load economic cost corresponding to the node is d; and in the case where the type of load connected to the node is a wind power generator and a thermal power generator, the unit cut-load economic cost corresponding to the node is c+d.

[0068] The greater the unit cut-load economic cost corresponding to a node, the more expensive the cost of the cut-load of the node.

[0069] Further, obtaining the transient voltage global sensitivity coefficient corresponding to each preset node in the power failure twin model includes: obtaining the transient voltage global sensitivity corresponding to each node; obtaining the maximum transient voltage global sensitivity from the transient voltage global sensitivity; and obtaining the transient voltage global sensitivity corresponding to the nth node by calculating , wherein is the transient voltage global sensitivity corresponding to the nth node; S nis the global sensitivity of the transient voltage corresponding to the nth node pair; S max is the maximum global sensitivity of the transient voltage.

[0070] It should be noted that the global sensitivity of the transient voltage represents the degree of influence of the node on the transient voltage stability of the power system corresponding to the power fault twin model; the greater the global sensitivity of the transient voltage corresponding to the node, the greater the influence of the node on the transient voltage stability of the power system corresponding to the power fault twin model. The global sensitivity of the transient voltage can be set manually, or can be obtained from the load connected to the node, which is not limited here.

[0071] Further, the weight of the economic cost objective function is obtained according to the unit load shedding economic cost coefficient and the global sensitivity coefficient of the transient voltage, including: the weight of the nth node is obtained by calculating . Wherein, w n is the weight corresponding to the nth node; a is a preset first weight coefficient; β is a preset second weight coefficient; a+β=1; a represents the importance of the global sensitivity of the transient voltage in evaluating the economic cost; β represents the importance of the unit load shedding economic cost coefficient in evaluating the economic cost.

[0072] In some embodiments, by considering the influence of the load connected to each node on the transient voltage stability of the power system corresponding to the power fault twin model, and combining the economic cost of the load shedding amount of each node, it is necessary to balance the stability and economic loss of the power system corresponding to the power fault twin model, and the economic cost objective function constructed is . Wherein, F is the emergency control economic cost when the power system corresponding to the power fault twin model is controlled in emergency; p n is the load shedding amount corresponding to each node to be solved.

[0073] Further, the constraint condition of the economic cost objective function is constructed by using the parameter index vector, including: obtaining the first limiting condition corresponding to the parameter index vector; obtaining the second limiting condition corresponding to the load shedding of the power fault twin model; determining the first limiting condition and the second limiting condition as the constraint condition.

[0074] In this way, by obtaining the first limiting condition corresponding to the parameter index vector, obtaining the second limiting condition corresponding to the load shedding of the power fault twin model, and determining the first limiting condition and the second limiting condition as the constraint condition, the economic cost objective function can be solved in combination with the first limiting condition corresponding to the parameter index vector and the second limiting condition corresponding to the load shedding, so that the target load shedding vector solved can meet the requirements of both stability and economic cost of the power fault twin model, thereby reducing the economic cost required by the load shedding while ensuring the stability of the power system.

[0075] Further, the first restriction condition is η≥ε. Wherein, η is a parameter index vector, ε is a preset stability margin critical vector, ε δ is a power angle stability margin critical value corresponding to the power system corresponding to the power fault twin model, which is a preset value; ε u is a voltage stability margin critical value corresponding to the power fault twin model, which is a preset value; ε f is a frequency stability margin critical value corresponding to the power fault twin model, which is a preset value. In some embodiments, ε δ is 0.1; ε u = ε f = 0.001.

[0076] It should be noted that the first restriction condition is a constraint condition for the stability of the power system corresponding to the power fault twin model. For power faults, especially serious power faults, the stability evaluation of the transient security of the power system needs to consider the stability of the system voltage, frequency and power angle in three dimensions. When η≥ε is not satisfied, that is, the system voltage, frequency and power angle are insufficient in stability, it can be judged that the power system is transient unstable.

[0077] Further, the second restriction condition is P min <P<P max . Wherein, P min is a preset minimum cuttable vector, which represents the lower limit of the allowed cut load; p min1 is the lower limit value of the allowed cut load corresponding to the first node; p minn is the lower limit value of the allowed cut load corresponding to the nth node; is the lower limit value of the allowed cut load corresponding to the N L th node; N L is the number of nodes; the second restriction condition is a cut load constraint condition.

[0078] P is a cut load control vector, which is an actual cut load vector composed of the cut load amount of each node to be solved; p1 is the cut load amount of the first node to be solved; p n is the cut load amount of the nth node to be solved; is the cut load amount of the N L th node to be solved;

[0079] P max is a maximum cuttable vector, which represents the upper limit of the allowed cut load; p max1 is the upper limit value of the allowed cut load corresponding to the first node; pmaxn an upper limit value of allowed load shedding corresponding to the nth node; an upper limit value of allowed load shedding corresponding to the nth node; L an upper limit value of allowed load shedding corresponding to the nth node.

[0080] In some embodiments, the upper limit value of allowed load shedding corresponding to each node can be obtained from a preset maximum load shedding database. As shown in Table 1 and Table 2, Table 1 is an example table of the preset maximum load shedding database, which stores the upper limit value of allowed load shedding corresponding to the first node to the tenth node. As shown in Table 1, n represents the nth node; p maxn an upper limit value of allowed load shedding corresponding to the nth node.

[0081] n 1 2 3 4 5 6 7 8 9 10 p maxn ]]> 75 299.9 400 70 380.8 357.9 336 40 200 35

[0082] Table 1

[0083] In some embodiments, as shown in Table 1, the upper limit value of allowed load shedding corresponding to the first node is 75; the upper limit value of allowed load shedding corresponding to the second node is 299.9; the upper limit value of allowed load shedding corresponding to the third node is 400; the upper limit value of allowed load shedding corresponding to the fourth node is 70; the upper limit value of allowed load shedding corresponding to the fifth node is 380.8; the upper limit value of allowed load shedding corresponding to the sixth node is 357.9; the upper limit value of allowed load shedding corresponding to the seventh node is 336; the upper limit value of allowed load shedding corresponding to the eighth node is 40; the upper limit value of allowed load shedding corresponding to the ninth node is 200; and the upper limit value of allowed load shedding corresponding to the tenth node is 35.

[0084] As shown in Table 2, Table 2 is another example table of the preset maximum load shedding database, which stores the upper limit value of allowed load shedding corresponding to the eleventh node to the twenty-first node. As shown in Table 2, n represents the nth node; p maxn an upper limit value of allowed load shedding corresponding to the nth node.

[0085] n 11 12 13 14 15 16 17 18 19 20 21 p maxn ]]> 473.6 169.2 366 355.2 235 400 526 500 350 527 355

[0086] Table 2

[0087] In some embodiments, as shown in Table 2, the upper limit value of the allowed load shedding corresponding to the 11th node is 473.6; the upper limit value of the allowed load shedding corresponding to the 12th node is 169.2; the upper limit value of the allowed load shedding corresponding to the 13th node is 366; the upper limit value of the allowed load shedding corresponding to the 14th node is 355.2; the upper limit value of the allowed load shedding corresponding to the 15th node is 235; the upper limit value of the allowed load shedding corresponding to the 16th node is 400; the upper limit value of the allowed load shedding corresponding to the 17th node is 526; the upper limit value of the allowed load shedding corresponding to the 18th node is 500; the upper limit value of the allowed load shedding corresponding to the 19th node is 350; the upper limit value of the allowed load shedding corresponding to the 20th node is 527; and the upper limit value of the allowed load shedding corresponding to the 21st node is 355.

[0088] Further, the minimum value of the economic cost target function is converted into an emergency control mathematical model according to the constraint condition, the emergency control mathematical model is converted into a linear programming model according to the constraint condition by using a preset numerical perturbation method, the linear programming model is iteratively solved, and the target load shedding vector is obtained in a case where the linear programming model converges.

[0089] In this way, by converting the minimum value of the economic cost target function into an emergency control mathematical model according to the constraint condition, then converting the nonlinear emergency control mathematical model into a linear programming model that can be quickly solved according to the constraint condition by using a preset numerical perturbation method, iteratively solving the linear programming model, and obtaining the target load shedding vector in a case where the linear programming model converges, the target load shedding vector obtained can meet the requirements of both stability and economic cost of the power fault twin model, so that the economic cost required for load shedding is reduced in the case of ensuring the stability of the power system, and the practicability and engineering deployment feasibility of the control strategy are improved.

[0090] It should be noted that, taking the minimum economic cost of the safe operation of the power system corresponding to the power fault twin model as the target, while considering the constraint condition of the power system, the minimum value of the economic cost target function is converted into an emergency control mathematical model according to the constraint condition, which is

[0091] It can be seen that the core of the emergency control mathematical model is the linear superposition of the economic costs of the load shedding of each node, and the constraint condition of the emergency control mathematical model also presents a linearization feature. Therefore, the emergency control mathematical model can be converted into a linear programming model.

[0092] Further, the preset numerical perturbation method is used to convert the emergency control mathematical model into a linear programming model according to the constraint condition, including: obtaining the trajectory sensitivity of each node by using the numerical perturbation method; constructing a stable margin trajectory sensitivity vector according to the trajectory sensitivity of each node; and converting the emergency control mathematical model into a linear programming model by using the stable margin trajectory sensitivity vector.

[0093] Further, the trajectory sensitivity of each node is obtained by using the numerical perturbation method, including: obtaining the trajectory sensitivity of the transient power angle stability margin corresponding to each node by using the numerical perturbation method; obtaining the trajectory sensitivity of the transient voltage stability margin corresponding to each node by using the numerical perturbation method; and obtaining the trajectory sensitivity of the transient frequency stability margin corresponding to each node by using the numerical perturbation method.

[0094] It should be noted that when the trajectory sensitivity of each node is obtained by using the numerical perturbation method, the perturbation amount is a preset value, which can be 10MW. When the perturbation amount is applied to each node, multiple dynamic simulations need to be carried out in the power fault twin model. Since there is no dependent relationship between each dynamic simulation, they are independent of each other, so the dynamic simulation can be carried out in parallel, the trajectory sensitivity is calculated in parallel, and the calculation speed of the trajectory sensitivity is improved.

[0095] Further, the trajectory sensitivity of the transient power angle stability margin corresponding to each node is obtained, including: calculating the trajectory sensitivity of the transient power angle stability margin corresponding to the nth node; wherein, c δn is the trajectory sensitivity of the transient power angle stability margin corresponding to the nth node; τ n is the perturbation amount corresponding to the nth node; η δ (P) is the power angle stability margin index under the load shedding control vector P; η δ (P, τ n ) is the power angle stability margin index under the load shedding control vector P and the load shedding amount τ n of the perturbation amount corresponding to the nth node. It should be noted that the initial value of P is P (0) = 0.

[0096] Further, the trajectory sensitivity of the transient voltage stability margin corresponding to each node is obtained, including: calculating the trajectory sensitivity of the transient voltage stability margin corresponding to the nth node; wherein, c un is the trajectory sensitivity of the transient voltage stability margin corresponding to the nth node; η u (P) is the voltage stability margin index under the load shedding control vector P; η u (P, τ n ) is the voltage stability margin index under the load shedding control vector P and the load shedding amount τ na voltage stability margin index under a load amount of the n th node.

[0097] Further, the trajectory sensitivity of the transient frequency stability margin corresponding to each node is obtained, including: obtaining the trajectory sensitivity of the transient frequency stability margin corresponding to the n th node; wherein c fn is the trajectory sensitivity of the transient frequency stability margin corresponding to the n th node; η f (P) is a voltage stability margin index under the load amount of the n th node. f (P, τ n ) is a voltage stability margin index under the load amount of the n th node under the load amount τ n of the n th node under the load amount of the n th node under the load amount τ

[0098] Further, the trajectory sensitivity of the transient frequency stability margin corresponding to each node is obtained, including: determined as the stability margin trajectory sensitivity vector. Wherein c δ1 is the trajectory sensitivity of the transient power angle stability margin corresponding to the first node; c δn is the trajectory sensitivity of the transient power angle stability margin corresponding to the n th node; is the trajectory sensitivity of the transient power angle stability margin corresponding to the N L th node; c u1 is the trajectory sensitivity of the transient voltage stability margin corresponding to the first node; c un is the trajectory sensitivity of the transient voltage stability margin corresponding to the n th node; is the trajectory sensitivity of the transient voltage stability margin corresponding to the N L th node; c f1 is the trajectory sensitivity of the transient frequency stability margin corresponding to the first node; c fn is the trajectory sensitivity of the transient frequency stability margin corresponding to the n th node; is the trajectory sensitivity of the transient frequency stability margin corresponding to the N L th node.

[0099] It should be noted that after k times of iteration by using the perturbation method, the optimal of the emergency control model is P (k) , then the first constraint condition is locally linearized to obtain η(P (k) )+CΔP (k+1) ≥ε. Wherein ΔP (k+1) is the load change vector of the k+1 iteration.

[0100] Further, the trajectory sensitivity is used to convert the emergency control mathematical model into a linear programming model, including: determined as the linear programming model.

[0101] It should be noted that by solving the constraint condition formula in the linear programming model , it is converted into solving the cutting load vector P (k+1) of the k+1th iteration. (k+1) Therefore, the cutting load vector P (k+1) of the k+1th iteration can be obtained by calculating P (k+) = P (k+1) + ΔP (k+1) . Wherein, ΔP (k+1) is the difference between the cutting load change vector of the k+1th iteration and the cutting load change vector of the kth iteration.

[0102] Further, the parameter index vector includes a transient power angle stability margin index, a transient frequency stability margin index and a transient voltage stability margin index; the convergence of the linear programming model is determined in the following manner: in the case that the difference between the transient power angle stability margin index and the preset power angle stability margin critical value is less than the preset zero parameter, the difference between the transient frequency stability margin index and the preset frequency stability margin critical value is less than the preset zero parameter, or the difference between the transient voltage stability margin index and the preset voltage stability margin critical value is less than the preset zero parameter, the change amount of the economic cost of the linear programming model is obtained; in the case that the change amount is less than the preset threshold value, it is determined that the linear programming model converges.

[0103] In this way, by obtaining the change amount of the economic cost of the linear programming model in the case that the difference between the transient power angle stability margin index and the preset power angle stability margin critical value is less than the preset zero parameter, the difference between the transient frequency stability margin index and the preset frequency stability margin critical value is less than the preset zero parameter, or the difference between the transient voltage stability margin index and the preset voltage stability margin critical value is less than the preset zero parameter, and then determining that the linear programming model converges in the case that the change amount is less than the preset threshold value, the target cutting load vector when the linear programming model converges is obtained, so that the target cutting load vector obtained can meet the requirements of both stability and economic cost of the power fault twin model, thereby reducing the economic cost required for cutting load under the condition of ensuring the stability of the power system, and improving the practicality and engineering deployment feasibility of the control strategy.

[0104] It should be noted that the zero parameter can be a positive number that approaches 0 infinitely.

[0105] In the case that the difference between the transient power angle stability margin index and the preset power angle stability margin critical value is less than the preset zero parameter, it can be determined that the transient power angle stability margin index approaches the power angle stability margin critical value infinitely.

[0106] In a case where a difference between the transient frequency stability margin index and the preset frequency stability margin critical value is less than the preset zero-approaching parameter, it can be determined that the transient frequency stability margin index is infinitely close to the frequency stability margin critical value.

[0107] In a case where a difference between the transient voltage stability margin index and the preset voltage stability margin critical value is less than the preset zero-approaching parameter, it can be determined that the transient voltage stability margin index is infinitely close to the voltage stability margin critical value.

[0108] Further, the change amount of the economic cost of the linear programming model is obtained, including: obtaining the change amount of the economic cost of the linear programming model by calculating obtaining the change amount of the economic cost of the linear programming model. Wherein, ΔF k+1 is the change amount of the economic cost of the linear programming model, which is a difference between the emergency control economic cost obtained in the k+1 iteration and the emergency control economic cost obtained in the k iteration.

[0109] It should be noted that the smaller the threshold value is set, the more stringent the convergence condition is, and in order to meet the convergence condition, the number of iterations for solving will be more.

[0110] It should be noted that the cut load vector P (k+1) of the k+1 iteration when the linear programming model converges is determined as the target cut load vector.

[0111] It should be noted that, for Figure 2 The voltage trajectory of each node corresponding to the power failure twin model shown in FIG. 2 is shown in FIG. 3(a); the power angle trajectory of each node is shown in FIG. 3(b); and the frequency trajectory of each node is shown in FIG. 3(c). Different color lines represent the trajectories of different nodes. FIG. 3(a) is a voltage trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; FIG. 3(b) is a power angle trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; and FIG. 3(c) is a frequency trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails. Figure 2 The voltage trajectory of each node corresponding to the power failure twin model shown in FIG. 2 is shown in FIG. 3(a); the power angle trajectory of each node is shown in FIG. 3(b); and the frequency trajectory of each node is shown in FIG. 3(c). Different color lines represent the trajectories of different nodes. FIG. 3(a) is a voltage trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; FIG. 3(b) is a power angle trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; and FIG. 3(c) is a frequency trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails. Figure 2 The voltage trajectory of each node corresponding to the power failure twin model shown in FIG. 2 is shown in FIG. 3(a); the power angle trajectory of each node is shown in FIG. 3(b); and the frequency trajectory of each node is shown in FIG. 3(c). Different color lines represent the trajectories of different nodes. FIG. 3(a) is a voltage trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; FIG. 3(b) is a power angle trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; and FIG. 3(c) is a frequency trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails. Figure 2 The voltage trajectory of each node corresponding to the power failure twin model shown in FIG. 2 is shown in FIG. 3(a); the power angle trajectory of each node is shown in FIG. 3(b); and the frequency trajectory of each node is shown in FIG. 3(c). Different color lines represent the trajectories of different nodes. FIG. 3(a) is a voltage trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; FIG. 3(b) is a power angle trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails; and FIG. 3(c) is a frequency trajectory diagram of each node when the power failure twin model shown in FIG. 2 fails.

[0112] In the prior art, the minimum cut load of each node is usually set according to a percentage. For example, the percentage of the minimum cut load of each node is set to 5%, so that Figure 5The power failure twin model shown corresponds to a power system capable of stable operation. After setting the load shedding in this way, the voltage trajectory of each node is shown in FIG. 4(a); the power angle trajectory of each node is shown in FIG. 4(b); and the frequency trajectory of each node is shown in FIG. 4(c). Different colored lines represent the trajectories of different nodes. FIG. 4(a) is a voltage trajectory diagram of each node after adjusting the load amount using the prior art method; FIG. 4(b) is a power angle trajectory diagram of each node after adjusting the load amount using the prior art method; and FIG. 4(c) is a frequency trajectory diagram of each node after adjusting the load amount using the prior art method.

[0113] The present application calculates the load shedding of each node by the following steps, and then sets each node by the calculated load shedding.

[0114] In combination Figure 7 As shown, the present disclosure provides a method for calculating load shedding, which comprises:

[0115] Step S501, obtaining a parameter index vector according to a preset power failure twin model; the parameter index vector comprises a transient power angle stability margin index, a transient frequency stability margin index, and a transient voltage stability margin index. The parameter index vector is an index vector representing the stability of the power failure twin model.

[0116] Step S502, constructing an economic cost objective function according to the load shedding of the power failure twin model.

[0117] Step S503, constructing a constraint condition of the economic cost objective function using the parameter index vector.

[0118] Step S504, converting the minimum value of the economic cost objective function into an emergency control mathematical model according to the constraint condition.

[0119] Step S505, converting the emergency control mathematical model into a linear programming model using a preset numerical perturbation method according to the constraint condition.

[0120] Step S506, iteratively solving the linear programming model.

[0121] Step S507, determining whether the difference between the transient power angle stability margin index and the preset power angle stability margin critical value is greater than or equal to the preset zero connection parameter. If yes, execute 208; if no, return to execute step S506.

[0122] Step S508, determining whether the difference between the transient frequency stability margin index and the preset frequency stability margin critical value is greater than or equal to the preset zero connection parameter. If yes, execute 209; if no, return to execute step S506.

[0123] Step S509, judge whether the difference between the transient voltage stability margin index and the preset voltage stability margin critical value is greater than or equal to the preset zero connection parameter. If yes, execute 210; if no, return to execute step S506.

[0124] Step S510, obtain the change amount of the economic cost of the linear programming model.

[0125] Step S511, judge whether the change amount is less than the preset threshold. If yes, execute 212; if no, return to execute step S506.

[0126] Step S512, determine the convergence of the linear programming model to obtain the target load shedding vector.

[0127] In this way, the constraint condition of the economic cost objective function of the load shedding of the power fault twin model is constructed by the parameter index vector of the power fault twin model, the minimum value of the economic cost objective function is converted into an emergency control mathematical model according to the constraint condition, then the nonlinear emergency control mathematical model is converted into a linear programming model that can be quickly solved by using the preset numerical perturbation method according to the constraint condition, the linear programming model is iteratively solved, and the convergence of the linear programming model is determined by the transient power angle stability margin index, the transient voltage stability margin index, the transient frequency stability margin index and the change amount of the economic cost of the linear programming model. When the linear programming model converges, the target load shedding vector is obtained.

[0128] Combining the parameter index vector representing the stability of the power fault twin model to solve the minimum value of the economic cost objective function can obtain the target load shedding vector when the linear programming model converges while controlling the stability and economic cost of the power fault twin model, so that the target load shedding vector can meet the requirements of both stability and economic cost of the power fault twin model, thereby reducing the economic cost required for load shedding while ensuring the stability of the power system.

[0129] It should be noted that after the target load shedding vector is solved, the nodes of the power system corresponding to the power fault twin model can be directly set according to the target load shedding vector.

[0130] However, the global sensitivity of different nodes is different. After the target load shedding vector is solved, the nodes with high sensitivity can be determined according to the target load shedding vector, and the load shedding of the nodes with high sensitivity is set first to minimize the amount of load shedding. The remaining nodes can be fine-tuned according to the transient voltage stability margin index, the transient power angle stability margin index and the transient frequency stability margin index to optimize resource allocation while maintaining the reliability of safe operation of the power system.

[0131] In some embodiments, the linear programming model converges after 4 iterations, i.e., k+1 = 4. Each iteration obtains a cut load vector, which includes the cut load values of each node in the power failure twin model.

[0132] As shown in Table 3, which is an example table of the cut load values of each node in the power failure twin model during the solving iteration process, Table 3 stores the cut load values of the first node to the 10th node in the power failure twin model during the solving iteration process. As shown in Table 3, n represents the nth node; k+1 is the iteration number; p n (k+1) is the cut load value of the nth node at the k+1th iteration.

[0133]

[0134] Table 3

[0135] In some embodiments, as shown in Table 3, the cut load value of the first node at the first iteration is 0; the cut load value of the second node at the first iteration is 0; the cut load value of the third node at the first iteration is 0; the cut load value of the fourth node at the first iteration is 35.23; the cut load value of the fifth node at the first iteration is 0; the cut load value of the sixth node at the first iteration is 0; the cut load value of the seventh node at the first iteration is 0; the cut load value of the eighth node at the first iteration is 89.96; the cut load value of the ninth node at the first iteration is 0; and the cut load value of the tenth node at the first iteration is 0.

[0136] As shown in Table 4, which is an example table of the cut load values of each node in the power failure twin model during the solving iteration process, Table 4 stores the cut load values of the 11th node to the 21st node in the power failure twin model during the solving iteration process. As shown in Table 4, n represents the nth node; k+1 is the iteration number; p is the cut load value of the nth node at the k+1th iteration.

[0137] Table 4

[0138]

[0139] In some embodiments, as shown in Table 4, the cut load value of the 11th node at the 1st iteration is 0; the cut load value of the 12th node at the 1st iteration is 0; the cut load value of the 13th node at the 1st iteration is 0; the cut load value of the 14th node at the 1st iteration is 51.44; the cut load value of the 15th node at the 1st iteration is 0; the cut load value of the 16th node at the 1st iteration is 0; the cut load value of the 17th node at the 1st iteration is 0; the cut load value of the 18th node at the 1st iteration is 89.96; the cut load value of the 19th node at the 1st iteration is 0; the cut load value of the 20th node at the 1st iteration is 0; and the cut load value of the 21st node at the 1st iteration is 35.23.

[0140] According to Table 3 and Table 4, after k+1 iterations, the control of the target cut load vector is mainly concentrated on the 4th node, the 8th node, the 14th node and the 21st node. Among them, the cut load values of the 8th node and the 14th node are the largest, and the global sensitivity is the highest. Therefore, the cut load of the 8th node and the 14th node can be adjusted in priority according to the target cut load vector. The remaining nodes are fine-tuned.

[0141] As shown in Table 5, Table 5 is an example table for solving the corresponding relationship between the change amount of economic cost and the stability margin index in the iteration process. As shown in Table 5, k+1 is the iteration number; F k+1 is the emergency control economic cost obtained for the k+1th iteration; ΔF k+1 is the change amount of the economic cost of the linear programming model, that is, the difference between the emergency control economic cost obtained for the k+1th iteration and the emergency control economic cost obtained for the kth iteration.

[0142]

[0143]

[0144] Table 5

[0145] In some embodiments, as shown in Table 5, at the 0th iteration, the obtained emergency control economic cost is 0, the change amount of the economic cost is 0, the transient voltage stability margin index is -7.35, the transient power angle stability margin index is 0.55, and the transient frequency stability margin index is -202.14; at the 1st iteration, the obtained emergency control economic cost is 192.32, the change amount of the economic cost is 192.32, the transient voltage stability margin index is -0.008, the transient power angle stability margin index is 0.31, and the transient frequency stability margin index is -1.058; at the 2nd iteration, the obtained emergency control economic cost is 205.29, the change amount of the economic cost is 12.97, the transient voltage stability margin index is 0.022, the transient power angle stability margin index is 0.32, and the transient frequency stability margin index is 1.291; at the 3rd iteration, the obtained emergency control economic cost is 186.71, the change amount of the economic cost is 19.25, the transient voltage stability margin index is 0.010, the transient power angle stability margin index is 0.34, and the transient frequency stability margin index is 1.511; and at the 4th iteration, the obtained emergency control economic cost is 178.21, the change amount of the economic cost is 8.5, the transient voltage stability margin index is 0.010, the transient power angle stability margin index is 0.34, and the transient frequency stability margin index is 1.511.

[0146] As shown in Table 5, at the 0th iteration, since the load shedding amount has not been set, the initial value is 0, and thus the emergency control economic cost is 0, but the difference between the transient voltage stability margin index, the transient power angle stability margin index, and the transient frequency stability margin index and the corresponding critical value is the largest, and the stability of the power system is poor. With the increase of the iteration number, the emergency control economic cost first increases and then decreases, and the difference between the transient voltage stability margin index, the transient power angle stability margin index, and the transient frequency stability margin index and the corresponding critical value gradually decreases. At the 4th iteration, the linear programming model converges, the obtained emergency control economic cost is the lowest, the difference between the transient voltage stability margin index, the transient power angle stability margin index, and the transient frequency stability margin index and the corresponding critical value is also close to the critical value, and the power system tends to be stable.

[0147] After the above manner is used to set the load shedding of the nodes, the voltage trajectory corresponding to each node is shown in FIG. 6(a), the power angle trajectory corresponding to each node is shown in FIG. 6(b), and the frequency trajectory corresponding to each node is shown in FIG. 6(c). Different colors of lines represent trajectories corresponding to different nodes. FIG. 6(a) is a voltage trajectory diagram of each node after the load amount is adjusted by the manner of the application; FIG. 6(b) is a power angle trajectory diagram of each node after the load amount is adjusted by the manner of the application; and FIG. 6(c) is a frequency trajectory diagram of each node after the load amount is adjusted by the manner of the application.

[0148] Combining Figures 3(a), 3(b), 3(c), 4(a), 4(b), 4(c), 6(a), 6(b), and 6(c), it can be seen that...

[0149] Compared to the percentage-based load shedding strategy used in existing technologies, the load shedding method disclosed in this application sets the load shedding parameters. Specifically, after setting the load shedding parameters using the method disclosed in this application, the voltage trajectory, power angle trajectory, and frequency trajectory show fewer jagged edges, resulting in a smoother power system recovery process and effectively reducing fluctuations and instability.

[0150] Meanwhile, while ensuring voltage and frequency stability, this application also maintains a small power angle difference, thereby improving the stability margin of the power system and avoiding large power angle fluctuations. It is evident that the method disclosed in this application for calculating load shedding demonstrates superior performance in the emergency control of power systems, better ensuring system stability and safety.

[0151] Combination Figure 8 As shown in the figure, this disclosure provides an apparatus 70 for calculating shear load, including: a vector acquisition module 71, an objective function construction module 72, a constraint condition construction module 73, and a solution module 74.

[0152] Among them, the vector acquisition module 71 is configured to acquire parameter index vectors according to a preset power fault twin model;

[0153] Objective function construction module 72 is configured to construct an economic cost objective function based on the load shedding of the power failure twin model;

[0154] The constraint construction module 73 is configured to construct constraints for the economic cost objective function using a vector of parameter indicators;

[0155] Solver module 74 is configured to solve for the minimum value of the economic cost objective function based on the constraints, in order to obtain the target load shedding vector.

[0156] Furthermore, the power fault twin model is obtained by: constructing a pre-defined digital twin model corresponding to the power system; setting power faults on the digital twin model to obtain the power fault twin model.

[0157] Further, the parameter index vector is obtained according to the preset power failure twin model, including: obtaining a transient power angle stability margin index according to a maximum inter-generator power angle difference of the power failure twin model; obtaining a transient frequency stability margin index according to an output frequency of the power failure twin model; obtaining a transient voltage stability margin index according to an output voltage of the power failure twin model; and obtaining the parameter index vector according to the transient power angle stability margin index, the transient frequency stability margin index and the transient voltage stability margin index.

[0158] Further, the economic cost target function is constructed according to the load shedding of the power failure twin model, including: obtaining a unit load shedding economic cost coefficient corresponding to each preset node in the power failure twin model; obtaining a transient voltage global sensitivity coefficient corresponding to each preset node in the power failure twin model; obtaining a weight of the economic cost target function according to the unit load shedding economic cost coefficient and the transient voltage global sensitivity coefficient; and constructing the economic cost target function according to the weight and the load shedding of the power failure twin model.

[0159] Further, the constraint condition of the economic cost target function is constructed by using the parameter index vector, including: obtaining a first limit condition corresponding to the parameter index vector; obtaining a second limit condition corresponding to the load shedding of the power failure twin model; and determining the first limit condition and the second limit condition as the constraint condition.

[0160] Further, the minimum value of the economic cost target function is solved according to the constraint condition, to obtain a target load shedding vector, including: converting the minimum value of the economic cost target function into an emergency control mathematical model according to the constraint condition; converting the emergency control mathematical model into a linear programming model according to the constraint condition by using a preset numerical perturbation method; iteratively solving the linear programming model; and obtaining the target load shedding vector in a case where the linear programming model converges.

[0161] Further, the parameter index vector includes the transient power angle stability margin index, the transient frequency stability margin index and the transient voltage stability margin index; and the device for calculating the load shedding determines that the linear programming model converges in a case where: a difference between the transient power angle stability margin index and a preset power angle stability margin critical value is less than a preset zero connection parameter, a difference between the transient frequency stability margin index and a preset frequency stability margin critical value is less than a preset zero connection parameter, or a difference between the transient voltage stability margin index and a preset voltage stability margin critical value is less than a preset zero connection parameter; a change amount of an economic cost of the linear programming model is obtained; and the linear programming model converges in a case where the change amount is less than a preset threshold value.

[0162] The device for calculating load shedding provided in the embodiment of the present disclosure constructs the constraint condition of the economic cost objective function of the load shedding of the power fault twin model through the parameter index vector of the power fault twin model, so as to solve the minimum value of the economic cost objective function according to the constraint condition, and obtain the target load shedding vector. In this way, the minimum value of the economic cost objective function is solved in combination with the parameter index vector representing the stability of the power fault twin model, the minimum target load shedding vector can be obtained while controlling the stability and economic cost of the power fault twin model, the target load shedding vector can meet the requirements of both the stability and the economic cost of the power fault twin model, and thus the economic cost required by the load shedding can be reduced while ensuring the stability of the power system.

[0163] It should be noted that the device for calculating load shedding provided in the above embodiment and the method for calculating load shedding provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment, which will not be described here. The device for adjusting the outlet air temperature provided in the above embodiment can be divided into different functional modules according to the needs in actual application, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above, and this is not limited herein.

[0164] The embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the method for calculating load shedding provided in each of the above embodiments.

[0165] The electronic device provided in the embodiment of the present disclosure constructs the constraint condition of the economic cost objective function of the load shedding of the power fault twin model through the parameter index vector of the power fault twin model, so as to solve the minimum value of the economic cost objective function according to the constraint condition, and obtain the target load shedding vector. In this way, the minimum value of the economic cost objective function is solved in combination with the parameter index vector representing the stability of the power fault twin model, the minimum target load shedding vector can be obtained while controlling the stability and economic cost of the power fault twin model, the target load shedding vector can meet the requirements of both the stability and the economic cost of the power fault twin model, and thus the economic cost required by the load shedding can be reduced while ensuring the stability of the power system.

[0166] Figure 8 The structure schematic diagram of the computer system of the electronic device suitable for realizing the embodiment of the present application is shown. It should be noted that, Figure 8The computer system 800 of the electronic device shown is merely one example, and should not be taken as limiting the functionality or use of embodiments of the present application.

[0167] As shown in Figure 1 the computer system 800 includes a central processing unit (CPU) 801 that can perform various suitable actions and processes in accordance with a program stored in read-only memory (ROM) 802 or a program loaded from a storage section 808 into a random access memory (RAM) 803, such as performing the methods described in the embodiments above. Various programs and data required for system operation are also stored in the RAM 803. The CPU 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0168] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as necessary. A removable recording medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 810 as necessary, so that a computer program read therefrom is installed into the storage section 808 as necessary.

[0169] In particular, in accordance with embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising computer programs for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 809, and / or installed from the removable recording medium 811. When the computer program is executed by the central processing unit (CPU) 801, various functions defined in the system of the present application are performed.

[0170] The embodiment of the present disclosure provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are configured to execute the method for calculating the cutting load.

[0171] The computer readable storage medium described above can be a transitory computer readable storage medium or a non-transitory computer readable storage medium.

[0172] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which can be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The storage medium described above can be a non-transitory storage medium, including a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes, or a transitory storage medium.

[0173] Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure can be in the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to a magnetic disk storage, a CD-ROM, an optical storage, etc.) containing computer usable program code.

[0174] The present disclosure is described with reference to the flowcharts and / or block diagrams according to the embodiments of the present disclosure. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device implemented in the flowcharts and / or block diagrams. Figure 1 The device that implements the function specified in one flow or multiple flows and / or blocks Figure 1 The device that implements the function specified in one flow or multiple flows and / or blocks

[0175] These computer program instructions can also be stored in a computer readable storage medium that can guide the computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a product including instruction devices that implement the flowcharts and / or block diagrams. Figure 1one or more processes and / or blocks Figure 1 the function specified in the one or more blocks.

[0176] These computer program instructions can also be loaded into a computer or other programmable data processing devices, so that a series of operational steps are performed on the computer or other programmable data processing devices to generate a computer implemented process, so that the instructions executed on the computer or other programmable data processing devices provide a process for implementing the flow Figure 1 one or more processes and / or blocks ​ the function specified in the one or more blocks.

[0177] Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned facts and methods can be completed by programs instructing relevant hardware, and the programs involved or the programs mentioned can be stored in a computer-readable storage medium. When the program is executed, the following steps are included: at this time, the corresponding method steps are derived, and the storage medium can be ROM / RAM, magnetic disc, optical disc, etc.

[0178] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for calculating a cut load, characterized in that, The method comprises the following steps: obtaining a parameter index vector according to a preset power failure twin model; the parameter index vector is an index vector representing the stability of the power failure twin model; constructing an economic cost objective function according to the load shedding of the power failure twin model; constructing a constraint condition of the economic cost objective function by using the parameter index vector; solving the minimum value of the economic cost objective function according to the constraint condition to obtain a target load shedding vector.

2. The method of claim 1, wherein, The power failure twin model is obtained by the following method: constructing a digital twin model corresponding to a preset power system; setting a power failure on the digital twin model to obtain the power failure twin model.

3. The method of claim 1, wherein, The method of obtaining a parameter index vector according to a preset power failure twin model comprises the following steps: obtaining a transient power angle stability margin index according to the maximum power angle difference between generators of the power failure twin model; obtaining a transient frequency stability margin index according to the output frequency of the power failure twin model; obtaining a transient voltage stability margin index according to the output voltage of the power failure twin model; obtaining the parameter index vector according to the transient power angle stability margin index, the transient frequency stability margin index and the transient voltage stability margin index.

4. The method of claim 1, wherein, The method of constructing an economic cost objective function according to the load shedding of the power failure twin model comprises the following steps: obtaining a unit load shedding economic cost coefficient corresponding to each preset node in the power failure twin model; obtaining a transient voltage global sensitivity coefficient corresponding to each preset node in the power failure twin model; obtaining the weight of the economic cost objective function according to the unit load shedding economic cost coefficient and the transient voltage global sensitivity coefficient; constructing the economic cost objective function according to the weight and the load shedding of the power failure twin model.

5. The method of claim 1, wherein, The method of constructing a constraint condition of the economic cost objective function by using the parameter index vector comprises the following steps: obtaining a first limit condition corresponding to the parameter index vector; obtaining a second limit condition corresponding to the load shedding of the power failure twin model; determining the first limit condition and the second limit condition as the constraint condition.

6. The method of claim 1, wherein, The method of solving the minimum value of the economic cost objective function according to the constraint condition to obtain a target load shedding vector comprises the following steps: converting the minimum value of the economic cost objective function into an emergency control mathematical model according to the constraint condition; converting the emergency control mathematical model into a linear programming model according to the constraint condition by using a preset numerical perturbation method; iteratively solving the linear programming model; in the case where it is determined that the linear programming model converges, obtaining the target load shedding vector.

7. The method of claim 1, wherein, The parameter index vector comprises a transient power angle stability margin index, a transient frequency stability margin index and a transient voltage stability margin index; the linear programming model is determined to converge by the following method: In a case where a difference between the transient power angle stability margin index and a preset power angle stability margin critical value is less than a preset zero connection parameter, a difference between the transient frequency stability margin index and a preset frequency stability margin critical value is less than a preset zero connection parameter, or a difference between the transient voltage stability margin index and a preset voltage stability margin critical value is less than a preset zero connection parameter, a change amount of an economic cost of the linear programming model is obtained; In a case where the change amount is less than a preset threshold, it is determined that the linear programming model converges.

8. An apparatus for calculating a cut load, characterized by Comprise: A vector obtaining module configured to obtain a parameter index vector according to a preset power fault twin model; A target function constructing module configured to construct an economic cost target function according to a cut load of the power fault twin model; A constraint condition constructing module configured to construct a constraint condition of the economic cost target function by using the parameter index vector; A solving module configured to solve a minimum value of the economic cost target function according to the constraint condition to obtain a target cut load vector.

9. An electronic device, comprising: Comprise: One or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the method for calculating the cut load according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, A computer readable instruction is stored thereon, when the computer readable instruction is executed by the processor of the computer, the computer executes the method for calculating the cut load according to any one of claims 1 to 7.