Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nrse validation case #442

Merged
merged 6 commits into from Jan 16, 2024
Merged

Feature/nrse validation case #442

merged 6 commits into from Jan 16, 2024

Conversation

mgovers
Copy link
Member

@mgovers mgovers commented Dec 1, 2023

add test validation case for state estimation inspired by #237 . For this specific case, the iterative linear and Newton-Raphson calculation methods are expected to result in different global optima. In particular, the following different

  • multiple power sensors on same appliance are aggregated using Kalman filter
  • power sensors across several appliances on the same node are added as independent random variables
  • power sensors across several nodes are treated differently:
    • iterative linear: only apparent power is treated as a single symmetric complex measurement with only (real) variance
    • Newton Raphson: active and reactive power are treated as independent real measurements with separate variances

this means that when there is mixing of total active and reactive powerflow across nodes, iterative linear will produce the same result when sigma_p and sigma_q are varied, as long as the variance of the total aggregated apparent power remains the same for each node.

Newton-Raphson, on the other hand, should produce results that have a smaller p_residual when the sigma_p decreases (and sigma_q is increased), and vice versa.

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Copy link

sonarcloud bot commented Dec 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mgovers mgovers added the improvement Improvement on internal implementation label Dec 1, 2023
@TonyXiang8787
Copy link
Member

@mgovers If I understand correctly, we can merge this. And create a new test case for NRSE with the same input data but different expected result data?

@mgovers
Copy link
Member Author

mgovers commented Jan 16, 2024

@mgovers If I understand correctly, we can merge this. And create a new test case for NRSE with the same input data but different expected result data?

yes, that sounds about right indeed

Copy link

sonarcloud bot commented Jan 16, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@mgovers mgovers merged commit 2dc2839 into main Jan 16, 2024
26 checks passed
@mgovers mgovers deleted the feature/nrse-validation-case branch January 16, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement on internal implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants