idx_brch
PURPOSE
IDX_BRCH Defines constants for named column indices to branch matrix.
SYNOPSIS
function [F_BUS, T_BUS, BR_R, BR_X, BR_B, RATE_A, RATE_B,RATE_C, TAP, SHIFT, BR_STATUS, PF, QF, PT, QT, MU_SF, MU_ST,ANGMIN, ANGMAX, MU_ANGMIN, MU_ANGMAX] = idx_brch
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
- cdf2matp CDF2MATP Converts data from IEEE Common Data Format to MATPOWER format.
- compare_case COMPARE_CASE Compares the bus, gen, branch matrices of 2 MATPOWER cases.
- copf_solver ------------------------------ deprecated ------------------------------
- dSbr_dV DSBR_DV Computes partial derivatives of power flows w.r.t. voltage.
- dcopf_solver DCOPF_SOLVER Solves a DC optimal power flow.
- define_constants DEFINE_CONSTANTS Defines constants for named column indices to data matrices.
- ext2int EXT2INT Converts external to internal indexing.
- cpf CPF Run continuation power flow (CPF) solver.
- doSE DOSE Do state estimation.
- getV0 GETV0 Get initial voltage profile for power flow calculation.
- outputpfsoln OUTPUTPFSOLN Output power flow solution.
- runse RUNSE Runs a state estimator.
- state_est STATE_EST Solves a state estimation problem.
- fmincopf6_solver ------------------------------ deprecated ------------------------------
- fmincopf_solver FMINCOPF_SOLVER Solves AC optimal power flow using FMINCON.
- fun_copf ------------------------------ deprecated ------------------------------
- int2ext INT2EXT Converts internal to external bus numbering.
- ipoptopf_solver IPOPTOPF_SOLVER Solves AC optimal power flow using MIPS.
- loadcase LOADCASE Load .m or .mat case files or data struct in MATPOWER format.
- lpopf_solver ------------------------------ deprecated ------------------------------
- makeAang MAKEAANG Construct constraints for branch angle difference limits.
- makeB MAKEB Builds the FDPF matrices, B prime and B double prime.
- makeBdc MAKEBDC Builds the B matrices and phase shift injections for DC power flow.
- makeLODF MAKELODF Builds the line outage distribution factor matrix.
- makeYbus MAKEYBUS Builds the bus admittance matrix and branch admittance matrices.
- mips6opf_solver ------------------------------ deprecated ------------------------------
- mipsopf_solver MIPSOPF_SOLVER Solves AC optimal power flow using MIPS.
- opf OPF Solves an optimal power flow.
- opf_consfcn OPF_CONSFCN Evaluates nonlinear constraints and their Jacobian for OPF.
- opf_costfcn OPF_COSTFCN Evaluates objective function, gradient and Hessian for OPF.
- opf_execute OPF_EXECUTE Executes the OPF specified by an OPF model object.
- opf_hessfcn OPF_HESSFCN Evaluates Hessian of Lagrangian for AC OPF.
- opf_setup OPF Constructs an OPF model object from a MATPOWER case struct.
- pfsoln PFSOLN Updates bus, gen, branch data structures to match power flow soln.
- printpf PRINTPF Prints power flow results.
- runpf RUNPF Runs a power flow.
- savecase SAVECASE Saves a MATPOWER case file, given a filename and the data.
- t_hessian T_HESSIAN Numerical tests of 2nd derivative code.
- t_jacobian T_JACOBIAN Numerical tests of partial derivative code.
- t_loadcase T_LOADCASE Test that LOADCASE works with a struct as well as case file.
- t_makeLODF T_MAKELODF Tests for MAKELODF.
- t_makePTDF T_MAKEPTDF Tests for MAKEPTDF.
- t_opf_constr ------------------------------ deprecated ------------------------------
- t_opf_dc_bpmpd T_OPF_DC_BPMPD Tests for DC optimal power flow using BPMPD_MEX solver.
- t_opf_dc_cplex T_OPF_DC_CPLEX Tests for DC optimal power flow using CPLEX solver.
- t_opf_dc_ipopt T_OPF_DC_MIPS Tests for DC optimal power flow using MIPS solver.
- t_opf_dc_mips T_OPF_DC_MIPS Tests for DC optimal power flow using MIPS solver.
- t_opf_dc_mips_sc T_OPF_DC_MIPS_SC Tests for DC optimal power flow using MIPS-sc solver.
- t_opf_dc_mosek T_OPF_DC_MOSEK Tests for DC optimal power flow using MOSEK solver.
- t_opf_dc_ot T_OPF_DC_OT Tests for DC optimal power flow using Opt Tbx solvers.
- 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_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_opf_userfcns T_OPF_USERFCNS Tests for userfcn callbacks (reserves/iflims) w/OPF.
- toggle_iflims TOGGLE_IFLIMS Enable or disable set of interface flow constraints.
SOURCE CODE
0001 function [F_BUS, T_BUS, BR_R, BR_X, BR_B, RATE_A, RATE_B, ...
0002 RATE_C, TAP, SHIFT, BR_STATUS, PF, QF, PT, QT, MU_SF, MU_ST, ...
0003 ANGMIN, ANGMAX, MU_ANGMIN, MU_ANGMAX] = idx_brch
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
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082 F_BUS = 1;
0083 T_BUS = 2;
0084 BR_R = 3;
0085 BR_X = 4;
0086 BR_B = 5;
0087 RATE_A = 6;
0088 RATE_B = 7;
0089 RATE_C = 8;
0090 TAP = 9;
0091 SHIFT = 10;
0092 BR_STATUS = 11;
0093 ANGMIN = 12;
0094 ANGMAX = 13;
0095
0096
0097 PF = 14;
0098 QF = 15;
0099 PT = 16;
0100 QT = 17;
0101
0102
0103
0104 MU_SF = 18;
0105 MU_ST = 19;
0106 MU_ANGMIN = 20;
0107 MU_ANGMAX = 21;
Generated on Mon 26-Jan-2015 14:56:45 by m2html © 2005