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:
- cdf2mpc CDF2MPC Converts an IEEE CDF data file into a MATPOWER case struct.
- dcopf_solver DCOPF_SOLVER Solves a DC optimal power flow.
- define_constants DEFINE_CONSTANTS Defines constants for named column indices to data matrices.
- check_feasibility CHECK_FEASIBILITY Returns the maximum constraint violation in p.u.
- insolvablepf INSOLVABLEPF A sufficient condition for power flow insolvability
- insolvablepf_limitQ INSOLVABLEPF_LIMITQ A sufficient condition for power flow insolvability
- sdpopf_solver SDPOPF_SOLVER A semidefinite programming relaxtion of the OPF problem
- t_insolvablepf T_INSOLVABLEPF Test for power flow insolvability condition
- t_insolvablepf_limitQ T_INSOLVABLEPF_LIMITQ Test for power flow insolvability condition
- t_insolvablepfsos T_INSOLVABLEPF Test for power flow insolvability condition
- t_insolvablepfsos_limitQ T_INSOLVABLEPF Test for power flow insolvability condition
- t_opf_sdpopf T_OPF_SDPOPF Tests for SDP-based AC optimal power flow.
- t_testglobalopt T_TESTGLOBALOPT Test for Global Optimality Condition
- testGlobalOpt TESTGLOABALOPT A sufficient condition for OPF global optimality
- 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.
- 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.
- makeAy MAKEAY Make the A matrix and RHS for the CCV formulation.
- margcost MARGCOST Computes marginal cost for generators at given output level.
- 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_margcost T_MARGCOST Tests for code in MARGCOST.
- t_modcost T_MODCOST Tests for code in MODCOST.
- t_off2case T_OFF2CASE Tests for code in OFF2CASE.
- 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_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_softlims T_OPF_SOFTLIMS Tests for userfcn callbacks (softlims) w/OPF.
- 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_scale_load T_SCALE_LOAD Tests for code in SCALE_LOAD.
- t_totcost T_TOTCOST Tests for code in TOTCOST.
- toggle_dcline TOGGLE_DCLINE Enable, disable or check status of 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 PW_LINEAR = 1;
0051 POLYNOMIAL = 2;
0052
0053
0054 MODEL = 1;
0055 STARTUP = 2;
0056 SHUTDOWN = 3;
0057 NCOST = 4;
0058
0059 COST = 5;
0060
0061
0062
0063
0064
0065
0066
0067
Generated on Fri 20-Mar-2015 18:23:34 by m2html © 2005