pwrs.core.makeLODF#

pwrs.core.makeLODF.makeLODF(branch, PTDF)[source]#

Build the DC line outage distribution factor matrix.

Parameters:
  • branch (array_like) – MATPOWER branch matrix.

  • PTDF (array_like) – DC PTDF matrix, typically produced by makePTDF().

Returns:

nbr x nbr line outage distribution factor matrix, where nbr is the number of branches.

Return type:

numpy.ndarray

Notes

This is the MATPOWER DC LODF construction corresponding to makeLODF(branch, H) in MATLAB.

See also

makePTDF