text: # Copyright (c) 1996-2015 PSERC. All rights reserved.
  # Use of this source code is governed by a BSD-style
  # license that can be found in the LICENSE file.
  
  """Power flow data for IEEE 300 bus test case.
  """
  
  from numpy import array
  
  def case300():
      """Power flow data for IEEE 300 bus test case.
      Please see L{caseformat} for details on the case file format.
  
      This data was converted from IEEE Common Data Format
      (ieee300cdf.txt) on 20-Sep-2004 by cdf2matp, rev. 1.11
      See end of file for warnings generated during conversion.
  
      Converted from IEEE CDF file from:
      U{http://www.ee.washington.edu/research/pstca/}
  
      13/05/91 CYME INTERNATIONAL    100.0 1991 S IEEE 300-BUS TEST SYSTEM
  
      @return: Power flow data for IEEE 300 bus test case.
      """
      ppc = {"version": '2'}
  
      ##-----  Power Flow Data  -----##
      ## system MVA base
      ppc["baseMVA"] = 100.0
  
      ## bus data
      # bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax Vmin
      ppc["bus"] = array([
          [1, 1, 90, 49, 0, 0, 1, 1.0284, 5.95, 115, 1, 1.06, 0.94                 ,0 ,      0.01 ],
          [2, 1, 56, 15, 0, 0, 1, 1.0354, 7.74, 115, 1, 1.06, 0.94                 ,0 ,      0.01 ],
          [3, 1, 20, 0, 0, 0, 1, 0.9971, 6.64, 230, 1, 1.06, 0.94                  ,0 ,      0.01 ],
          [4, 1, 0, 0, 0, 0, 1, 1.0308, 4.71, 345, 1, 1.06, 0.94                   ,0 ,      0 ],
          [5, 1, 353, 130, 0, 0, 1, 1.0191, 4.68, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [6, 1, 120, 41, 0, 0, 1, 1.0312, 6.99, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [7, 1, 0, 0, 0, 0, 1, 0.9934, 6.19, 230, 1, 1.06, 0.94                   ,0 ,      0 ],
          [8, 2, 63, 14, 0, 0, 1, 1.0153, 2.4, 115, 1, 1.06, 0.94                  ,0.01 ,   0.01 ],
          [9, 1, 96, 43, 0, 0, 1, 1.0034, 2.85, 115, 1, 1.06, 0.94                 ,0 ,      0.01 ],
          [10, 2, 153, 33, 0, 0, 1, 1.0205, 1.35, 230, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [11, 1, 83, 21, 0, 0, 1, 1.0057, 2.46, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [12, 1, 0, 0, 0, 0, 1, 0.9974, 5.21, 230, 1, 1.06, 0.94                  ,0 ,      0 ],
          [13, 1, 58, 10, 0, 0, 1, 0.9977, -0.55, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [14, 1, 160, 60, 0, 0, 1, 0.9991, -4.81, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [15, 1, 126.7, 23, 0, 0, 1, 1.0343, -8.59, 115, 1, 1.06, 0.94            ,0 ,      0.01 ],
          [16, 1, 0, 0, 0, 0, 1, 1.0315, -2.65, 345, 1, 1.06, 0.94                 ,0 ,      0 ],
          [17, 1, 561, 220, 0, 0, 1, 1.0649, -13.1, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [18, 1, 0, 0, 0, 0, 1, 0.982, 1.08, 230, 1, 1.06, 0.94                   ,0 ,      0 ],
          [19, 2, 605, 120, 0, 0, 1, 1.001, -2.46, 115, 1, 1.06, 0.94              ,0.01 ,   0.01 ],
          [20, 1, 77, 1, 0, 0, 1, 0.9752, 1.62, 230, 1, 1.06, 0.94                 ,0 ,      0.01 ],
          [21, 1, 81, 23, 0, 0, 1, 0.9963, -1.97, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [22, 1, 21, 7, 0, 0, 1, 1.0501, 3.94, 115, 1, 1.06, 0.94                 ,0 ,      0.01 ],
          [23, 1, 0, 0, 0, 0, 1, 1.0057, 6.02, 230, 1, 1.06, 0.94                  ,0 ,      0 ],
          [24, 1, 45, 12, 0, 0, 1, 1.0234, 1.44, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [25, 1, 28, 9, 0, 0, 1, 0.9986, -1.73, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [26, 1, 69, 13, 0, 0, 1, 0.975, -4.9, 115, 1, 1.06, 0.94                 ,0 ,      0.01 ],
          [27, 1, 55, 6, 0, 0, 1, 1.0244, -12.02, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [28, 1, 0, 0, 0, 0, 1, 1.0414, -7.94, 345, 1, 1.06, 0.94                 ,0 ,      0 ],
          [29, 1, 0, 0, 0, 0, 1, 0.9757, -25.72, 115, 1, 1.06, 0.94                ,0 ,      0 ],
          [30, 1, 0, 0, 0, 0, 1, 1.0011, -22.59, 230, 1, 1.06, 0.94                ,0 ,      0 ],
          [31, 1, 85, 32, 0, 0, 1, 1.0201, -11.23, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [32, 1, 155, 18, 0, 0, 1, 1.0202, -12.56, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [33, 1, 0, 0, 0, 0, 1, 1.0535, -5.81, 345, 1, 1.06, 0.94                 ,0 ,      0 ],
          [34, 1, 46, -21, 0, 0, 1, 1.0216, -12.78, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [35, 1, 86, 0, 0, 0, 1, 1.0292, -10.45, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [36, 1, 0, 0, 0, 0, 1, 1.0448, -7.44, 345, 1, 1.06, 0.94                 ,0 ,      0 ],
          [37, 1, 39, 9, 0, 0, 1, 1.0006, -16.79, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [38, 1, 195, 29, 0, 0, 1, 1.0086, -17.47, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [39, 1, 0, 0, 0, 0, 1, 1.0215, -14.74, 230, 1, 1.06, 0.94                ,0 ,      0 ],
          [40, 1, 0, 0, 0, 0, 1, 1.0344, -11.75, 345, 1, 1.06, 0.94                ,0 ,      0 ],
          [41, 1, 58, 11.8, 0, 0, 1, 0.9777, -23.17, 115, 1, 1.06, 0.94            ,0 ,      0.01 ],
          [42, 1, 41, 19, 0, 0, 1, 1.0019, -16.09, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [43, 1, 92, 26, 0, 0, 1, 1.0475, -2.95, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [44, 1, -5, 5, 0, 0, 1, 1.0253, -8.15, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [45, 1, 61, 28, 0, 0, 1, 0.9979, -11.86, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [46, 1, 69, 3, 0, 0, 1, 0.9959, -17.6, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [47, 1, 10, 1, 0, 0, 1, 1.005, -16.25, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [48, 1, 22, 10, 0, 0, 1, 1.015, -12.21, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [49, 1, 98, 20, 0, 0, 1, 1.0335, -8, 115, 1, 1.06, 0.94                  ,0 ,      0.01 ],
          [50, 1, 14, 1, 0, 0, 1, 0.9918, -5.99, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [51, 1, 218, 106, 0, 0, 1, 0.9789, -5.29, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [52, 1, 0, 0, 0, 0, 1, 1.0246, -9.56, 230, 1, 1.06, 0.94                 ,0 ,      0 ],
          [53, 1, 227, 110, 0, 0, 1, 0.9906, -3.47, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [54, 1, 0, 0, 0, 0, 1, 1.016, -1.1, 230, 1, 1.06, 0.94                   ,0 ,      0 ],
          [55, 2, 70, 30, 0, 0, 1, 0.9583, -17.62, 115, 1, 1.06, 0.94              ,0.01 ,   0.01 ],
          [56, 1, 0, 0, 0, 0, 1, 0.948, -12.97, 230, 1, 1.06, 0.94                 ,0 ,      0 ],
          [57, 1, 0, 0, 0, 0, 1, 0.963, -25.66, 115, 1, 1.06, 0.94                 ,0 ,      0 ],
          [58, 1, 56, 20, 0, 0, 1, 0.9513, -35.16, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [59, 1, 116, 38, 0, 0, 1, 0.9793, -29.88, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [60, 1, 57, 19, 0, 0, 1, 0.9696, -27.48, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [61, 1, 224, 71, 0, 0, 1, 0.9775, -25.77, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [62, 1, 0, 0, 0, 0, 1, 0.9964, -22, 230, 1, 1.06, 0.94                   ,0 ,      0 ],
          [63, 2, 208, 107, 0, 0, 1, 0.9632, -26.54, 115, 1, 1.06, 0.94            ,0.01 ,   0.01 ],
          [64, 1, 74, 28, 0, 0, 1, 0.9837, -24.94, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [65, 1, 0, 0, 0, 0, 1, 0.99, -24.05, 115, 1, 1.06, 0.94                  ,0 ,      0 ],
          [66, 1, 48, 14, 0, 0, 1, 0.982, -24.97, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [67, 1, 28, 7, 0, 0, 1, 0.9872, -24.97, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [68, 1, 0, 0, 0, 0, 1, 1.034, -18.89, 345, 1, 1.06, 0.94                 ,0 ,      0 ],
          [69, 2, 37, 13, 0, 0, 1, 1.025, -17.16, 115, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [70, 1, 0, 0, 0, 0, 1, 0.9872, -17.68, 230, 1, 1.06, 0.94                ,0 ,      0 ],
          [71, 1, 0, 0, 0, 0, 1, 0.9909, -14.19, 230, 1, 1.06, 0.94                ,0 ,      0 ],
          [72, 1, 0, 0, 0, 0, 1, 0.9921, -7.77, 230, 1, 1.06, 0.94                 ,0 ,      0 ],
          [73, 1, 0, 0, 0, 0, 1, 1.0151, -20.96, 230, 1, 1.06, 0.94                ,0 ,      0 ],
          [74, 1, 44.2, 0, 0, 0, 1, 1.0317, -11.13, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [75, 1, 66, 0, 0, 0, 1, 1.0272, -11.23, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [76, 2, 17.4, 0, 0, 0, 1, 1.052, -9.4, 115, 1, 1.06, 0.94                ,0.01 ,   0.01 ],
          [77, 2, 15.8, 0, 0, 0, 1, 1.052, -6.2, 115, 1, 1.06, 0.94                ,0.01 ,   0.01 ],
          [78, 1, 60.3, 0, 0, 0, 1, 0.993, -9.42, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [79, 1, 39.9, 0, 0, 0, 1, 1.0183, -13.24, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [80, 2, 66.7, 0, 0, 0, 1, 1, -14.6, 115, 1, 1.06, 0.94                   ,0.01 ,   0.01 ],
          [81, 1, 83.5, 0, 0, 0, 1, 0.9894, -20.27, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [82, 1, 0, 0, 0, 0, 1, 1.006, -14.45, 115, 1, 1.06, 0.94                 ,0 ,      0 ],
          [83, 1, 77.8, 0, 0, 0, 1, 1.0008, -15.23, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [84, 1, 32, 0, 0, 0, 1, 1.0288, -12.06, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [85, 1, 8.6, 0, 0, 0, 1, 0.9958, -17.33, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [86, 1, 49.6, 0, 0, 0, 1, 1.0223, -12.94, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [87, 1, 4.6, 0, 0, 0, 1, 1.0095, -16.03, 115, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [88, 2, 112.1, 0, 0, 0, 1, 0.99, -20.26, 115, 1, 1.06, 0.94              ,0.01 ,   0.01 ],
          [89, 1, 30.7, 0, 0, 0, 1, 0.9749, -26.06, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [90, 1, 63, 0, 0, 0, 1, 0.973, -24.72, 115, 1, 1.06, 0.94                ,0 ,      0.01 ],
          [91, 1, 19.6, 0, 0, 0, 1, 0.9725, -28.69, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [92, 1, 26.2, 0, 0, 0, 1, 0.97, -25.38, 115, 1, 1.06, 0.94               ,0 ,      0.01 ],
          [93, 1, 18.2, 0, 0, 0, 1, 0.9747, -28.59, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [94, 1, 0, 0, 0, 0, 1, 0.9603, -13.57, 115, 2, 1.06, 0.94                ,0 ,      0 ],
          [95, 1, 0, 0, 0, 0, 1, 1.0249, -12.69, 115, 2, 1.06, 0.94                ,0 ,      0 ],
          [96, 1, 0, 0, 0, 325, 1, 0.9348, -4.72, 115, 2, 1.06, 0.94               ,0 ,      0 ],
          [97, 1, 14.1, 650, 0, 0, 1, 0.9298, -4.12, 115, 2, 1.06, 0.94            ,0 ,      0.01 ],
          [98, 2, 0, 0, 0, 0, 1, 1.0435, 5.17, 115, 2, 1.06, 0.94                  ,0.01 ,   0.01 ],
          [99, 1, 777, 215, 0, 55, 1, 0.9584, -8.77, 115, 2, 1.06, 0.94            ,0 ,      0.01 ],
          [100, 1, 535, 55, 0, 0, 1, 0.9871, -12.64, 115, 2, 1.06, 0.94            ,0 ,      0.01 ],
          [101, 1, 229.1, 11.8, 0, 0, 1, 0.9728, -14.36, 115, 2, 1.06, 0.94        ,0 ,      0.01 ],
          [102, 1, 78, 1.4, 0, 0, 1, 1.0006, -17.64, 115, 2, 1.06, 0.94            ,0 ,      0.01 ],
          [103, 2, 276.4, 59.3, 0, 0, 1, 1.0233, -13.49, 115, 2, 1.06, 0.94        ,0.01 ,   0.01 ],
          [104, 2, 514.8, 82.7, 0, 0, 1, 1.0103, -18.43, 115, 2, 1.06, 0.94        ,0.01 ,   0.01 ],
          [105, 1, 57.9, 5.1, 0, 0, 1, 0.9978, -12.86, 115, 2, 1.06, 0.94          ,0 ,      0.01 ],
          [106, 1, 380.8, 37, 0, 0, 1, 1.0001, -10.52, 230, 2, 1.06, 0.94          ,0 ,      0.01 ],
          [107, 1, 0, 0, 0, 0, 1, 1.0024, -4.78, 230, 2, 1.06, 0.94                ,0 ,      0 ],
          [108, 1, 0, 0, 0, 0, 1, 1.0028, -4.4, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [109, 1, 0, 0, 0, 0, 1, 1.0191, 5.56, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [110, 1, 0, 0, 0, 0, 1, 0.9861, 6.06, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [111, 1, 0, 0, 0, 0, 1, 1.0045, 3.04, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [112, 1, 0, 0, 0, 0, 1, 1.002, -5.46, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [113, 1, 0, 0, 0, 0, 1, 1.022, -8.04, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [114, 1, 169.2, 41.6, 0, 0, 1, 1.0193, -6.76, 230, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [115, 1, 55.2, 18.2, 0, 0, 1, 1.0476, 1.54, 230, 2, 1.06, 0.94           ,0 ,      0.01 ],
          [116, 1, 273.6, 99.8, 0, 0, 1, 1.0471, -1.45, 230, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [117, 2, 1019.2, 135.2, 0, 0, 1, 1.055, -6.35, 230, 2, 1.06, 0.94        ,0.01 ,   0.01 ],
          [118, 1, 595, 83.3, 0, 0, 1, 1.0117, -3.57, 115, 2, 1.06, 0.94           ,0 ,      0.01 ],
          [119, 1, 387.7, 114.7, 0, 0, 1, 1.043, -3.44, 230, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [120, 2, 145, 58, 0, 0, 1, 1.051, 0.05, 230, 2, 1.06, 0.94               ,0.01 ,   0.01 ],
          [121, 1, 56.5, 24.5, 0, 0, 1, 1.0155, -2.77, 230, 2, 1.06, 0.94          ,0 ,      0.01 ],
          [122, 2, 89.5, 35.5, 0, 0, 1, 1.0435, 4.03, 230, 2, 1.06, 0.94           ,0.01 ,   0.01 ],
          [123, 1, 0, 0, 0, 0, 1, 1.016, -0.7, 230, 2, 1.06, 0.94                  ,0 ,      0 ],
          [124, 1, 24, 14, 0, 0, 1, 1.0081, -0.16, 230, 2, 1.06, 0.94              ,0 ,      0.01 ],
          [125, 2, 0, 0, 0, 0, 1, 1.0528, 4.32, 230, 2, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [126, 2, 0, 0, 0, 0, 1, 1.0528, 8.36, 230, 2, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [127, 1, 63, 25, 0, 0, 1, 1.0577, 0.28, 230, 2, 1.06, 0.94               ,0 ,      0.01 ],
          [128, 2, 0, 0, 0, 0, 1, 1.0735, 5.23, 230, 2, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [129, 1, 0, 0, 0, 0, 1, 0.9869, 6.34, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [130, 1, 0, 0, 0, 0, 1, 1.0048, 4.13, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [131, 2, 17, 9, 0, 0, 1, 1.0535, 9.24, 230, 2, 1.06, 0.94                ,0.01 ,   0.01 ],
          [132, 2, 0, 0, 0, 0, 1, 1.0435, 10.46, 230, 2, 1.06, 0.94                ,0.01 ,   0.01 ],
          [133, 1, 70, 5, 0, 34.5, 1, 0.9663, -1.8, 115, 2, 1.06, 0.94             ,0 ,      0.01 ],
          [134, 1, 200, 50, 0, 0, 1, 1.0177, 6.75, 230, 2, 1.06, 0.94              ,0 ,      0.01 ],
          [135, 2, 75, 50, 0, 0, 1, 0.963, 5.15, 115, 2, 1.06, 0.94                ,0.01 ,   0.01 ],
          [136, 1, 123.5, -24.3, 0, 0, 1, 0.9845, -11.93, 230, 2, 1.06, 0.94       ,0 ,      0.01 ],
          [137, 1, 0, 0, 0, 0, 1, 0.9987, -11.4, 230, 2, 1.06, 0.94                ,0 ,      0 ],
          [138, 1, 33, 16.5, 0, 0, 1, 0.9867, -9.82, 230, 2, 1.06, 0.94            ,0 ,      0.01 ],
          [139, 1, 0, 0, 0, 0, 1, 0.9998, -12.55, 230, 2, 1.06, 0.94               ,0 ,      0 ],
          [140, 1, 35, 15, 0, 0, 1, 1.036, 8.85, 230, 2, 1.06, 0.94                ,0 ,      0.01 ],
          [141, 1, 85, 24, 0, 0, 1, 0.9918, 18.5, 230, 2, 1.06, 0.94               ,0 ,      0.01 ],
          [142, 1, 0, 0.4, 0, 0, 1, 1.041, 2.91, 230, 2, 1.06, 0.94                ,0 ,      0 ],
          [143, 1, 0, 0, 0, -212, 1, 0.9839, 9.66, 230, 2, 1.06, 0.94              ,0 ,      0 ],
          [144, 1, 0, 0, 0, 0, 1, 1.0002, 26.31, 230, 2, 1.06, 0.94                ,0 ,      0 ],
          [145, 1, 0, 0, 0, -103, 1, 0.9973, 30.22, 230, 2, 1.06, 0.94             ,0 ,      0 ],
          [146, 1, 299.9, 95.7, 0, 0, 1, 0.9715, -6.91, 230, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [147, 1, 0, 0, 0, 0, 1, 1.0024, -4.8, 230, 2, 1.06, 0.94                 ,0 ,      0 ],
          [148, 1, 0, 0, 0, 0, 1, 0.9879, -6.68, 230, 2, 1.06, 0.94                ,0 ,      0 ],
          [149, 2, 481.8, 205, 0, 0, 1, 0.929, 0.09, 115, 2, 1.06, 0.94            ,0.01 ,   0.01 ],
          [150, 2, 763.6, 291.1, 0, 0, 1, 0.9829, -9.94, 115, 2, 1.06, 0.94        ,0.01 ,   0.01 ],
          [151, 1, 26.5, 0, 0, 0, 1, 1.0244, -6.22, 115, 2, 1.06, 0.94             ,0 ,      0.01 ],
          [152, 1, 163.5, 43, 0, 53, 1, 0.9837, -12.75, 115, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [153, 1, 0, 0, 0, 0, 1, 1.0622, -2.69, 115, 2, 1.06, 0.94                ,0 ,      0 ],
          [154, 1, 176, 83, 0, 0, 1, 0.973, -7.21, 115, 2, 1.06, 0.94              ,0 ,      0.01 ],
          [155, 2, 5, 4, 0, 0, 1, 1.0522, 4.67, 115, 2, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [156, 2, 28, 12, 0, 0, 1, 1.0077, 0.62, 115, 2, 1.06, 0.94               ,0.01 ,   0.01 ],
          [157, 1, 427.4, 173.6, 0, 0, 1, 0.9397, -6.56, 115, 2, 1.06, 0.94        ,0 ,      0.01 ],
          [158, 1, 74, 29, 0, 45, 1, 0.9699, -9.37, 115, 2, 1.06, 0.94             ,0 ,      0.01 ],
          [159, 1, 69.5, 49.3, 0, 0, 1, 0.9793, -3.09, 115, 2, 1.06, 0.94          ,0 ,      0.01 ],
          [160, 1, 73.4, 0, 0, 0, 1, 1.0518, -1.33, 230, 2, 1.06, 0.94             ,0 ,      0.01 ],
          [161, 1, 240.7, 89, 0, 0, 1, 1.0447, -4.19, 230, 2, 1.06, 0.94           ,0 ,      0.01 ],
          [162, 1, 40, 4, 0, 0, 1, 0.9717, 7.12, 115, 2, 1.06, 0.94                ,0 ,      0.01 ],
          [163, 1, 136.8, 16.6, 0, 0, 1, 1.0386, -6.85, 230, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [164, 2, 0, 0, 0, 0, 1, 1.0522, -4.33, 230, 2, 1.06, 0.94                ,0.01 ,   0.01 ],
          [165, 2, 59.8, 24.3, 0, 0, 1, 1.065, 2.17, 230, 2, 1.06, 0.94            ,0.01 ,   0.01 ],
          [166, 2, 59.8, 24.3, 0, 0, 1, 1.065, 1.4, 230, 2, 1.06, 0.94             ,0.01 ,   0.01 ],
          [167, 1, 182.6, 43.6, 0, 0, 1, 1.0533, -0.72, 230, 2, 1.06, 0.94         ,0 ,      0.01 ],
          [168, 1, 7, 2, 0, 0, 1, 0.9975, -25.84, 66, 3, 1.06, 0.94                ,0 ,      0.01 ],
          [169, 2, 0, 0, 0, -150, 1, 1.0551, -20.62, 345, 3, 1.06, 0.94            ,0.01 ,   0.01 ],
          [170, 2, 489, 53, 0, 0, 1, 1.0435, 12.25, 230, 3, 1.06, 0.94             ,0.01 ,   0.01 ],
          [171, 1, 800, 72, 0, 0, 1, 0.9374, -11.18, 230, 3, 1.06, 0.94            ,0 ,      0.01 ],
          [172, 1, 0, 0, 0, 0, 1, 0.9897, -26.09, 66, 3, 1.06, 0.94                ,0 ,      0 ],
          [173, 1, 0, 0, 0, 0, 1, 1.0489, -19.21, 345, 3, 1.06, 0.94               ,0 ,      0 ],
          [174, 1, 0, 0, 0, 0, 1, 1.0357, -20.79, 345, 3, 1.06, 0.94               ,0 ,      0 ],
          [175, 1, 10, 3, 0, 0, 1, 0.9695, -25.32, 115, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [176, 1, 43, 14, 0, 0, 1, 0.9907, -23.72, 115, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [177, 2, 64, 21, 0, 0, 1, 1.015, -20.58, 115, 3, 1.06, 0.94              ,0.01 ,   0.01 ],
          [178, 1, 35, 12, 0, 0, 1, 0.9528, -26.05, 115, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [179, 1, 27, 12, 0, 0, 1, 0.955, -25.93, 115, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [180, 1, 41, 14, 0, 0, 1, 0.9692, -27.49, 66, 1, 1.06, 0.94              ,0 ,      0.01 ],
          [181, 1, 38, 13, 0, 0, 1, 0.9908, -25.33, 66, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [182, 1, 42, 14, 0, 0, 1, 1.0033, -22.35, 115, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [183, 1, 72, 24, 0, 0, 1, 0.9718, -25.7, 66, 3, 1.06, 0.94               ,0 ,      0.01 ],
          [184, 1, 0, -5, 0, 0, 1, 0.9838, -26.07, 66, 3, 1.06, 0.94               ,0 ,      0 ],
          [185, 1, 12, 2, 0, 0, 1, 0.9992, -27.41, 66, 3, 1.06, 0.94               ,0 ,      0.01 ],
          [186, 1, -21, -14.2, 0, 0, 1, 1.0137, -27.44, 66, 1, 1.06, 0.94          ,0 ,      0.01 ],
          [187, 1, 7, 2, 0, 0, 1, 0.9929, -26.28, 66, 3, 1.06, 0.94                ,0 ,      0.01 ],
          [188, 1, 38, 13, 0, 0, 1, 0.9999, -25.66, 66, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [189, 1, 0, 0, 0, 0, 1, 0.9788, -24.22, 115, 3, 1.06, 0.94               ,0 ,      0 ],
          [190, 1, 96, 7, 0, 0, 1, 1.0017, -23.31, 115, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [191, 1, 0, 0, 0, 0, 1, 1.0132, -22.51, 138, 3, 1.06, 0.94               ,0 ,      0 ],
          [192, 2, 0, 0, 0, 0, 1, 1.01, -11.67, 16.5, 3, 1.06, 0.94                ,0.01 ,   0.01 ],
          [193, 1, 22, 16, 0, 0, 1, 0.9919, -17.53, 138, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [194, 1, 47, 26, 0, 0, 1, 0.9866, -20.23, 138, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [195, 1, 176, 105, 0, 0, 1, 0.9751, -22.53, 138, 3, 1.06, 0.94           ,0 ,      0.01 ],
          [196, 1, 100, 75, 0, 0, 1, 1.0215, -22.2, 138, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [197, 1, 131, 96, 0, 0, 1, 1.0075, -22.63, 138, 3, 1.06, 0.94            ,0 ,      0.01 ],
          [198, 1, 0, 0, 0, 0, 1, 1.0554, -21.15, 345, 3, 1.06, 0.94               ,0 ,      0 ],
          [199, 2, 285, 100, 0, 0, 1, 1.008, -21.73, 138, 3, 1.06, 0.94            ,0.01 ,   0.01 ],
          [200, 2, 171, 70, 0, 0, 1, 1, -22.49, 138, 3, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [201, 2, 328, 188, 0, 0, 1, 1.05, -23.17, 20, 3, 1.06, 0.94              ,0.01 ,   0.01 ],
          [202, 1, 428, 232, 0, 0, 1, 0.9965, -22.7, 138, 3, 1.06, 0.94            ,0 ,      0.01 ],
          [203, 1, 173, 99, 0, 0, 1, 1.0002, -21.55, 230, 3, 1.06, 0.94            ,0 ,      0.01 ],
          [204, 1, 410, 40, 0, 0, 1, 0.9453, -11.34, 230, 3, 1.06, 0.94            ,0 ,      0.01 ],
          [205, 1, 0, 0, 0, 0, 1, 1.018, -21.61, 230, 3, 1.06, 0.94                ,0 ,      0 ],
          [206, 2, 538, 369, 0, 0, 1, 1, -27.22, 27, 3, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [207, 1, 223, 148, 0, 0, 1, 1.0423, -20.94, 138, 3, 1.06, 0.94           ,0 ,      0.01 ],
          [208, 1, 96, 46, 0, 0, 1, 1.0496, -19.94, 138, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [209, 2, 0, 0, 0, 0, 1, 1.04, -13.82, 20, 3, 1.06, 0.94                  ,0.01 ,   0.01 ],
          [210, 1, 159, 107, 0, -300, 1, 1.0535, -21.22, 345, 3, 1.06, 0.94        ,0 ,      0.01 ],
          [211, 1, 448, 143, 0, 0, 1, 1.0414, -23.19, 138, 3, 1.06, 0.94           ,0 ,      0.01 ],
          [212, 2, 404, 212, 0, 0, 1, 1, -25.9, 66, 3, 1.06, 0.94                  ,0.01 ,   0.01 ],
          [213, 1, 572, 244, 0, 0, 1, 1.0387, -20.89, 138, 3, 1.06, 0.94           ,0 ,      0.01 ],
          [214, 1, 269, 157, 0, 0, 1, 1.0095, -21.03, 138, 3, 1.06, 0.94           ,0 ,      0.01 ],
          [215, 2, 0, 0, 0, 0, 1, 1.0165, -15.4, 20, 3, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [216, 1, 0, 0, 0, 0, 1, 1.0558, -21.1, 345, 3, 1.06, 0.94                ,0 ,      0 ],
          [217, 2, 255, 149, 0, -150, 1, 1.01, -20.94, 138, 3, 1.06, 0.94          ,0.01 ,   0.01 ],
          [218, 2, 0, 0, 0, 0, 1, 1, -15.86, 138, 3, 1.06, 0.94                    ,0.01 ,   0.01 ],
          [219, 1, 0, 0, 0, -140, 1, 1.0237, -20.14, 230, 3, 1.06, 0.94            ,0 ,      0 ],
          [220, 2, 0, 0, 0, 0, 1, 1.05, -16.5, 20, 3, 1.06, 0.94                   ,0.01 ,   0.01 ],
          [221, 2, 0, 0, 0, 0, 1, 0.993, -17.53, 138, 3, 1.06, 0.94                ,0.01 ,   0.01 ],
          [222, 2, 8, 3, 0, 0, 1, 1.01, -19.27, 66, 3, 1.06, 0.94                  ,0.01 ,   0.01 ],
          [223, 1, 0, 0, 0, 0, 1, 0.9921, -20.21, 66, 3, 1.06, 0.94                ,0 ,      0 ],
          [224, 1, 61, 30, 0, 0, 1, 0.9711, -20.9, 66, 3, 1.06, 0.94               ,0 ,      0.01 ],
          [225, 1, 77, 33, 0, 0, 1, 0.9651, -21.74, 66, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [226, 1, 61, 30, 0, 0, 1, 0.9688, -21.67, 66, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [227, 1, 29, 14, 0, 45.6, 1, 0.976, -25.23, 66, 3, 1.06, 0.94            ,0 ,      0.01 ],
          [228, 1, 29, 14, 0, 0, 1, 0.9752, -25.65, 66, 3, 1.06, 0.94              ,0 ,      0.01 ],
          [229, 1, -23, -17, 0, 0, 1, 1.0196, -23.8, 66, 3, 1.06, 0.94             ,0 ,      0.01 ],
          [230, 1, -33.1, -29.4, 0, 0, 1, 1.0251, -20.06, 230, 3, 1.06, 0.94       ,0 ,      0.01 ],
          [231, 1, 115.8, -24, 0, 0, 1, 1.0152, 1.48, 230, 1, 1.06, 0.94           ,0 ,      0.01 ],
          [232, 1, 2.4, -12.6, 0, 0, 1, 1.0146, -2.23, 115, 1, 1.06, 0.94          ,0 ,      0.01 ],
          [233, 1, 2.4, -3.9, 0, 0, 1, 1.0005, -17.61, 115, 1, 1.06, 0.94          ,0 ,      0.01 ],
          [234, 1, -14.9, 26.5, 0, 0, 1, 0.981, -13.69, 230, 1, 1.06, 0.94         ,0 ,      0.01 ],
          [235, 1, 24.7, -1.2, 0, 0, 1, 0.975, -23.42, 115, 1, 1.06, 0.94          ,0 ,      0.01 ],
          [236, 1, 145.3, -34.9, 0, 0, 1, 0.9429, -34.31, 115, 1, 1.06, 0.94       ,0 ,      0.01 ],
          [237, 1, 28.1, -20.5, 0, 0, 1, 0.9723, -37.58, 115, 1, 1.06, 0.94        ,0 ,      0.01 ],
          [238, 1, 14, 2.5, 0, 0, 1, 0.9604, -29.1, 115, 1, 1.06, 0.94             ,0 ,      0.01 ],
          [239, 1, -11.1, -1.4, 0, 0, 1, 1.0009, -23.36, 115, 1, 1.06, 0.94        ,0 ,      0.01 ],
          [240, 1, 50.5, 17.4, 0, 0, 1, 0.9777, -28, 230, 1, 1.06, 0.94            ,0 ,      0.01 ],
          [241, 1, 29.6, 0.6, 0, 0, 1, 0.9583, -28.79, 115, 1, 1.06, 0.94          ,0 ,      0.01 ],
          [242, 1, -113.7, 76.7, 0, 0, 1, 1.0309, -17, 345, 3, 1.06, 0.94          ,0 ,      0.01 ],
          [243, 1, 100.31, 29.17, 0, 0, 1, 1.0128, 3.9, 86, 2, 1.06, 0.94          ,0 ,      0.01 ],
          [244, 1, -100, 34.17, 0, 0, 1, 1.0244, -7.52, 86, 2, 1.06, 0.94          ,0 ,      0.01 ],
          [245, 1, 0, 0, 0, 0, 1, 1.0122, -15.18, 115, 2, 1.06, 0.94               ,0 ,      0 ],
          [246, 1, 0, 0, 0, 0, 1, 0.9653, -14.94, 115, 3, 1.06, 0.94               ,0 ,      0 ],
          [247, 2, 0, 0, 0, 0, 1, 1.0507, 10.79, 13.8, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [248, 2, 0, 0, 0, 0, 1, 1.0507, 12.48, 13.8, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [249, 2, 0, 0, 0, 0, 1, 1.0323, 13.76, 13.8, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [250, 2, 0, 0, 0, 0, 1, 1.0145, 4.99, 13.8, 1, 1.06, 0.94                ,0.01 ,   0.01 ],
          [251, 2, 0, 0, 0, 0, 1, 1.0507, 11.57, 13.8, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [252, 2, 0, 0, 0, 0, 1, 1.0507, -10.47, 13.8, 1, 1.06, 0.94              ,0.01 ,   0.01 ],
          [253, 2, 0, 0, 0, 0, 1, 1.0507, 6.15, 13.8, 1, 1.06, 0.94                ,0.01 ,   0.01 ],
          [254, 2, 0, 0, 0, 0, 1, 1.029, 12.6, 13.8, 1, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [255, 2, 0, 0, 0, 0, 1, 1.05, 2.11, 20, 1, 1.06, 0.94                    ,0.01 ,   0.01 ],
          [256, 2, 0, 0, 0, 0, 1, 1.0145, -13.92, 13.8, 1, 1.06, 0.94              ,0.01 ,   0.01 ],
          [257, 3, 0, 0, 0, 0, 1, 1.0507, 0, 13.8, 1, 1.06, 0.94                   ,0.01 ,   0.01 ],
          [258, 2, 0, 0, 0, 0, 1, 0.9967, -7.5, 13.8, 1, 1.06, 0.94                ,0.01 ,   0.01 ],
          [259, 2, 0, 0, 0, 0, 1, 1.0212, -3.44, 13.8, 1, 1.06, 0.94               ,0.01 ,   0.01 ],
          [260, 2, 0, 0, 0, 0, 1, 1.0145, 1.97, 13.8, 1, 1.06, 0.94                ,0.01 ,   0.01 ],
          [261, 2, 0, 0, 0, 0, 1, 1.0017, 5.8, 13.8, 1, 1.06, 0.94                 ,0.01 ,   0.01 ],
          [262, 2, 0, 0, 0, 0, 1, 0.9893, -25.35, 13.8, 1, 1.06, 0.94              ,0.01 ,   0.01 ],
          [263, 2, 0, 0, 0, 0, 1, 1.0507, 19.02, 13.8, 2, 1.06, 0.94               ,0.01 ,   0.01 ],
          [264, 2, 0, 0, 0, 0, 1, 1.0507, 2.75, 13.8, 2, 1.06, 0.94                ,0.01 ,   0.01 ],
          [265, 2, 0, 0, 0, 0, 1, 1.0145, 35.05, 13.8, 2, 1.06, 0.94               ,0.01 ,   0.01 ],
          [266, 1, 0, 0, 0, 0, 1, 1.0117, -11.25, 115, 9, 1.06, 0.94               ,0 ,      0 ],
          [267, 2, 4.2, 0, 0, 0, 1, 0.9945, -18.86, 6.6, 9, 1.06, 0.94             ,0.01 ,   0.01 ],
          [268, 1, 2.71, 0.94, 0.14, 2.4, 1, 0.9833, -19.68, 6.6, 9, 1.06, 0.94    ,0 ,      0.01 ],
          [269, 1, 0.86, 0.28, 0, 0, 1, 0.9768, -19.82, 6.6, 9, 1.06, 0.94         ,0 ,      0.01 ],
          [270, 1, 0, 0, 0, 0, 1, 1.0117, -11.32, 115, 9, 1.06, 0.94               ,0 ,      0 ],
          [271, 1, 0, 0, 0, 0, 1, 1.0029, -17.42, 6.6, 9, 1.06, 0.94               ,0 ,      0 ],
          [272, 1, 0, 0, 0, 0, 1, 0.9913, -18.69, 6.6, 9, 1.06, 0.94               ,0 ,      0 ],
          [273, 1, 0, 0, 0, 0, 1, 1.0023, -17.27, 6.6, 9, 1.06, 0.94               ,0 ,      0 ],
          [274, 1, 4.75, 1.56, 0, 0, 1, 0.9887, -19.09, 6.6, 9, 1.06, 0.94         ,0 ,      0.01 ],
          [275, 1, 1.53, 0.53, 0.08, 0, 1, 0.9648, -21.67, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [276, 1, 0, 0, 0, 0, 1, 0.9747, -19.41, 6.6, 9, 1.06, 0.94               ,0 ,      0 ],
          [277, 1, 1.35, 0.47, 0.07, 0, 1, 0.9706, -21.43, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [278, 1, 0.45, 0.16, 0.02, 0, 1, 0.9649, -20.48, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [279, 1, 0.45, 0.16, 0.02, 0, 1, 0.9657, -20.39, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [280, 1, 1.84, 0.64, 0.1, 0, 1, 0.9318, -25.03, 0.6, 9, 1.06, 0.94       ,0 ,      0.01 ],
          [281, 1, 1.39, 0.48, 0.07, 0, 1, 0.9441, -23.84, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [282, 1, 1.89, 0.65, 0.1, 0, 1, 0.9286, -25.33, 0.6, 9, 1.06, 0.94       ,0 ,      0.01 ],
          [283, 1, 1.55, 0.54, 0.08, 1.72, 1, 0.9973, -21.1, 0.6, 9, 1.06, 0.94    ,0 ,      0.01 ],
          [284, 1, 1.66, 0.58, 0.09, 0, 1, 0.9506, -23.19, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [285, 1, 3.03, 1, 0, 0, 1, 0.9598, -22.67, 2.3, 9, 1.06, 0.94            ,0 ,      0.01 ],
          [286, 1, 1.86, 0.64, 0.1, 0, 1, 0.957, -22.58, 0.6, 9, 1.06, 0.94        ,0 ,      0.01 ],
          [287, 1, 2.58, 0.89, 0.14, 0, 1, 0.9391, -24.41, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [288, 1, 1.01, 0.35, 0.05, 0, 1, 0.9636, -21.33, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [289, 1, 0.81, 0.28, 0.04, 0, 1, 0.9501, -22.5, 0.6, 9, 1.06, 0.94       ,0 ,      0.01 ],
          [290, 1, 1.6, 0.52, 0, 0, 1, 0.9646, -21.42, 2.3, 9, 1.06, 0.94          ,0 ,      0.01 ],
          [291, 1, 0, 0, 0, 0, 1, 0.979, -19.78, 6.6, 9, 1.06, 0.94                ,0 ,      0 ],
          [292, 2, 35.81, 0, 0, 0, 1, 1, -19.4, 13.8, 9, 1.06, 0.94                ,0.01 ,   0.01 ],
          [293, 1, 30, 23, 0, 0, 1, 0.9786, -17.25, 13.8, 9, 1.06, 0.94            ,0 ,      0.01 ],
          [294, 2, 26.48, 0, 0, 0, 1, 1, -17.68, 13.8, 9, 1.06, 0.94               ,0.01 ,   0.01 ],
          [295, 2, 0, 0, 0, 0, 1, 1, -6.83, 13.8, 9, 1.06, 0.94                    ,0.01 ,   0.01 ],
          [296, 2, 0, 0, 0, 0, 1, 1, -7.54, 13.8, 9, 1.06, 0.94                    ,0.01 ,   0.01 ],
          [297, 1, 1.02, 0.35, 0.05, 0, 1, 0.9752, -20.48, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [298, 1, 1.02, 0.35, 0.05, 0, 1, 0.9803, -19.92, 0.6, 9, 1.06, 0.94      ,0 ,      0.01 ],
          [299, 1, 3.8, 1.25, 0, 0, 1, 0.9799, -19.3, 6.6, 9, 1.06, 0.94           ,0 ,      0.01 ],
          [300, 1, 1.19, 0.41, 0.1, 0, 1, 1.0402, -18.24, 2.3, 9, 1.06, 0.94       ,0 ,      0.01]
      ])
  
      ## 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
      ppc["gen"] = array([
          [8 , 0, 0, 10, -10, 1.0153, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [10 , 0, 0, 20, -20, 1.0205, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [19 , 0, 0, 20, -20, 1.001, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [55 , 0, 0, 25, -25, 0.9583, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [63 , 0, 0, 35, 12, 0.9632, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [69 , 375, 0, 240, -240, 1.025, 100, 1, 475, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [76 , 155, 0, 96, -11, 1.052, 100, 1, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [77 , 290, 0, 153, -153, 1.052, 100, 1, 390, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [80 , 68, 0, 56, -30, 1, 100, 1, 168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [88 , 117, 0, 77, -24, 0.99, 100, 1, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [98 , 1930, 0, 1500, -500, 1.0435, 100, 1, 2030, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [103 , 240, 0, 120, -60, 1.0233, 100, 1, 340, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [104 , 0, 0, 200, -25, 1.0103, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [117 , 0, 0, 350, -125, 1.055, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [120 , 281, 0, 75, -50, 1.051, 100, 1, 381, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [122 , 696, 0, 300, -100, 1.0435, 100, 1, 796, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [125 , 84, 0, 35, -15, 1.0528, 100, 1, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [126 , 217, 0, 100, -50, 1.0528, 100, 1, 317, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [128 , 103, 0, 50, -25, 1.0735, 100, 1, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [131 , 372, 0, 175, -50, 1.0535, 100, 1, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [132 , 216, 0, 90, -50, 1.0435, 100, 1, 316, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [135 , 0, 0, 15, -10, 0.963, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [149 , 205, 0, 90, -40, 0.929, 100, 1, 305, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [150 , 0, 0, 150, -50, 0.9829, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [155 , 228, 0, 90, -45, 1.0522, 100, 1, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [156 , 84, 0, 35, -15, 1.0077, 100, 1, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [164 , 200, 0, 80, -50, 1.0522, 100, 1, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [165 , 1200, 0, 400, -100, 1.065, 100, 1, 1300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [166 , 1200, 0, 400, -100, 1.065, 100, 1, 1300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [169 , 475, 0, 300, -300, 1.0551, 100, 1, 575, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [170 , 1973, 0, 1000, -1000, 1.0435, 100, 1, 2073, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [177 , 424, 0, 260, -260, 1.015, 100, 1, 524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [192 , 272, 0, 150, -150, 1.01, 100, 1, 372, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [199 , 100, 0, 60, -60, 1.008, 100, 1, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [200 , 450, 0, 320, -320, 1, 100, 1, 550, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [201 , 250, 0, 300, -300, 1.05, 100, 1, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [206 , 303, 0, 300, -300, 1, 100, 1, 403, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [209 , 345, 0, 250, -250, 1.04, 100, 1, 445, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [212 , 300, 0, 500, -500, 1, 100, 1, 400, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [215 , 600, 0, 300, -300, 1.0165, 100, 1, 700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [217 , 250, 0, 200, -200, 1.01, 100, 1, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [218 , 550, 0, 400, -400, 1, 100, 1, 650, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [220 , 575.43, 0, 600, -600, 1.05, 100, 1, 675.43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [221 , 170, 0, 100, 40, 0.993, 100, 1, 270, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [222 , 84, 0, 80, 40, 1.01, 100, 1, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [247 , 467, 0, 210, -210, 1.0507, 100, 1, 567, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [248 , 623, 0, 280, -280, 1.0507, 100, 1, 723, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [249 , 1210, 0, 420, -420, 1.0323, 100, 1, 1310, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [250 , 234, 0, 100, -100, 1.0145, 100, 1, 334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [251 , 372, 0, 224, -224, 1.0507, 100, 1, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [252 , 330, 0, 350, 0, 1.0507, 100, 1, 430, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [253 , 185, 0, 120, 0, 1.0507, 100, 1, 285, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [254 , 410, 0, 224, -224, 1.029, 100, 1, 510, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [255 , 500, 0, 200, -200, 1.05, 100, 1, 600, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [256 , 37, 0, 42, 0, 1.0145, 100, 1, 137, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [257 , 0, 0, 10, 0, 1.0507, 100, 1, 2399.01, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [258 , 45, 0, 25, 0, 0.9967, 100, 1, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [259 , 165, 0, 90, -90, 1.0212, 100, 1, 265, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [260 , 400, 0, 150, -150, 1.0145, 100, 1, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [261 , 400, 0, 150, 0, 1.0017, 100, 1, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [262 , 116, 0, 87, 0, 0.9893, 100, 1, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [263 , 1292, 0, 600, -100, 1.0507, 100, 1, 1392, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [264 , 700, 0, 325, -125, 1.0507, 100, 1, 800, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [265 , 553, 0, 300, -200, 1.0145, 100, 1, 653, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [267 , 0, 0, 2, -2, 0.9945, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [292 , 0, 0, 17.35, -17.35, 1, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [294 , 0, 0, 12.83, -12.8, 1, 100, 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [295 , 50, 0, 38, -38, 1, 100, 1, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          [296 , 8, 0, 6, -6, 1, 100, 1, 108, 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
      ppc["branch"] = array([
          [31  ,  266  ,   0,    0.00046,  0,  9900,  0,  75,  1.0082,  0,  1,  -360,  360],
          [266  ,  270  ,  0,     0.00348,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [266  ,  271  ,  0,  0.43682,  0,  9900,  0,  0,  0.9668,  0,  1,  -360,  360],
          [266  ,  273  ,  0,  0.64898,  0,  9900,  0,  0,  0.9796,  0,  1,  -360,  360],
          [270  ,  292  ,  0,  0.37486,  0,  9900,  0,  0,  1.0435,  0,  1,  -360,  360],
          [270  ,  293  ,  0,  0.37486,  0,  9900,  0,  0,  0.9391,  0,  1,  -360,  360],
          [270  ,  294  ,  0,  0.38046,  0,  9900,  0,  0,  1.0435,  0,  1,  -360,  360],
          [270  ,  295  ,  0,   0.152,  0,  9900,  0,  0,  1.0435,  0,  1,  -360,  360],
          [270  ,  296  ,  0,   0.8,  0,  9900,  0,  0,  1.0435,  0,  1,  -360,  360],
          [271  ,  272  ,  0,  0.24666,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [271  ,  268  ,  0,  0.49332,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [271  ,  268  ,  0,  0.49332,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [273  ,  267  ,  0,  0.43286,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [273  ,  267  ,  0,  0.43286,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [267  ,  274  ,  0,     0.07026,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [274  ,  276  ,  0,     0.95278,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [274  ,  275  ,  0,  2.8152,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [267  ,  277  ,  0,  3.2202,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [276  ,  278  ,  0,  3.944,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [276  ,  279  ,  0,     3.6152,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [272  ,  297  ,  0,     2.9668,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [272  ,  298  ,  0,  2.057,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [272  ,  268  ,  0,     0.24666,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [268  ,  280  ,  0,  4.6724,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  281  ,  0,  4.8846,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  282  ,  0,  4.8056,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  291  ,  0,  0.06352,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [291  ,  269  ,  0,  0.02894,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [269  ,  288  ,  0,  2.456,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [269  ,  289  ,  0,     5.4536,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [269  ,  290  ,  0,     1.6994,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  283  ,  0,  1.3912,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  284  ,  0,  3.4572,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  285  ,  0,  1.6729,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  286  ,  0,     2.5712,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [268  ,  287  ,  0,     2.9668,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [273  ,  299  ,  0,  0.99036,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [294  ,  300  ,  0,   0.75,  0,  9900,  0,  0,  0.9583,  0,  1,  -360,  360],
          [1  ,  5  ,  0,    0.006,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [2  ,  6  ,  0,    0.009,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [2  ,  8  ,  0,    0.027,  0.054,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [3  ,  7  ,  0,   0.003,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [3  ,  18  ,     0,    0.069,  0.139,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [3  ,  129  ,    0,    0.007,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [4  ,  16  ,     0,    0.019,  1.127,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [5  ,  9  ,  0,    0.029,  0.018,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [7  ,  12  ,     0,    0.009,  0.07,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [7  ,  110  ,    0,  0.007,  0.014,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [8  ,  11  ,     0, 0.0595,  0.033,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [8  ,  14  ,     0, 0.042,  0.081,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [9  ,  11  ,     0, 0.027,  0.013,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [11  ,  13  ,    0,  0.034,  0.018,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [12  ,  20  ,    0,  0.015,  0.118,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [13  ,  19  ,    0,  0.034,  0.016,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [14  ,  15  ,    0,  0.042,  0.097,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [15  ,  31  ,    0,  0.248,  0.121,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [15  ,  74  ,    0,  0.248,  0.035,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [15  ,  75  ,    0,  0.363,  0.048,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [16  ,  36  ,    0,  0.022,  1.28,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [18  ,  20  ,    0,  0.018,  0.036,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [18  ,  72  ,    0,  0.08,  0.151,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [19  ,  21  ,    0,  0.033,  0.015,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [19  ,  26  ,    0,  0.186,  0.098,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [20  ,  23  ,    0,  0.034,  0.28,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [21  ,  22  ,    0,  0.111,  0.05,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [22  ,  24  ,    0,  0.039,  0.018,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [23  ,  231  ,   0,   0.068,  0.134,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [24  ,  25  ,    0,  0.071,  0.034,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [25  ,  26  ,    0,   0.12,  0.065,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [25  ,  232  ,   0,   0.13,  0.014,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [27  ,  28  ,    0,   0.063,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [27  ,  32  ,    0,   0.012,  0.013,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [27  ,  34  ,    0,  0.029,  0.02,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [27  ,  35  ,    0,  0.043,  0.026,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [28  ,  36  ,    0,  0.008,  0.042,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [29  ,  60  ,    0,  0.06,  0.008,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [29  ,  63  ,    0,  0.014,  0.002,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [29  ,  64  ,    0, 0.029,  0.003,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [30  ,  73  ,    0,  0.027,  0.043,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [31  ,  32  ,    0,  0.047,  0.008,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [31  ,  34  ,    0,  0.064,  0.007,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [31  ,  35  ,    0, 0.036,  0.02,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [31  ,  43  ,    0,  0.081,  0.048,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [31  ,  74  ,    0,  0.254,  0.033,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [31  ,  75  ,    0,  0.127,  0.016,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [32  ,  35  ,    0,  0.037,  0.02,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [32  ,  37  ,    0,  0.087,  0.04,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [33  ,  36  ,    0,   0.0064,  0.404,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [34  ,  42  ,    0,  0.154,  0.022,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [35  ,  36  ,    0,   0.029,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [35  ,  43  ,    0,  0.191,  0.02,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [35  ,  44  ,    0,  0.089,  0.036,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [36  ,  40  ,    0,  0.014,  0.806,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [37  ,  38  ,    0,  0.072,  0.035,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [37  ,  42  ,    0,  0.262,  0.032,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [37  ,  46  ,    0,  0.039,  0.016,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [38  ,  41  ,    0,  0.084,  0.039,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [38  ,  47  ,    0,  0.084,  0.037,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [39  ,  52  ,    0,  0.041,  0.312,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [39  ,  62  ,    0,  0.054,  0.411,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [40  ,  68  ,    0,  0.042,  0.69,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [41  ,  61  ,    0,  0.145,  0.073,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [41  ,  92  ,    0,  0.118,  0.013,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [42  ,  87  ,    0,  0.062,  0.007,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [43  ,  44  ,    0,  0.094,  0.043,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [44  ,  45  ,    0,  0.109,  0.049,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [45  ,  48  ,    0,  0.08,  0.036,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [46  ,  47  ,    0,  0.073,  0.035,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [47  ,  48  ,    0,  0.103,  0.047,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [48  ,  49  ,    0,  0.169,  0.082,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [49  ,  50  ,    0,  0.08,  0.036,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [49  ,  55  ,    0,  0.537,  0.071,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [50  ,  51  ,    0,  0.026,  0.005,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [51  ,  53  ,    0,  0.013,  0.015,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [52  ,  54  ,    0,  0.065,  0.485,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [54  ,  56  ,    0,  0.105,  0.203,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [54  ,  123  ,   0,   0.007,  0.013,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [55  ,  236  ,   0,    0.172,  0.026,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [57  ,  190  ,   0,   0.232,  0.028,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [57  ,  66  ,    0,  0.157,  0.023,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [58  ,  59  ,    0,  0.1,  0.062,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [58  ,  237  ,   0,  0.1234,  0.028,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [59  ,  60  ,    0,  0.131,  0.068,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [59  ,  61  ,    0,  0.099,  0.047,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [60  ,  64  ,    0,  0.087,  0.011,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [60  ,  238  ,   0,    0.193,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [61  ,  63  ,    0,  0.057,  0.03,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [61  ,  66  ,    0,  0.052,  0.018,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [62  ,  73  ,    0,  0.027,  0.05,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [62  ,  240  ,   0,    0.2013,  0.379,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [63  ,  64  ,    0,  0.043,  0.004,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [64  ,  65  ,    0,  0.006,  0.007,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [64  ,  67  ,    0,  0.07,  0.038,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [64  ,  239  ,   0,    0.2676,  0.029,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [64  ,  241  ,   0,    0.2127,  0.022,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [65  ,  66  ,    0,  0.022,  0.011,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [65  ,  69  ,    0,   0.036,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [66  ,  190  ,   0,   0.375,  0.051,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [67  ,  190  ,   0,   0.107,  0.058,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [68  ,  173  ,   0,    0.033,  0.53,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [68  ,  174  ,   0,    0.033,  0.53,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [70  ,  71  ,    0,  0.064,  0.128,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [71  ,  72  ,    0,  0.093,  0.183,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [71  ,  234  ,   0,   0.048,  0.092,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [74  ,  76  ,    0,  0.119,  0.014,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [75  ,  77  ,    0,  0.174,  0.024,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [76  ,  78  ,    0,    0.253,  0.031,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [76  ,  79  ,    0,  0.077,  0.039,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [77  ,  84  ,    0,  0.144,  0.017,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [77  ,  86  ,    0,  0.092,  0.012,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [78  ,  79  ,    0,  0.427,  0.043,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [79  ,  82  ,    0,  0.053,  0.007,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [79  ,  83  ,    0,  0.092,  0.012,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [79  ,  84  ,    0,  0.122,  0.015,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [80  ,  82  ,    0,  0.064,  0.007,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [80  ,  83  ,    0,  0.121,  0.015,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [81  ,  87  ,    0,  0.135,  0.017,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [81  ,  88  ,    0,  0.004,  0.002,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [81  ,  89  ,    0,  0.354,  0.044,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [81  ,  90  ,    0, 0.174,  0.022,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [82  ,  83  ,    0,  0.038,  0.004,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [83  ,  85  ,    0,  0.064,  0.027,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [84  ,  86  ,    0,  0.062,  0.008,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [85  ,  88  ,    0,  0.13,  0.044,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [85  ,  233  ,   0,   0.124,  0.015,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [86  ,  87  ,    0,  0.088,  0.011,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [86  ,  90  ,    0,  0.4,  0.047,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [88  ,  235  ,   0,   0.208,  0.026,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [89  ,  90  ,    0, 0.184,  0.021,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [89  ,  92  ,    0,0.274,  0.031,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [89  ,  93  ,    0,  0.393,  0.036,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [90  ,  91  ,    0,  0.404,  0.05,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [91  ,  93  ,    0,  0.042,  0.006,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [94  ,  101  ,   0,    0.0199,  0.004,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [95  ,  99  ,    0,  0.1049,  0.001,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [96  ,  97  ,    0,   0.0018,  0.017,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [97  ,  98  ,    0,   0.0271,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [97  ,  245  ,   0, 0.6163,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [245  ,  99  ,   0,    -0.3697,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [97  ,  100  ,   0,    0.2915,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [98  ,  99  ,    0,    0.0339,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [98  ,  100  ,   0,     0.0582,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [101  ,  102  ,  0,     0.2344,  0.029,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [101  ,  104  ,  0,     0.3669,  0.054,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [102  ,  103  ,  0,    0.1076,  0.117,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [102  ,  104  ,  0,     0.1414,  0.149,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [104  ,  105  ,  0,     0.0197,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [105  ,  106  ,  0,     0.0405,  0.25,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [105  ,  108  ,  0,     0.1106,  0.185,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [105  ,  111  ,  0,     0.1688,  0.321,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [105  ,  136  ,  0,    0.05,  0.33,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [105  ,  137  ,  0,     0.0538,  0.335,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [105  ,  148  ,  0,     0.1157,  0.171,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [106  ,  107  ,  0,     0.0577,  0.095,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [106  ,  113  ,  0,     0.0336,  0.208,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [106  ,  147  ,  0,     0.0577,  0.095,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [107  ,  109  ,  0,     0.0773,  0.126,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [107  ,  112  ,  0,     0.0193,  0.03,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [108  ,  109  ,  0,     0.0752,  0.122,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [108  ,  112  ,  0,     0.0186,  0.03,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [109  ,  111  ,  0,     0.0164,  0.026,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [109  ,  130  ,  0,     0.0165,  0.026,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [109  ,  146  ,  0,     0.0793,  0.127,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [109  ,  147  ,  0,     0.0784,  0.125,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [112  ,  116  ,  0,     0.0117,  0.289,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [112  ,  147  ,  0,     0.0193,  0.03,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [112  ,  148  ,  0,     0.0186,  0.03,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [112  ,  150  ,  0,     0.0101,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [113  ,  114  ,  0,     0.0293,  0.18,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [113  ,  163  ,  0,     0.0381,  0.258,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [114  ,  115  ,  0,     0.0623,  0.385,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [115  ,  116  ,  0,     0.089,  0.54,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [115  ,  131  ,  0,     0.039,  0.953,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [116  ,  119  ,  0,     0.0114,  0.284,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [116  ,  160  ,  0,     0.0034,  0.021,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [116  ,  165  ,  0,     0.0151,  0.126,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [116  ,  167  ,  0,     0.0034,  0.021,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [118  ,  151  ,  0,     0.2248,  0.081,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [119  ,  120  ,  0,    0.0836,  0.123,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [119  ,  121  ,  0,     0.1132,  0.684,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [119  ,  124  ,  0,     0.3369,  0.519,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [119  ,  125  ,  0,    0.3031,  0.463,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [119  ,  126  ,  0,     0.3492,  0.538,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [119  ,  161  ,  0,     0.0089,  0.119,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [120  ,  125  ,  0,     0.2267,  0.342,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [121  ,  122  ,  0,    0.057,  0.767,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [122  ,  124  ,  0,     0.0773,  0.119,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [122  ,  128  ,  0,     0.0909,  0.135,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [124  ,  125  ,  0,     0.0588,  0.087,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [124  ,  128  ,  0,     0.1511,  0.223,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [125  ,  126  ,  0,     0.0504,  0.074,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [127  ,  157  ,  0,     0.1526,  0.074,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [127  ,  158  ,  0,     0.3919,  0.076,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [131  ,  132  ,  0,     0.0957,  0.141,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [132  ,  140  ,  0,     0.0288,  0.19,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [133  ,  135  ,  0,     0.3161,  0.04,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [133  ,  162  ,  0,     0.3054,  0.045,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [134  ,  140  ,  0,    0.0568,  0.388,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [136  ,  138  ,  0,     0.0098,  0.069,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [137  ,  138  ,  0,     0.0285,  0.19,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [137  ,  139  ,  0,     0.0448,  0.277,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [141  ,  143  ,  0,     0.0326,  0.236,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [141  ,  144  ,  0,     0.0245,  1.662,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [142  ,  143  ,  0,     0.0514,  3.597,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [144  ,  145  ,  0,     0.0123,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [146  ,  148  ,  0,     0.0178,  0.029,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [151  ,  152  ,  0,     0.4843,  0.063,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [151  ,  153  ,  0,     0.221,  0.031,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [152  ,  153  ,  0,     0.3331,  0.049,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [152  ,  154  ,  0,     0.3071,  0.043,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [152  ,  155  ,  0,     0.5017,  0.069,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [154  ,  155  ,  0,     0.3626,  0.048,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [154  ,  158  ,  0,    0.3092,  0.054,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [155  ,  156  ,  0,     0.0829,  0.047,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [156  ,  157  ,  0,     0.0847,  0.05,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [157  ,  158  ,  0,     0.1855,  0.029,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [157  ,  159  ,  0,     0.029,  0.084,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [160  ,  117  ,  0,     0.0202,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [160  ,  166  ,  0,     0.0083,  0.115,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [163  ,  164  ,  0,     0.0245,  0.164,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [165  ,  167  ,  0,     0.0086,  0.115,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [166  ,  167  ,  0,     0.0086,  0.115,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [167  ,  117  ,  0,     0.0202,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [168  ,  187  ,  0,    0.095,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [168  ,  188  ,  0,    0.069,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [169  ,  210  ,  0,     0.0022,  6.2,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [169  ,  219  ,  0,   0.0275,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [170  ,  171  ,  0,    0.048,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [171  ,  204  ,  0,    0.009,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [172  ,  184  ,  0,    0.063,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [172  ,  187  ,  0,    0.127,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [173  ,  198  ,  0,     0.0286,  0.5,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [173  ,  242  ,  0,     0.0355,  0.36,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [174  ,  198  ,  0,     0.0286,  0.5,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [175  ,  176  ,  0,    0.04,  0.004,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [175  ,  189  ,  0,   0.081,  0.01,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [176  ,  177  ,  0,   0.06,  0.009,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [176  ,  190  ,  0,    0.04,  0.006,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [177  ,  181  ,  0,    0.688,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [177  ,  182  ,  0,    0.046,  0.025,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [177  ,  189  ,  0,   0.073,  0.008,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [177  ,  190  ,  0,    0.109,  0.032,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [178  ,  179  ,  0,    0.135,  0.009,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [178  ,  189  ,  0,   0.102,  0.005,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [179  ,  189  ,  0,    0.128,  0.014,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [180  ,  183  ,  0,    0.183,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [182  ,  190  ,  0,   0.059,  0.008,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [183  ,  184  ,  0,    0.068,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [184  ,  185  ,  0,    0.446,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [185  ,  186  ,  0,    0.093,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [185  ,  187  ,  0,   0.421,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [191  ,  194  ,  0,     0.0778,  0.086,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [192  ,  193  ,  0,     0.038,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [193  ,  194  ,  0,     0.0185,  0.02,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [193  ,  221  ,  0,     0.0108,  0.002,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [194  ,  195  ,  0,     0.0249,  0.026,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [195  ,  196  ,  0,    0.0497,  0.018,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [196  ,  197  ,  0,   0.0456,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [196  ,  198  ,  0,     0.0177,  0.02,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [196  ,  199  ,  0,     0.0395,  0.832,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [198  ,  216  ,  0,     0.0018,  5.2,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [199  ,  197  ,  0,     0.0484,  0.43,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [199  ,  200  ,  0,    0.0295,  0.503,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [199  ,  217  ,  0,     0.0046,  0.402,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [200  ,  202  ,  0,     0.0013,  1,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [201  ,  216  ,  0,     0.0514,  0.33,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [203  ,  204  ,  0,   0.064,  0.48,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [203  ,  205  ,  0,     0.0081,  0.86,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [204  ,  170  ,  0,    0.061,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [205  ,  210  ,  0,     0.0212,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [206  ,  210  ,  0,     0.0472,  0.186,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [207  ,  208  ,  0,     0.0087,  1.28,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [207  ,  210  ,  0,     0.0917,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [207  ,  213  ,  0,     0.0288,  0.81,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [208  ,  169  ,  0,   0.0626,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [210  ,  211  ,  0,     0.0069,  1.364,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [210  ,  216  ,  0,     0.0006,  3.57,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [211  ,  212  ,  0,     0.0485,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [213  ,  214  ,  0,     0.0259,  0.144,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [213  ,  216  ,  0,     0.0272,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [214  ,  217  ,  0,     0.0006,  0.8,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [220  ,  216  ,  0,     0.0154,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [219  ,  230  ,  0,     0.0043,  0.009,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [221  ,  224  ,  0,     0.0851,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [221  ,  226  ,  0,     0.0723,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [222  ,  223  ,  0,     0.0355,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [222  ,  224  ,  0,     0.1804,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [223  ,  225  ,  0,     0.0551,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [224  ,  225  ,  0,     0.0732,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [224  ,  226  ,  0,    0.2119,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [225  ,  226  ,  0,     0.1285,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [226  ,  227  ,  0,     0.1215,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [227  ,  228  ,  0,     0.1004,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [228  ,  229  ,  0,     0.1857,  0,  9900,  0,  0,  0,  0,  1,  -360,  360],
          [3  ,  1  ,  0,    0.052,  0,  9900,  0,  0,  0.947,  0,  1,  -360,  360],
          [3  ,  2  ,  0,    0.052,  0,  9900,  0,  0,  0.956,  0,  1,  -360,  360],
          [3  ,  4  ,  0,    0.005,  0,  9900,  0,  0,  0.971,  0,  1,  -360,  360],
          [7  ,  5  ,  0,    0.039,  0,  9900,  0,  0,  0.948,  0,  1,  -360,  360],
          [7  ,  6  ,  0,    0.039,  0,  9900,  0,  0,  0.959,  0,  1,  -360,  360],
          [10  ,  11  ,    0,   0.089,  0,  9900,  0,  0,  1.046,  0,  1,  -360,  360],
          [12  ,  10  ,    0,   0.053,  0,  9900,  0,  0,  0.985,  0,  1,  -360,  360],
          [15  ,  17  ,    0,   0.0311,  0,  9900,  0,  0,  0.9561,  0,  1,  -360,  360],
          [16  ,  15  ,    0,  0.038,  0,  9900,  0,  0,  0.971,  0,  1,  -360,  360],
          [20  ,  19  ,    0,    0.014,  0,  9900,  0,  0,  0.952,  0,  1,  -360,  360],
          [23  ,  22  ,    0,    0.064,  0,  9900,  0,  0,  0.943,  0,  1,  -360,  360],
          [30  ,  29  ,    0,    0.047,  0,  9900,  0,  0,  1.01,  0,  1,  -360,  360],
          [39  ,  38  ,    0,    0.02,  0,  9900,  0,  0,  1.008,  0,  1,  -360,  360],
          [39  ,  40  ,    0,    0.021,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [54  ,  53  ,    0,    0.059,  0,  9900,  0,  0,  0.975,  0,  1,  -360,  360],
          [55  ,  56  ,    0,    0.038,  0,  9900,  0,  0,  1.017,  0,  1,  -360,  360],
          [61  ,  62  ,    0,    0.0244,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [68  ,  73  ,    0,    0.02,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [70  ,  81  ,    0,    0.048,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [71  ,  83  ,    0,    0.048,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [72  ,  78  ,    0,    0.046,  0,  9900,  0,  0,  1.015,  0,  1,  -360,  360],
          [93  ,  186  ,   0,     0.149,  0,  9900,  0,  0,  0.967,  0,  1,  -360,  360],
          [95  ,  103  ,   0,    0.0174,  0,  9900,  0,  0,  1.01,  0,  1,  -360,  360],
          [100  ,  94  ,   0,    0.028,  0,  9900,  0,  0,  1.05,  0,  1,  -360,  360],
          [101  ,  136  ,  0,     0.0195,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [109  ,  110  ,  0,   0.018,  0,  9900,  0,  0,  1.0522,  0,  1,  -360,  360],
          [109  ,  129  ,  0,     0.014,  0,  9900,  0,  0,  1.0522,  0,  1,  -360,  360],
          [111  ,  149  ,  0,    0.0402,  0,  9900,  0,  0,  1.05,  0,  1,  -360,  360],
          [120  ,  153  ,  0,     0.0603,  0,  9900,  0,  0,  0.975,  0,  1,  -360,  360],
          [121  ,  154  ,  0,     0.0498,  -0.087,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [122  ,  123  ,  0,    0.0833,  0,  9900,  0,  0,  1.035,  0,  1,  -360,  360],
          [122  ,  127  ,  0,     0.0371,  0,  9900,  0,  0,  0.9565,  0,  1,  -360,  360],
          [124  ,  159  ,  0,     0.0182,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [130  ,  149  ,  0,    0.0392,  0,  9900,  0,  0,  1.05,  0,  1,  -360,  360],
          [132  ,  162  ,  0,     0.0639,  0,  9900,  0,  0,  1.073,  0,  1,  -360,  360],
          [134  ,  135  ,  0,     0.0256,  0,  9900,  0,  0,  1.05,  0,  1,  -360,  360],
          [138  ,  96  ,   0,    0.016,  0,  9900,  0,  0,  1.0506,  0,  1,  -360,  360],
          [139  ,  103  ,  0,     0.0396,  0,  9900,  0,  0,  0.975,  0,  1,  -360,  360],
          [142  ,  116  ,  0,     0.0384,  -0.057,  9900,  0,  0,  0.98,  0,  1,  -360,  360],
          [143  ,  134  ,  0,     0.0231,  -0.033,  9900,  0,  0,  0.956,  0,  1,  -360,  360],
          [161  ,  118  ,  0,     0.0131,  0,  9900,  0,  0,  1.05,  0,  1,  -360,  360],
          [168  ,  189  ,  0,   0.252,  0,  9900,  0,  0,  1.03,  0,  1,  -360,  360],
          [172  ,  175  ,  0,    0.237,  0,  9900,  0,  0,  1.03,  0,  1,  -360,  360],
          [174  ,  191  ,  0,     0.0366,  0,  9900,  0,  0,  0.985,  0,  1,  -360,  360],
          [179  ,  227  ,  0,    0.22,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [180  ,  57  ,   0,  0.098,  0,  9900,  0,  0,  1.03,  0,  1,  -360,  360],
          [181  ,  190  ,  0,   0.128,  0,  9900,  0,  0,  1.01,  0,  1,  -360,  360],
          [183  ,  246  ,  0,   0.204,  -0.012,  9900,  0,  0,  1.05,  0,  1,  -360,  360],
          [188  ,  177  ,  0,    0.211,  0,  9900,  0,  0,  1.03,  0,  1,  -360,  360],
          [190  ,  191  ,  0,    0.0122,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [197  ,  198  ,  0,    0.0354,  -0.01,  9900,  0,  0,  0.97,  0,  1,  -360,  360],
          [202  ,  203  ,  0,     0.0195,  -0.364,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [208  ,  209  ,  0,    0.0332,  0,  9900,  0,  0,  1.02,  0,  1,  -360,  360],
          [213  ,  215  ,  0,     0.016,  0,  9900,  0,  0,  1.07,  0,  1,  -360,  360],
          [217  ,  218  ,  0,     0.016,  0,  9900,  0,  0,  1.02,  0,  1,  -360,  360],
          [175  ,  246  ,  0,     0.02,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [98  ,  243  ,   0,   0.023,  0,  9900,  0,  0,  1.0223,  0,  1,  -360,  360],
          [99  ,  244  ,   0,   0.023,  0,  9900,  0,  0,  0.9284,  0,  1,  -360,  360],
          [248  ,  2  ,    0,  0.0146,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [249  ,  3  ,    0,   0.01054,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [260  ,  53  ,   0,    0.0238,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [261  ,  54  ,   0,   0.03214,  0,  9900,  0,  0,  0.95,  0,  1,  -360,  360],
          [265  ,  145  ,  0,    0.0154,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [254  ,  23  ,   0,    0.0289,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [247  ,  1  ,    0,    0.01953,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [263  ,  109  ,  0,  0.0193,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [250  ,  11  ,   0,    0.01923,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [253  ,  22  ,   0,     0.023,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [257  ,  43  ,   0,     0.0124,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [264  ,  118  ,  0,  0.0167,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [251  ,  12  ,   0,     0.0312,  0,  9900,  0,  0,  1,  0,  1,  -360,  360],
          [252  ,  17  ,   0,     0.01654,  0,  9900,  0,  0,  0.942,  0,  1,  -360,  360],
          [255  ,  33  ,   0,     0.03159,  0,  9900,  0,  0,  0.965,  0,  1,  -360,  360],
          [259  ,  49  ,   0,     0.05347,  0,  9900,  0,  0,  0.95,  0,  1,  -360,  360],
          [256  ,  38  ,   0,     0.18181,  0,  9900,  0,  0,  0.942,  0,  1,  -360,  360],
          [258  ,  48  ,   0,     0.19607,  0,  9900,  0,  0,  0.942,  0,  1,  -360,  360],
          [262  ,  59  ,   0,     0.06896,  0,  9900,  0,  0,  0.9565,  0,  1,  -360,  360]
      ])
  
      ppc["gencontrol"] = array([
          [ 8          , 3          , 2.0        , 2.0        , 1.0        , 1.0        , -4.0       , 4.0        ],
          [ 10         , 3          , 0.04       , 0.04       , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 19         , 3          , 2.0        , 2.0        , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 55         , 3          , 0.04       , 4.0        , 1.0        , 1.0        , -4.0       , 4.0        ],
          [ 63         , 3          , 0.04       , 4.0        , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 69         , 3          , 9.5        , 9.5        , 4.75       , 4.75       , -19.0      , 19.0       ],
          [ 76         , 3          , 0.102      , 0.102      , 0.051      , 5.1        , -10.2      , 10.2       ],
          [ 77         , 3          , 7.8        , 7.8        , 0.078      , 7.8        , -15.6      , 15.6       ],
          [ 80         , 3          , 0.0672     , 6.72       , 1.68       , 1.68       , -6.72      , 6.72       ],
          [ 88         , 3          , 0.0868     , 8.68       , 0.0434     , 4.34       , -8.68      , 8.68       ],
          [ 98         , 3          , 40.6       , 40.6       , 20.3       , 20.3       , -81.2      , 81.2       ],
          [ 103        , 3          , 0.136      , 0.136      , 0.068      , 6.8        , -13.6      , 13.6       ],
          [ 104        , 3          , 2.0        , 2.0        , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 117        , 3          , 0.04       , 4.0        , 1.0        , 1.0        , -4.0       , 4.0        ],
          [ 120        , 3          , 0.1524     , 15.24      , 0.0762     , 7.62       , -15.24     , 15.24      ],
          [ 122        , 3          , 15.92      , 15.92      , 7.96       , 7.96       , -31.84     , 31.84      ],
          [ 125        , 3          , 0.0736     , 0.0736     , 0.0368     , 3.68       , -7.36      , 7.36       ],
          [ 126        , 3          , 6.34       , 6.34       , 0.0634     , 6.34       , -12.68     , 12.68      ],
          [ 128        , 3          , 0.0812     , 8.12       , 2.03       , 2.03       , -8.12      , 8.12       ],
          [ 131        , 3          , 0.1888     , 18.88      , 0.0944     , 9.44       , -18.88     , 18.88      ],
          [ 132        , 3          , 6.32       , 6.32       , 3.16       , 3.16       , -12.64     , 12.64      ],
          [ 135        , 3          , 0.04       , 0.04       , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 149        , 3          , 6.1        , 6.1        , 0.061      , 6.1        , -12.2      , 12.2       ],
          [ 150        , 3          , 0.04       , 4.0        , 1.0        , 1.0        , -4.0       , 4.0        ],
          [ 155        , 3          , 0.1312     , 13.12      , 0.0656     , 6.56       , -13.12     , 13.12      ],
          [ 156        , 3          , 3.68       , 3.68       , 1.84       , 1.84       , -7.36      , 7.36       ],
          [ 164        , 3          , 0.12       , 0.12       , 0.06       , 6.0        , -12.0      , 12.0       ],
          [ 165        , 3          , 26.0       , 26.0       , 0.26       , 26.0       , -52.0      , 52.0       ],
          [ 166        , 3          , 0.52       , 52.0       , 13.0       , 13.0       , -52.0      , 52.0       ],
          [ 169        , 3          , 0.23       , 23.0       , 0.115      , 11.5       , -23.0      , 23.0       ],
          [ 170        , 3          , 41.46      , 41.46      , 20.73      , 20.73      , -82.92     , 82.92      ],
          [ 177        , 3          , 0.2096     , 0.2096     , 0.1048     , 10.48      , -20.96     , 20.96      ],
          [ 192        , 3          , 7.44       , 7.44       , 0.0744     , 7.44       , -14.88     , 14.88      ],
          [ 199        , 3          , 0.08       , 8.0        , 2.0        , 2.0        , -8.0       , 8.0        ],
          [ 200        , 3          , 0.22       , 22.0       , 0.11       , 11.0       , -22.0      , 22.0       ],
          [ 201        , 3          , 7.0        , 7.0        , 3.5        , 3.5        , -14.0      , 14.0       ],
          [ 206        , 3          , 0.1612     , 0.1612     , 0.0806     , 8.06       , -16.12     , 16.12      ],
          [ 209        , 3          , 8.9        , 8.9        , 0.089      , 8.9        , -17.8      , 17.8       ],
          [ 212        , 3          , 0.16       , 16.0       , 4.0        , 4.0        , -16.0      , 16.0       ],
          [ 215        , 3          , 0.28       , 28.0       , 0.14       , 14.0       , -28.0      , 28.0       ],
          [ 217        , 3          , 7.0        , 7.0        , 3.5        , 3.5        , -14.0      , 14.0       ],
          [ 218        , 3          , 0.26       , 0.26       , 0.13       , 13.0       , -26.0      , 26.0       ],
          [ 220        , 3          , 13.5086    , 13.5086    , 0.135086   , 13.5086    , -27.0172   , 27.0172    ],
          [ 221        , 3          , 0.108      , 10.8       , 2.7        , 2.7        , -10.8      , 10.8       ],
          [ 222        , 3          , 0.0736     , 7.36       , 0.0368     , 3.68       , -7.36      , 7.36       ],
          [ 247        , 3          , 11.34      , 11.34      , 5.67       , 5.67       , -22.68     , 22.68      ],
          [ 248        , 3          , 0.2892     , 0.2892     , 0.1446     , 14.46      , -28.92     , 28.92      ],
          [ 249        , 3          , 26.2       , 26.2       , 0.262      , 26.2       , -52.4      , 52.4       ],
          [ 250        , 3          , 0.1336     , 13.36      , 3.34       , 3.34       , -13.36     , 13.36      ],
          [ 251        , 3          , 0.1888     , 18.88      , 0.0944     , 9.44       , -18.88     , 18.88      ],
          [ 252        , 3          , 8.6        , 8.6        , 4.3        , 4.3        , -17.2      , 17.2       ],
          [ 253        , 3          , 0.114      , 0.114      , 0.057      , 5.7        , -11.4      , 11.4       ],
          [ 254        , 3          , 10.2       , 10.2       , 0.102      , 10.2       , -20.4      , 20.4       ],
          [ 255        , 3          , 0.24       , 24.0       , 6.0        , 6.0        , -24.0      , 24.0       ],
          [ 256        , 3          , 0.0548     , 5.48       , 0.0274     , 2.74       , -5.48      , 5.48       ],
          [ 257        , 3          , 47.9802    , 47.9802    , 23.9901    , 23.9901    , -95.9604   , 95.9604    ],
          [ 258        , 3          , 0.058      , 0.058      , 0.029      , 2.9        , -5.8       , 5.8        ],
          [ 259        , 3          , 5.3        , 5.3        , 0.053      , 5.3        , -10.6      , 10.6       ],
          [ 260        , 3          , 0.2        , 20.0       , 5.0        , 5.0        , -20.0      , 20.0       ],
          [ 261        , 3          , 0.2        , 20.0       , 0.1        , 10.0       , -20.0      , 20.0       ],
          [ 262        , 3          , 4.32       , 4.32       , 2.16       , 2.16       , -8.64      , 8.64       ],
          [ 263        , 3          , 0.5568     , 0.5568     , 0.2784     , 27.84      , -55.68     , 55.68      ],
          [ 264        , 3          , 16.0       , 16.0       , 0.16       , 16.0       , -32.0      , 32.0       ],
          [ 265        , 3          , 0.2612     , 26.12      , 6.53       , 6.53       , -26.12     , 26.12      ],
          [ 267        , 3          , 0.04       , 4.0        , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 292        , 3          , 2.0        , 2.0        , 1.0        , 1.0        , -4.0       , 4.0        ],
          [ 294        , 3          , 0.04       , 0.04       , 0.02       , 2.0        , -4.0       , 4.0        ],
          [ 295        , 3          , 3.0        , 3.0        , 0.03       , 3.0        , -6.0       , 6.0        ],
          [ 296        , 3          , 0.0432     , 4.32       , 1.08       , 1.08       , -4.32      , 4.32       ]
      ])
  
  
      
      ###----- disturbances data -----###
      #1 - power-step: num, buses, start time, amplitude(\times p_0)
      #2 - power ramp: num, buses, start time, duration time, height (\times p_0)
      #3 - power fluctuation: num, buses, start time, time interval, date num
      #4 - 3psc: num, branch-f_bus,  branch-t_bus, nearest bus, short-circuit conductance (p.u.), start time, clearing time(\Delta t with second)
      #9: uniform distribution date on [-0.2, 0.2]
  
      ppc["disturbance"] = {
      1: array([
          [1,     69,      0,      -0.5, 0.09],
          [2,     5,      0,      -0.5, 0.09]
      ]),
      2: array([
          [1,    169,      0,      5,      -0.5, 0.09],
          [2,    119,      0,      5,      -0.5, 0.09]
      ]),
      3: array([
          [1,    209,      0,      0.5,    9, 0.3],
          [2,    211,      0,      0.5,      9, 0.3]
      ]),
      4: array([
          [1,    68,       173,       999,      999,    0,      0.1, 0.01],
          [2,    101,      102,       999,      999,    0,      0.1, 0.01]
      ]),
      9: array([
          -0.077752022,-0.049592684,-0.094386402,-0.027777255,0.106175442,0.07760974,0.010639525,0.145379902,-0.113145199,-0.173299214,0.027856593,-0.153232617,-0.123096728,-0.077041254,-0.152101278,-0.059589093,-0.06009897,-0.121105119,-0.017018885,0.072363903,0.170954442,-0.034889518,-0.060918945,0.037836957,0.170201299,-0.1546673,0.1972234,-0.071938968,-0.107488659,-0.088976472,-0.068018895,-0.06587186,-0.003419552,0.152372651,0.112508103,0.142640044,-0.049963844,-0.149540361,0.139890352,0.13228229,-0.075472623,0.055259011,-0.017222513,-0.13241881,0.012423058,-0.000117756,0.191749308,-0.080003032,-0.166717849,-0.149633579,-0.166748818,-0.179088528,0.199144351,-0.101607438,-0.105415065,0.149580196,-0.005620803,0.089868514,0.022076414,-0.094829629,0.111238813,0.133720447,0.121662029,0.141913883,-0.111726178,-0.14110605,0.032269891,0.120886645,0.009050625,-0.011489962,0.016302734,0.12436742,0.11313339,-0.092537767,0.147695992,0.174444751,0.15505781,-0.193334631,0.159925609,-0.099949322,0.099644356,0.079428698,-0.048152161,0.06028194,0.126261189,0.15150098,-0.147034132,-0.058805963,-0.094758118,0.051548502,0.020517378,-0.195080454,0.092211274,0.089238641,-0.091390137,-0.088318354,0.030346984,0.13823391,-0.160389818,-0.160731705
      ])
      }
  
      # parameters of discretization
      # time_ele_d1 - number of time elements for disturbance 1;
      # time_ele_d2_d - number of time element during the disturbance for disturbance 2;
      # t_f - assume t_0 = 0 for all disturbances
      # order - order of collocation
      ppc["param_disc"] = {
      'time_ele':{1: 15, 2: 15, 3: 15, 4: 15},
      'time_ele_d':{2: 4, 4: 4},
      'order':{1: 2, 2: 2, 3: 2, 4: 2},
      't_f':{1: 30, 2: 30, 3: 30, 4: 10},
      'colloc_point_radau': {1:(0, 1.0),2:(0, 0.333333, 1.0),3:(0, 0.155051, 0.644949, 1.0),4:(0, 0.088588, 0.409467, 0.787659, 1.0),5:(0, 0.057104, 0.276843, 0.583590, 0.860240, 1.0)}
      }
  
      ppc["freq_band"] = {
      1:{(0, 15):(49.5, 50.5), (15, 300):(49.85, 50.15)},
      2:{(0, 15):(49.5, 50.5), (15, 300):(49.85, 50.15)},
      3:{(0, 300):(49.85, 50.15)},
      4:{(0, 15):(49, 51), (15, 60):(49.5, 50.5), (60, 300):(49.85, 50.15)}
      }
  
  
      return ppc
  