Originally Contributed by: Clayton Barrows
An example of how to parse MATPOWER files and create a System
using PowerSystems.jl
using PowerSystems
using TimeSeries
PowerSystems.jl links to some test data that is suitable for this example. Let's download the test data
base_dir = PowerSystems.download(PowerSystems.TestData; branch = "master");
System
sys = System(joinpath(base_dir, "matpower", "case5_re.m"))
sys
┌ Error: Generator voltage set-points for bus 3 are inconsistent. This can lead to unexpected results
└ @ PowerSystems ~/.julia/packages/PowerSystems/zVsmd/src/parsers/pm_io/matpower.jl:245
┌ Error: Generator voltage set-points for bus 10 are inconsistent. This can lead to unexpected results
└ @ PowerSystems ~/.julia/packages/PowerSystems/zVsmd/src/parsers/pm_io/matpower.jl:245
Property | Value |
---|---|
System Units Base | SYSTEM_BASE |
Base Power | 100.0 |
Base Frequency | 60.0 |
Num Components | 30 |
Type | Count | Has Static Time Series | Has Forecasts |
---|---|---|---|
Arc | 6 | false | false |
Area | 1 | false | false |
Bus | 5 | false | false |
Line | 5 | false | false |
LoadZone | 1 | false | false |
PhaseShiftingTransformer | 2 | false | false |
PowerLoad | 3 | false | false |
RenewableDispatch | 2 | false | false |
ThermalStandard | 5 | false | false |