Crate powers

Source

Modules§

debug
total_load

Structs§

AreaOrder
BranchOrder
BusOrder
GenOrder
MPC
MakeSBus
Order
Saved
Status

Enums§

State

Traits§

SBus

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.