ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
%%----- Topo Data -----%%
2
%% system MVA base
3
mpc.baseMVA = 100;
4
5
%% bus data
6
%bus_itypePdQdGsBsareaVmVabaseKVzoneVmaxVminPmaxPmin
7
mpc.bus = [ %% (Pd and Qd are for reference, and load power is shown below)
8
1300001
1.05000000000000
0.999999999999999
23011.10.920000
9
2100001
1.03281032665893
-0.583647141705036
23011.10.95000
10
3100001
1.02234275929398
-1.41712446831302
23011.10.95000
11
4100001
1.01587219394564
-2.29546702153801
23011.10.95000
12
5100001
1.00322687496341
-3.12715017662369
23011.10.95000
13
6100001
0.987963952891348
-4.21990737063525
23011.10.95000
14
7100001
1.00553061304068
-3.23704016691798
23011.10.95000
15
8100001
0.987504274773903
-4.25514836687740
23011.10.95000
16
9200001
1.05000000000000
-1.89699310043575
23011.10.915000
17
10200001
1.05000000000000
-1.22569243814780
23011.10.95000
18
11100001
1.00412024382409
-2.58352109340641
23011.10.95000
19
12100001
0.994671498117181
-3.32777348982754
23011.10.96500
20
13100001
0.999818815711776
-3.02098781316980
23011.10.95000
21
14100001
1.03734880781526
-1.23098513900776
23011.10.95000
22
15100001
1.03126086915643
-0.977271050500901
23011.10.95000
23
16100001
1.03194474240816
-0.671032540253646
23011.10.95000
24
17100001
1.03165313162612
-0.690331228171748
23011.10.95000
25
18100001
1.03000759336129
-0.806211607379310
23011.10.97000
26
19100001
1.03155088733496
-0.710473706241255
23011.10.95000
27
];
28
29
%% generator data(here, status=1 means this gen is a CHP unit, status=2 means this gen is a thermal unit)
30
%busPgQgQmaxQminVgmBasestatusPmaxPminPc1Pc2Qc1minQc1maxQc2minQc2maxramp_agcramp_10
31
mpc.gen = [
32
%1
7.50314624400000
040000-40000
1.05000000000000
100140000000000000
33
950040000-40000
1.05000000000000
100140000000000000
34
1050040000-40000
1.05000000000000
100140000000000000
35
];
36
37
%% branch data
38
%fbustbusrxbrateArateBrateCratioanglestatusangminangmax
39
mpc.branch = [ %% (r and x specified in ohms here)
40
12
0.00370300000000000
0.0181010000000000
0100015002000001-360360
41
23
0.00688600000000000
0.0338820000000000
-0.0387930000000000
100015002000001-360360
42
34
0.0179000000000000
0.0942000000000000
-0.0921500000000000
100015002000001-360360
43
45
0.00730000000000000
0.0402570000000000
-0.0410000000000000
100015002000001-360360
44
56
0.0143180000000000
0.0720270000000000
-0.108237000000000
100015002000001-360360
45
57
0.0150290000000000
0.0601140000000000
-0.0365970000000000
100015002000001-360360
46
78
0.0191000000000000
0.0859000000000000
-0.150900000000000
100015002000001-360360
47
79
0.0186000000000000
0.0861000000000000
-0.164100000000000
100015002000001-360360
48
410
0.0201960000000000
0.0807850000000000
-0.0612780000000000
100015002000001-360360
49
111
0.0121000000000000
0.0918000000000000
-0.131500000000000
100015002000001-360360
50
1112
0.0146460000000000
0.0598950000000000
-0.0359570000000000
100015002000001-360360
51
1113
0.00415300000000000
0.0244830000000000
-0.0169640000000000
100015002000001-360360
52
1014
0.00898400000000000
0.0437190000000000
-0.0343100000000000
100015002000001-360360
53
1415
0.00600000000000000
0.0350000000000000
-0.0325000000000000
100015002000001-360360
54
1516
0.00450900000000000
0.0180340000000000
-0.00915000000000000
100015002000001-360360
55
1617
0.000250000000000000
0.00100000000000000
-0.0120000000000000
100015002000001-360360
56
1718
0.00250000000000000
0.0100000000000000
-0.0550000000000000
100015002000001-360360
57
1719
0.00384300000000000
0.0153730000000000
-0.0120420000000000
100015002000001-360360
58
192
0.00275100000000000
0.0110050000000000
-0.00862000000000000
100015002000001-360360
59
1519
0.00860100000000000
0.0437190000000000
-0.0331840000000000
100015002000001-360360
60
162
0.000475000000000000
0.00190000000000000
-0.00165000000000000
100015002000001-360360
61
];
62
63
%%----- OPF Data -----%%
64
%% generator cost data (only thermal unit)
65
%1startupshutdownnx1y1...xnyn
66
%2startupshutdownnc(n-1)...c0
67
mpc.gencost = [
68
90000.102300%grid
69
100000.115260
%thermal gen
70
];
71
72
%% load active power (MW)
73
load = [
74
%bus(node)1
bus2bus3bus4bus5bus6bus7bus8bus9bus10bus11bus12bus13bus14bus15bus16bus17bus18bus19
75
8.6239236474.44739494310.670101593.1956903863.1927184279.7337982575.362942717.9746348373.7796723573.3652918376.4279205778.00869151311.103110755.4259290810.484013686.7035782034.716007858.0699861374.783296967
76
8.9970527774.42640831710.523210473.713703413.1678349579.636239325.5489692037.981156723.4235403733.498725736.2971397777.8622289411.077740275.18151461310.530120186.6388663435.013855938.300902235.206715027
77
8.577400074.56121679.823782973.396676583.3170284019.411045925.7119061678.0814474533.7002309233.4832534076.707200377.31213348710.564693665.4986836979.7526187476.1751744775.2057194438.1046116374.75473002
78
8.3288241374.2041830579.2729142633.428284153.4509892439.1724430335.555073647.6728868773.6798095073.2101224416.6436448737.2390311879.5897374635.6606574339.5011609476.4158063634.6594594638.0248063375.267837697
79
7.921250764.2871034538.774086593.395521443.46322469.1967871835.5507519277.5591970233.3254048283.1666974246.6053304976.8206749179.1407619375.325485778.68640885.6707091134.8416664177.1603008175.103791487
80
7.6854702074.632832439.190233743.4358349573.2530866368.6754714135.5647036837.687118623.512814423.357750416.768564896.917270519.5326418435.6207998278.84511255.5865330975.0985468077.225186314.71514597
81
8.3529773334.5339828538.9502945633.276792063.7039425779.258562285.6410503337.74943833.6718286333.6497178036.7102252877.3036057879.83641385.580055539.154911955.890022075.2027308337.5324705075.197918577
82
8.444635164.2841703139.4220061873.253261373.6493643239.489814555.5551883778.0249397973.1128693013.2222089486.5324085237.21497606310.043809125.5087465079.371725326.4688218274.9666658677.5912780035.25386195
83
8.2706511974.7131330739.4389931673.701976543.3986510779.2180943775.4683648878.0145865073.1535006593.4361443276.180627247.03088507710.417467135.373069629.858394146.4090783875.2994497237.5535165875.012399777
84
8.496541694.4334420339.5237047533.702809733.7517198879.4317471835.332489338.083437783.3481544633.1812211646.2283998177.444807110.327674885.373881749.8984587636.1826892074.9169036377.9999287374.897025763
85
7.9735188674.5142499978.9858754933.4878037233.4708868638.9770552175.7109681437.780972893.1848375983.6617941236.497066067.1751593479.5083355275.3737255639.539230366.325242954.797864687.5545774274.91403618
86
7.834305694.5031882578.829387253.3172297783.230021129.0813199935.2293588777.3013772133.0964700533.5848359136.7775005476.5843057439.3757583135.3470579839.0762843176.047793964.923426717.5691735675.075912617
87
7.9565119574.2747425238.764753753.4817203333.6230536278.54537885.4238148937.44028253.6041598073.458895696.7137287536.465509369.226710135.2289601678.369017975.831666284.72440427.3386779774.79053597
88
7.4036640434.2059244438.5136809673.5709847633.426176119.0081001175.6620165577.2912966433.343490053.385039586.8179507636.5093271278.8286084775.4996477337.9960233575.5872641574.765899846.8310361434.6789876
89
8.343186854.4652927279.0592556033.8603523273.430622389.007233165.6005330677.586616583.8089604873.590734716.9719501477.0991333939.5059181635.4576671878.5824643776.1824115034.9723868237.5053049335.425469
90
8.2177858174.1805031939.443102593.5289686374.107703319.162001716.3913448937.8812037333.586490994.0620143536.7653610377.8796910910.288756766.2041660539.4678836676.4085307675.4986242437.594457245.657990173
91
8.99024264.4543591410.446482364.009093193.7448531879.3283086276.5274042938.0034353234.100498114.2531184776.8971852178.46209353711.390700666.2013966510.320088386.2814299335.572618217.968468775.686157703
92
9.35538664.5405160411.156344154.0854378474.1415134810.263595477.0584922678.5218064834.383538214.132063867.3427016239.50625277711.867898867.03325567310.927249566.7655644335.9547924778.4884846475.969771393
93
9.8881602574.5547014211.041229234.274582334.5110967610.261062126.8820042738.8487009834.367916984.2159646337.0553811439.85582315712.600624357.2215498411.436795347.129819895.904070518.748763965.713558637
94
10.260999434.0817638311.304046594.199697254.2593270810.531501017.3300554778.792535543.9801971434.433580487.577779259.68509496312.683808636.9320108511.800944917.2421219235.7646386078.9452274775.468050663
95
10.41941984.46232474311.477133623.9159321474.1751456910.370509647.3318607939.084144594.004660774.151097327.5572291579.99717623312.908665597.36273479711.490588657.0577158975.651368478.822353785.66079765
96
10.229820284.19759974311.649514433.943857434.18727799310.090130647.1220715078.6659218374.116287144.3913678137.184630299.73147849313.175582867.3667879411.675953277.3108018335.5988655738.568076365.902554517
97
10.555937074.7445258511.985272834.157614854.5361502110.830576026.830851789.4176730974.3292584874.591892837.19092640310.268553813.574577867.4220910211.955363787.6733489576.0575650079.3418766576.004901693
98
10.813019635.13698920312.981361624.5904271375.1585337510.892336917.068819759.8930807374.7758601074.8640964277.4666445310.4888894714.145839036.92938090713.177039588.256205525.840829639.5736603376.360577193
99
11.365593965.6671186913.992967245.2067161235.24242806711.513851247.07469781310.18649895.049588315.138126297.52913445311.150742315.017032996.89274635714.35650419.6009978836.09269704310.544322976.52700681
100
11.211014645.5778139215.239847955.9182769275.5511357711.447270177.13256862310.915698575.699665695.8003524137.63040487711.2600569715.398861177.12062359714.805293849.8883464776.7376633210.956461536.659184393