You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Describe the current behavior
When importing a network containing
StaticVarCompensator
withStandbyAutomaton
extension, even if the extension is instandBy=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 to0
because not really set for the use case).Describe the expected behavior
When importing a network containing
StaticVarCompensator
withStandbyAutomaton
extension with:standBy
mode set to falseThen 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 astandBy
mode deactivated.Extra Information
Add flexibility in the check on the voltage config:
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
:StandbyAutomatonImpl::setStandby
method, before updating thestandBy
attribute to the new value, call theStandbyAutomatonImpl::checkVoltageConfig
method to check that the voltage values are correct with the new standBy value.The text was updated successfully, but these errors were encountered: