-
Notifications
You must be signed in to change notification settings - Fork 6
/
case24_7_jb.m
365 lines (354 loc) · 23.6 KB
/
case24_7_jb.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% %%%%%
%%%% IEEE PES Power Grid Library - Optimal Power Flow - v23.09 %%%%%
%%%% (https://github.com/power-grid-lib/pglib-opf) %%%%%
%%%% Benchmark Group - Typical Operations %%%%%
%%%% 10 - May - 2019 %%%%%
%%%% %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CASE24_IEEE_RTS1996_3zones Power flow data for system based on the
% IEEE RELIABILITY TEST SYSTEM.
% Please see CASEFORMAT for details on the case file format.
%
% This system data is based on the MATPOWER case file CASE24_IEEE_RTS
% which is based on the IEEE RELIABILITY TEST SYSTEM
%
% The data has been adopted to corresponding with the
% IEEE Two Area RTS-96 data from...
% IEEE Reliability Test System Task Force of Applications of
% Probability Methods Subcommittee, "IEEE reliability test system-96,"
% IEEE Transactions on Power Systems, Vol. 14, No. 3, Aug. 1999,
% pp. 1010-1020.
%
% The IEEE Two Area RTS-96 network has been extended and now includes 3
% asynchronous zones (node numbers 1xx, 2xx and 3xx).
% Data on zone 1 and 2 taken from the IEEE Two Area RTS-96 with following
% adaptations:
% - nodes renumbered according to IEEE Two Area RTS-96 data
% - gen U100 at node 107 disabled (commented)
% - gen U76 at node 201 disabled (commented)
% - slack node zone 2: node 213
% - lines 107-203, 113-215, 123-217 removed
% Data on zone 3 added:
% - nodes 301 and 302
% - gen at node 302
% - line 301-302
%
% MATPOWER case file data provided by Bruce Wollenberg
% (MATPOWER file case24_ieee_rts.m) and adapted for use with MatACDC
% by Jef Beerten.
function mpc = case24_3zones_acdc()
%% MATPOWER Case Format : Version 1
mpc.version = '1';
%%----- 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 = [
101 2 108 22 0 0 11 1.035 0 138 1 1.05 0.95;
102 2 97 20 0 0 11 1.035 0 138 1 1.05 0.95;
103 1 180 37 0 0 11 1 0 138 1 1.05 0.95;
104 1 74 15 0 0 11 1 0 138 1 1.05 0.95;
105 1 71 14 0 0 11 1 0 138 1 1.05 0.95;
106 1 136 28 0 1.00 12 1 0 138 1 1.05 0.95;
107 2 125 25 0 0 12 1.025 0 138 1 1.05 0.95;
108 1 171 35 0 0 12 1 0 138 1 1.05 0.95;
109 1 175 36 0 0 11 1 0 138 1 1.05 0.95;
110 1 195 40 0 0 12 1 0 138 1 1.05 0.95;
111 1 0 0 0 0 13 1 0 230 1 1.05 0.95;
112 1 0 0 0 0 13 1 0 230 1 1.05 0.95;
113 3 265 54 0 0 13 1.02 0 230 1 1.05 0.95;
114 2 194 39 0 0 13 0.98 0 230 1 1.05 0.95;
115 2 317 64 0 0 14 1.014 0 230 1 1.05 0.95;
116 2 100 20 0 0 14 1.017 0 230 1 1.05 0.95;
117 1 0 0 0 0 14 1 0 230 1 1.05 0.95;
118 2 333 68 0 0 14 1.05 0 230 1 1.05 0.95;
119 1 181 37 0 0 13 1 0 230 1 1.05 0.95;
120 1 128 26 0 0 13 1 0 230 1 1.05 0.95;
121 2 0 0 0 0 14 1.05 0 230 1 1.05 0.95;
122 2 0 0 0 0 14 1.05 0 230 1 1.05 0.95;
123 1 0 0 0 0 13 1.05 0 230 1 1.05 0.95;
124 1 0 0 0 0 14 1 0 230 1 1.05 0.95;
201 2 108 22 0 0 11 1.035 0 138 2 1.05 0.95;
202 2 97 20 0 0 11 1.035 0 138 2 1.05 0.95;
203 1 180 37 0 0 11 1 0 138 2 1.05 0.95;
204 1 74 15 0 0 11 1 0 138 2 1.05 0.95;
205 1 71 14 0 0 11 1 0 138 2 1.05 0.95;
206 1 136 28 0 1.00 12 1 0 138 2 1.05 0.95;
207 2 125 25 0 0 12 1.025 0 138 2 1.05 0.95;
208 1 171 35 0 0 12 1 0 138 2 1.05 0.95;
209 1 175 36 0 0 11 1 0 138 2 1.05 0.95;
210 1 195 40 0 0 12 1 0 138 2 1.05 0.95;
211 1 0 0 0 0 13 1 0 230 2 1.05 0.95;
212 1 0 0 0 0 13 1 0 230 2 1.05 0.95;
213 3 265 54 0 0 13 1.02 0 230 2 1.05 0.95;
214 2 194 39 0 0 13 0.98 0 230 2 1.05 0.95;
215 2 317 64 0 0 14 1.014 0 230 2 1.05 0.95;
216 2 100 20 0 0 14 1.017 0 230 2 1.05 0.95;
217 1 0 0 0 0 14 1 0 230 2 1.05 0.95;
218 2 333 68 0 0 14 1.05 0 230 2 1.05 0.95;
219 1 181 37 0 0 13 1 0 230 2 1.05 0.95;
220 1 128 26 0 0 13 1 0 230 2 1.05 0.95;
221 2 0 0 0 0 14 1.05 0 230 2 1.05 0.95;
222 2 0 0 0 0 14 1.05 0 230 2 1.05 0.95;
223 2 0 0 0 0 13 1.05 0 230 2 1.05 0.95;
224 1 0 0 0 0 14 1 0 230 2 1.05 0.95;
301 1 0 0 0 0 14 1 0 230 3 1.05 0.95;
302 3 0 0 0 0 14 1.025 0 230 3 1.05 0.95;
];
%% 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 % Unit Code
mpc.gen = [
101 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
101 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
101 76 14.1 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
101 76 14.1 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
102 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
102 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
102 76 7.0 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
102 76 7.0 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
107 80 17.2 60 0 1.025 100 1 100 25 0 0 0 0 0 0 0 0 0 0 0; % U100
107 80 17.2 60 0 1.025 100 1 100 25 0 0 0 0 0 0 0 0 0 0 0; % U100
113 95.1 40.7 80 0 1.020 100 1 197 69 0 0 0 0 0 0 0 0 0 0 0; % U197
113 95.1 40.7 80 0 1.020 100 1 197 69 0 0 0 0 0 0 0 0 0 0 0; % U197
113 95.1 40.7 80 0 1.020 100 1 197 69 0 0 0 0 0 0 0 0 0 0 0; % U197
114 0 13.7 200 -50 0.980 100 1 0 0 0 0 0 0 0 0 0 0 0 0 0; % SynCond
115 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
115 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
115 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
115 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
115 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
115 155 0.05 80 -50 1.014 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
116 155 25.22 80 -50 1.017 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
118 400 137.4 200 -50 1.05 100 1 400 100 0 0 0 0 0 0 0 0 0 0 0; % U400
121 400 108.2 200 -50 1.05 100 1 400 100 0 0 0 0 0 0 0 0 0 0 0; % U400
122 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
122 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
122 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
122 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
122 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
122 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
123 155 31.79 80 -50 1.05 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
123 155 31.79 80 -50 1.05 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
123 350 71.78 150 -25 1.05 100 1 350 140 0 0 0 0 0 0 0 0 0 0 0; % U350
201 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
201 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
201 76 14.1 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
202 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
202 10 0 10 0 1.035 100 1 20 16 0 0 0 0 0 0 0 0 0 0 0; % U20
202 76 7.0 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
202 76 7.0 30 -25 1.035 100 1 76 15.2 0 0 0 0 0 0 0 0 0 0 0; % U76
207 80 17.2 60 0 1.025 100 1 100 25 0 0 0 0 0 0 0 0 0 0 0; % U100
207 80 17.2 60 0 1.025 100 1 100 25 0 0 0 0 0 0 0 0 0 0 0; % U100
207 80 17.2 60 0 1.025 100 1 100 25 0 0 0 0 0 0 0 0 0 0 0; % U100
213 95.1 40.7 80 0 1.020 100 1 197 69 0 0 0 0 0 0 0 0 0 0 0; % U197
213 95.1 40.7 80 0 1.020 100 1 197 69 0 0 0 0 0 0 0 0 0 0 0; % U197
213 95.1 40.7 80 0 1.020 100 1 197 69 0 0 0 0 0 0 0 0 0 0 0; % U197
214 0 13.68 200 -50 0.980 100 1 0 0 0 0 0 0 0 0 0 0 0 0 0; % SynCond
215 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
215 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
215 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
215 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
215 12 0 6 0 1.014 100 1 12 2.4 0 0 0 0 0 0 0 0 0 0 0; % U12
215 155 0.048 80 -50 1.014 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
216 155 25.22 80 -50 1.017 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
218 400 137.4 200 -50 1.05 100 1 400 100 0 0 0 0 0 0 0 0 0 0 0; % U400
221 400 108.2 200 -50 1.05 100 1 400 100 0 0 0 0 0 0 0 0 0 0 0; % U400
222 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
222 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
222 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
222 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
222 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
222 50 -4.96 16 -10 1.05 100 1 50 10 0 0 0 0 0 0 0 0 0 0 0; % U50
223 155 31.79 80 -50 1.05 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
223 155 31.79 80 -50 1.05 100 1 155 54.3 0 0 0 0 0 0 0 0 0 0 0; % U155
223 350 71.78 150 -25 1.05 100 1 350 140 0 0 0 0 0 0 0 0 0 0 0; % U350
302 150 10 150 -25 1.05 100 1 350 140 0 0 0 0 0 0 0 0 0 0 0; % U350
];
%% branch data
% fbus tbus r x b rateA rateB rateC ratio angle status angmin angmax
mpc.branch = [
101 102 0.003 0.014 0.461 175 250 200 0 0 1 -360 360;
101 103 0.055 0.211 0.057 175 208 220 0 0 1 -360 360;
101 105 0.022 0.085 0.023 175 208 220 0 0 1 -360 360;
102 104 0.033 0.127 0.034 175 208 220 0 0 1 -360 360;
102 106 0.050 0.192 0.052 175 208 220 0 0 1 -360 360;
103 109 0.031 0.119 0.032 175 208 220 0 0 1 -360 360;
103 124 0.002 0.084 0 400 510 600 1.015 0 1 -360 360;
104 109 0.027 0.104 0.028 175 208 220 0 0 1 -360 360;
105 110 0.022 0.088 0.024 175 208 220 0 0 1 -360 360;
106 110 0.014 0.061 2.459 400 193 200 0 0 1 -360 360; % limit changed for feasibility of OPF
107 108 0.016 0.061 0.017 175 208 220 0 0 1 -360 360;
108 109 0.043 0.165 0.045 175 208 220 0 0 1 -360 360;
108 110 0.043 0.165 0.045 175 208 220 0 0 1 -360 360;
109 111 0.002 0.084 0 400 510 600 1.03 0 1 -360 360;
109 112 0.002 0.084 0 400 510 600 1.03 0 1 -360 360;
110 111 0.002 0.084 0 400 510 600 1.015 0 1 -360 360;
110 112 0.002 0.084 0 400 510 600 1.015 0 1 -360 360;
111 113 0.006 0.048 0.100 500 600 625 0 0 1 -360 360;
111 114 0.005 0.042 0.088 500 625 625 0 0 1 -360 360;
112 113 0.006 0.048 0.100 500 625 625 0 0 1 -360 360;
112 123 0.012 0.097 0.203 500 625 625 0 0 1 -360 360;
113 123 0.011 0.087 0.182 500 625 625 0 0 1 -360 360;
114 116 0.005 0.059 0.082 500 625 625 0 0 1 -360 360; % x value changed
115 116 0.002 0.017 0.036 500 600 625 0 0 1 -360 360;
115 121 0.006 0.049 0.103 500 600 625 0 0 1 -360 360;
115 121 0.006 0.049 0.103 500 600 625 0 0 1 -360 360;
115 124 0.007 0.052 0.109 500 600 625 0 0 1 -360 360;
116 117 0.003 0.026 0.055 500 600 625 0 0 1 -360 360;
116 119 0.003 0.023 0.049 500 600 625 0 0 1 -360 360;
117 118 0.002 0.014 0.030 500 600 625 0 0 1 -360 360;
117 122 0.014 0.105 0.221 500 600 625 0 0 1 -360 360;
118 121 0.003 0.026 0.055 500 600 625 0 0 1 -360 360;
118 121 0.003 0.026 0.055 500 600 625 0 0 1 -360 360;
119 120 0.005 0.040 0.083 500 600 625 0 0 1 -360 360;
119 120 0.005 0.040 0.083 500 600 625 0 0 1 -360 360;
120 123 0.003 0.022 0.046 500 600 625 0 0 1 -360 360;
120 123 0.003 0.022 0.046 500 600 625 0 0 1 -360 360;
121 122 0.009 0.068 0.142 500 600 625 0 0 1 -360 360;
201 202 0.003 0.014 0.461 175 250 200 0 0 1 -360 360;
201 203 0.055 0.211 0.057 175 208 220 0 0 1 -360 360;
201 205 0.022 0.085 0.023 175 208 220 0 0 1 -360 360;
202 204 0.033 0.127 0.034 175 208 220 0 0 1 -360 360;
202 206 0.050 0.192 0.052 175 208 220 0 0 1 -360 360;
203 209 0.031 0.119 0.032 175 208 220 0 0 1 -360 360;
203 224 0.002 0.084 0 400 510 600 1.015 0 1 -360 360;
204 209 0.027 0.104 0.028 175 208 220 0 0 1 -360 360;
205 210 0.022 0.088 0.024 175 208 220 0 0 1 -360 360;
206 210 0.014 0.061 2.459 400 193 200 0 0 1 -360 360; % line limit changed for feasibility
207 208 0.016 0.061 0.017 175 208 220 0 0 1 -360 360;
208 209 0.043 0.165 0.045 175 208 220 0 0 1 -360 360;
208 210 0.043 0.165 0.045 175 208 220 0 0 1 -360 360;
209 211 0.002 0.084 0 400 510 600 1.03 0 1 -360 360;
209 212 0.002 0.084 0 400 510 600 1.03 0 1 -360 360;
210 211 0.002 0.084 0 400 510 600 1.015 0 1 -360 360;
210 212 0.002 0.084 0 400 510 600 1.015 0 1 -360 360;
211 213 0.006 0.048 0.100 500 600 625 0 0 1 -360 360;
211 214 0.005 0.042 0.088 500 625 625 0 0 1 -360 360;
212 213 0.006 0.048 0.100 500 625 625 0 0 1 -360 360;
212 223 0.012 0.097 0.203 500 625 625 0 0 1 -360 360;
213 223 0.011 0.087 0.182 500 625 625 0 0 1 -360 360;
214 216 0.005 0.059 0.082 500 625 625 0 0 1 -360 360; % x value changed
215 216 0.002 0.017 0.036 500 600 625 0 0 1 -360 360;
215 221 0.006 0.049 0.103 500 600 625 0 0 1 -360 360;
215 221 0.006 0.049 0.103 500 600 625 0 0 1 -360 360;
215 224 0.007 0.052 0.109 500 600 625 0 0 1 -360 360;
216 217 0.003 0.026 0.055 500 600 625 0 0 1 -360 360;
216 219 0.003 0.023 0.049 500 600 625 0 0 1 -360 360;
217 218 0.002 0.014 0.030 500 600 625 0 0 1 -360 360;
217 222 0.014 0.105 0.221 500 600 625 0 0 1 -360 360;
218 221 0.003 0.026 0.055 500 600 625 0 0 1 -360 360;
218 221 0.003 0.026 0.055 500 600 625 0 0 1 -360 360;
219 220 0.005 0.040 0.083 500 600 625 0 0 1 -360 360;
219 220 0.005 0.040 0.083 500 600 625 0 0 1 -360 360;
220 223 0.003 0.022 0.046 500 600 625 0 0 1 -360 360;
220 223 0.003 0.022 0.046 500 600 625 0 0 1 -360 360;
221 222 0.009 0.068 0.142 500 600 625 0 0 1 -360 360;
301 302 0.000 0.001 0.000 500 600 625 0 0 1 -360 360;
];
%% dc grid topology
%colunm_names% dcpoles
mpc.dcpol=2; % numbers of poles (1=monopolar grid, 2=bipolar grid)
%% bus data
%column_names% busdc_i grid Pdc Vdc basekVdc Vdcmax Vdcmin Cdc
mpc.dcbus = [
1 1 0 1 150 1.1 0.9 0;
2 1 0 1 150 1.1 0.9 0;
3 1 0 1 150 1.1 0.9 0;
4 2 0 1 300 1.1 0.9 0;
5 2 0 1 300 1.1 0.9 0;
6 2 0 1 300 1.1 0.9 0;
7 2 0 1 300 1.1 0.9 0;
];
%% converters
%column_names% busdc_i busac_i type_dc type_ac P_g Q_g islcc Vtar rtf xtf transformer tm bf filter rc xc reactor basekVac Vmmax Vmmin Imax status LossA LossB LossCrec LossCinv droop Pdcset Vdcset dVdcset Pacmax Pacmin Qacmax Qacmin
mpc.dcconv = [
1 107 2 1 0 50 0 1 0.001 0.10 1 1 0.09 0 0.0001 0.16 0 138 1.2 0.9 1.1 1 1.103 0.887 2.885 4.371 0 0 1 0 200 -200 200 -200;
2 204 1 2 75.3 -50 0 1 0.001 0.10 1 1 0.09 0 0.0001 0.16 0 138 1.2 0.9 1.1 1 1.103 0.887 2.885 4.371 0 0 1 0 200 -200 200 -200;
3 301 1 1 -141.9 130 0 1 0.001 0.05 1 1 0.045 0 0.0001 0.08 0 138 1.2 0.9 2.2 1 2.206 0.887 1.442 2.1850 0 0 1 0 200 -200 200 -200;
4 113 2 1 131.5 75.9 0 1 0.0005 0.05 1 1 0 0 0.0001 0.08 0 345 1.2 0.5 2.2 1 2.206 1.8 5.94 9 0 0 1 0 200 -200 200 -200;
5 123 1 1 -61.7 0 0 1 0.001 0.10 1 1 0 0 0.0001 0.16 0 345 1.2 0.5 1.1 1 1.103 1.8 11.88 18 0 0 1 0 200 -200 200 -200;
6 215 1 2 -123.4 -10 0 1 0.0005 0.05 1 1 0 0 0.0001 0.08 0 345 1.2 0.5 2.2 1 2.206 1.8 5.94 9 0 0 1 0 200 -200 200 -200;
7 217 1 1 50 20 0 1 0.001 0.10 1 1 0 0 0.0001 0.16 0 345 1.2 0.5 1.1 1 1.103 1.8 11.88 18 0 0 1 0 200 -200 200 -200;
];
%% branches
%column_names% fbusdc tbusdc r l c rateA rateB rateC status
mpc.dcbranch = [
1 3 0.0352 0 0 100 100 100 1;
2 3 0.0352 0 0 100 100 100 1;
4 5 0.0828 0 0 100 100 100 1;
4 7 0.0704 0 0 100 100 100 1;
4 6 0.0718 0 0 100 100 100 1;
5 7 0.0760 0 0 100 100 100 1;
6 7 0.0248 0 0 100 100 100 1;
];
%% generator cost data
% 2 startup shutdown n c(n-1) ... c0
mpc.gencost = [
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.052672 43.661500 781.521000;
2 1500.0 0.0 3 0.052672 43.661500 781.521000;
2 1500.0 0.0 3 0.052672 43.661500 781.521000;
2 1500.0 0.0 3 0.007170 48.580400 832.757500;
2 1500.0 0.0 3 0.007170 48.580400 832.757500;
2 1500.0 0.0 3 0.007170 48.580400 832.757500;
2 1500.0 0.0 3 0.000000 0.000000 0.000000;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.000213 4.423100 395.374900;
2 1500.0 0.0 3 0.000213 4.423100 395.374900;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.004895 11.849500 665.109400;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.000000 130.000000 400.684900;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.014142 16.081100 212.307600;
2 1500.0 0.0 3 0.052672 43.661500 781.521000;
2 1500.0 0.0 3 0.052672 43.661500 781.521000;
2 1500.0 0.0 3 0.052672 43.661500 781.521000;
2 1500.0 0.0 3 0.007170 48.580400 832.757500;
2 1500.0 0.0 3 0.007170 48.580400 832.757500;
2 1500.0 0.0 3 0.007170 48.580400 832.757500;
2 1500.0 0.0 3 0.000000 0.000000 0.000000;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.328412 56.564000 86.385200;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.000213 4.423100 395.374900;
2 1500.0 0.0 3 0.000213 4.423100 395.374900;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.000000 0.001000 0.001000;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
2 1500.0 0.0 3 0.008342 12.388300 382.239100;
];