You are on page 1of 22

Edmarcio Belati

UFABC Anlises Esttica em SEP

Anlises Esttica em Sistemas


Eltricos de Potncia
Banco de dados
IEEE Common Data Format

Aula 3

PTI Power Flow Data Format


PECO PSAP Format

Matpower

PowerWord
26/02/2015

Prof. Edmarcio Antonio Belati


edmarcio.belati@ufabc.edu.br
1

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

O sistema de potncia, tanto de distribuio como de transmisso,


podem apresentar uma grande quantidade de barras, linhas, e
componentes .
Assim, trabalhar com bancos de dados para representar o
sistema uma prtica muito usada.
O banco de dados precisa representar fielmente todos os
componentes do sistema e ainda informa os nveis de tenso ou
as bases dos sistema ( potncia de base e tenso de base).
Essas informaes so necessrias para o entendimento e
anlise dos resultados.

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

EXEMPLO Sistema 3 barras


1

2
Y=4-j10 pu

G
PV

PQ

Exemplo de Banco de dados


2
1
0

barra1
barra2
barra3
3
3

1000
1000
1000

9.7561
3.4483

G
slack

P2=170 MW

1
2
3
9999
1
2
9999

Y=4-j5 pu

0.
0.
0.

P3=200 MW
Q3=100 MVAr

0.0
0.0
0.0

0.0-9999 9999
0.0 100 200
0.0

0. 0.0 0 1
-170. 0.0 0 1
200. 100. 0 1

12.195 0.00 0.00 0.00 999


8.6206 0.00 0.00 0.00 999

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

2
Y=4-j10 pu

G
PV
P2=170 MW

Y=4-j5 pu

G
slack

3
PQ
P3=200 MW
Q3=100 MVAr

BARRAS
Nmero, tipo (0PQ, 1-PV, 2-referncia) , nome, tenso, ngulo, potncia ativa
gerada, potncia reativa gerada, limite inferior de injeo de potncia reativa, limite
superior de injeo de potncia reativa, potncia ativa da carga, potncia reativa da
carga, susceptncia shunt da barra, rea
9999 FIM DOS DADOS DE BARRA
XXXX000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX00000XXXXXXXXXXXXXXXXX
1
2
barra1
1000 0.
0.0 0.0-9999 9999
0. 0.0 0.0 1
2
1
barra2
1000 0. 170.0 0.0 100 200
0. 0.0 0.0 1
3
0
barra3
1000 0.
0.0 0.0 0.0 0.0
200. 100. 0.0 1
9999

BANCO DE DADOS
UFABC Anlises Esttica em SEP

Y=4-j10 pu

G
PV
P2=170 MW

Edmarcio Belati

2
Y=4-j5 pu

G
slack

3
PQ
P3=200 MW
Q3=100 MVAr

LINHAS
Barra inicial, barra final, resistncia (%), reatncia (%), susceptncia shunt da linha,
tap, tap minmo, tap mximo, limite de fluxo de potncia ativa.
9999 FIM DOS DADOS DE LINHA
Susceptncia: total em MVAr, gerado pela linha
B=BSH/(100*2) pu, onde 100 a base em MVA.
XXXX0000XXXX00000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000000XXXX
1
3
9.7561 12.195 0.00 0.00 0.00 0.00 999
2
3
3.4483 8.6206 0.00 0.00 0.00 0.00 999
9999
5

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

No link abaixo vrios bancos de dados de sistemas eltricos


utilizados para testes de algortmos de fluxo de carga podem
ser encontrados.

http://www.ee.washington.edu/research/pstca/

Exemplo: Sistema de 14 barras:


Sistema de 14 barras - dados

IEEE Common Data Format


PTI Power Flow Data Format
PECO PSAP Format

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP


EXEMPLO Sistema 14 Barras

BANCO DE DADOS

Edmarcio Belati

UFABC Anlises Esttica em SEP

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

1
2
3
4
5
6
7
8
9
10
11
12
13
14
9999
1
1
2
2
2
3
4
4
4
5
6
6
6
7
7
9
9
10
12
13
9999

2
1
1
0
0
1
0
1
0
0
0
0
0
0

Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
Bus
2
5
3
4
5
4
5
7
9
6
11
12
13
8
9
10
14
11
13
14

1
2
3
4
5
6
7
8
9
10
11
12
13
14

1059 0. 232. -17.-9999 9999


1044 -5. 40. 42. -40. 50.
1009-13.
0. 23.
0. 40.
1019-10.
0.
0.
0.
0.
1019 -9.
0.
0.
0.
0.
1070-14.
0. 12. -6. 24.
1062-13.
0.
0.
0.
0.
1090-13.
0. 17. -6. 24.
1055-15.
0.
0.
0.
0.
1050-15.
0.
0.
0.
0.
1057-15.
0.
0.
0.
0.
1054-15.
0.
0.
0.
0.
1049-15.
0.
0.
0.
0.
1036-16.
0.
0.
0.
0.
1.94
5.40
4.70
5.81
5.69
6.70
1.33
0.00
0.00
0.00
9.50
12.29
6.62
0.00
0.00
3.18
12.71
8.20
22.09
17.09

