With a single generator bus, I suggest you use runpf() instead of runopf(), 
since there isn’t really any dispatch flexibility. You can use get_losses() to 
compute the losses on the results.

   Ray


> On Feb 26, 2015, at 11:16 AM, Vitor Ribeiro <[email protected]> wrote:
> 
> Considering a radial distribution system with no islands and no isolated bus, 
> running runopf() I am having convergence problems.
> How can I efficiently calculate real power loss in a radial system with only 
> 1 bus with generation?
> 
> Com os melhores cumprimentos,
> Vitor Ribeiro.
> 
> 2015-02-26 11:44 GMT+00:00 Vitor Ribeiro <[email protected] 
> <mailto:[email protected]>>:
> Hello,
> 
> I am trying creating new case m-file, and I am having error using case_info 
> function.
> 
> Error using  & 
> Matrix dimensions must agree.
> 
> Error in case_info_2 (line 343)
>     ig_on   = ig(find(gon(ig)  & ~isload(mpc.gen(ig, :))));
> 
> 
> this happens considering that I'm changing network topology 
> (mpc.branch(:,11)). If I I run case_info() with all lines connected it runnes 
> perfectly.
> 
> Best Regards,
> Vitor Ribeiro.
> 

Reply via email to