PowerSystemsTestData icon indicating copy to clipboard operation
PowerSystemsTestData copied to clipboard

PSSE 30 Test System: it builds, but with errors logged

Open luke-kiernan opened this issue 9 months ago • 2 comments

When I try to do build_system(PSSEParsingTestSystems, "PSSE 30 Test System"; force_build=true), having PSY and PSB both dev'ed to their psy5 branches, I get the following errrors:

┌ Error: Three-winding transformer from PowerFlowData inputs not implemented. Data will be ignored
└ @ PowerSystems ~/Documents/julia/Sienna/psy5/PowerSystems.jl/src/parsers/powerflowdata_data.jl:568
┌ Error: SwitchedShunts parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/Documents/julia/Sienna/psy5/PowerSystems.jl/src/parsers/powerflowdata_data.jl:732
┌ Error: TwoTerminalDCLines parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/Documents/julia/Sienna/psy5/PowerSystems.jl/src/parsers/powerflowdata_data.jl:773
┌ Error: MultiTerminalDCLines parsing from PSS/e files v30 not implemented. Data will be ignored
└ @ PowerSystems ~/Documents/julia/Sienna/psy5/PowerSystems.jl/src/parsers/powerflowdata_data.jl:806
┌ Error: VSCDCLines parsing from PSS/e files not implemented. Data will be ignored
└ @ PowerSystems ~/Documents/julia/Sienna/psy5/PowerSystems.jl/src/parsers/powerflowdata_data.jl:795
┌ Error: Model doesn't contain a slack bus
└ @ PowerSystems ~/Documents/julia/Sienna/psy5/PowerSystems.jl/src/utils/IO/system_checks.jl:27

The last error I confirm: see https://github.com/NREL-Sienna/PowerSystemsTestData/blob/99e38b7b2366a7f60357139ad13e50914f44d0ec/psse_raw/synthetic_data_v30.raw#L4C1-L6C89 The 4th entry is bus type: all are 1's, meaning 4 load buses.

However, I'm not sure how to handle the other ones: remove the unsupported features from the file? Or leave it as-is?

luke-kiernan avatar May 14 '25 17:05 luke-kiernan

I am getting these ones:

┌ Error: Three-winding transformer from PowerFlowData inputs not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:568
┌ Error: SwitchedShunts parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:732
┌ Error: TwoTerminalDCLines parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:773
┌ Error: MultiTerminalDCLines parsing from PSS/e files v30 not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:806
┌ Error: VSCDCLines parsing from PSS/e files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:795
┌ Error: Model doesn't contain a slack bus
└ @ PowerSystems ~/repos/PowerSystems.jl/src/utils/IO/system_checks.jl:27
┌ Error: Three-winding transformer from PowerFlowData inputs not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:568
┌ Error: SwitchedShunts parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:732
┌ Error: TwoTerminalDCLines parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:773
┌ Error: MultiTerminalDCLines parsing from PSS/e files v30 not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:806
┌ Error: VSCDCLines parsing from PSS/e files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:795
┌ Error: Model doesn't contain a slack bus
└ @ PowerSystems ~/repos/PowerSystems.jl/src/utils/IO/system_checks.jl:27
┌ Error: Three-winding transformer from PowerFlowData inputs not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:568
┌ Error: SwitchedShunts parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:732
┌ Error: TwoTerminalDCLines parsing from PSS/e v30 files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:773
┌ Error: MultiTerminalDCLines parsing from PSS/e files v30 not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:806
┌ Error: VSCDCLines parsing from PSS/e files not implemented. Data will be ignored
└ @ PowerSystems ~/repos/PowerSystems.jl/src/parsers/powerflowdata_data.jl:795
┌ Error: Model doesn't contain a slack bus
└ @ PowerSystems ~/repos/PowerSystems.jl/src/utils/IO/system_checks.jl:27

rbolgaryn avatar May 14 '25 19:05 rbolgaryn

However, I'm not sure how to handle the other ones: remove the unsupported features from the file? Or leave it as-is?

Removing the not-implemented components from the .raw file doesn't surpress those errors. Instead, it'd be a fix in PSY: only call read_{component}! here on the types of components that are supported for the PSSE version of the .raw file.

My primary concern here is error fatigue when building this system: I'd be inclined to downgrade these "parsing {component} from PSSE v30 files not implemented" errors to warnings and call that good enough.

luke-kiernan avatar May 15 '25 16:05 luke-kiernan