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.
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.