You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running "PNM.ABA_Matrix(sys)" specifically for the RTS GMLC test network, I get a mismatch in the size of the sparse matrix and the length of the axes. See screenshot.
The text was updated successfully, but these errors were encountered:
@jd-lara According to the struct description of ABA_Matrix here, the field "axes" is a "Tuple containing two identical vectors, both containing the number of each bus of the network (each one related to a row/column of the Matrix in "data"), excluding the slack buses."
However, in my example, ABA_Matrix.axes does not contain vectors with the same number of rows/columns as ABA_Matrix.data, and the vectors in ABA_Matrix.axes contain the reference bus.
Let me know if I am misunderstanding something here.
Note: It looks like there are separate ACBusTypes for SLACK and REF; however, ABA_Matrix(.) seems to remove the REF buses using functions calculate_A_matrix(.) and find_slack_positions(.)
you are right, we should improve this docstring and descriptor. Up to now not many people use these matrices outside of the PTDF/LODF calculations so we haven't payed too much attention to them
When running "PNM.ABA_Matrix(sys)" specifically for the RTS GMLC test network, I get a mismatch in the size of the sparse matrix and the length of the axes. See screenshot.
The text was updated successfully, but these errors were encountered: