NREL-Sienna / PowerNetworkMatrices.jl

Methods to generate matrix representations of power systems matrices
BSD 3-Clause "New" or "Revised" License
20 stars 8 forks source link

PTDF and LODF elements are NaNs #61

Closed alefcastelli closed 8 months ago

alefcastelli commented 1 year ago

In case the loaded system contains branches with null impedance, its inverse is Inf. Therefore, the BA and ABA matrices (and its LU factorization ones) contain Inf values. When trying to solve the linear system the resulting matrix (PTDF or LODF) will have all elements equal to NaNs.

Actions must be taken to avoid this situation since it can be very hard for a user to understand where the issue could be.

jd-lara commented 8 months ago

closed via #67