We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dffa2a0 commit 20c8a49Copy full SHA for 20c8a49
1 file changed
src/scopflow/interface/scopflow.cpp
@@ -695,7 +695,8 @@ PetscErrorCode SCOPFLOWSetUp(SCOPFLOW scopflow) {
695
ierr = OPFLOWIgnoreLineflowConstraints(
696
scopflow->opflow0, scopflow->ignore_lineflow_constraints);
697
CHKERRQ(ierr);
698
- ierr = OPFLOWSetModel(scopflow->opflow0, scopflow->subproblem_model);
+ /* Base-case problem model should be POWER_BALANCE_POLAR */
699
+ ierr = OPFLOWSetModel(scopflow->opflow0, OPFLOWMODEL_PBPOL);
700
701
/* Base-case problem solver should be IPOPT */
702
ierr = OPFLOWSetSolver(scopflow->opflow0, OPFLOWSOLVER_IPOPT);
0 commit comments