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

Allow StandbyAutomaton to have inconsistent voltage config when its standBy mode is not active #3261

Open
alicecaron opened this issue Jan 8, 2025 · 0 comments · May be fixed by #3268
Open
Assignees

Comments

@alicecaron
Copy link
Contributor

alicecaron commented Jan 8, 2025

Describe the current behavior

When importing a network containing StaticVarCompensator with StandbyAutomaton extension, even if the extension is in standBy=false (because we don't want to use it in a simulator) the import fails if the low voltage threshold is not strictly less than the high voltage threshold (for instance if both are set to 0 because not really set for the use case).

Describe the expected behavior

When importing a network containing StaticVarCompensator with StandbyAutomaton extension with:

  • a standBy mode set to false
  • the low voltage threshold not strictly less than the high voltage threshold

Then the import does not fail and I can see a warning message instead about the inconsistence of the voltage config.

Then, if I activate the standBy mode and the voltage config is not right (low voltage threshold >= high voltage threshold) then it must throw an error (Inconsistent low and high voltage thresholds).

Describe the motivation

Add more flexibility when reading networks containing StandbyAutomaton extensions with a standBy mode deactivated.

Extra Information

Add flexibility in the check on the voltage config:

  • in the StandbyAutomatonImpl::checkVoltageConfig method add the check on the standBy value to throw exception only in the case standBy=true, and log a warning message if false.

Add control to check voltage config correctness when activating a StandbyAutomaton:

  • in the StandbyAutomatonImpl::setStandby method, before updating thestandBy attribute to the new value, call the StandbyAutomatonImpl::checkVoltageConfig method to check that the voltage values are correct with the new standBy value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant