function mpc = case118_sfla

%% MATPOWER Case Format : Version 2
mpc.version = '2';

%%-----  Power Flow Data  -----% 
%% system MVA base
mpc.baseMVA = 100.000000;


%%    branch    data
%   fbus  tbus     r         x         b      rateA  rateB  rateC  ratio  angle status angmin angmax
mpc.branch = [
    1       2       0.030300000000000  0.099900000000000  0.025400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    1       3       0.012900000000000  0.042400000000000  0.010820   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    4       5       0.001760000000000  0.007980000000000  0.002100   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    3       5       0.024100000000000  0.108000000000000  0.028400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    5       6       0.011900000000000  0.054000000000000  0.014260   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    6       7       0.004590000000000  0.020800000000000  0.005500   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    8       9       0.002440000000000  0.030500000000000  1.162000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    8       5       0.000000000000000  0.026700000000000  0.000000   9900.00  0.00    0.00    0.975000000   0.000000000   1       -360.000  360.000 ;
    9       10      0.002580000000000  0.032200000000000  1.230000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    4       11      0.020900000000000  0.068800000000000  0.017480   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    5       11      0.020300000000000  0.068200000000000  0.017380   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    11      12      0.005950000000000  0.019600000000000  0.005020   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    2       12      0.018700000000000  0.061600000000000  0.015720   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    3       12      0.048400000000000  0.160000000000000  0.040600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    7       12      0.008620000000000  0.034000000000000  0.008740   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    11      13      0.022250000000000  0.073100000000000  0.018760   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    12      14      0.021500000000000  0.070700000000000  0.018160   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    13      15      0.074400000000000  0.244400000000000  0.062680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    14      15      0.059500000000000  0.195000000000000  0.050200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    12      16      0.021200000000000  0.083400000000000  0.021400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    15      17      0.013200000000000  0.043700000000000  0.044400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    16      17      0.045400000000000  0.180100000000000  0.046600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    17      18      0.012300000000000  0.050500000000000  0.012980   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    18      19      0.011190000000000  0.049300000000000  0.011420   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    19      20      0.025200000000000  0.117000000000000  0.029800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    15      19      0.012000000000000  0.039400000000000  0.010100   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    20      21      0.018300000000000  0.084900000000000  0.021600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    21      22      0.020900000000000  0.097000000000000  0.024600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    22      23      0.034200000000000  0.159000000000000  0.040400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    23      24      0.013500000000000  0.049200000000000  0.049800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    23      25      0.015600000000000  0.080000000000000  0.086400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    26      25      0.000000000000000  0.038200000000000  0.000000   9900.00  0.00    0.00    1.050000000   0.000000000   1       -360.000  360.000 ;
    25      27      0.031800000000000  0.163000000000000  0.176400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    27      28      0.019130000000000  0.085500000000000  0.021600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    28      29      0.023700000000000  0.094300000000000  0.023800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    30      17      0.000000000000000  0.038800000000000  0.000000   9900.00  0.00    0.00    0.987500000   0.000000000   1       -360.000  360.000 ;
    8       30      0.004310000000000  0.050400000000000  0.514000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    26      30      0.007990000000000  0.086000000000000  0.908000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    17      31      0.047400000000000  0.156300000000000  0.039900   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    29      31      0.010800000000000  0.033100000000000  0.008300   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    23      32      0.031700000000000  0.115300000000000  0.117300   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    31      32      0.029800000000000  0.098500000000000  0.025100   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    27      32      0.022900000000000  0.075500000000000  0.019260   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    15      33      0.038000000000000  0.124400000000000  0.031940   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    19      34      0.075200000000000  0.247000000000000  0.063200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    35      36      0.002240000000000  0.010200000000000  0.002680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    35      37      0.011000000000000  0.049700000000000  0.013180   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    33      37      0.041500000000000  0.142000000000000  0.036600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    34      36      0.008710000000000  0.026800000000000  0.005680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    34      37      0.002560000000000  0.009400000000000  0.009840   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    38      37      0.000000000000000  0.037500000000000  0.000000   9900.00  0.00    0.00    0.975000000   0.000000000   1       -360.000  360.000 ;
    37      39      0.032100000000000  0.106000000000000  0.027000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    37      40      0.059300000000000  0.168000000000000  0.042000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    30      38      0.004640000000000  0.054000000000000  0.422000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    39      40      0.018400000000000  0.060500000000000  0.015520   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    40      41      0.014500000000000  0.048700000000000  0.012220   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    40      42      0.055500000000000  0.183000000000000  0.046600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    41      42      0.041000000000000  0.135000000000000  0.034400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    43      44      0.060800000000000  0.245400000000000  0.060680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    34      43      0.041300000000000  0.168100000000000  0.042260   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    44      45      0.022400000000000  0.090100000000000  0.022400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    45      46      0.040000000000000  0.135600000000000  0.033200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    46      47      0.038000000000000  0.127000000000000  0.031600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    46      48      0.060100000000000  0.189000000000000  0.047200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    47      49      0.019100000000000  0.062500000000000  0.016040   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    42      49      0.071500000000000  0.323000000000000  0.086000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    42      49      0.071500000000000  0.323000000000000  0.086000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    45      49      0.068400000000000  0.186000000000000  0.044400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    48      49      0.017900000000000  0.050500000000000  0.012580   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      50      0.026700000000000  0.075200000000000  0.018740   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      51      0.048600000000000  0.137000000000000  0.034200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    51      52      0.020300000000000  0.058800000000000  0.013960   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    52      53      0.040500000000000  0.163500000000000  0.040580   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    53      54      0.026300000000000  0.122000000000000  0.031000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      54      0.073000000000000  0.289000000000000  0.073800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      54      0.086900000000000  0.291000000000000  0.073000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    54      55      0.016900000000000  0.070700000000000  0.020200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    54      56      0.002750000000000  0.009550000000000  0.007320   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    55      56      0.004880000000000  0.015100000000000  0.003740   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    56      57      0.034300000000000  0.096600000000000  0.024200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    50      57      0.047400000000000  0.134000000000000  0.033200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    56      58      0.034300000000000  0.096600000000000  0.024200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    51      58      0.025500000000000  0.071900000000000  0.017880   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    54      59      0.050300000000000  0.229300000000000  0.059800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    56      59      0.082500000000000  0.251000000000000  0.056900   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    56      59      0.080300000000000  0.239000000000000  0.053600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    55      59      0.047390000000000  0.215800000000000  0.056460   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    59      60      0.031700000000000  0.145000000000000  0.037600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    59      61      0.032800000000000  0.150000000000000  0.038800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    60      61      0.002640000000000  0.013500000000000  0.014560   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    60      62      0.012300000000000  0.056100000000000  0.014680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    61      62      0.008240000000000  0.037600000000000  0.009800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    63      59      0.000000000000000  0.038600000000000  0.000000   9900.00  0.00    0.00    0.987500000   0.000000000   1       -360.000  360.000 ;
    63      64      0.001720000000000  0.020000000000000  0.216000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    64      61      0.000000000000000  0.026800000000000  0.000000   9900.00  0.00    0.00    1.000000000   0.000000000   1       -360.000  360.000 ;
    38      65      0.009010000000000  0.098600000000000  1.046000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    64      65      0.002690000000000  0.030200000000000  0.380000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      66      0.018000000000000  0.091900000000000  0.024800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      66      0.018000000000000  0.091900000000000  0.024800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    62      66      0.048200000000000  0.218000000000000  0.057800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    62      67      0.025800000000000  0.117000000000000  0.031000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    65      66      0.000000000000000  0.037000000000000  0.000000   9900.00  0.00    0.00    0.987500000   0.000000000   1       -360.000  360.000 ;
    66      67      0.022400000000000  0.101500000000000  0.026820   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    65      68      0.001380000000000  0.016000000000000  0.638000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    47      69      0.084400000000000  0.277800000000000  0.070920   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    49      69      0.098500000000000  0.324000000000000  0.082800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    68      69      0.000000000000000  0.037000000000000  0.000000   9900.00  0.00    0.00    0.950000000   0.000000000   1       -360.000  360.000 ;
    69      70      0.030000000000000  0.127000000000000  0.122000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    24      70      0.002210000000000  0.411500000000000  0.101980   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    70      71      0.008820000000000  0.035500000000000  0.008780   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    24      72      0.048800000000000  0.196000000000000  0.048800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    71      72      0.044600000000000  0.180000000000000  0.044440   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    71      73      0.008660000000000  0.045400000000000  0.011780   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    70      74      0.040100000000000  0.132300000000000  0.033680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    70      75      0.042800000000000  0.141000000000000  0.036000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    69      75      0.040500000000000  0.122000000000000  0.124000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    74      75      0.012300000000000  0.040600000000000  0.010340   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    76      77      0.044400000000000  0.148000000000000  0.036800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    69      77      0.030900000000000  0.101000000000000  0.103800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    75      77      0.060100000000000  0.199900000000000  0.049780   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    77      78      0.003760000000000  0.012400000000000  0.012640   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    78      79      0.005460000000000  0.024400000000000  0.006480   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    77      80      0.017000000000000  0.048500000000000  0.047200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    77      80      0.029400000000000  0.105000000000000  0.022800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    79      80      0.015600000000000  0.070400000000000  0.018700   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    68      81      0.001750000000000  0.020200000000000  0.808000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    81      80      0.000000000000000  0.037000000000000  0.000000   9900.00  0.00    0.00    0.987500000   0.000000000   1       -360.000  360.000 ;
    77      82      0.029800000000000  0.085300000000000  0.081740   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    82      83      0.011200000000000  0.036650000000000  0.037960   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    83      84      0.062500000000000  0.132000000000000  0.025800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    83      85      0.043000000000000  0.148000000000000  0.034800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    84      85      0.030200000000000  0.064100000000000  0.012340   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    85      86      0.035000000000000  0.123000000000000  0.027600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    86      87      0.028280000000000  0.207400000000000  0.044500   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    85      88      0.020000000000000  0.102000000000000  0.027600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    85      89      0.023900000000000  0.173000000000000  0.047000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    88      89      0.013900000000000  0.071200000000000  0.019340   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    89      90      0.051800000000000  0.188000000000000  0.052800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    89      90      0.023800000000000  0.099700000000000  0.106000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    90      91      0.025400000000000  0.083600000000000  0.021400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    89      92      0.009900000000000  0.050500000000000  0.054800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    89      92      0.039300000000000  0.158100000000000  0.041400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    91      92      0.038700000000000  0.127200000000000  0.032680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    92      93      0.025800000000000  0.084800000000000  0.021800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    92      94      0.048100000000000  0.158000000000000  0.040600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    93      94      0.022300000000000  0.073200000000000  0.018760   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    94      95      0.013200000000000  0.043400000000000  0.011100   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    80      96      0.035600000000000  0.182000000000000  0.049400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    82      96      0.016200000000000  0.053000000000000  0.054400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    94      96      0.026900000000000  0.086900000000000  0.023000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    80      97      0.018300000000000  0.093400000000000  0.025400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    80      98      0.023800000000000  0.108000000000000  0.028600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    80      99      0.045400000000000  0.206000000000000  0.054600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    92      100     0.064800000000000  0.295000000000000  0.047200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    94      100     0.017800000000000  0.058000000000000  0.060400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    95      96      0.017100000000000  0.054700000000000  0.014740   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    96      97      0.017300000000000  0.088500000000000  0.024000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    98      100     0.039700000000000  0.179000000000000  0.047600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    99      100     0.018000000000000  0.081300000000000  0.021600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    100     101     0.027700000000000  0.126200000000000  0.032800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    92      102     0.012300000000000  0.055900000000000  0.014640   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    101     102     0.024600000000000  0.112000000000000  0.029400   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    100     103     0.016000000000000  0.052500000000000  0.053600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    100     104     0.045100000000000  0.204000000000000  0.054100   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    103     104     0.046600000000000  0.158400000000000  0.040700   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    103     105     0.053500000000000  0.162500000000000  0.040800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    100     106     0.060500000000000  0.229000000000000  0.062000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    104     105     0.009940000000000  0.037800000000000  0.009860   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    105     106     0.014000000000000  0.054700000000000  0.014340   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    105     107     0.053000000000000  0.183000000000000  0.047200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    105     108     0.026100000000000  0.070300000000000  0.018440   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    106     107     0.053000000000000  0.183000000000000  0.047200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    108     109     0.010500000000000  0.028800000000000  0.007600   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    103     110     0.039060000000000  0.181300000000000  0.046100   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    109     110     0.027800000000000  0.076200000000000  0.020200   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    110     111     0.022000000000000  0.075500000000000  0.020000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    110     112     0.024700000000000  0.064000000000000  0.062000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    17      113     0.009130000000000  0.030100000000000  0.007680   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    32      113     0.061500000000000  0.203000000000000  0.051800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    32      114     0.013500000000000  0.061200000000000  0.016280   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    27      115     0.016400000000000  0.074100000000000  0.019720   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    114     115     0.002300000000000  0.010400000000000  0.002760   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    68      116     0.000340000000000  0.004050000000000  0.164000   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    12      117     0.032900000000000  0.140000000000000  0.035800   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    75      118     0.014500000000000  0.048100000000000  0.011980   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
    76      118     0.016400000000000  0.054400000000000  0.013560   9900.00  0.00    0.00    0.000000000   0.000000000   1       -360.000  360.000 ;
];


