Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 20c8a49

Browse files
committed
Revert change to scopflow base case subproblem setup.
1 parent dffa2a0 commit 20c8a49

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/scopflow/interface/scopflow.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,8 @@ PetscErrorCode SCOPFLOWSetUp(SCOPFLOW scopflow) {
695695
ierr = OPFLOWIgnoreLineflowConstraints(
696696
scopflow->opflow0, scopflow->ignore_lineflow_constraints);
697697
CHKERRQ(ierr);
698-
ierr = OPFLOWSetModel(scopflow->opflow0, scopflow->subproblem_model);
698+
/* Base-case problem model should be POWER_BALANCE_POLAR */
699+
ierr = OPFLOWSetModel(scopflow->opflow0, OPFLOWMODEL_PBPOL);
699700
CHKERRQ(ierr);
700701
/* Base-case problem solver should be IPOPT */
701702
ierr = OPFLOWSetSolver(scopflow->opflow0, OPFLOWSOLVER_IPOPT);

0 commit comments

Comments
 (0)