This application claims priority to Chinese Patent Application No. 202110471521.5, filed Apr. 29, 2021, the entire disclosure of which is incorporated herein by reference.
The present disclosure relates to a field of stability analysis technology of an electric power system, and more particularly relates to a transient stability assessment method for an electric power system.
Transient instability is a significant cause of widespread electric outages of an electric power system. One of important problems considered in safety prevention and control of the electric power system is how to accurately determine the transient stability of the electric power system.
Recently, data-driven methods such as support vector machines, extreme learning machines and so on are used to analyze the transient stability of the electric power system with a predetermined failure. Generally, since the failure does not occur yet, steady-state variables are used as the input features. However, the electric power system has different transient stabilities in a same operation mode under different predetermined failures, such that data sets under different predetermined failures are used to construct multiple machine learning models respectively to obtain multiple transient stability assessment models under different predetermined failures.
In fact, data sets under similar failures are similar and the respective transient stability assessment models are similar. If the similar data sets are used to train different transient stability assessment models, the similar data sets cannot be used adequately, which goes against improvement of model performance with limited data sets. The present disclosure introduces a Multi-Task Learning and Siamese Network and proposes a transient stability assessment method based on the Multi-Task Learning and Siamese Network for an electric power system in consideration of multiple predetermined failures. A cluster method is used to cluster data sets under different failures, and classifying different failures into different clusters according to a similarity evaluation index between different failures. The Multi-Task Learning and Siamese Network is used to learn the data sets under different failures in the same cluster, which is equivalent to effectively increasing the amount of training data for the transient stability assessment task per failure, such that a generalization ability of the transient stability assessment model under the predetermined failure may be improved.
An objective of the present disclosure is to provide a transient stability assessment method for an electric power system. For a transient stability assessment under a predetermined failure, the present disclosure adopts a cluster method to cluster data sets under different predetermined failures to classify the data sets into different clusters according to a similarity and performing training on the data sets under different failures in a same cluster to construct a multi-task siamese neural network for the transient stability assessment under different predetermined failures. An accuracy of the transient stability assessment model can be improved effectively through the similar data sets and the multi-task siamese neural network.
The transient stability assessment method for an electric power system provided in the present disclosure collects steady-state data of the electric power system before a failure occurs and transient stability tags from transient stability simulation data, obtains data sets under different predetermined failures based on a statistical result of the transient stability tags and a maximum-minimum method, constructs a similarity evaluation index between different predetermined failures based on a Jaccard distance and a Hausdorff distance, obtains clusters of different failures based on a clustering algorithm, trains a parameters-shared siamese neural network for different predetermined failures in each cluster to obtain a multi-task siamese neural network for the transient stability assessment, and obtains transient stability assessment results of the electric power system under all ƒ predetermined failures based on the statistical result of the transient stability tags and the multi-task siamese neural network for the transient stability assessment.
The transient stability assessment method for the electric power system provided in the present disclosure has the following advantages.
According to the transient stability assessment method for an electric power system of the present disclosure, the similarity between data sets under different predetermined failures in the electric power system is considered to construct the similarity evaluation index based on the Jaccard distance and the Hausdorff distance, the data sets under different predetermined failures are clustered based on the similarity evaluation index, and the parameters-shared multi-task siamese neural network for the transient stability assessment is trained for different predetermined failures in the same cluster. By training the parameters-shared siamese neural network using the data sets under different predetermined failures, the amount of training data per task is increased, such that the generalization ability of the transient stability assessment model of the electric power system may be improved and the accuracy of the transient stability assessment result of the electric power system may be improved.
The transient stability assessment method for an electric power system provided in the present disclosure collects data and transient stability tags of the electric power system before a failure occurs from transient stability simulation data, obtains data sets under different predetermined failures based on a statistical result of the transient stability tags and a maximum-minimum method, constructs a similarity evaluation index between different predetermined failures based on a Jaccard distance and a Hausdorff distance, obtains clusters of different failures based on a clustering algorithm, trains a parameters-shared siamese neural network for different predetermined failures in each cluster to obtain a multi-task siamese neural network for the transient stability assessment, and obtains transient stability assessment results of the electric power system under all ƒ predetermined failures based on the statistical result of the transient stability tags and the multi-task siamese neural network for the transient stability assessment.
As illustrated in
(1) s0 operating conditions are set based on historical operational aspects and future plannings of the electric power system in consideration of a situation that the electric power system may have heavy loads in future. ƒ predetermined failures are set for each operating condition. A simulating calculation is performed on transient stabilities of the electric power system under the ƒ predetermined failures occurring in the so operating conditions using a numerical computation method, respectively. Generator features and line features before the failure occurs as well as transient stability tags under different predetermined failures are collected. A data set O0 is obtained based on a statistical result of the transient stability tags and a maximum-minimum normalization method. The step may include the following.
(1-1) for the electric power system having N generators, so operating conditions are set based on historical operational aspects and future plannings of the electric power system in consideration of a situation that the electric power system may have heavy loads in future. ƒ predetermined failures are set for each operating condition. A simulating calculation is performed on transient stabilities of the electric power system under the ƒ predetermined failures in the so operating conditions using a numerical computation method. An active power PGik and a generator voltage VGik of each generator, an active power PLjk and an reactive power QLjk of each line before a failure occurs and the transient stability tags [y1k, y2k, . . . ,yak, . . . ,yƒk] in the k-th operating condition are collected to construct a raw data set [PGik, VGik,PLjk, QLjky1k, y2k, . . . , yak, . . . ,yƒk]. k represents a numerical order of the operating condition, i.e., the k-th operating condition in the so operating conditions, k=1,2, . . . ,s0. i represents a numerical order of the generator, i.e., the i-th generator, i=1, . . . ,N. j represents a numerical order of the line, i.e., the j-th line, j=1, . . . ,M. Mrepresents a total number of lines in the electric power system. yak represents the transient stability tag of the electric power system under the a-th predetermined failure occurring in the k-th operating condition. a represents a numerical order of the predetermined failure, i.e., the a-th predetermined failure, a=1, . . . ƒ If a transient instability occurs in the electric power system after the a-th predetermined failure occurs in the k-th operating condition, yak=1. If the electric power system can maintain transient stability after the a-th predetermined failure occurs in the k-th operating condition, yak=0. In an embodiment of the present disclosure, the electric power system may be a New England 10 Generator 39 Bus System which includes N=10 generators and M=34 lines. The number of operating conditions is set to s0=5000. The predetermined failures may include three-phase permanent short-circuit faults occurring in each of the 34 lines, and the fault clearing time may be 0.1 second, such that the number of predetermined failures is set to ƒ=34.
(1-2) based on a maximum-minimum normalization method, PGik, VGik, PLjk and QLjk in the raw data set obtained in step (1-1) are normalized to obtain a normalized active power {tilde over (P)}Gik and a normalized generator voltage {tilde over (V)}Gik of each generator, a normalized active power {tilde over ({tilde over (P)})}Ljk and a normalized inactive power {tilde over (Q)}Ljk of each line before a failure occurs in the k-th operating condition.
A normalization formula may be denoted as follows.
(1-3) values of the transient stability tags [y1k, y2k . . . ,yak, . . . ,yƒk] in the s0 operating conditions obtained in step (1-1) are counted. If the transient stability tag yak under the a-th predetermined failure satisfies
it indicates that the a-th predetermined failure always causes the k=1 transient instability of the electric power system, then the a-th predetermined failure may be classified into a failure set Z1 and the subsequent construction of transient stability assessment siamese neural network is not performed. If the transient stability tag yak under the a-th predetermined failure satisfies
it indicates that the a-th predetermined failure does not cause the transient instability of the electric power system, then the a-th predetermined failure may be classified into a failure set Z0 and the subsequent construction of transient stability assessment siamese neural network is not performed. If the transient stability tag yak under the a-th predetermined failure satisfies
it indicates that the a-th predetermined failure may cause the transient instability of the electric power system in some operating conditions, then the a-th predetermined failure may be classified into a failure set Z2. Assuming that Z2 includes b predetermined failures, the b predetermined failures may be denoted as E(1), E(2), . . . ,E(b), and the transient stability tags of the b predetermined failures may be denoted as yE(1)k, yE(2)k, yE(b)k. In an embodiment of the present disclosure, the failure set Z1 is empty, the failure set Z0 includes one predetermined failure, and the failure set Z2 includes 33 predetermined failures, i.e., b=33.
(1-4) a pre-processed data set O0 is obtained based on {tilde over (P)}Gik, {tilde over (V)}Gik, {tilde over (P)}Ljk and {tilde over (Q)}Ljk obtained in step (1-2) and the transient stability tags yE(1)k yE(2)k, . . . , yE(b)k in the failure set Z2 obtained in step (1-3). The data set O0 may be represented as follows.
O
0=[{tilde over (P)}Gik,{tilde over (V)}Gik,{tilde over (P)}Ljk,{tilde over (Q)}Ljk,yE(1)kyE(2)k, . . . ,yE(b)k]
(2) s1×b operating conditions are set based on historical operational aspects and future plannings of the electric power system in consideration of a situation that the electric power system may have heavy loads in future. By considering the b predetermined failures in the failure set Z2 obtained in step (1-3), a transient stability simulating calculation is performed using a numerical computation method to obtain generator features and line features before a failure occurs as well as transient stability tags under different predetermined failures. And a new data set Onew is obtained based on a statistical result of the transient stability tags and a maximum-minimum normalization method as described in step (1-2). The step may include the following.
(2-1) s1×b operating conditions are set for the electric power system as described in step (1-1) based on historical operational aspects and future plannings of the electric power system in consideration of a situation that the electric power system may have heavy loads in future. The s1×b operating conditions may be denoted as s0+1,s0+2, . . . ,s0+s1×b. A transient stability simulating calculation is performed on the E(1+└(d−1−s0)/s1┐)-th predetermined failure in the failure set Z2 occurring in the d-th operating condition obtained in step (1-3) using a numerical computation method. An active power PGid and a generator voltage VGid of each generator, an active power PLjdand an reactive power QLjd of each line before a failure occurs and the transient stability tags yE(1+└(d−1−s
(2-2) based on a maximum-minimum normalization method as described in step (1-2), PGidVGid, PLjd and QLjd in the data set [PGidVGid, PLjd QLjd, yE(1+└(d−1−s
(2-3) a pre-processed data set Onew is obtained based on {tilde over (P)}Gid, {tilde over (V)}Gid, {tilde over (P)}Ljd and {tilde over (Q)}Ljd obtained in step (2-2) and the transient stability tags yE(1+└(d−1−s
O
new=[{tilde over (P)}Gid,{tilde over (V)}Gid,{tilde over (P)}Ljd,{tilde over (Q)}LjdyE(1+└(d−1−s
(3) based on a Jaccard distance index and a Hausdorff distance index, a similarity evaluation index D(e,g) of the b predetermined failures in the failure set Z2 obtained in step (1-3) is calculated. e represents the e-th predetermined failure in the failure set Z2 obtained in step (1-3), e=E(1), . . . , E(b). g represents the g-th predetermined failure in the failure set Z2 obtained in step (1-3), g=E(1), . . . , E(b) and g≠e. The b predetermined failures in the failure set Z2 obtained in step (1-3) are clustered based on the similarity evaluation index D(e,g) and a clustering algorithm, to obtain B clusters. The l-th cluster includes p(l) predetermined failures, l=1, . . . ,B. The step may include the following.
(3-1) a Jaccard distance index between a transient stability tag vector (ye1, ye2 . . . , yes
M00 represents the number of operating conditions where both yek and ygk equal to 0, M01 represents the number of operating conditions where yek equals to 0 but ygk equals to 1, M01 represents the number of operating conditions where yek equals to 1 but ygk equals to 0, M11 represents the number of operating conditions where both yek and ygk equal to 0, where k=1,2, . . . ,s0.
(3-2) a feature set {({tilde over (P)}Gim, {tilde over (V)}Gim, {tilde over (P)}Ljm {tilde over (Q)}Ljm): m ∈ h(e)} of the operating conditions corresponding to yek=1 (a transient stability tag under the e-th predetermined failure in the failure set Z2 equals to 1) and a feature set {({tilde over (P)}Gin, {tilde over (V)}Gin, {tilde over (P)}Ljn {tilde over (Q)}Ljn): n ∈ h(g)} of the operating conditions corresponding to yek=1 (a transient stability tag under the g-th predetermined failure in the failure set Z2 equals to 1) are obtained, and a Hausdorff distance between {({tilde over (P)}Gim, {tilde over (V)}Gim, {tilde over (P)}Ljm, {tilde over (Q)}Ljm) m ∈ h(e)} and {({tilde over (P)}Gin, {tilde over (V)}Gin, {tilde over (P)}Ljn {tilde over (Q)}Ljn): n ∈ h(g)} is calculated and denoted as H(e,g). h(e) represents a set of the operating conditions corresponding to yek=1, and h(g) represents a set of the operating conditions corresponding to ygk=1.
(3-3) the similarity evaluation index D(e,g) between different predetermined failures in the failure set Z2 is calculated based on J(e,g) obtained in step (3-1) and H(e,g) obtained in step (3-2).
D(e,g)=w1×J(e,g)+w2×H(e,g)
w1 and w2 represent predetermined weights and satisfy w1+w2=1. In an embodiment of the present disclosure, w1=0.5 and w2=0.5.
(3-4) based on the similarity evaluation index D(e,g) between different predetermined failures in the failure set Z2 obtained in step (3-3), the b predetermined failures in the failure set Z2 are clustered to obtain B clusters. The l-th cluster includes p(l) predetermined failures, l=1, . . . , B. The l-th cluster may be denoted as C(l)={q(l)1, q(l)2, . . . , q(l)r(l), . . . , q(l)p(l)}. q(l)r(l) represents a numerical order of the predetermined failure (whose numerical order is r(l)-th in the l-th cluster C(l)) in the failure set Z2, where r(l)=1, . . . , p(l). The clustering algorithm and the cluster number B may be set according to human experiences. Or the cluster number B may be set to 2, 3, . . . ,b. Silhouette coefficients of cluster results corresponding to different cluster numbers are calculated, and the cluster number corresponding to the highest silhouette coefficient is determined as the optimum cluster number. In an embodiment of the present disclosure, the clustering algorithm may be a spectral clustering algorithm. And the cluster number is determined to B=2 based on the highest silhouette coefficient.
(4) a multi-task siamese neural network for the transient stability assessment is trained based on the data set O0 obtained in step (1), the data set Onew obtained in step (2) and the B cluster results obtained in step (3). The step may include the following.
(4-1) the data set O0 obtained in step (1-4) and the data set Onew obtained in step (2-3) are classified into b data sets Dfault(1), Dfault(2), . . . ,Dfault(b) corresponding respectively to the b predetermined failures in step (1-3) based on difference in the predetermined failures. The input features of the data set corresponding to the e-th predetermined failure include a normalized active power {tilde over (P)}Giu(e) and a normalized generator voltage {tilde over (V)}Giu(e) of each generator, a normalized active power {tilde over (P)}Lju(e) and a normalized reactive power {tilde over (Q)}Lju(e) of each line before the failure occurs. The transient stability tag of each data set is denoted as yeu(e). u(e) represents the u(e)-th operating condition corresponding to the e-th predetermined failure, and u(e)=1, 2, . . . , s0, s0+s1×(e−1)×b+1, s0+s1×(e−1)×b+2, . . . , s0+s1×e×b. A schematic diagram of the data sets is shown in
(4-2) B multi-task siamese neural networks for the transient stability assessment are obtained by training based on the data sets Dfault(1), Dfault(2), . . . ,Dfault(b) obtained in step (4-1), the cluster results in step (3-4) and a siamese neural network training algorithm. The training data used by l-th multi-task siamese neural network Ml is the data sets Dfault(q(l)1), Dfault(q(l)2), . . . , Dfault(q(l)r(l)), . . . , Dfault(q(l)p(l)(y)) corresponding to the predetermined failures in the l-th cluster C(l). A structure of Ml may be described as follows, as illustrated in
(4-2-1)p(l) Input Layers of Ml
Ml includes p(l) input layers. The r(l)-th input layer includes 2×N+2×M neurons. The inputs of each neuron may include a normalized active power {tilde over (P)}Giu(q(i)r(l)) and a normalized generator voltage {tilde over (V)}Giu(q(i)r(l)) of each generator, a normalized active power PLju(q(i)r(l)) and a normalized reactive power {tilde over (Q)}Lju(q(i)r(l)) of each line before the failure occurs. u(q(l)r(l)) represents the u(q(l)r(1))-th operating condition corresponding to the q(l)r(l)(-th predetermined failure in the l-th cluster.
(4-2-2) Parameter-Shared Unit of Ml
The parameter-shared unit of Ml includes t1(l) hidden layers. The inputs of the first hidden layer h1(l) may be the p(l) input layers of Ml in step (3-2-1). The inputs of the c-th hidden layer hc(l) may be outputs of the (c-1)-th hidden layer hc-1(l), where c=2, . . . , t1(l). The number t1(l) of the hidden layers and the number of neurons in each hidden layer may be determined according to human experiences or repeated experiments meeting a calculation precision. In an embodiment of the present disclosure, t1(l)=3, i.e., the parameter-shared unit of the l-th neural network Ml may include three hidden layers. The first hidden layer may include 128 neurons, the second hidden layer may include 64 neurons and the third hidden layer may include 32 neurons.
(4-2-3)p(l) Output Units of Ml
The p(l) output units of Ml may include t2(l) hidden layers and one output layer. The inputs of the first hidden layer in each output unit may be outputs of the t1(l)-th hidden layer of the parameter-shared unit in step (4-2-2). The number t2(l) of hidden layers and the number of neurons in each hidden layer may be determined according to human experiences or repeated experiments meeting a calculation precision. In an embodiment of the present disclosure, t2(l)=1, i.e., each output unit may include one hidden layer and the number of neurons in the hidden layer may be 32. The output layer may include one neuron, and the output layer may adopt the Sigmoid function as an activation function. The output of the r(l)-th output unit of Ml may be ŷ(q(l)r(l)u(q(l)
(5) the transient stability assessment results of the electric power system under all the ƒ predetermined failures in the failure sets Z0, Z1 and are Z2 are obtained based on the statistical result of the transient stability tags in step (1-3) and the multi-task siamese neural networks obtained in step (4). The step may include the following.
(5-1) the transient stability assessment results of the electric power system under the predetermined failures in the failure sets Z0 and Z1 in step (1-3) are obtained based on the statistical result of the transient stability tags in step (1-3). The step may include the following.
(5-1-1) the transient stability assessment results of the electric power system under the predetermined failures in the failure set Z0 in step (1-3) are determined as maintaining transient stability.
(5-1-2) the transient stability assessment results of the electric power system under the predetermined failures in the failure set Z1 in step (1-3) are determined as occurring transient instability.
(5-2) the B multi-task siamese neural networks obtained in step (4) are used to obtain the transient stability assessment results of the electric power system under the b predetermined failures in the failure set Z2 in step (1-3). The step may include the following.
(5-2-1) an active power PGi and a generator voltage VGi of each generator, an active power PLj and an reactive power QLj of each line of the electric power system are collected from a data collecting and monitoring system or a wide-are measurement system to construct initial input features.
(5-2-2) the maximum-minimum normalization described in step (1-2) is used to normalize the initial input features to obtain normalized input features.
(5-2-3) the normalized input features obtained in step (5-2-2) are inputted into the B multi-task siamese neural networks obtained in step (4) to obtain the transient stability assessment results of the electric power system under the b predetermined failures in the failure set Z2 in step (1-3).
Number | Date | Country | Kind |
---|---|---|---|
202110471521.5 | Apr 2021 | CN | national |