idx_cost
PURPOSE
IDX_COST Defines constants for named column indices to gencost matrix.
SYNOPSIS
function [PW_LINEAR, POLYNOMIAL, MODEL, STARTUP, SHUTDOWN, NCOST, COST] = idx_cost
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
- LPeqslvr ------------------------------ deprecated ------------------------------
- cdf2matp CDF2MATP Converts data from IEEE Common Data Format to MATPOWER format.
- dcopf_solver DCOPF_SOLVER Solves a DC optimal power flow.
- define_constants DEFINE_CONSTANTS Defines constants for named column indices to data matrices.
- case2off CASE2OFF Creates quantity & price offers from gen & gencost.
- off2case OFF2CASE Updates case variables gen & gencost from quantity & price offers.
- smartmkt SMARTMKT Runs the PowerWeb smart market.
- fun_copf ------------------------------ deprecated ------------------------------
- grad_copf ------------------------------ deprecated ------------------------------
- ipoptopf_solver IPOPTOPF_SOLVER Solves AC optimal power flow using MIPS.
- ktropf_solver KTROPF_SOLVER Solves AC optimal power flow using KNITRO.
- load2disp LOAD2DISP Converts fixed loads to dispatchable.
- lpopf_solver ------------------------------ deprecated ------------------------------
- makeAy MAKEAY Make the A matrix and RHS for the CCV formulation.
- mips6opf_solver ------------------------------ deprecated ------------------------------
- mipsopf_solver MIPSOPF_SOLVER Solves AC optimal power flow using MIPS.
- modcost MODCOST Modifies generator costs by shifting or scaling (F or X).
- opf OPF Solves an optimal power flow.
- opf_costfcn OPF_COSTFCN Evaluates objective function, gradient and Hessian for OPF.
- opf_hessfcn OPF_HESSFCN Evaluates Hessian of Lagrangian for AC OPF.
- opf_setup OPF Constructs an OPF model object from a MATPOWER case struct.
- poly2pwl POLY2PWL Converts polynomial cost variable to piecewise linear.
- polycost POLYCOST Evaluates polynomial generator cost & derivatives.
- savecase SAVECASE Saves a MATPOWER case file, given a filename and the data.
- t_dcline T_DCLINE Tests for DC line extension in TOGGLE_DCLINE.
- t_modcost T_MODCOST Tests for code in MODCOST.
- t_off2case T_OFF2CASE Tests for code in OFF2CASE.
- t_opf_constr ------------------------------ deprecated ------------------------------
- t_opf_fmincon T_OPF_FMINCON Tests for FMINCON-based optimal power flow.
- t_opf_ipopt T_OPF_IPOPT Tests for IPOPT-based AC optimal power flow.
- t_opf_knitro T_OPF_FMINCON Tests for FMINCON-based optimal power flow.
- t_opf_lp_den ------------------------------ deprecated ------------------------------
- t_opf_lp_spf ------------------------------ deprecated ------------------------------
- t_opf_lp_spr ------------------------------ deprecated ------------------------------
- t_opf_minopf T_OPF_MINOPF Tests for MINOS-based optimal power flow.
- t_opf_mips T_OPF_MIPS Tests for MIPS-based AC optimal power flow.
- t_opf_mips_sc T_OPF_MIPS_SC Tests for step-controlled MIPS-based AC optimal power flow.
- t_opf_tspopf_pdipm T_OPF_TSPOPF_PDIPM Tests for PDIPM-based optimal power flow.
- t_opf_tspopf_scpdipm T_OPF_TSPOPF_SCPDIPM Tests for SCPDIPM-based optimal power flow.
- t_opf_tspopf_tralm T_OPF_TSPOPF_TRALM Tests for TRALM-based optimal power flow.
- t_totcost T_TOTCOST Tests for code in TOTCOST.
- toggle_dcline TOGGLE_DCLINE Enable or disable DC line modeling.
- totcost TOTCOST Computes total cost for generators at given output level.
SOURCE CODE
0001 function [PW_LINEAR, POLYNOMIAL, MODEL, STARTUP, SHUTDOWN, NCOST, COST] = idx_cost
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069 PW_LINEAR = 1;
0070 POLYNOMIAL = 2;
0071
0072
0073 MODEL = 1;
0074 STARTUP = 2;
0075 SHUTDOWN = 3;
0076 NCOST = 4;
0077
0078 COST = 5;
0079
0080
0081
0082
0083
0084
0085
0086
Generated on Mon 26-Jan-2015 15:00:13 by m2html © 2005