a. radians

b. In both of those cases, there are no constrained branches (i.e. all 
mpc.branch(:, RATE) are zero), meaning there are no branch flow limits to 
evaluate, so opf_branch_flow_fcn() does not need to be called.

c. A function pointer to opf_branch_flow_fcn() is declared with the input 
parameter il  in line 320 of 
opf_setup.m<https://github.com/MATPOWER/matpower/blob/a6a489c3d3a83f5c65fc7e0a5dc5306eb7cc6ac0/lib/opf_setup.m#L320>,
 and il is defined in line 
287<https://github.com/MATPOWER/matpower/blob/a6a489c3d3a83f5c65fc7e0a5dc5306eb7cc6ac0/lib/opf_setup.m#L287>.

   Ray



On May 16, 2019, at 11:51 AM, Jubeyer Rahman 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I have several questions on the code in opf_branch_flow_fcn.m;

a. What is the unit of voltage angle 'Va' within opf_branch_flow_fcn.m , degree 
or radian?

b. While running opf for some of the cases like case14, case118, etc. when I 
set the breakpoint within the opf_branch_flow_fcn.m, it does not halt there; 
what are the reasons for that? Though for cases like case9 or case5, it does 
enter in the branch_flow_fcn code?

c. where  the 'il' (an input to opf_branch_flow_fcn) is first declared? and 
which one is the immediate code before opf_branch_flow_fcn where 'il' has been 
modified?

Regards,
Jubeyer



Reply via email to