Home > matpower4.1 > extras > smartmarket > idx_disp.m

idx_disp

PURPOSE ^

IDX_DISP Defines constants for named column indices to dispatch matrix.

SYNOPSIS ^

function [QUANTITY, PRICE, FCOST, VCOST, SCOST, PENALTY] = idx_disp

DESCRIPTION ^

IDX_DISP   Defines constants for named column indices to dispatch matrix.
   Example:

   [QUANTITY, PRICE, FCOST, VCOST, SCOST, PENALTY] = idx_disp;

   The index, name and meaning of each column of the dispatch matrix is given
   below:
 
   columns 1-6
    1  QUANTITY    quantity produced by generator in MW
    2  PRICE       market price for power produced by generator in $/MWh
    3  FCOST       fixed cost in $/MWh
    4  VCOST       variable cost in $/MWh
    5  SCOST       startup cost in $
    6  PENALTY     penalty cost in $ (not used)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [QUANTITY, PRICE, FCOST, VCOST, SCOST, PENALTY] = idx_disp
0002 %IDX_DISP   Defines constants for named column indices to dispatch matrix.
0003 %   Example:
0004 %
0005 %   [QUANTITY, PRICE, FCOST, VCOST, SCOST, PENALTY] = idx_disp;
0006 %
0007 %   The index, name and meaning of each column of the dispatch matrix is given
0008 %   below:
0009 %
0010 %   columns 1-6
0011 %    1  QUANTITY    quantity produced by generator in MW
0012 %    2  PRICE       market price for power produced by generator in $/MWh
0013 %    3  FCOST       fixed cost in $/MWh
0014 %    4  VCOST       variable cost in $/MWh
0015 %    5  SCOST       startup cost in $
0016 %    6  PENALTY     penalty cost in $ (not used)
0017 
0018 %   MATPOWER
0019 %   $Id: idx_disp.m,v 1.8 2010/04/26 19:45:26 ray Exp $
0020 %   by Ray Zimmerman, PSERC Cornell
0021 %   Copyright (c) 1996-2010 by Power System Engineering Research Center (PSERC)
0022 %
0023 %   This file is part of MATPOWER.
0024 %   See http://www.pserc.cornell.edu/matpower/ for more info.
0025 %
0026 %   MATPOWER is free software: you can redistribute it and/or modify
0027 %   it under the terms of the GNU General Public License as published
0028 %   by the Free Software Foundation, either version 3 of the License,
0029 %   or (at your option) any later version.
0030 %
0031 %   MATPOWER is distributed in the hope that it will be useful,
0032 %   but WITHOUT ANY WARRANTY; without even the implied warranty of
0033 %   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0034 %   GNU General Public License for more details.
0035 %
0036 %   You should have received a copy of the GNU General Public License
0037 %   along with MATPOWER. If not, see <http://www.gnu.org/licenses/>.
0038 %
0039 %   Additional permission under GNU GPL version 3 section 7
0040 %
0041 %   If you modify MATPOWER, or any covered work, to interface with
0042 %   other modules (such as MATLAB code and MEX-files) available in a
0043 %   MATLAB(R) or comparable environment containing parts covered
0044 %   under other licensing terms, the licensors of MATPOWER grant
0045 %   you additional permission to convey the resulting work.
0046 
0047 %% define the indices
0048 QUANTITY        = 1;    %% quantity produced by generator in MW
0049 PRICE           = 2;    %% market price for power produced by generator in $/MWh
0050 FCOST           = 3;    %% fixed cost in $/MWh
0051 VCOST           = 4;    %% variable cost in $/MWh
0052 SCOST           = 5;    %% startup cost in $
0053 PENALTY         = 6;    %% penalty cost in $ (not used)

Generated on Mon 26-Jan-2015 15:00:13 by m2html © 2005