Modules§
Structs§
Enums§
Traits§
Functions§
- bus_
types - Builds index lists for each type of bus (REF, PV, PQ).
- d_
imis_ dv - Computes partial derivatives of current balance w.r.t. voltage.
- d_
sbus_ d_ v - Computes partial derivatives of power injection w.r.t. voltage.
- ext_
to_ int - int_
to_ ext - load_
case - make_
b_ dc - Builds the B matrices and phase shift injections for DC power flow.
- make_
d_ sbus_ d_ vm - Computes the partial derivative of the bus injections with respect to
voltage magnitude. If
vm
is empty, it assumes no voltage dependence and returns a sparse zero matrix. - make_
jac - Forms the power flow Jacobian.
- make_
sbus - Builds the vector of complex bus power injections.
- make_
sdzip - Builds vectors of nominal complex bus power demands for ZIP loads.
- make_
ybus - Builds the bus admittance matrix and branch admittance matrices.