This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/power/api

The power flow, called from Python

The defs vipyr's vp.power calls. A case crosses as MATPOWER's arrays (baseMVA and the bus, gen and branch matrices), so a case read from a .m file, built in Python or taken from PYPOWER's or pandapower's ppc is passed the same way. jacobian_at and lu_check expose the Newton Jacobian and the sparse LU on their own, for checks against SciPy.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 12–136