5.92
22.30
19.80
17.63
17.39
17.10
4.21
20.91
55.62
25.20
19.89
25.58
13.03
17.61
11.00
8.45
27.04
19.21
19.99
34.80

5.2800.0000.0000.000
4.9200.0000.0000.000
4.3800.0000.0000.000
3.4000.0000.0000.000
3.4600.0000.0000.000
1.2800.0000.0000.000
0.0000.0000.0000.000
0.0001.0000.1001.000
0.0001.0000.1001.000
0.0001.0000.1001.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000
0.0000.0000.0000.000

0.
22.
94.
48.
8.
11.
0.
0.
29.
9.
4.
6.
13.
15.

0.
13.
19.
-4.
2.
8.
0.
0.
17.
6.
2.
2.
6.
5.

0.
0.
0.
0.
0.
0.
0.
0.
19.
0.
0.
0.
0.
0.

0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.

MATPOWER
Edmarcio Belati

UFABC Anlises Esttica em SEP

MATPOWER is a package of MATLAB M-files for


solving power flow and optimal power flow

problems. It is intended as a simulation tool for


researchers and educators that is easy to use and

modify. MATPOWER is designed to give the best


performance possible while keeping the code
simple to understand and modify.
http://www.pserc.cornell.edu/matpower/
Acessar o link e baixar o pacote (todos).
10

BANCO DE DADOS 14 barras


Edmarcio Belati

UFABC Anlises Esttica em SEP

%% bus data
% bus_i type Pd
bus = [
1
3
0
2
2
21.7
3
2
94.2
4
1
47.8
5
1
7.6
6
2
11.2
7
1
0
8
2
0
9
1
29.5
10 1
9
11 1
3.5
12 1
6.1
13 1
13.5
14 1
14.9
];

Qd
0
12.7
19
-3.9
1.6
7.5
0
0
16.6
5.8
1.8
1.6
5.8
5

Gs
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Bs
0
0
0
0
0
0
0
0
19
0
0
0
0
0

area Vm
1
1
1
1
1
1
1
1
1
1
1
1
1
1

1.016
1.045
1.01
1.019
1.02
1.07
1.062
1.09
1.056
1.051
1.057
1.055
1.05
1.036

Va

baseKV zone Vmax

0
-4.98
-12.72
-10.33
-8.78
-14.22
-13.37
-13.36
-14.94
-15.1
-14.79
-15.07
-15.16
-16.04

0
0
0
0
0
0
0
0
0
0
0
0
0
0

1
1
1
1
1
1
1
1
1
1
1
1
1
1

1.016
1.06
1.06
1.06
1.06
1.06
1.06
1.06
1.06
1.06
1.06
1.06
1.06
1.06

Vmin
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;
0.94;

11

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

Utilizando o Matpower .

12

BANCO DE DADOS 14 barras


Edmarcio Belati

UFABC Anlises Esttica em SEP

%% generator data
% bus Pg
Qg
Qmax
gen = [
1 232.4 -16.9 10
2 40
42.4 50
3
0
23.4 40
6
0
12.2 24
8
0
17.4 24
];

Qmin

Vg

mBase

0
-40
0
-6
-6

1.06
1.045
1.01
1.07
1.09

100
100
100
100
100

status

1
1
1
1
1

Pmax Pmin

332.4
140
100
100
100

0;
0;
0;
0;
0;

13

UFABC Anlises Esttica em SEP

Generator Data Format


1
bus number
Edmarcio Belati
(-)
(machine identifier, 0-9, A-Z)
2
Pg, real power output (MW)
3
Qg, reactive power output (MVAr)
4
Qmax, maximum reactive power output (MVAr)
5
Qmin, minimum reactive power output (MVAr)
6
Vg, voltage magnitude setpoint (p.u.)
(-)
(remote controlled bus index)
7
mBase, total MVA base of this machine, defaults to baseMVA
(-)
(machine impedance, p.u. on mBase)
(-)
(step up transformer impedance, p.u. on mBase)
(-)
(step up transformer off nominal turns ratio)
8
status, > 0 - machine in service
<= 0 - machine out of service
(-)
(% of total VAr's to come from this gen in order to hold V at
remote bus controlled by several generators)
9
Pmax, maximum real power output (MW)
10 Pmin, minimum real power output (MW)
(2) 11 Pc1, lower real power output of PQ capability curve (MW)
(2) 12 Pc2, upper real power output of PQ capability curve (MW)
(2) 13 Qc1min, minimum reactive power output at Pc1 (MVAr)
(2) 14 Qc1max, maximum reactive power output at Pc1 (MVAr)
(2) 15 Qc2min, minimum reactive power output at Pc2 (MVAr)
(2) 16 Qc2max, maximum reactive power output at Pc2 (MVAr)
(2) 17 ramp rate for load following/AGC (MW/min)
(2) 18 ramp rate for 10 minute reserves (MW)
(2) 19 ramp rate for 30 minute reserves (MW)
(2) 20 ramp rate for reactive power (2 sec timescale) (MVAr/min)
(2) 21 APF, area participation factor
14

