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 nbrline outage distribution factor matrix, wherenbris 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