Skip to content

Commit

Permalink
Merge branch 'main' into hvdc-contingency-refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
annetill authored Jun 1, 2022
2 parents d27724f + 8c8064e commit 1758b1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ public void fixTransformerVoltageControls() {
if (!branch.isDisabled() && branch.isVoltageController() && branch.isVoltageControlEnabled()) {
controllerBranches.add(branch);
}
if (branch.isDisabled()) {
if (branch.isDisabled() && branch.getBus1() != null && branch.getBus2() != null) {
// apply contingency (in case we are inside a security analysis)
getConnectivity().cut(branch);
}
Expand Down

0 comments on commit 1758b1d

Please sign in to comment.