-
Notifications
You must be signed in to change notification settings - Fork 16
Power Flow Input Data
The input data is located in the data directory as the mat-file with the struct variable data. The power system data is provided as the variable data.system, with variables bus, generator, line, inTransformer, shiftTransformer, and baseMVA.
The minimum amount of information within an instance of the data structure required to run the module requires a bus, one of the variables line, inTransformer, and shiftTransformer.
First, the system base power is defined in (MVA) using data.system.baseMVA, and in the following, we describe the structure of other variables involved in data.system.
Bus data are located in data.system.bus
with the structure:
Column | Description | Unit |
---|---|---|
1 | bus number | |
2 | bus type | |
3 | initial voltage magnitude | per-unit |
4 | initial voltage angle | degree |
5 | load real power injection | MW |
6 | load reactive power injection | MVAr |
7 | shunt element (equivalent active power) | MW |
8 | shunt element (equivalent reactive power) | MVAr |
9 | minimum voltage magnitude | per-unit |
10 | maximum voltage magnitude | per-unit |
Generator data are located in data.system.generator
with the structure:
Column | Description | Unit |
---|---|---|
1 | bus number | |
2 | real power injection | MW |
3 | reactive power injection | MVAr |
4 | minimum reactive power injection | MVAr |
5 | maximum reactive power injection | MVAr |
6 | voltage magnitude | per-unit |
7 | on/off status |
Transmission line data are located in data.system.line
with the structure:
Column | Description | Unit |
---|---|---|
1 | from bus number | |
2 | to bus number | |
3 | resistance | per-unit |
4 | reactance | per-unit |
5 | total charging susceptance | per-unit |
6 | on/off status |
In-phase transformer data are located in data.system.inTransformer
with the structure:
Column | Description | Unit |
---|---|---|
1 | from bus number | |
2 | to bus number | |
3 | resistance | per-unit |
4 | reactance | per-unit |
5 | total charging susceptance | per-unit |
6 | turns ratio | |
7 | on/off status |
Phase-shifting transformer data are located in data.system.shiftTransformer
with the structure:
Column | Description | Unit |
---|---|---|
1 | from bus number | |
2 | to bus number | |
3 | resistance | per-unit |
4 | reactance | per-unit |
5 | total charging susceptance | per-unit |
6 | turns ratio | |
7 | shift angle | degree |
8 | on/off status |
MATGRID is licensed under the terms of the MIT License.