Tutorial¶
This tutorial will show you how to solve power flow and optimal power flow problems. In addtion, a more advanced part will show you how to implement a new power flow surrogate from scratch.
Contents:
- Solve power flow
- Solve optimal power flow
- Implement a new power flow surrogate
- Power flow surrogate specification
- Barebones power flow surrogate
- Initialize OPF problem with PowerFlowSurrogateSpec_Bernstein2017_LP_1
- Solving approximate power flow
- Replicate the paper’s results to verify correctness
- Creating an initial test case
- Implementing the power flow surrogate
- Trying out the power flow surrogate
- Preparation for debugging the power flow surrogate
- Debugging the power flow surrogate
- Improving the test case
- Wrapping up the implementation
- Documentation