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:
- 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.
- sgvm_add_shunts SGVM_ADD_SHUNTS add shunt elements to MPC to satisfy voltage constraints
- syngrid SYNGRID Create a synthetic power grid model in MATPOWER format.
- apply_changes APPLY_CHANGES Applies a set of changes to a MATPOWER case
- 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 useful constants for indexing data, etc.
- 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.
- modcost MODCOST Modifies generator costs by shifting or scaling (F or X).
- nlpopf_solver NLPOPF_SOLVER Solves AC optimal power flow using MP-Opt-Model.
- opf OPF Solves an optimal power flow.
- opf_gen_cost_fcn OPF_GEN_COST_FCN Evaluates polynomial generator costs and derivatives.
- 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.
- save2psse SAVE2PSSE Saves a MATPOWER case to PSS/E RAW format.
- savecase SAVECASE Saves a MATPOWER case file, given a filename and the data.
- t_apply_changes T_APPLY_CHANGES Tests for code in apply_changes.m.
- t_dcline T_DCLINE Tests for DC line extension in TOGGLE_DCLINE.
- t_load2disp T_LOAD2DISP Tests for LOAD2DISP.
- 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_default T_OPF_DEFAULT Tests for AC optimal power flow using default solver.
- 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_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.
- toggle_softlims TOGGLE_SOFTLIMS Relax DC optimal power flow branch limits.
- totcost TOTCOST Computes total cost for generators at given output level.
- addstorage ADDWIND Adds storage units and corresponding xGen/StorageData to existing data.
- addwind ADDWIND Adds wind generators and corresponding xGenData to existing data.
- most MOST MATPOWER Optimal Scheduling Tool
- t_most_spuc T_MOST_SPUC Tests of single-period unit commitment optimizations
- t_most_suc T_MOST_SUC Tests of stochastic unit commitment optimizations.
- t_most_uc T_MOST_UC Tests of deteministic unit commitment optimizations
- t_most_w_ds T_MOST_W_DS Test for MOST with dynamical system constraints.
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 09-Oct-2020 11:21:31 by m2html © 2005