%%    bus    data
% bus_i  type    Pd      Qd    Gs     Bs     area     Vm     Va   baseKV zone  Vmax  Vmin
mpc.bus = [
    1       2       51.000000000    27.000000000    0.000000   0.000000   1       1.034018334   17.233633816   138.0   1       1.06   0.94  ;
    2       1       20.000000000    9.000000000     0.000000   0.000000   1       1.039266263   17.356988955   138.0   1       1.06   0.94  ;
    3       1       39.000000000    10.000000000    0.000000   0.000000   1       1.039171652   17.695786355   138.0   1       1.06   0.94  ;
    4       2       39.000000000    12.000000000    0.000000   0.000000   1       1.059982127   20.343373798   138.0   1       1.06   0.94  ;
    5       1       0.000000000     0.000000000     0.000000   -40.000000  1       1.059999906   20.756139316   138.0   1       1.06   0.94  ;
    6       2       52.000000000    22.000000000    0.000000   0.000000   1       1.052711302   18.485898889   138.0   1       1.06   0.94  ;
    7       1       19.000000000    2.000000000     0.000000   0.000000   1       1.051118601   18.180931393   138.0   1       1.06   0.94  ;
    8       2       28.000000000    0.000000000     0.000000   0.000000   1       1.043448141   24.858696881   345.0   1       1.06   0.94  ;
    9       1       0.000000000     0.000000000     0.000000   0.000000   1       1.059999960   31.089887530   345.0   1       1.06   0.94  ;
    10      2       0.000000000     0.000000000     0.000000   0.000000   1       1.050383177   37.805767787   345.0   1       1.06   0.94  ;
    11      1       70.000000000    23.000000000    0.000000   0.000000   1       1.046620962   18.336403827   138.0   1       1.06   0.94  ;
    12      2       47.000000000    10.000000000    0.000000   0.000000   1       1.050189916   18.012058626   138.0   1       1.06   0.94  ;
    13      1       34.000000000    16.000000000    0.000000   0.000000   1       1.035115217   17.199163670   138.0   1       1.06   0.94  ;
    14      1       14.000000000    1.000000000     0.000000   0.000000   1       1.049160886   17.431155662   138.0   1       1.06   0.94  ;
    15      2       90.000000000    30.000000000    0.000000   0.000000   1       1.049250261   17.333667098   138.0   1       1.06   0.94  ;
    16      1       25.000000000    10.000000000    0.000000   0.000000   1       1.046303272   17.706414527   138.0   1       1.06   0.94  ;
    17      1       11.000000000    3.000000000     0.000000   0.000000   1       1.059999636   19.230886131   138.0   1       1.06   0.94  ;
    18      2       60.000000000    34.000000000    0.000000   0.000000   1       1.051179516   17.616769918   138.0   1       1.06   0.94  ;
    19      2       45.000000000    25.000000000    0.000000   0.000000   1       1.048600763   17.243730377   138.0   1       1.06   0.94  ;
    20      1       18.000000000    3.000000000     0.000000   0.000000   1       1.037644708   17.521164433   138.0   1       1.06   0.94  ;
    21      1       14.000000000    8.000000000     0.000000   0.000000   1       1.033232155   18.540015573   138.0   1       1.06   0.94  ;
    22      1       10.000000000    5.000000000     0.000000   0.000000   1       1.036932229   20.369459663   138.0   1       1.06   0.94  ;
    23      1       7.000000000     3.000000000     0.000000   0.000000   1       1.051707250   24.125969994   138.0   1       1.06   0.94  ;
    24      2       13.000000000    0.000000000     0.000000   0.000000   1       1.050731021   23.601617775   138.0   1       1.06   0.94  ;
    25      2       0.000000000     0.000000000     0.000000   0.000000   1       1.059999956   30.389857588   138.0   1       1.06   0.94  ;
    26      2       0.000000000     0.000000000     0.000000   0.000000   1       1.059999900   32.022876729   345.0   1       1.06   0.94  ;
    27      2       71.000000000    13.000000000    0.000000   0.000000   1       1.045738923   19.822246759   138.0   1       1.06   0.94  ;
    28      1       17.000000000    7.000000000     0.000000   0.000000   1       1.038713532   18.460196825   138.0   1       1.06   0.94  ;
    29      1       24.000000000    4.000000000     0.000000   0.000000   1       1.038618693   17.743766179   138.0   1       1.06   0.94  ;
    30      1       0.000000000     0.000000000     0.000000   0.000000   1       1.057139096   23.163660131   345.0   1       1.06   0.94  ;
    31      2       43.000000000    27.000000000    0.000000   0.000000   1       1.041514715   17.896339619   138.0   1       1.06   0.94  ;
    32      2       59.000000000    23.000000000    0.000000   0.000000   1       1.044791251   19.426402274   138.0   1       1.06   0.94  ;
    33      1       23.000000000    9.000000000     0.000000   0.000000   1       1.046524307   16.844494591   138.0   1       1.06   0.94  ;
    34      2       59.000000000    26.000000000    0.000000   18.000000  1       1.056581743   17.440835870   138.0   1       1.06   0.94  ;
    35      1       33.000000000    9.000000000     0.000000   0.000000   1       1.054642568   17.098790422   138.0   1       1.06   0.94  ;
    36      2       31.000000000    17.000000000    0.000000   0.000000   1       1.055053867   17.104462495   138.0   1       1.06   0.94  ;
    37      1       0.000000000     0.000000000     0.000000   -25.000000  1       1.059999573   17.866291403   138.0   1       1.06   0.94  ;
    38      1       0.000000000     0.000000000     0.000000   0.000000   1       1.054079999   21.529288172   345.0   1       1.06   0.94  ;
    39      1       27.000000000    11.000000000    0.000000   0.000000   1       1.043863115   16.147689134   138.0   1       1.06   0.94  ;
    40      2       66.000000000    23.000000000    0.000000   0.000000   1       1.044700127   15.927088203   138.0   1       1.06   0.94  ;
    41      1       37.000000000    10.000000000    0.000000   0.000000   1       1.038230580   15.493964094   138.0   1       1.06   0.94  ;
    42      2       96.000000000    23.000000000    0.000000   0.000000   1       1.044837757   16.773097713   138.0   1       1.06   0.94  ;
    43      1       18.000000000    7.000000000     0.000000   0.000000   1       1.042377925   16.715533745   138.0   1       1.06   0.94  ;
    44      1       16.000000000    8.000000000     0.000000   4.000000   1       1.035765756   17.935978014   138.0   1       1.06   0.94  ;
    45      1       53.000000000    22.000000000    0.000000   19.500000  1       1.036479323   19.165201632   138.0   1       1.06   0.94  ;
    46      2       28.000000000    10.000000000    0.000000   21.500000  1       1.045742924   21.495304076   138.0   1       1.06   0.94  ;
    47      1       34.000000000    0.000000000     0.000000   0.000000   1       1.052698164   23.304010199   138.0   1       1.06   0.94  ;
    48      1       20.000000000    11.000000000    0.000000   7.500000   1       1.053177083   22.930821049   138.0   1       1.06   0.94  ;
    49      2       87.000000000    30.000000000    0.000000   0.000000   1       1.058731710   23.834770067   138.0   1       1.06   0.94  ;
    50      1       17.000000000    4.000000000     0.000000   0.000000   1       1.048806409   22.073319117   138.0   1       1.06   0.94  ;
    51      1       17.000000000    8.000000000     0.000000   0.000000   1       1.032374529   19.868188505   138.0   1       1.06   0.94  ;
    52      1       18.000000000    5.000000000     0.000000   0.000000   1       1.026965804   19.054462582   138.0   1       1.06   0.94  ;
    53      1       23.000000000    11.000000000    0.000000   0.000000   1       1.026774664   18.328621169   138.0   1       1.06   0.94  ;
    54      2       113.000000000   32.000000000    0.000000   0.000000   1       1.041586511   19.199989624   138.0   1       1.06   0.94  ;
    55      2       63.000000000    22.000000000    0.000000   0.000000   1       1.041578529   19.140516814   138.0   1       1.06   0.94  ;
    56      2       84.000000000    18.000000000    0.000000   0.000000   1       1.041284043   19.195354601   138.0   1       1.06   0.94  ;
    57      1       12.000000000    3.000000000     0.000000   0.000000   1       1.041880149   20.050145233   138.0   1       1.06   0.94  ;
    58      1       12.000000000    3.000000000     0.000000   0.000000   1       1.034152971   19.321116835   138.0   1       1.06   0.94  ;
    59      2       277.000000000   113.000000000   0.000000   0.000000   1       1.058122485   21.825969107   138.0   1       1.06   0.94  ;
    60      1       78.000000000    3.000000000     0.000000   0.000000   1       1.057662949   24.660145852   138.0   1       1.06   0.94  ;
    61      2       0.000000000     0.000000000     0.000000   0.000000   1       1.059999548   25.409623419   138.0   1       1.06   0.94  ;
    62      2       77.000000000    14.000000000    0.000000   0.000000   1       1.055995397   24.879387073   138.0   1       1.06   0.94  ;
    63      1       0.000000000     0.000000000     0.000000   0.000000   1       1.053757919   24.488290990   345.0   1       1.06   0.94  ;
    64      1       0.000000000     0.000000000     0.000000   0.000000   1       1.059315151   25.869149996   345.0   1       1.06   0.94  ;
    65      2       0.000000000     0.000000000     0.000000   0.000000   1       1.059999953   28.509032711   345.0   1       1.06   0.94  ;
    66      2       39.000000000    18.000000000    0.000000   0.000000   1       1.059999956   28.854290032   138.0   1       1.06   0.94  ;
    67      1       28.000000000    7.000000000     0.000000   0.000000   1       1.052257703   26.251459169   138.0   1       1.06   0.94  ;
    68      1       0.000000000     0.000000000     0.000000   0.000000   1       1.056704404   28.002841583   345.0   1       1.06   0.94  ;
    69      3       0.000000000     0.000000000     0.000000   0.000000   1       1.059999971   30.000000000   138.0   1       1.06   0.94  ;
    70      2       66.000000000    20.000000000    0.000000   0.000000   1       1.039601802   23.703077632   138.0   1       1.06   0.94  ;
    71      1       0.000000000     0.000000000     0.000000   0.000000   1       1.040155409   23.476456232   138.0   1       1.06   0.94  ;
    72      2       12.000000000    0.000000000     0.000000   0.000000   1       1.042326776   22.946746658   138.0   1       1.06   0.94  ;
    73      2       6.000000000     0.000000000     0.000000   0.000000   1       1.038958237   23.339332460   138.0   1       1.06   0.94  ;
    74      2       68.000000000    27.000000000    0.000000   30.000000  1       1.031670033   22.798314162   138.0   1       1.06   0.94  ;
    75      1       47.000000000    11.000000000    0.000000   0.000000   1       1.029310485   23.729036170   138.0   1       1.06   0.94  ;
    76      2       68.000000000    36.000000000    0.000000   0.000000   1       1.015325434   22.910431010   138.0   1       1.06   0.94  ;
    77      2       61.000000000    28.000000000    0.000000   0.000000   1       1.047792751   26.143244920   138.0   1       1.06   0.94  ;
    78      1       71.000000000    26.000000000    0.000000   0.000000   1       1.043901374   25.857551696   138.0   1       1.06   0.94  ;
    79      1       39.000000000    32.000000000    0.000000   30.000000  1       1.046743964   26.113773618   138.0   1       1.06   0.94  ;
    80      2       130.000000000   26.000000000    0.000000   0.000000   1       1.059999846   28.278825622   138.0   1       1.06   0.94  ;
    81      1       0.000000000     0.000000000     0.000000   0.000000   1       1.058772131   28.095534635   345.0   1       1.06   0.94  ;
    82      1       54.000000000    27.000000000    0.000000   30.000000  1       1.042293116   25.455823339   138.0   1       1.06   0.94  ;
    83      1       20.000000000    10.000000000    0.000000   11.000000  1       1.044049478   25.915351663   138.0   1       1.06   0.94  ;
    84      1       11.000000000    7.000000000     0.000000   0.000000   1       1.045274990   27.205481173   138.0   1       1.06   0.94  ;
    85      2       24.000000000    15.000000000    0.000000   0.000000   1       1.052302146   28.116503806   138.0   1       1.06   0.94  ;
    86      1       21.000000000    10.000000000    0.000000   0.000000   1       1.045440931   27.016161669   138.0   1       1.06   0.94  ;
    87      2       0.000000000     0.000000000     0.000000   0.000000   1       1.057027126   27.327064583   161.0   1       1.06   0.94  ;
    88      1       48.000000000    10.000000000    0.000000   0.000000   1       1.048882191   30.234402595   138.0   1       1.06   0.94  ;
    89      2       0.000000000     0.000000000     0.000000   0.000000   1       1.059999977   33.411090348   138.0   1       1.06   0.94  ;
    90      2       163.000000000   42.000000000    0.000000   0.000000   1       1.041808305   27.997620302   138.0   1       1.06   0.94  ;
    91      2       10.000000000    0.000000000     0.000000   0.000000   1       1.045705285   28.295177912   138.0   1       1.06   0.94  ;
    92      2       65.000000000    10.000000000    0.000000   0.000000   1       1.050261220   29.496356114   138.0   1       1.06   0.94  ;
    93      1       12.000000000    7.000000000     0.000000   0.000000   1       1.040660131   27.810993730   138.0   1       1.06   0.94  ;
    94      1       30.000000000    16.000000000    0.000000   0.000000   1       1.038882748   26.749138801   138.0   1       1.06   0.94  ;
    95      1       42.000000000    31.000000000    0.000000   0.000000   1       1.028259691   25.991245811   138.0   1       1.06   0.94  ;
    96      1       38.000000000    15.000000000    0.000000   0.000000   1       1.037568663   25.999913551   138.0   1       1.06   0.94  ;
    97      1       15.000000000    9.000000000     0.000000   0.000000   1       1.044230799   26.793510506   138.0   1       1.06   0.94  ;
    98      1       34.000000000    8.000000000     0.000000   0.000000   1       1.051980679   26.735615059   138.0   1       1.06   0.94  ;
    99      2       42.000000000    0.000000000     0.000000   0.000000   1       1.054124749   26.262646888   138.0   1       1.06   0.94  ;
    100     2       37.000000000    18.000000000    0.000000   0.000000   1       1.058567428   27.228945336   138.0   1       1.06   0.94  ;
    101     1       22.000000000    15.000000000    0.000000   0.000000   1       1.042975069   27.406574974   138.0   1       1.06   0.94  ;
    102     1       5.000000000     3.000000000     0.000000   0.000000   1       1.047076041   28.708979850   138.0   1       1.06   0.94  ;
    103     2       23.000000000    16.000000000    0.000000   0.000000   1       1.051556425   25.204346617   138.0   1       1.06   0.94  ;
    104     2       38.000000000    25.000000000    0.000000   0.000000   1       1.042797918   23.065379545   138.0   1       1.06   0.94  ;
    105     2       31.000000000    26.000000000    0.000000   12.000000  1       1.040542712   22.542424238   138.0   1       1.06   0.94  ;
    106     1       43.000000000    16.000000000    0.000000   0.000000   1       1.034477461   22.286823866   138.0   1       1.06   0.94  ;
    107     2       50.000000000    12.000000000    0.000000   15.500000  1       1.034402801   21.361245465   138.0   1       1.06   0.94  ;
    108     1       2.000000000     1.000000000     0.000000   0.000000   1       1.039529030   22.247784009   138.0   1       1.06   0.94  ;
    109     1       8.000000000     3.000000000     0.000000   0.000000   1       1.039223644   22.159871609   138.0   1       1.06   0.94  ;
    110     2       39.000000000    30.000000000    0.000000   17.000000  1       1.041657698   22.228334330   138.0   1       1.06   0.94  ;
    111     2       0.000000000     0.000000000     0.000000   0.000000   1       1.049356567   23.613631047   138.0   1       1.06   0.94  ;
    112     2       68.000000000    13.000000000    0.000000   0.000000   1       1.034336195   21.151179536   138.0   1       1.06   0.94  ;
    113     2       6.000000000     0.000000000     0.000000   0.000000   1       1.056523811   19.192631827   138.0   1       1.06   0.94  ;
    114     1       8.000000000     3.000000000     0.000000   0.000000   1       1.040685362   19.111488886   138.0   1       1.06   0.94  ;
    115     1       22.000000000    7.000000000     0.000000   0.000000   1       1.040363298   19.099393689   138.0   1       1.06   0.94  ;
    116     2       184.000000000   0.000000000     0.000000   0.000000   1       1.057797590   27.613080254   138.0   1       1.06   0.94  ;
    117     1       20.000000000    8.000000000     0.000000   0.000000   1       1.035310520   16.641851863   138.0   1       1.06   0.94  ;
    118     1       33.000000000    15.000000000    0.000000   0.000000   1       1.016763762   22.941508400   138.0   1       1.06   0.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       25.185030454     14.999887149     15.00     -5.00     1.034018334   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    4       0.000042605      36.402761642     300.00    -300.00   1.059982127   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    6       0.001467067      27.904591044     50.00     -13.00    1.052711302   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    8       0.000036491      -75.828744069    300.00    -300.00   1.043448141   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    10      401.185847507    -107.642121512   200.00    -147.00   1.050383177   100.000  1     550.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    12      85.634225680     51.774858624     120.00    -35.00    1.050189916   100.000  1     185.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    15      19.846747904     25.946659957     30.00     -10.00    1.049250261   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    18      12.350650933     32.568956621     50.00     -16.00    1.051179516   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    19      20.854940875     23.970761467     24.00     -8.00     1.048600763   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    24      0.000043830      -2.054523515     300.00    -300.00   1.050731021   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    25      194.326146554    113.082098564    140.00    -47.00    1.059999956   100.000  1     320.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    26      280.538879508    -182.845044371   1000.00   -1000.00  1.059999900   100.000  1     414.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    27      10.781446183     29.761670370     300.00    -300.00   1.045738923   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    31      7.247448702      27.531132528     300.00    -300.00   1.041514715   100.000  1     107.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    32      15.360102994     23.061698432     42.00     -14.00    1.044791251   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    34      3.124316820      -6.296263174     24.00     -8.00     1.056581743   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    36      9.087813005      22.169853865     24.00     -8.00     1.055053867   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    40      48.561224237     29.430888595     300.00    -300.00   1.044700127   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    42      40.931778070     20.906790560     300.00    -300.00   1.044837757   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    46      19.056869970     -17.975189274    100.00    -100.00   1.045742924   100.000  1     119.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    49      193.738402342    52.929381903     210.00    -85.00    1.058731710   100.000  1     304.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    54      49.512071579     34.015352433     300.00    -300.00   1.041586511   100.000  1     148.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    55      31.478929688     19.772665132     23.00     -8.00     1.041578529   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    56      31.917351826     14.882635848     15.00     -8.00     1.041284043   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    59      149.587931447    101.663384696    180.00    -60.00    1.058122485   100.000  1     255.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    61      148.475209161    -4.772455717     300.00    -100.00   1.059999548   100.000  1     260.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    62      0.000023131      13.351381641     20.00     -20.00    1.055995397   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    65      353.117945837    -66.998563315    200.00    -67.00    1.059999953   100.000  1     491.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    66      349.778774706    -62.574869676    200.00    -67.00    1.059999956   100.000  1     492.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    69      454.794920717    -199.631053696   300.00    -300.00   1.059999971   100.000  1     805.2   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    70      0.000130814      16.245880455     32.00     -10.00    1.039601802   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    72      0.000152010      -5.232994449     100.00    -100.00   1.042326776   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    73      0.000224251      -2.224192223     100.00    -100.00   1.038958237   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    74      17.432902288     8.305327334      9.00      -6.00     1.031670033   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    76      23.309660013     22.999912901     23.00     -8.00     1.015325434   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    77      0.000027989      57.461839391     70.00     -20.00    1.047792751   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    80      431.685561763    6.761404681      280.00    -165.00   1.059999846   100.000  1     577.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    85      0.000012994      22.999632054     23.00     -8.00     1.052302146   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    87      3.629945013      2.931837838      1000.00   -100.00   1.057027126   100.000  1     104.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    89      502.422167853    -26.992317556    300.00    -210.00   1.059999977   100.000  1     707.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    90      0.000016930      47.220435756     300.00    -300.00   1.041808305   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    91      0.000015470      1.425187076      100.00    -100.00   1.045705285   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    92      0.000012075      8.999731596      9.00      -3.00     1.050261220   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    99      0.000021862      -3.189415541     100.00    -100.00   1.054124749   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    100     231.512760530    43.943985240     155.00    -50.00    1.058567428   100.000  1     352.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    103     38.270004435     11.635288496     40.00     -15.00    1.051556425   100.000  1     140.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    104     0.000465810      22.886277444     23.00     -8.00     1.042797918   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    105     5.521691985      17.855356448     23.00     -8.00     1.040542712   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    107     29.214339846     -6.926783390     200.00    -200.00   1.034402801   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    110     7.237124810      7.701221997      23.00     -8.00     1.041657698   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    111     35.249244203     -0.248831568     1000.00   -100.00   1.049356567   100.000  1     136.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    112     36.580680673     10.274195506     1000.00   -100.00   1.034336195   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    113     0.000130548      -7.588613556     200.00    -100.00   1.056523811   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
    116     0.000014496      35.462540896     1000.00   -1000.00  1.057797590   100.000  1     100.0   0.0     0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000    0      ;
];


