function mpc = case_C2C

\%% 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	1	0.351898	0.115663	0	0	1   0.988493	-0.126458	6.6	1	1.1 	0.90;
2	1	0.643582	0.211535	0	0	1   0.986409	-0.148719	6.6	1	1.1 	0.90;
3	1	0.140759	0.0462653	0	0	1   0.990494	-0.104196	6.6	1	1.1 	0.90;
4	1	0.0516117	0.0169639	0	0	1   0.990083	-0.0976893	6.6	1	1.1 	0.90;
5	1	0.469197	0.154218	0	0	1   0.991243	-0.0908614	6.6	1	1.1 	0.90;
6	1	0.140759	0.0462653	0	0	1   0.98933	    -0.102995	6.6	1	1.1 	0.90;
7	1	0.183769	0.0604019	0	0	1   0.991898	-0.0863866	6.6	1	1.1 	0.90;
8	1	0.193935	0.0637433	0	0	1   0.988095	-0.116826	6.6	1	1.1 	0.90;
9	1	0.218959	0.0719682	0	0   1   0.988509	-0.112211	6.6	1	1.1 	0.90;
10	1	0.250238	0.0822494	0	0	1   0.992974	-0.0733936	6.6	1	1.1 	0.90;
11	1	0	        0	        0	0	1	0.990487	-0.0940052	6.6	1	1.1 	0.90;
12	1	0	        0	        0	0	1	0.990385	-0.0948171	6.6	1	1.1 	0.90;
13	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
14	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
15	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
16	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
17	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
18	3	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
19	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
20	1	0	        0	        0	0	1	1	         0	        6.6	1	1.1 	0.90;
21	1	0	        0	        0	0	1	1	         0      	6.6	1	1.1 	0.90;
22	1	0.479363	0.157559	0	0	1	0.98164	     0.0438069	6.6	1	1.1 	0.90;
23	1	0.295594	0.0971571	0	0	1	0.98633     0.00819954	6.6	1	1.1 	0.90;
24	1	0	        0	        0	0	1	0.995371	-0.059689	6.6	1	1.1 	0.90;
25	1	0.107133	0.035213	0	0	1	0.995495	-0.0581959	6.6	1	1.1 	0.90;
26	1	0.00625596	0.00205623	0	0	1	0.990343	-0.0951551	6.6	1	1.1 	0.90;
27	1	0	        0	        0	0	1	0.984222	-0.0623286	6.6	1	1.1 	0.90;
28	1	0	        0	        0	0	1	0.982092	-0.0556034	6.6	1	1.1 	0.90;
29	1	0	        0	        0	0	1	0.982092	-0.0556034	6.6	1	1.1 	0.90;
30	1	0	        0	        0	0	1	0.982092	-0.0556034	6.6	1	1.1 	0.90;
31	1	0.136849	0.0449801	0	0	1	0.982092	-0.0556034	6.6	1	1.1 	0.90;
32	1	0.234598	0.0771088	0	0	1	0.98227	    -0.0682255	6.6	1	1.1 	0.90;
];

\%% 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.00E+00	1.10E-01	-0.109625201	0.988493	100	0	0.333528344	0	0	0	0	0	0	0	0	0	0	0	0;
% 2	0	0.00E+00	2.00E-01	-0.200492524	0.986409	100	0	0.609985958	0	0	0	0	0	0	0	0	0	0	0	0;
% 3	0	0.00E+00	4.39E-02	-0.043850175	0.990494	100	0	0.133411148	0	0	0	0	0	0	0	0	0	0	0	0;
% 4	0	0.00E+00	1.60E-02	-0.015998564	0.990083	100	0	0.048674721	0	0	0	0	0	0	0	0	0	0	0	0;
% 5	0	0.00E+00	1.45E-01	-0.145442181	0.991243	100	0	0.44249721	0	0	0	0	0	0	0	0	0	0	0	0;
% 6	0	0.00E+00	4.36E-02	-0.04363256	    0.98933	    100	0	0.132749069	0	0	0	0	0	0	0	0	0	0	0	0;
% 7	0	0.00E+00	5.72E-02	-0.057248821	0.991898	100	0	0.174175955	0	0	0	0	0	0	0	0	0	0	0	0;
% 8	0	0.00E+00	6.01E-02	-0.060115969	0.988095	100	0	0.182899073	0	0	0	0	0	0	0	0	0	0	0	0;
% 9	0	0.00E+00	6.79E-02	-0.067872829	0.988509	100	0	0.206499075	0	0	0	0	0	0	0	0	0	0	0	0;
% 10	0	0.00E+00	7.80E-02	-0.077955846	0.992974	100	0	0.237175164	0	0	0	0	0	0	0	0	0	0	0	0;
% 11	0	0.00E+00	0.00E+00	 0	            0.990487	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 12	0	0	        0	         0	            0.990385	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 13	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 14	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 15	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 16	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 17	0	0        	0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
18	0	0	        1.30631	     0	            1	        100	1	23.75	0	0	0	0	0	0	0	0	0	0	0	0;
% 19	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 20	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 21	0	0	        0	         0	            1	        100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 22	0	0	        0.14859306	-0.14859306	    0.98164	    100	0	0.452084711	0	0	0	0	0	0	0	0	0	0	0	0;
% 23	0	0	        0.091628347	-0.091628347	0.98633	    100	0	0.278773139	0	0	0	0	0	0	0	0	0	0	0	0;
% 24	0	0	        0	         0	            0.995371	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 25	0	0	        0.033209194	-0.033209194	0.995495	100	0	0.101036566	0	0	0	0	0	0	0	0	0	0	0	0;
% 26	0	0	        0.00193922	-0.00193922	    0.990343	100	0	0.005899963	0	0	0	0	0	0	0	0	0	0	0	0;
% 27	0	0	        0	         0	            0.984222	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 28	0	0	        0	         0	            0.982092	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 29	0	0	        0	         0	            0.982092	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 30	0	0	        0	         0	            0.982092	100	0	0	0	0	0	0	0	0	0	0	0	0	0	0;
% 31	0	0	        0.042632065	-0.042632065	0.982092	100	0	0.129705257	0	0	0	0	0	0	0	0	0	0	0	0;
% 32	0	0	        0.073083593	-0.073083593	0.98227	    100	0	0.222351598	0	0	0	0	0	0	0	0	0	0	0	0;

];

