Trapezoid.calc_q#

static Trapezoid.calc_q(x, f, Tf, h, x0, f0)[source]#

Calculate the residual of algebraized differential equations.

Notes

Numba jit somehow slows down this function for the 14-bus and the 2k-bus systems.