BANCO DE DADOS 14 barras


Edmarcio Belati

UFABC Anlises Esttica em SEP

%% branch data
% fbus tbus r
branch = [
1
2
0.01938
1
5
0.05403
2
3
0.04699
2
4
0.05811
2
5
0.05695
3
4
0.06701
4
5
0.01335
4
7
0
4
9
0
5
6
0
6
11 0.09498
6
12 0.12291
6
13 0.06615
7
8
0
7
9
0
9
10 0.03181
9
14 0.12711
10 11 0.08205
12 13 0.22092
13 14 0.17093
];

0.05917
0.22304
0.19797
0.17632
0.17388
0.17103
0.04211
0.20912
0.55618
0.25202
0.1989
0.25581
0.13027
0.17615
0.11001
0.0845
0.27038
0.19207
0.19988
0.34802

rateA rateB rateC ratio angle status

0.0528
0.0492
0.0438
0.034
0.0346
0.0128
0
0
0
0
0
0
0
0
0
0
0
0
0
0

9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900
9900

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

0
0
0
0
0
0
0
0.978
0.969
0.932
0
0
0
0
0
0
0
0
0
0

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
1;
15

BANCO DE DADOS
Edmarcio Belati

UFABC Anlises Esttica em SEP

Banco de dados utilizado no programa do Matlab.

16

USANDO O MATPOWER
Edmarcio Belati

UFABC Anlises Esttica em SEP

Running a Power Flow


To run a simple Newton power flow on the 9-bus system specified
in the file case9.m, with the default algorithm options, at the ATLAB
prompt, type:
>> runpf('case9')

Getting Help
As with MATLABs built-in functions and toolbox routines, you can
type help followed by the name of a command or M-file to get help
on that particular function. Nearly all of MATPOWERs M-files
have such documentation. For example:
>> help runpf
>> help caseformat

17

EXERCIO 1 RESOLVER NO MATPOWER


Edmarcio Belati

UFABC Anlises Esttica em SEP

Resolver no Matpower O sistema j faz parte do banco de dados do


Matpower, com pequenas alteraes.
Resolver utilizando o matpower o subsistema 1 e o subsistema 2 do
sistema acima.

EXERCIO 2 RESOLVER NO MATPOWER O case14


Edmarcio Belati

UFABC Anlises Esttica em SEP

a)

Rodar o problema de 14 barras


(case14);

b)

Retirar o gerador da barra 2 e rodar


novamente. Analisar as perdas do
sistema e o carregamento das linhas
em relao ao caso base.

c)

Retirar a linha 2-5. Analisar as


perdas do sistema e o carregamento
das linhas em relao ao caso base..

d)

Adicionar um elemento shunt de


barra no sistema para minimizar as
perdas do sistema. Qual a barra a
ser conectado, que tipo, e qual o
valor do elemento?

e)

Qual a melhor barra do sistema para


colocar 50 MW de gerao?

POWERWORD SIMULATOR
Edmarcio Belati

UFABC Anlises Esttica em SEP

PowerWorld Simulator is an interactive power system simulation


package designed to simulate high voltage power system
operation on a time frame ranging from several minutes to several
days. The software contains a highly effective power flow analysis
package capable of efficiently solving systems of up to 100.000
buses.
Link: http://www.powerworld.com/products/simulator/overview

Baixar a verso demo no link.

TRABALHO 3
Edmarcio Belati

UFABC Anlises Esttica em SEP

Considerar o sistema de trs barras e trs linhas cujos dados so


mostrado a seguir.
barra
1
2
3
4

tipo
V
PQ
PQ
PV

P c(p.u.) Q c(p.u.) P g(p.u.) Q g(p.u.) V (p.u)


0,5
0,3099
----1,00
1,7
1,0535
----2,0
1,2394
------0,8
0,4958
3,18
--1,02

()
0,00
-------

* carregamento total.

linha
1-2
1-3
2-4
3-4

r (p.u.)
0,01008
0,00744
0,00744
0,01272

x (p.u)
0,0504
0,0372
0,0372
0,0636

bsh (p.u.) *
0,1025
0,0775
0,0775
0,1275

Montar o sistema no PoweWord e analisar os resultados. Comparar


os resultados com o Matpower.
Iniciar os clculos com = 0,0 para as barras PV e PQ e V= 1,0 (p.u)
para as barras PQ.

TRABALHO 3
Edmarcio Belati

UFABC Anlises Esttica em SEP

Detalhes do trabalho:
Trabalho individual;
Ser atribuda uma nota de 0 -10 para o trabalho.
A entrega do trabalho dever ser feita via e-mail em arquivo pdf com
a descrio (EEL-201 TRABALHO 3).

obs: Anexar o arquivo utilizado no PowerWord


A data limite para entrega at o dia 08/03/2015

Endereo de e-mail: circuitos.belati@gmail.com

You might also like