\%% branch data
%	fbus	tbus	r	x	b	rateA	rateB	rateC	ratio	angle	status	angmin	angmax

mpc.branch = [
13	18	8.26E-07	8.26E-07	0	60	   120	    120	0	0	1	360	-360;
15	13	1.65E-06	1.65E-06	0	60	   120	    120	0	0	1	360	-360;
14	16	1.65E-06	1.65E-06	0	60	   120	    120	0	0	1	360	-360;
18	14	8.26E-07	8.26E-07	0	60	   120	    120	0	0	1	360	-360;
20	15	4.87E-07	4.87E-07	0	60	   120	    120	0	0	1	360	-360;
21	16	4.87E-07	4.87E-07	0	60	   120	    120	0	0	1	360	-360;
17	20	9.73E-07	9.73E-07	0	60	   120	    120	0	0	1	360	-360;
19	21	9.73E-07	9.73E-07	0	60	   120	    120	0	0	1	360	-360;
28	29	2.48E-06	2.48E-06	0	60	   120	    120	0	0	1	360	-360;
28	30	2.92E-06	2.92E-06	0	60	   120	    120	0	0	1	360	-360;
29	31	1.46E-06	1.46E-06	0	60	   120	    120	0	0	1	360	-360;
27	7	1.86397	    0.502438	0	2.682	5.364	5.364	0	0	1	360	-360;%1.86397	    0.502438
24	5	0.326479	0.156974	0	4.11	8.22	8.22	0	0	1	360	-360;
27	30	1.40408	    0.378473	0	2.682	5.364	5.364	0	0	1	360	-360; %1.40408	    0.378473
10	3	0.18062	    0.10588	    0	4.11	8.22	8.22	0	0	1	360	-360;
26	12	0.573151	0.280778	0	3.486	6.972	6.972	0	0	1	360	-360;
32	27	0.725057	0.28068	    0	5.946	11.892	11.892	0	0	1	360	-360;
10	17	0.30307	    0.164988	0	4.17	8.34	8.34	0	0	1	360	-360;
1	2	0.27082  	0.147872	0	7.716	15.432	15.432	0	0	1	360	-360;
3	1	0.167728	0.0933407	0	4.572	9.144	9.144	0	0	1	360	-360;
12	4	0.495208	0.258007	0	5.946	11.892	11.892	0	0	1	360	-360;
5	11	0.107599	0.0441923	0	5.94	11.88	11.88	0	0	1	360	-360;
6	9	0.165929	0.0926309	0	4.11	8.22	8.22	0	0	1	360	-360;
11	6	0.178276	0.0863752	0	5.94	11.88	11.88	0	0	1	360	-360;
10	7	0.160406	0.0926291	0	4.11	8.22	8.22	0	0	1	360	-360;
8	7	0.0847567	0.048944	0	4.11	8.22	8.22	0	0	1	360	-360;
9	8	0.178478	0.0992287	0	4.17	8.34	8.34	0	0	1	360	-360;
12	11	0.150316	0.0734171	0	5.946	11.892	11.892	0	0	1	360	-360;
19	25	0.189399	0.113306	0	7.716	15.432	15.432	0	0	1	360	-360;
22	23	0.903017	0.171116	0	1.998	3.996	3.996	0	0	1	360	-360;
23	24	1.07921	    0.204504	0	1.998	3.996	3.996	0	0	1	360	-360;%1.07921	    0.204504
25	24	0.00554178	0.00320018	0	4.11	8.22	8.22	0	0	1	360	-360;
];



\%%-----  OPF Data  -----\%%
\%% generator cost data
%	1	startup	shutdown	n	x1	y1	...	xn	yn
%	2	startup	shutdown	n	c(n-1)	...	c0
mpc.gencost = [
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0.00E+00	3.00E+00	1000	100	10;
% 2	0	0	        3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10
2	0	0	3	10	    100	100;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
% 2	0	0	3	1000	100	10;
];