Hi, I am working on a project where I need to do the following: a) Run AC Power flow for a given set of active power injections at the generator nodes. b) For the resulting Power flow solution, compute the Jacobian (sensitivity matrix) of the vector of line flows with respect to active power injections at the generator nodes.
Is there an easy way to do this in matpower? I came across the function opf_consfcn which seems to do what I need, but it seems to require creating an opf object while I only need to run regular power flow (not an OPF). Thanks, Dj
