Method for recognizing contingencies in a power supply network
11418029 · 2022-08-16
Assignee
Inventors
Cpc classification
H02J3/0012
ELECTRICITY
H02J13/00
ELECTRICITY
H02J2203/20
ELECTRICITY
Y04S10/30
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J3/003
ELECTRICITY
G06Q10/0639
PHYSICS
Y04S10/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
H02J3/00
ELECTRICITY
H02J13/00
ELECTRICITY
Abstract
A monitoring system includes in-field measurement devices adapted to generate measurement data of a power supply network, and a processing unit adapted to process the measurement data using a local network state estimation model to calculate local network state profiles used to generate a global network state profile. The processing unit is adapted to process the measurement data to provide a relevance profile comprising, for the in-field measurement devices, a relevance distribution indicating a probability where an origin of a contingency within the power supply network resides. The processing unit is adapted to compute a similarity between a candidate contingency profile formed by the generated global network state profile and by the calculated relevance profile and reference contingency profiles stored in a reference contingency database of the monitoring system to identify a reference contingency profile having a highest computed similarity as a recognized contingency within the power supply network.
Claims
1. A method for recognizing contingencies in a power supply network, the method comprising: processing measurement data generated by in-field measurement devices of the power supply network by associated neural attention models, such that a global network state profile of the power supply network is provided, the global network state profile comprising for the in-field measurement devices of the power supply network, a class probability distribution over contingency classes; processing the measurement data generated by the in-field measurement devices of the power supply network, such that a relevance profile of the power supply network is provided, the relevance profile comprising for the in-field measurement devices a relevance distribution indicating a probability where an origin of a contingency within the power supply network resides; forming a candidate contingency profile by the global network state profile and the relevance profile of the power supply network; comparing the candidate contingency profile with reference contingency profiles stored in a reference contingency database, such that contingencies in the power supply network are recognized; and computing a final similarity metric indicating a similarity between the candidate contingency profile and a reference contingency profile for each of the reference contingency profiles stored in the reference contingency database, wherein the contingency is recognized based on the computed final similarity metric and one or more countermeasures are performed to remove the recognized contingency.
2. The method according to claim 1, wherein each of the neural attention models associated with a corresponding in-field measurement device is used to calculate a local network state profile for the power supply network at the respective in-field measurement device.
3. The method of claim 2, wherein the local network state profiles of the different in-field measurement devices are concatenated to provide the global network state profile of the power supply network.
4. The method of claim 1, wherein the in-field measurement devices comprise phasor measurement units that provide a time series of measurement data in different measurement channels.
5. The method of claim 2, wherein the respective neural attention model comprises a convolutional layer to smooth measurement data received by an associated in-field measurement device of the power supply network.
6. The method of claim 1, wherein the neural attention model associated with a corresponding in-field measurement device of the power supply network comprises at least one recurrent neural network layer to capture a time dependency of the received measurement data.
7. The method of claim 6, wherein the neural attention model associated with an in-field measurement device of the power supply network comprises an attention layer that weights outputs of a last recurrent neural network layer of the neural attention model with an output of an associated feed-forward attention subnetwork receiving channel-wise context information data indicating a steady state of the power supply network at the respective in-field measurement device.
8. The method of claim 1, wherein the neural attention model associated with a corresponding in-field measurement device of the power supply network comprises a classification layer that receives weighted outputs of a last recurrent neural network layer of the neural attention network to calculate a local network state profile for the power supply network at the respective in-field measurement device indicating a predicted class probability distribution over contingency classes.
9. The method of claim 1, wherein each of the reference contingency profiles stored in the reference contingency database comprises a reference global network state profile and a reference relevance profile.
10. The method of claim 1, wherein the method further comprises: calculating, for each of the reference contingency profiles stored in the reference contingency database, a first similarity metric depending on the global network state profile of the candidate contingency profile and depending on the global network state profile of the reference contingency profile; and calculating a second similarity metric depending on the relevance profile of the candidate contingency profile and depending on the relevance profile of the reference contingency profile; wherein the final similarity metric indicating the similarity between the candidate contingency profile and the respective reference contingency profile is computed as a function of the calculated first similarity metric and the calculated second similarity metric.
11. The method of claim 1, further comprising preprocessing the measurement data generated by each in-field measurement device of the power supply network, such that a standard deviation of the measurement data from an expected value in a steady state is provided for each measurement channel of the respective in-field measurement device.
12. The method of claim 11, further comprising rescaling the respective preprocessed measurement data, the rescaling comprising dividing the respective preprocessed measurement data through the channel and the in-field measurement device specific standard deviation.
13. The method of claim 11, further comprising calculating a relevance weight for each in-field measurement device, calculating the relevance weight comprising normalizing the standard deviation of the measurement data of the respective in-field measurement device, such that the relevance profile of the power supply network is provided.
14. The method of claim 1, wherein the neural attention models are trained with measurement data of observed contingencies of the power supply network.
15. A monitoring system configured to recognize contingencies in a power supply network, the monitoring system comprising: in-field measurement devices configured to generate measurement data of the power supply network; a processor configured to: process the measurement data generated by the in-field measurement devices of the power supply network by associated neural attention models, such that a global network state profile of the power supply network is provided, the global network state profile comprising for the in-field measurement devices of the power supply network a class probability distribution over contingency classes; process the measurement data generated by the in-field measurement devices of the power supply network, such that a relevance profile of the power supply network is provided, the relevance profile comprising for the in-field measurement devices a relevance distribution indicating a probability where an origin of a contingency within the power supply network resides; form a candidate contingency profile by the global network state profile and the relevance profile of the power supply network; compare the candidate contingency profile with reference contingency profiles stored in a reference contingency database of the monitoring system, such that contingencies are recognized in the power supply network; and compute, for each of the reference contingency profiles stored in the reference contingency database, a similarity metric indicating a similarity between the candidate contingency profile and the respective reference contingency profile, wherein the contingency is recognized based on the computed similarity metric and one or more countermeasures are performed to remove the recognized contingency.
16. The monitoring system of claim 15, wherein the in-field measurement devices comprise phasor measurement units that provide a time series of measurement data in different measurement channels.
17. The monitoring system of claim 15, wherein each neural attention model comprises: a convolutional layer configured to smooth measurement data received by an associated in-field measurement device of the power supply network; at least one recurrent neural network layer configured to capture a time dependency of the received measurement data; and a classification layer configured to weight the received outputs of a last recurrent neural network layer of the at least one recurrent neural network layer of the neural attention network, such that a local network state profile is calculated for the power supply network at the respective in-field measurement device indicating a predicted class probability distribution over contingency classes.
18. The method of claim 10, wherein the function of the calculated first similarity metric and the calculated second similarity metric comprises an average of the first similarity metric and the second similarity metric.
Description
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION
(14) As shown in
(15) The monitoring system 1 includes, in the illustrated embodiment of
(16) As shown in
(17) The measurement data MD generated by the in-field measurement devices 3-i of the power supply network 2 are further processed by a processor 4B of the processing unit 4 to provide a relevance profile RP as illustrated in
(18) As shown in
(19) The processing unit 4 of the monitoring system 1 further includes a computation unit 4C adapted to compute a similarity between the candidate contingency profile CCP and reference contingency profiles rCP stored in a reference contingency database 5 of the monitoring system 1 to identify the reference contingency profile rCP having the highest computed similarity as being the recognized contingency within the power supply network 2.
(20) In a possible embodiment of the monitoring system 1 as illustrated in
(21) The in-field measurement devices 3-i of the power supply network 2 may include phasor measurement units PMUs that provide time series of measurement data in different measurement channels c. The local network state estimation model LNSM may be formed, in a possible embodiment, by a neural attention model. The neural attention model may include, a convolutional layer to smooth measurement data MD received by associated in-field measurement devices 3-i. The neural attention model further may include, in a possible embodiment, at least one recurrent neural network (RNN) layer followed by a neural attention layer.
(22) Each reference contingency profile rCP stored in the reference contingency database 5 may include, in a possible embodiment, a reference global network state profile rGNSP and a reference relevance profile rRP.
(23) In a possible embodiment of the monitoring system 1 as illustrated in
(24) In a possible embodiment of the monitoring system 1, as shown in
(25) In a possible embodiment, the measurement data MD generated by each in-field measurement devices 3-i of the power supply network 2 may be preprocessed to provide a standard deviation of the measurement data from an expected value in a steady state for each measurement channel of the respective in-field measurement device 3-i. Then, the preprocessed measurement data MD may be rescaled by dividing the preprocessed measurement data MD through the channel and in-field measurement device specific standard deviation. In a possible embodiment, a relevance weight is calculated for each in-field measurement device 3-i by normalizing the standard deviation of the measurement data MD of the respective in-field measurement device 3-i to provide the relevance profile RP. The local network state estimation models LNSM used by the processing unit 4 may be trained in a possible embodiment with measurement data of observed contingencies of the power supply network 2.
(26)
(27) In a first act S21, measurement data MD generated by in-field measurement devices 3-i of the power supply network 2 is processed by a local network state estimation model LNSM to calculate local network state profiles LNSPi.
(28) In a further act S22, the global network state profile GNSP is generated from the calculated local network state profiles LNSPi. This may be performed, for example, by a generation subunit 4A of the processing unit 4.
(29) In a further act S23, the measurement data MD generated by the in-field measurement devices 3-i of the power supply network 2 is processed to provide a relevance profile RP. This relevance profile RP includes, for the in-field measurement devices 3-i, a relevance distribution indicating a probability where the origin of a contingency within the power supply network 2 does reside. The generation of the global network state profile GNSP in act S22 and the generation of the relevance profile RP in act S23 may also be performed in parallel to save processing time in a possible embodiment.
(30) In a further act S24, a similarity between a candidate contingency profile CCP and reference contingency profiles rCP is computed. The candidate contingency profile CCP is formed by the generated global network state profile GNSP and by the calculated relevance profile RP as also illustrated in
(31) The in-field measurement devices 3-i of the monitoring system 1 as illustrated in
(32) For example, if the power supply network 2 is monitored by 100 PMUs as in-field measurement devices 3-i, it is possible to measure 3-phase currents and 3-phase voltages. Accordingly, twelve sensor signals are retrieved for each PMU 3-i(e.g., three times a voltage amplitude, three times a voltage angle, three times a current amplitude, and three times a current angle). This leads to 1200 sensor signals in total. From these sensor signals, it is possible to compute eight additional signals for each PMU coexisting of the symmetrical components of the current (e.g., three signals), the symmetrical components of the voltage (e.g., three signals), and active as well as reactive power, leading to 800 additional signals in total. Given these 800 signals, it is possible to compute 800 standard deviation values and to divide the 800 signals by the corresponding value.
(33) For each contingency occurring in the power supply network 2, a snapshot of data is available reflecting the steady state of the power supply network 2 before the contingency has happened in the power supply network 2. This snapshot data may be used to compute a PMU-wise expected value or a mean value for each channel c and subtract these values from the measurement data MD. In this way, the subsequent calculation acts are only performed on deviations observed from the steady state. The local network state model LNSM or state estimator model may represent any kind of model that extracts some state representation (e.g., weighted state representation) from the incoming measurement data MD. In a possible embodiment, a machine learning ML based model may be used. The machine learning ML based model may include a tensor factorization model or an encoder part of an encoder-decoder neural network (e.g., an auto-encoder).
(34) In a possible embodiment, the model is trained by providing the model with a set of observed contingencies preprocessed as described above. The measurement signals or measurement data MD are rescaled and only contain a deviation from an expected value of the steady state. Each set of measurements of a single PMU may be treated as a single training example. The training architecture of the model may include an encoder and decoder part. The encoder first projects the input sample onto a representation that is of lower dimensionality than the original input data. After this act, the decoder part of the architecture is used to reconstruct the original data from this lower dimensional representation. During the training of such an approach, the model gets penalized for not reconstructing the input samples properly. As a consequence, the model may only reduce this penalty by compressing relevant information in the lower dimensional representation (e.g., the bottleneck) that describes enough features to successfully reconstruct the original signal. During training, the model learns a mapping from the input data to these features that satisfy this goal as best as possible. In a possible embodiment, a regularized square error loss may be used between the true measurements and the measurement reconstructed from the latent state representation by the decoder.
L(X,θ)=(X−f.sub.0(X)).sup.2+λ∥θ∥.sub.2.sup.2,
where L is a loss function and θ are the free parameters of the model. f.sub.θ is the encoder-decoder network for any other bottleneck architecture such as tensor factorization. The last summand of the above equation is a regularization term on the free parameters of the model that prevents overfitting during model training.
(35) After training, it may be assumed that the features of the encoder do map the input data on represented important characteristics of the observed input signals. As an example, these features may represent abstract concepts such as “A sharp peak followed by a slow decay”. However, in general, these features are not always interpretable. With the method according to the present embodiments, these methods are used as a representation of the local network state LNS captured by the individual in-field measurement device 3-i. These Features are computed by only applying the encoder part of the model on the input data as illustrated in
(36)
(37)
(38) For example, the system may be trained with training data of 50 contingencies. For each contingency, measurement data MD may be provided from 100 PMUs (e.g., the PMUs are the in-field measurement devices that monitor the target power supply network). In this example, it is possible to extract 5000 examples or samples for the model training. If, for example, each contingency is measured for 12 time steps, a single input example may include 8×12=72 values. For example, it may be assumed that one wants to learn 10 features to describe a network state. In this specific example, the model is trained by passing the 5000 examples in small batches or as a whole to the model to learn the parameters of the encoder and decoder mapping functions to optimize the reconstruction target. In this model, the encoder may learn a function h.sub.1=f.sub.enc(X.sub.i), where X.sub.i is the input data (e.g., 72 values) and h.sub.i is the estimated network state (e.g, 10 values). The decoder may learn a function {tilde over (X)}.sub.i=f.sub.dec(h.sub.i), where {tilde over (X)}.sub.1 is the approximated input (e.g., the reconstruction).
(39) In a possible embodiment, an importance weighting for each in-field measurement device 3-i placed in the power supply network 2 is calculated based on the preprocessed data (e.g., the signals are rescaled and only contain the deviation from the expected value of the steady state).
(40)
where x.sub.pct is the measured value of channel c of in-field PMU measurement device p at time step t, and μ.sub.pc is the expected value of in-field measurement device PMU p and channel c. After computing the deviation values q.sub.p for all in-field measurement devices p, the deviation values are normalized providing a relative importance w.sub.p for each in-field measurement device 3-i. This act may be seen as computing a normalized Euclidean distance between the observed measurements and the expected values of the steady state.
(41)
(42) In a possible embodiment, a weighted cosine similarity may be used as a metric for computing a similarity between profiles as follows:
(43)
where u and v are the global network states of two contingencies j and k, and ŵ is a weight vector that is computed from two PMU importance scores from each contingency by taking the maximum of each value:
ŵ.sub.i=max(w.sub.jiw.sub.ki)
(44) After training the state estimator model, it is possible to build a reference database of a target contingency. It is possible to select the data of suitable target contingencies and construct a contingency profile for each of the target contingencies and store the constructed contingency profiles in a database.
(45) For each newly detected contingency within the power supply network 2, the measurement data MD is recorded and a contingency profile is computed using the state estimator model and the steady state. This candidate contingency profile CCP may be compared to all contingency profiles CPs stored in the reference database 5 using, for example, the weighted cosine similarity metric as described above. The returned similarity computed by the computation unit 4C may be used to rank the contingency profiles with respect to similarity to the input candidate contingency profile CCP. The similarity values indicate how similar an observed contingency within the power supply network 2 is to the corresponding contingency profiles stored in the reference database 5.
(46)
(47) A model is learned for observations of single in-field measurement devices deriving a local network state representation that reflects an observation at the respective in-field measurement device 3-i. In-field measurement devices 3-i(e.g., PMUs) that are removed from the monitored power supply network 2 do not require a retraining of the state estimator model. If an in-field measurement device is removed from the power supply network 2, a local state representation for this removed in-field measurement device is not computed, and the local state representations for the reference contingencies are removed from the reference database 5. Similarly, outages of in-field measurement devices 3-i may be naturally treated by ignoring the local state representation for these in-field measurement devices 3-i. In this case, the local state representation of the in-field measurement device may be ignored in the reference contingencies when computing the similarities.
(48) Since a general model is learned for local state representations observed by in-field measurement devices, it is possible to add and relocate in-field measurement devices at will without the need to retrain the model from scratch. All changes only influence the reference database 5 for which the state estimator model LNSM is applied on the new contingency data MD.
(49) The system is flexible in the number of in-field measurement devices 3-i and associated local state representations LNSPs. It is possible to consider older contingencies with deviating number of in-field measurement devices 3-i when searching for a similar contingency in the reference database 5. This is of special importance if the reference database 5 is filled with real contingencies instead of simulated contingencies.
(50) After having learned a general model that extracts local state representations from in-field measurement devices 3-i, the approach according to the present embodiments may be even power network independent, applying the same trained model on various different power supply networks. Knowledge about the expected located of an observed contingency is considered explicitly by the method and system according to the present embodiments when computing the similarity between two contingencies. This is important in scenarios where large power supply networks PSNs are monitored. In this scenario, effects of a contingency that may be observed by the in-field measurement devices 3-i may be very local, providing that only a small portion of the placed in-field measurement devices 3-i will measure any kind of effects caused by the contingency. When comparing two contingencies, only the local state representations LNSPs of the in-field measurement devices that characterize the observed contingency are considered. The local state representations of the remaining other in-field measurement devices do not contain any relevant information or measurement data MD and may consequently be ignored.
(51) After having recognized a contingency, a control unit of a system may trigger countermeasures. Further, the recognized contingency may be output to a user via a graphical user interface of the monitoring system 1. After having initiated the countermeasures, it may be observed whether the recognized contingency has been removed.
(52)
(53)
(54) In a first act S71, measurement data MD generated by in-field measurement devices 3-i of the power supply network 2 are processed by associated neural attention models to provide a global network state profile GNSP of the power supply network 2 including, for the in-field measurement devices 3-i of the power supply network 2 a class probability distribution over contingency classes.
(55) In a further act S72, measurement data MD generated by the in-field measurement devices 3 of the power supply network 2 are processed to provide a relevance profile RP of the power supply network 2 including, for the in-field measurement devices 3-I, a relevance distribution indicating a probability where the origin of the contingency within the power supply network 2 resides.
(56) In a possible embodiment, act S71 and act S72 may be performed in parallel to reduce the required computation time for recognizing a contingency in the power supply network 2.
(57) In a further act S73, the calculated global network state profile GNSP of the power supply network 2 and the calculated relevance profile RP of the power supply network 2 are compared with reference contingency profiles rCP stored in a reference contingency database 5 to recognize a contingency in the power supply network 2.
(58) Each neural attention model associated with a corresponding in-field measurement device 3 may be used to calculate a local network state profile LNSP for the power supply network 2 at the respective in-field measurement device 3. In a possible embodiment, the local network state profiles LNSP of the different in-field measurement devices 3 are concatenated to provide the global network state profile GNSP of the power supply network 2.
(59) The neural attention model LNSM includes, in a possible embodiment, a convolutional layer CONL to smooth measurement data MD received by associated in-field measurement devices 3 of the power supply network 2. The neural attention model LNSM associated with a corresponding in-field measurement device 3 of the power supply network 2 includes at least one recurrent neural network (RNN) layer to capture a time-dependency of the received measurement data MD. The neural attention model associated with an in-field measurement device 3 of the power supply network 2 includes, in a possible embodiment, an attention layer that weights outputs of the last recurrent neural network (RNN) layer of the neural attention model with the output of an associated feed-forward attention subnetwork receiving channel-wise context information data indicating a steady state of the power supply network 2 at the respective in-field measurement device 3.
(60)
(61) As illustrated in the embodiment of
(62) The neural attention model further includes, in the illustrated embodiment, two recurrent neural networks (RNN) layers that are adapted to capture a time-dependency of the received measurement data MD. Each recurrent neural network layer RNNL includes gated recurrent units GRUs as illustrated in
(63) The neural attention model LNSM further includes, in the illustrated embodiment, a classification layer CLAL adapted to weight the received outputs of the last recurrent neural network layer RNNL2 of the neural attention network to calculate a local network state profile LNSP for the power supply network 2 at the respective in-field measurement device 3 indicating a predicted class probability distribution over contingency classes. In the illustrated example of
(64) Each reference contingency profile rCP stored in the reference contingency database 5 includes a reference global network state profile rGNSP and a reference relevance profile rRP. A similarity metric SM indicating a similarity between a candidate contingency profile CCP formed by the global network state profile GNSP and the relevance profile RP of the power supply network 2 and a reference contingency profile rCP is computed for each reference contingency profile rCP stored in the reference contingency database 5 depending on the global network state profile GNSP of the candidate contingency profile CCP and depending on the global network state profile GNSP of the respective reference contingency profile rCP. The used similarity metric SM may include, for example, a weighted cosine similarity metric SM.
(65) In the monitoring system 1 according to the present embodiments, a profile is computed for the observed contingency data where the profile consists of two main components. The first component of this computed profile (e.g., candidate contingency profile CCP) is a global network state profile GNSP indicating what kinds of contingencies are observed in the power supply network 2 (e.g., the global network state profile GNSP may be regarded as a “what pattern” indicating what kind of contingencies are observed in the power supply network 2). The second component of the candidate contingency profile CCP is indicating which in-field measurement devices 3 are considered most relevant or important and may be seen as an indicator where the origin of the contingency in the power supply network 3 resides. Accordingly, the reference profile RP may be seen as a “where pattern” indicating where the observed contingency has occurred. The combination of the “what pattern” (e.g., global network state profile GNSP) and the “where pattern” (e.g., relevance profile RP) provides a clear and specific individual profile of a contingency in the power supply network 2 that may be automatically recognized given a set of reference contingency profiles rCP stored in a database 5.
(66) A possible embodiment of a neural attention model LNSM is illustrated in
(67)
where X contains the preprocessed measurements of a single in-field measurement device. X is of shape channels x time and w is the filter vector of the shape s×s. The interpretation of the convolutional layer CONL is that of a basic moving window signal smoothing operator. Signal smoothing is used for counteracting noise in signals. In contrast to conventional fixed smoothing kernels, the applied smoothing may also be learned by the model autonomously.
(68) The dependencies across time in the data are directly considered by using recurrent neural network layers RNNLs as illustrated in
z.sub.t.sup.1=σ(W.sub.z.sup.1h.sub.t.sup.0+U.sub.z.sup.1h.sub.t-1.sup.1+b.sub.z.sup.1)
r.sub.t.sup.1=(W.sub.r.sup.1h.sub.t.sup.0+U.sub.r.sup.1h.sub.t-1.sup.1+b.sub.r.sup.1)
h.sub.t.sup.1=(1−z.sub.t.sup.1)∘σ.sub.h(W.sub.h.sup.1h.sub.t.sup.0+U.sub.h.sup.1(r.sub.t.sup.1∘h.sub.t-1.sup.1)+b.sub.h.sup.1)+z.sub.t.sup.1∘h.sub.t-1.sup.1
z.sub.t.sup.2=σ(W.sub.z.sup.2h.sub.t.sup.1+U.sub.z.sup.2h.sub.t-1.sup.2+b.sub.z.sup.2)
r.sub.t.sup.2=(W.sub.r.sup.2h.sub.t.sup.1+U.sub.r.sup.2h.sub.t-1.sup.2+b.sub.r.sup.2)
h.sub.t.sup.2=(1−z.sub.t.sup.2)∘σ.sub.h(W.sub.h.sup.2h.sub.t.sup.1+U.sub.h.sup.2(r.sub.t.sup.2∘h.sub.t-1.sup.2)+b.sub.h.sup.2)+z.sub.t∘h.sub.t-1.sup.2
(69) The superscript indicates the layer index. The formulas above correspond to a standard GRU formulation.
(70) The neural attention model LNSM illustrated in
(71)
(72) For this, each output of the last recurrent neural layer RNNL2 is combined with context information C.sub.p. Context information in the illustrated embodiment is formed by the steady state; (SS) signal provided by the respective in-field measurement device 3 indicating a normal operation state of the power supply network 2 at the location of the in-field measurement device 3. The steady state signal SS of an in-field measurement device 3 forms context information data CID that may be stored locally in a buffer and may be read from the buffer in case that a contingency is observed providing a contingency signal MD. This context information CID may be applied to the attention subnetworks FFAS as shown in
(73) The output of the attention subnetwork FFAS f.sub.att(h,C) is a single weight w that is multiplied with the output of the corresponding output from the last recurrent neural network layer RNNL2 as shown in
(74) The contingency class may be predicted by:
(75)
(76) The classification layer CLAL provides a predicted probability for each contingency class. This may be used as a local network state profile LNSP.
(77) The neural attention model LNSM as illustrated in
(78)
where f.sub.θ is the neural attention model LNSM parameterized by θ, and y is the label of example dataset i.
(79) X.sub.i,1,X.sub.i,2 are the cropped examples, and f.sub.sim is a similarity function between the representations computed from the cropped examples by the neural attention model LNSM without applying the classification layer CLAL (h.sup.4). Further, g.sub.θ is the function of the sub neural network that computes these representations. Further, β is a scalar that weights the impact of the similarity condition. The cost function may be minimized with stochastic gradient descent using, for example, the ADAM step rule.
(80) The neural attention model LNSM as illustrated in
(81)
(82) In a possible embodiment, a global representation of the network state may be formed by concatenation of all local network state profiles LNSPs as illustrated in
(83) In a possible embodiment, an importance weighting for each in-field measurement device 3 placed in the power supply network 2 may be computed in parallel based on the preprocessed data (e.g., the signals received from the in-field measurement devices 3 that have been rescaled and only contain the deviation from an expected value of the steady state SS).
(84)
(85) The contingency profiles may be compared in three subacts.
(86) First, a cosine similarity between the “what pattern” (e.g., global network state profile (GNSP)) and the “what pattern” of the target contingency stored in the database 5 is computed as follows:
(87)
(88) Further, a cosine similarity between the “where pattern” of the reference contingency and the “where pattern” of the target contingency is computed as follows:
(89)
(90) In the last subact, these two similarity scores may be combined. This may be performed, for example, by taking the mean of both values to get the similarity between the reference contingency and the target contingency:
(91)
(92) An example of this approach is shown in
(93)
(94)
(95) Further,
(96) In the method and system according to the present embodiments, for each newly detected contingency, the measurement data MD may be recorded and a corresponding contingency profile may be computed using a state estimator model and a steady state. This profile may be compared to all profiles in a reference database using, for example, a cosine similarity-based similarity metric SM as described above. The returned similarity may be used to rank the candidate contingencies with respect to similarity to the input contingency profile. The similarity values indicate how similar an observed contingency is to the corresponding contingency stored in the reference database 5.
(97) An aspect of the present embodiments lies in improving the network state representation (e.g., “what pattern”) and making the network state representation more robust to variations in the input data. This may be accomplished by two features of the present embodiments. The generation of interpretable local pattern (e.g., distribution of contingency classes) that describes the local belief of an in-field measurement device 3 what contingency has happened and the neural attention mechanism.
(98)
(99) The elements and features recited in the appended claims may be combined in different ways to produce new claims that likewise fall within the scope of the present inventon. Thus, whereas the dependent claims appended below depend from only a single independent or dependent claim, it is to be understood that these dependent claims may, alertnatively, be made to depend in the alternative from any preceding or following claim, whether independent or dependent. Such new combinations are to be understood as forming a part of the present specification.
(100) While the present invention has been described above by reference to various embodiments, it should be understood that many changes and modifications can be made to the described embodiments. It is therefore intended that the foregoing description be regarded as illustrative rather than limiting, and that it be understood that all equivalents and/or combinations of embodiments are intended to be included in this description.