t_cpf_cb1
PURPOSE 
T_CPF_CB1 User callback function 1 for continuation power flow testing.
SYNOPSIS 
function [cb_state, results] = t_cpf_cb1(k, V_c, lam_c, V_p, lam_p,cb_data, cb_state, cb_args, results)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
This function is called by:
SOURCE CODE 
0001 function [cb_state, results] = t_cpf_cb1(k, V_c, lam_c, V_p, lam_p, ...
0002 cb_data, cb_state, cb_args, results)
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 if k == 0
0018 cb_state.cb1.initial = 1;
0019 cb_state.cb1.iteration = 0;
0020 cb_state.cb1.final = 0;
0021
0022 elseif nargout == 2
0023 results.cb1.final = 1;
0024
0025 else
0026 cb_state.cb1.iteration = cb_state.cb1.iteration + 1;
0027 end
Generated on Fri 20-Mar-2015 18:23:34 by m2html © 2005