OPF Primal LP
Go to the Add Ons ribbon tab and select Primal LP from the OPF ribbon group to solve the OPF using the primal LP algorithm.
In Simulator OPF the LP OPF determines the optimal solution by iterating between solving a standard power flow and then solving a linear program to change the system controls to remove any limit violations. The basic steps in the LP OPF algorithm are
- Solve the power flow
- Linearize the power system about the current power flow solution. Both constraints and controls are linearized.
- Solve the linearly-constrained OPF problem using a primal LP algorithm, computing the incremental change in the control variables. Slack variables are introduced to make the problem initially feasible. That is, the slack variables are used to satisfy the equality and inequality constraints. The slack variables typically have high costs so that during the iteration the slack variables change to satisfy the constraints. The LP then determines the optimal, feasible solution for the linear problem.
- Update the control variables and resolve the power flow.
- If the changes in the control variables are below a tolerance then the solution has been reached; otherwise go to step 2.
- Finish by resolving the power flow.