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

Generated on Fri 16-Dec-2016 12:45:37 by m2html © 2005