Matpower case21k. AssertionError: occursin(".", matrix_assignment)
Dear all,
trying to run some Matpower large cases such as case21k I get the error:
ERROR: AssertionError: occursin(".", matrix_assignment).
I tried to check out the latest code in PowerModels git repo, and repeated the process (include("PowerModels.jl", etc) until I got again a more detailed error: [warn | InfrastructureModels]: assignments are expected to be made to "mpc" but given: ijs = [ ERROR: AssertionError: occursin(".", matrix_assignment)
1] _parse_matlab_data(lines::Vector{SubString{String}}, index::Int64, start_char::Char, end_char::Char)
@ InfrastructureModels C:\Users\Dima\.julia\packages\InfrastructureModels\CfX6b\src\io\matlab.jl:135
[2] _parse_matlab_matrix(lines::Vector{SubString{String}}, index::Int64)
@ InfrastructureModels C:\Users\Dima\.julia\packages\InfrastructureModels\CfX6b\src\io\matlab.jl:123
[3] parse_matlab_string(data_string::String; extended::Bool)
@ InfrastructureModels C:\Users\Dima\.julia\packages\InfrastructureModels\CfX6b\src\io\matlab.jl:43
Any ideas? Do you need the case file to debug?
This looks like a bug in the parser. I need an exact file name for the data file from the Matpower distribution for testing. I do not see a 21k case. The closest matches I can find are case_ACTIVSg25k.m, which has no issues parsing in PowerModels.
Thank you Carleton, for the quick response. How can I send you this case? Is there somewhere I could upload it?
Thanks again!
I presume this case came from some where online, point me to that place where I can download it.
I presume this case came from some where online, point me to that place where I can download it.
No unfortunately this is not the case. I got it from somebody else. It is many years ago and there are also other large case cases. I just noticed one can also upload files right here. I have uploaded it as an attachment. case21k.zip
Thanks again!