%%    generator    cost    data
%    1    startup    shutdown    n    x1    y1    ...    xn    yn
%    2    startup    shutdown    n    c(n-1)    ...    c0
mpc.gencost = [
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.022222200        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.117647000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.045454500        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.031847100        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         1.428570000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.526316000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.049019600        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.208333000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.064516100        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.062500000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.025575400        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.025510200        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.019364800        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.020964400        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         2.500000000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.016474500        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.039682500        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.250000000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.277778000        20.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
    2       0.000000000      0.000000000      3         0.010000000        40.000000000       0.000000000        ;
];


%%    transformer data
%    branch        min_tap    max_tap    increment    tap_setting    min_angle    max_angle    increment    angle_setting
mpc.transformer = [
    8       5       0.90    1.10    0.0125  0.9750  0.00    0.00    30.0000  0.0000;
    26      25      0.90    1.10    0.0125  1.0500  0.00    0.00    30.0000  0.0000;
    30      17      0.90    1.10    0.0125  0.9875  0.00    0.00    30.0000  0.0000;
    38      37      0.90    1.10    0.0125  0.9750  0.00    0.00    30.0000  0.0000;
    63      59      0.90    1.10    0.0125  0.9875  0.00    0.00    30.0000  0.0000;
    64      61      0.90    1.10    0.0125  1.0000  0.00    0.00    30.0000  0.0000;
    65      66      0.90    1.10    0.0125  0.9875  0.00    0.00    30.0000  0.0000;
    68      69      0.90    1.10    0.0125  0.9500  0.00    0.00    30.0000  0.0000;
    81      80      0.90    1.10    0.0125  0.9875  0.00    0.00    30.0000  0.0000;
];


%%    Switchable Volt Ampere Reactive compensator (SVAR) data 
%    bus     min      max      increment      setting
mpc.svar = [
    34      0.000    30.000   0.500    18.000 ;
    44      0.000    30.000   0.500    4.000  ;
    45      0.000    30.000   0.500    19.500 ;
    46      0.000    30.000   0.500    21.500 ;
    48      0.000    30.000   0.500    7.500  ;
    74      0.000    30.000   0.500    30.000 ;
    79      0.000    30.000   0.500    30.000 ;
    82      0.000    30.000   0.500    30.000 ;
    83      0.000    30.000   0.500    11.000 ;
    105     0.000    30.000   0.500    12.000 ;
    107     0.000    30.000   0.500    15.500 ;
    110     0.000    30.000   0.500    17.000 ;
];


