NREL-Sienna / PowerSystems.jl

Data structures in Julia to enable power systems analysis. Part of the Scalable Integrated Infrastructure Planning Initiative at the National Renewable Energy Lab.
https://nrel-sienna.github.io/PowerSystems.jl/stable/
BSD 3-Clause "New" or "Revised" License
313 stars 79 forks source link

Error in reading VSC in PSSE parser #1021

Open jahanbani opened 1 year ago

jahanbani commented 1 year ago

when reading PSSE RAW file version 33 using parse_file, the following error is thrown: ERROR: KeyError: key "CONVERTER BUSES" not found Below is an example of the VSC data that generates this error (taken from a PSSE dataset which can be successfully imported to PSSE):

0 / END OF TWO-TERMINAL DC DATA, BEGIN VSC DC LINE DATA "CSC-VSC ",1, 1.5800, 99,1.0000 1001,2,1, 0.00, 1.02000, 1600.000, 3.400, 1110.000, 360.00, 1032.00,0.50000, -20.00, -70.00, 0, 100.0 1002,1,1, 300.00, 1.02080, 1600.000, 3.400, 1110.000, 360.00, 1085.00,0.50000, -11.00, -70.00,1003, 100.0 0 / END OF VSC DC LINE DATA, BEGIN IMPEDANCE CORRECTION DATA

jahanbani commented 1 year ago

I also tried using PowerModelsData("myrawfile.raw") but got the same error. @scdhulipala