-
Notifications
You must be signed in to change notification settings - Fork 35
Voltage sensor angle residual mod 2pi #975
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
Conversation
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a small related-ish comment. Rest looks good.
NOTE: this PR changes the PGM behavior slightly, but it should only be an improvement to the output for users.
Also, I see all the validation tests remained intact, so this should be okay. If anything, users would now face corrections.
power_grid_model_c/power_grid_model/include/power_grid_model/component/voltage_sensor.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/component/voltage_sensor.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
|
voltage angle residuals currently can be in the range
[-2pi, 2pi]
. This PR restricts it to the range(-pi, pi]
, effectively doingmod 2pi
. This is also cfr. #961 and #962NOTE: this PR changes the PGM behavior slightly, but it should only be an improvement to the output for users.