Package pypower :: Module idx_area
[hide private]
[frames] | no frames]

Source Code for Module pypower.idx_area

 1  # Copyright (C) 1996-2011 Power System Engineering Research Center (PSERC) 
 2  # Copyright (C) 2011 Richard Lincoln 
 3  # 
 4  # PYPOWER is free software: you can redistribute it and/or modify 
 5  # it under the terms of the GNU General Public License as published 
 6  # by the Free Software Foundation, either version 3 of the License, 
 7  # or (at your option) any later version. 
 8  # 
 9  # PYPOWER is distributed in the hope that it will be useful, 
10  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
11  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
12  # GNU General Public License for more details. 
13  # 
14  # You should have received a copy of the GNU General Public License 
15  # along with PYPOWER. If not, see <http://www.gnu.org/licenses/>. 
16   
17  """Defines constants for named column indices to areas matrix. 
18   
19  The index, name and meaning of each column of the areas matrix is given below: 
20   
21  columns 0-1 
22      0.  C{AREA_I}           area number 
23      1.  C{PRICE_REF_BUS}    price reference bus for this area 
24   
25  @author: Ray Zimmerman (PSERC Cornell) 
26  @author: Richard Lincoln 
27  """ 
28   
29  # define the indices 
30  AREA_I          = 0    # area number 
31  PRICE_REF_BUS   = 1    # price reference bus for this area 
32