Home > matpower5.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 %   Copyright (c) 1996-2015 by Power System Engineering Research Center (PSERC)
0020 %   by Ray Zimmerman, PSERC Cornell
0021 %
0022 %   $Id: idx_disp.m 2644 2015-03-11 19:34:22Z ray $
0023 %
0024 %   This file is part of MATPOWER.
0025 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0026 %   See http://www.pserc.cornell.edu/matpower/ for more info.
0027 
0028 %% define the indices
0029 QUANTITY        = 1;    %% quantity produced by generator in MW
0030 PRICE           = 2;    %% market price for power produced by generator in $/MWh
0031 FCOST           = 3;    %% fixed cost in $/MWh
0032 VCOST           = 4;    %% variable cost in $/MWh
0033 SCOST           = 5;    %% startup cost in $
0034 PENALTY         = 6;    %% penalty cost in $ (not used)

Generated on Fri 20-Mar-2015 18:23:34 by m2html © 2005