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
So the R1-2 parameter (first value in the second row) is zero, which should be valid but since the line starts with zero, the parser interprets it as a section start and fails. Check the line below
One fix could be elseif line_number > 3 && length(elements) == 1 && first_element == "0", because only for section starts elements will be of length 1.
The text was updated successfully, but these errors were encountered:
I have a PSSE .raw file where one of the transformer data blocks looks as follows:
So the R1-2 parameter (first value in the second row) is zero, which should be valid but since the line starts with zero, the parser interprets it as a section start and fails. Check the line below
PowerModels.jl/src/io/pti.jl
Line 649 in cbce397
One fix could be
elseif line_number > 3 && length(elements) == 1 && first_element == "0"
, because only for section startselements
will be of length 1.The text was updated successfully, but these errors were encountered: