Open manuelma opened 2 years ago
@manuelma, thanks for your bug reports. Can you check what the header of your .raw
file says the format version is? So far we have only supported v33, so newer raw files may have features that are un-tested or break our parser.
In this case, it is probably likely that we can support it but I'll need to test the possible fix.
Hi folks… here is a link to a zip archive that contains the raw files in question : https://www.eirgridgroup.com/site-files/library/EirGrid/Study-files.zip
Thank you @ccoffrin for the help and @DillonJ for the files. I can't see any information regarding the format version in the files, though... @ccoffrin I could submit a PR if that helps?
In transformer blocks, the K parameter indicates the bus to which the third winding is connected. If the transformer is only two-windings, the parameter should be zero but somehow I got myself a .raw file where the value is simple ommited as seen below:
So to be correct, the first line should be more like
1021, 10204, 0,1, ...
When I try to parse, I get the below
which makes sense because of this: https://github.com/lanl-ansi/PowerModels.jl/blob/cbce39778bfeaefdbde90e07220ee3bc36f8f33d/src/io/pti.jl#L707
The question is, should the parser handle empty values for the K parameter as if they were zero, so my file would pass?