Understanding PSSE
Understanding PSSE
What is it?
PSSE is a method used in power grids to estimate the state variables (voltage
magnitudes and angles at each bus) based on metered measurements (like power flows,
voltage readings, and injections).
It helps grid operators monitor system conditions and detect potential issues.
Why is it important?
A good state estimation ensures accurate power flow analysis, fault detection, and
optimal grid operation.
The paper classifies four main types of errors that can affect state estimation:
Measurement Errors Small random variations in meter readings. Noise in voltage sensors.
A disconnected line
Mistakes in system topology or breaker
Structural Errors mistakenly assumed to
status.
be in service.
What is a residual?
A residual is the difference between a measured value and the estimated value
calculated using the power system model.
ri=zi−h(x)
where:
If there is no bad data, residuals should be small and normally distributed (random
noise).
If bad data is present, residuals will be unusually large, allowing us to detect faulty
measurements.
The paper introduces different ways to test whether bad data is present using statistical
techniques:
o If the sum is too high, it suggests that one or more bad data points are present.
The rN-test performs best for single bad data detection, but J(x)-test can sometimes be
better for detecting multiple errors.
5. Bad Data Identification
Remove the measurement with the largest residual, then re-run state estimation.
Repeat until the system passes the bad data detection test.
Instead of using traditional Least Squares Estimation (LSE), use a modified cost function
that reduces the effect of bad data.
Example: Instead of penalizing large errors quadratically (which can amplify bad data
effects), use an alternative penalty function to suppress large deviations.
What is Redundancy?
High local redundancy improves bad data detection since multiple independent
measurements exist to validate the system state.
If measurements are highly correlated, bad data can spread across multiple buses,
making it harder to identify.
Bad data generally has a limited spreading effect, meaning detection and correction can
often be localized instead of requiring system-wide changes.
7. Case Study: 25-Bus System
They simulated bad data in different locations and evaluated how well each detection
method performed.
o If a bad data alarm is triggered, apply residual search methods to find the
source.
o Design measurement systems with high local redundancy to improve bad data
identification.
Since you're working on DNN-SVM hybrid models for bad data detection, you can take insights
from this paper to:
1. Use residual-based features as inputs for your Deep Neural Network (DNN) to enhance
feature extraction.
Final Thoughts
This paper laid the foundation for modern bad data detection in power systems. Even though it
was published in 1975, its concepts remain highly relevant. Your work in integrating machine
learning with traditional state estimation can enhance accuracy and automation, making bad
data detection even more reliable.
The J(X)-test is a statistical method used in power system state estimation to detect bad data
(faulty measurements). It is based on the Chi-square (χ²) test, which checks whether the sum of
squared errors (residuals) is within a normal range or if there is an anomaly.
To determine whether the measurement data in the power system contains bad data
(gross errors).
If J(X) is too large, it means some measurements do not match the expected values,
suggesting bad data.
2. What is J(X)?
J(X)=rTWr
where:
r= residual vector (the difference between actual measurements and estimated values).
W= weighting matrix (based on measurement confidence, often the inverse of the
covariance matrix).
If there are no bad data points, J(X) follows a Chi-square (χ²) distribution.
1. Compute residuals:
o Use state estimation (like Weighted Least Squares (WLS)) to find estimated
values.
2. Compute J(X):
o This gives a single value representing how well the measurements match the
estimated state.
o Threshold=X2m−n,α2
m = number of measurements.
4. Decision Making:
o If J(X) < Threshold, the data is likely good (no bad data). ✅
o If J(X) > Threshold, bad data is detected (one or more faulty measurements). ❌
Normally distributed measurement errors (random noise) should keep residuals within
a certain range.
The Chi-square distribution describes the expected sum of squared errors when there
are no gross errors.
If the computed J(X) is much larger than expected, it means some measurements don’t
fit the normal error pattern, indicating bad data.
5. Example Calculation
Scenario:
Suppose a power system has 10 measurements and 4 state variables, meaning the system has
6 degrees of freedom (10 - 4 = 6).
J(X)=16.5J(X) = 16.5J(X)=16.5
From a Chi-square table, for 6 degrees of freedom and a 95% confidence level, the
threshold is 12.6.
Since 16.5 > 12.6, we conclude that the data contains bad data.
6. Limitations of J(X)-Test
It only tells us bad data is present but does not identify which measurement is bad.
Since you’re integrating Support Vector Machines (SVM) with Neural Networks (DNNs) for bad
data detection, you could use the J(X)-test as a feature to help your model decide when an
input measurement might contain bad data.
Understanding the r-Test (Largest Residual Test) for Bad Data Detection
The r-Test, also called the Largest Residual Test, is a method used in power system state
estimation to detect bad data by analyzing individual measurement residuals. It is a simpler
alternative to the J(X)-test and is often more effective in large power systems.
If one or more residuals are too large, it suggests that the corresponding measurement
is incorrect (bad data).
2. What is a Residual?
A residual is the difference between an actual measurement and its estimated value from state
estimation:
ri = zi-h(x)
where:
1. Compute Residuals
o Run state estimation (e.g., Weighted Least Squares, WLS).
rNi =σi/ri
where:
rNmax=max∣rNi∣
o Find the largest normalized residual:
4. Decision Making
If a residual is too large, it means the measurement does not follow normal behavior,
suggesting bad data.
5. Example Calculation
Scenario:
Normalized
Measurement Residual (ri) Standard Deviation (σi )
Residual
J(X)-Test (Chi- Analyzes all Good for detecting Cannot tell which
Square Test) residuals together multiple interacting errors measurement is bad
r-Test (Largest Checks individual Simple and pinpoints the May fail if multiple bad data
Residual Test) residuals bad data points interact
The r-Test is more effective for large networks because bad data usually affects a few
measurements at a time, and this test identifies them directly.
7. How This Relates to Your Work
Since you're working on DNN-SVM hybrid models for bad data detection, you can use r-Test
results as features in your machine learning model:
Training Goal: Teach your model to learn patterns in bad data and predict errors
automatically.
Understanding the rN-Test (Normalized Residual Test) for Bad Data Detection
The rN-Test, or Normalized Residual Test, is an improved version of the r-Test (Largest Residual
Test). It accounts for the accuracy (confidence level) of different measurements, making it
more reliable for detecting bad data in power system state estimation.
To detect bad data by comparing measurement errors (residuals) while considering the
uncertainty of each measurement.
Unlike the r-Test, which only looks at residual size, the rN-Test scales residuals by their
standard deviations to avoid bias toward large measurements.
2. What is a Residual?
A residual is the difference between a measured value and its estimated value from state
estimation:
ri = zi-h(x)
where:
1. Compute Residuals
o Use state estimation (e.g., Weighted Least Squares, WLS) to find residuals for
each measurement.
2. Normalize Residuals
where:
rNi =σi/ri
rNi = normalized residual for measurement iii.
σi = standard deviation (uncertainty) of measurement iii.
Why is this important?
3. Compare to a Threshold
rNmax=max∣rNi∣
o Find the largest normalized residual:
4.
5. Decision Making
max∣rNi∣ <Threshold → ✅ No bad data detected.
max∣rNi∣ > Threshold → ❌ Bad data detected in that measurement.
o If
o If
Normally distributed measurement errors should have normalized residuals within ±2.5
standard deviations for 95% of cases.
If a normalized residual is too large, it suggests that the measurement is not behaving
normally → bad data is present.
5. Example Calculation
Scenario:
rN-Test (Normalized Scales residuals by More reliable Can still struggle with
Residual Test) measurement accuracy than r-Test multiple interacting bad data
The rN-Test is more accurate and fair than the r-Test because it considers measurement
accuracy.
It is a better choice for large power systems where measurement quality varies.
Since you're working on DNN-SVM hybrid models for bad data detection, you can use rN-Test
results as features in your machine learning model:
Training Goal: Teach your model to learn patterns in bad data and predict errors
automatically.