📄 idx_disp.m
字号:
function [QUANTITY, PRICE, FCOST, VCOST, SCOST, PENALTY] = idx_disp%IDX_DISP Defines constants for named column indices to dispatch matrix.% [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)% MATPOWER% $Id: idx_disp.m,v 1.4 2004/12/15 22:46:31 ray Exp $% by Ray Zimmerman, PSERC Cornell% Copyright (c) 1996-2004 by Power System Engineering Research Center (PSERC)% See http://www.pserc.cornell.edu/matpower/ for more info.%% define the indicesQUANTITY = 1; %% quantity produced by generator in MWPRICE = 2; %% market price for power produced by generator in $/MWhFCOST = 3; %% fixed cost in $/MWhVCOST = 4; %% variable cost in $/MWhSCOST = 5; %% startup cost in $PENALTY = 6; %% penalty cost in $ (not used)return;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -