Skip to content

Commit

Permalink
Revert angle limits back to negative and positive infinity.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhyshr committed May 24, 2024
1 parent a388f32 commit b3fadc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/opflow/model/power_bal_polar/pbpol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ PetscErrorCode OPFLOWSetVariableBounds_PBPOL(OPFLOW opflow, Vec Xl, Vec Xu) {
/* Bounds on bus variables */
loc = bus->startxVloc;

xl[loc] = -PETSC_PI;
xu[loc] = PETSC_PI;
xl[loc] = PETSC_NINFINITY;
xu[loc] = PETSC_INFINITY;

if (opflow->genbusvoltagetype == VARIABLE_WITHIN_BOUNDS) {
xl[loc + 1] = bus->Vmin;
Expand Down

0 comments on commit b3fadc8

Please sign in to comment.