Re: PF and OPF did not converge

2017-10-03 Thread Charalambos Ioannou
Hi Abhyankar,

I already did that you send before but i am facing the same problems.

Thanks

Regards

Charalampos

Get Outlook for iOS

From: bounce-121902634-79270...@list.cornell.edu 
 on behalf of Abhyankar, Shrirang 
G. 
Sent: Tuesday, October 3, 2017 3:43:04 PM
To: MATPOWER discussion forum
Subject: Re: PF and OPF did not converge

http://www.pserc.cornell.edu/matpower/#pfconvergence

From:  on behalf of Charalambos 
Ioannou 
Reply-To: MATPOWER discussion forum 
Date: Tuesday, October 3, 2017 at 9:12 AM
To: "MATPOWER-L@cornell.edu" 
Subject: PF and OPF did not converge


Dear Ray,



I am trying to run PF and OPF for the following case but every time it doesnt 
converged the system. Please can you give me any advice??



The system consist 62 buses, 23 transformers, 8 photo voltaic plants and 1 
Natural gus generator.



I consider all the buses as Type 1(PQ) and the natural gas generator as Type 2 
(PV). The real power demand (Pd) for the photo voltaic plants i gave them a 
negative sign.


function mpc = IsleExample3()

TCL MERGE ERROR ( 10/03/2017 10:44:16 ): "invalid command name "MATPOWER"" 
OutmailID: 121902634, List: 'matpower-l', MemberID: 79270638 SCRIPT: "MATPOWER 
Case Format : Version 2
mpc.version = '2';
" -  Power Flow Data  -TCL MERGE ERROR ( 10/03/2017 10:44:16 ): 
"invalid command name "
"" OutmailID: 121902634, List: 'matpower-l', MemberID: 79270638 SCRIPT: "
" system MVA base
mpc.baseMVA = 100;
TCL MERGE ERROR ( 10/03/2017 10:44:16 ): "invalid command name "bus"" 
OutmailID: 121902634, List: 'matpower-l', MemberID: 79270638 SCRIPT: "bus data
% bus_i  type Pd  Qd Gs Bs
area Vm
Va baseKV
zone Vmax
Vmin
mpc.bus = [
1   3   30.4   14.7   0   0   1   1   0   132 1   1.060.94;
2   1   30.4   14.7   0   0   1   1   0   132 1   1.060.94;
3   1   22.8   22.8   0   0   1   1   0   132 1   1.060.94;
4   1   22.8   22.8   0   0   1   1   0   132 1   1.060.94;
5   1   11355 0   0   1   1   0   132 1   1.060.94;
6   1   11355 0   0   1   1   0   132 1   1.060.94;
7   1   0   0   0   0   1   1   0   132 1   1.060.94;
8   1   11355 0   0   1   1   0   132 1   1.060.94;
9   1   11355 0   0   1   1   0   132 1   1.060.94;
10  1   11355 0   0   1   1   0   33  1   1.060.94;
11  1   19 9  0   0   1   1   0   11  1   1.060.94;
12  1   11355 0   0   1   1   0   33  1   1.060.94;
13  1   -6.89  0  0   0   1   1   0   33  1   1.060.94;
14  1   -5.00  0  0   0   1   1   0   33  1   1.060.94;
15  1   0   0   0   0   1   1   0   33  1   1.060.94;
16  1   0   0   0   0   1   1   0   33  1   1.060.94;
17  1   0   0   0   0   1   1   0   33  1   1.060.94;
18  1   6   3   0   0   1   1   0   11  1   1.060.94;
19  1   0   0   0   0   1   1   0   33  1   1.060.94;
20  1   0   0   0   0   1   1   0   33  1   1.060.94;
21  1   0   0   0   0   1   1   0   33  1   1.060.94;
22  1   -9.20   0 0   0   1   1   0   33  1   1.060.94;
23  1   0   0   0   0   1   1   0   33  1   1.060.94;
24  1   0   0   0   0   1   1   0   33  1   1.060.94;
25  1   0   0   0   0   1   1   0   33  1   1.060.94;
26  1   0   0   0   0   1   1   0   33  1   1.060.94;
27  1   0   0   0   0   1   1   0   33  1   1.060.94;
28  1   17  8   0   0   1   1   0   11  1   1.060.94;
29  1   0   0   0   0   1   1   0   33  1   1.060.94;
30  1   -5.00   0 0   0   1   1   0   33  1   1.060.94;
31  1   0   0   0   0   1   1   0   33  1   1.060.94;
32  1   0   0   0   0   1   1   0   33  1   1.060.94;
33  1   -5.00   0 0   0   1   1   0   33  1   1.060.94;
34  1   0   0   0   0   1   1   0   33  1   1.060.94;
35  1   6   3   0   0   1   1   0   11  1   1.060.94;
36  1   0   0   0   0   1   1   0   33  1   1.060.94;
37  1   -7.00   0 0   0   1   1   0   33  1   1.060.94;
38  1   0   0   0   0   1   1   0   33  1   1.060.94;
39  1   6   3   0   0   1   1   0   11  1   1.060.94;
40  1   -1.50 0   0   1   1   0   33  1   1.060.94;
41  1   0   0   0   0   1   1   0   33  1   1.060.94;
42  1   0   0   0   0   1   1   0   33  1   1.060.94;
43  1   0   0   0   0   1   1   0   33  1   1.060.94;
44  1   27  13  0   0   1   1   0   11  1   1.060.94;
45  1   27  13  0   0   1   1   0   11  1   1.060.94;
46  1   -5.00   0   0   0   1   1   0   33  1   1.060.94;
47  1   0   0   0   0   1   1   0   33  1   1.060.94;
48  1   0   0   0   0   1   1   0   33  1   1.060.94;
49  1   0   0   0   0   1   1   0   33  1   1.060.94;
50  1   8   4   0   0   1   1   0   11  1   1.060.94;
51  1   0   0   0   0   1   1   0   33  1   1.060.9

Re: PF and OPF did not converge

2017-10-03 Thread Abhyankar, Shrirang G.
http://www.pserc.cornell.edu/matpower/#pfconvergence

From:  on behalf of Charalambos 
Ioannou 
Reply-To: MATPOWER discussion forum 
Date: Tuesday, October 3, 2017 at 9:12 AM
To: "MATPOWER-L@cornell.edu" 
Subject: PF and OPF did not converge


Dear Ray,



I am trying to run PF and OPF for the following case but every time it doesnt 
converged the system. Please can you give me any advice??



The system consist 62 buses, 23 transformers, 8 photo voltaic plants and 1 
Natural gus generator.



I consider all the buses as Type 1(PQ) and the natural gas generator as Type 2 
(PV). The real power demand (Pd) for the photo voltaic plants i gave them a 
negative sign.


function mpc = IsleExample3()

TCL MERGE ERROR ( 10/03/2017 10:44:16 ): "invalid command name "MATPOWER""
OutmailID: 121902634, List: 'matpower-l', MemberID: 75174736
SCRIPT: "MATPOWER Case Format : Version 2
 mpc.version = '2';"
-  Power Flow Data  - system MVA base
mpc.baseMVA = 100;
TCL MERGE ERROR ( 10/03/2017 10:44:16 ): "invalid command name "1""
OutmailID: 121902634, List: 'matpower-l', MemberID: 75174736
SCRIPT: "bus data
 % bus_i  type Pd  Qd Gs Bs
 area Vm
 Va baseKV
 zone Vmax
 Vmin
 mpc.bus = [
 1   3   30.4   14.7   0   0   1   1   0   132 1   1.060.94;
 2   1   30.4   14.7   0   0   1   1   0   132 1   1.060.94;
 3   1   22.8   22.8   0   0   1   1   0   132 1   1.060.94;
 4   1   22.8   22.8   0   0   1   1   0   132 1   1.060.94;
 5   1   11355 0   0   1   1   0   132 1   1.060.94;
 6   1   11355 0   0   1   1   0   132 1   1.060.94;
 7   1   0   0   0   0   1   1   0   132 1   1.060.94;
 8   1   11355 0   0   1   1   0   132 1   1.060.94;
 9   1   11355 0   0   1   1   0   132 1   1.060.94;
 10  1   11355 0   0   1   1   0   33  1   1.060.94;
 11  1   19 9  0   0   1   1   0   11  1   1.060.94;
 12  1   11355 0   0   1   1   0   33  1   1.060.94;
 13  1   -6.89  0  0   0   1   1   0   33  1   1.060.94;
 14  1   -5.00  0  0   0   1   1   0   33  1   1.060.94;
 15  1   0   0   0   0   1   1   0   33  1   1.060.94;
 16  1   0   0   0   0   1   1   0   33  1   1.060.94;
 17  1   0   0   0   0   1   1   0   33  1   1.060.94;
 18  1   6   3   0   0   1   1   0   11  1   1.060.94;
 19  1   0   0   0   0   1   1   0   33  1   1.060.94;
 20  1   0   0   0   0   1   1   0   33  1   1.060.94;
 21  1   0   0   0   0   1   1   0   33  1   1.060.94;
 22  1   -9.20   0 0   0   1   1   0   33  1   1.060.94;
 23  1   0   0   0   0   1   1   0   33  1   1.060.94;
 24  1   0   0   0   0   1   1   0   33  1   1.060.94;
 25  1   0   0   0   0   1   1   0   33  1   1.060.94;
 26  1   0   0   0   0   1   1   0   33  1   1.060.94;
 27  1   0   0   0   0   1   1   0   33  1   1.060.94;
 28  1   17  8   0   0   1   1   0   11  1   1.060.94;
 29  1   0   0   0   0   1   1   0   33  1   1.060.94;
 30  1   -5.00   0 0   0   1   1   0   33  1   1.060.94;
 31  1   0   0   0   0   1   1   0   33  1   1.060.94;
 32  1   0   0   0   0   1   1   0   33  1   1.060.94;
 33  1   -5.00   0 0   0   1   1   0   33  1   1.060.94;
 34  1   0   0   0   0   1   1   0   33  1   1.060.94;
 35  1   6   3   0   0   1   1   0   11  1   1.060.94;
 36  1   0   0   0   0   1   1   0   33  1   1.060.94;
 37  1   -7.00   0 0   0   1   1   0   33  1   1.060.94;
 38  1   0   0   0   0   1   1   0   33  1   1.060.94;
 39  1   6   3   0   0   1   1   0   11  1   1.060.94;
 40  1   -1.50 0   0   1   1   0   33  1   1.060.94;
 41  1   0   0   0   0   1   1   0   33  1   1.060.94;
 42  1   0   0   0   0   1   1   0   33  1   1.060.94;
 43  1   0   0   0   0   1   1   0   33  1   1.060.94;
 44  1   27  13  0   0   1   1   0   11  1   1.060.94;
 45  1   27  13  0   0   1   1   0   11  1   1.060.94;
 46  1   -5.00   0   0   0   1   1   0   33  1   1.060.94;
 47  1   0   0   0   0   1   1   0   33  1   1.060.94;
 48  1   0   0   0   0   1   1   0   33  1   1.060.94;
 49  1   0   0   0   0   1   1   0   33  1   1.060.94;
 50  1   8   4   0   0   1   1   0   11  1   1.060.94;
 51  1   0   0   0   0   1   1   0   33  1   1.060.94;
 52  1   0   0   0   0   1   1   0   33  1   1.060.94;
 53  1   0   0   0   0   1   1   0   33  1   1.060.94;
 54  1   0   0   0   0   1   1   0   33  1   1.060.94;
 55  1   0   0   0   0   1   1   0   33  1   1.060.94;
 56  1   12  6   0   0   1   1   0   11  1   1.060.94;
 57  1   0   0   0   0   1   1   0   33  1   1.060.94;
 58  1   0   0   0   0   1   1   0   33  1   1.060.94;
 59  1   0   0   0   0   1   1   0  

PF and OPF did not converge

2017-10-03 Thread Charalambos Ioannou
Dear Ray,


I am trying to run PF and OPF for the following case but every time it doesnt 
converged the system. Please can you give me any advice??


The system consist 62 buses, 23 transformers, 8 photo voltaic plants and 1 
Natural gus generator.


I consider all the buses as Type 1(PQ) and the natural gas generator as Type 2 
(PV). The real power demand (Pd) for the photo voltaic plants i gave them a 
negative sign.


function mpc = IsleExample3()

%% MATPOWER Case Format : Version 2
mpc.version = '2';
%%-  Power Flow Data  -%%
%% system MVA base
mpc.baseMVA = 100;
%% bus data
% bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax Vmin
mpc.bus = [
1   3   30.4   14.7   0   0   1   1   0   132 1   1.060.94;
2   1   30.4   14.7   0   0   1   1   0   132 1   1.060.94;
3   1   22.8   22.8   0   0   1   1   0   132 1   1.060.94;
4   1   22.8   22.8   0   0   1   1   0   132 1   1.060.94;
5   1   11355 0   0   1   1   0   132 1   1.060.94;
6   1   11355 0   0   1   1   0   132 1   1.060.94;
7   1   0   0   0   0   1   1   0   132 1   1.060.94;
8   1   11355 0   0   1   1   0   132 1   1.060.94;
9   1   11355 0   0   1   1   0   132 1   1.060.94;
10  1   11355 0   0   1   1   0   33  1   1.060.94;
11  1   19 9  0   0   1   1   0   11  1   1.060.94;
12  1   11355 0   0   1   1   0   33  1   1.060.94;
13  1   -6.89  0  0   0   1   1   0   33  1   1.060.94;
14  1   -5.00  0  0   0   1   1   0   33  1   1.060.94;
15  1   0   0   0   0   1   1   0   33  1   1.060.94;
16  1   0   0   0   0   1   1   0   33  1   1.060.94;
17  1   0   0   0   0   1   1   0   33  1   1.060.94;
18  1   6   3   0   0   1   1   0   11  1   1.060.94;
19  1   0   0   0   0   1   1   0   33  1   1.060.94;
20  1   0   0   0   0   1   1   0   33  1   1.060.94;
21  1   0   0   0   0   1   1   0   33  1   1.060.94;
22  1   -9.20   0 0   0   1   1   0   33  1   1.060.94;
23  1   0   0   0   0   1   1   0   33  1   1.060.94;
24  1   0   0   0   0   1   1   0   33  1   1.060.94;
25  1   0   0   0   0   1   1   0   33  1   1.060.94;
26  1   0   0   0   0   1   1   0   33  1   1.060.94;
27  1   0   0   0   0   1   1   0   33  1   1.060.94;
28  1   17  8   0   0   1   1   0   11  1   1.060.94;
29  1   0   0   0   0   1   1   0   33  1   1.060.94;
30  1   -5.00   0 0   0   1   1   0   33  1   1.060.94;
31  1   0   0   0   0   1   1   0   33  1   1.060.94;
32  1   0   0   0   0   1   1   0   33  1   1.060.94;
33  1   -5.00   0 0   0   1   1   0   33  1   1.060.94;
34  1   0   0   0   0   1   1   0   33  1   1.060.94;
35  1   6   3   0   0   1   1   0   11  1   1.060.94;
36  1   0   0   0   0   1   1   0   33  1   1.060.94;
37  1   -7.00   0 0   0   1   1   0   33  1   1.060.94;
38  1   0   0   0   0   1   1   0   33  1   1.060.94;
39  1   6   3   0   0   1   1   0   11  1   1.060.94;
40  1   -1.50 0   0   1   1   0   33  1   1.060.94;
41  1   0   0   0   0   1   1   0   33  1   1.060.94;
42  1   0   0   0   0   1   1   0   33  1   1.060.94;
43  1   0   0   0   0   1   1   0   33  1   1.060.94;
44  1   27  13  0   0   1   1   0   11  1   1.060.94;
45  1   27  13  0   0   1   1   0   11  1   1.060.94;
46  1   -5.00   0   0   0   1   1   0   33  1   1.060.94;
47  1   0   0   0   0   1   1   0   33  1   1.060.94;
48  1   0   0   0   0   1   1   0   33  1   1.060.94;
49  1   0   0   0   0   1   1   0   33  1   1.060.94;
50  1   8   4   0   0   1   1   0   11  1   1.060.94;
51  1   0   0   0   0   1   1   0   33  1   1.060.94;
52  1   0   0   0   0   1   1   0   33  1   1.060.94;
53  1   0   0   0   0   1   1   0   33  1   1.060.94;
54  1   0   0   0   0   1   1   0   33  1   1.060.94;
55  1   0   0   0   0   1   1   0   33  1   1.060.94;
56  1   12  6   0   0   1   1   0   11  1   1.060.94;
57  1   0   0   0   0   1   1   0   33  1   1.060.94;
58  1   0   0   0   0   1   1   0   33  1   1.060.94;
59  1   0   0   0   0   1   1   0   33  1   1.060.94;
60  1   11  5   0   0   1   1   0   11  1   1.060.94;
61  1   0   0   0   0   1   1   0   33  1   1.060.94;
62  2   15.50 0   0   1   1   0   33  1   1.060.94;
];
%% Generator Data
% bus Pg Qg Qmax Qmin Vg mBase status Pmax Pmin Pc1 Pc2 Qc1min Qc1max Qc2min 
Qc2max ramp_agc ramp_10 ramp_30 ramp_q apf
mpc.gen = [
1   0   0   500   -500   1   100 1   0   0   0   0   0   0   0   0   0  
 0   0   0   0;
62  15.50   30-30   1   100 1   30   0   0   0   0   0   0   0   0  
 0   0   0   0;
];
%% branch data
% fbu