Yes, makeYbus() assumes that the inputs are using internal ordering (i.e. that 
they have been converted via a prior call to ext2int() which also removes 
off-line equipment).

   Ray


On Mar 18, 2022, at 3:24 PM, Jovan Ilic 
<jovan.ilic...@gmail.com<mailto:jovan.ilic...@gmail.com>> wrote:


Ray,

Yes, Cf and Ct are calculated in makeYbus.m.  I noticed that Cf and Ct have the 
same dimensions after disabling
some lines and assumed that something was wrong.  It turns out that the rows 
corresponding to disabled lines were
set to all zeros with the same effect as taking them out.  Not exactly the way 
I would do it but the end result is the
same.

Jovan


On Tue, Mar 15, 2022 at 7:48 PM Ray Daniel Zimmerman 
<r...@cornell.edu<mailto:r...@cornell.edu>> wrote:
While it is not impossible, I would be very surprised to discover that Cf and 
Ct (in makeYbus.m, I assume?) are incorrect, but if you can create a small 
example that demonstrates that they are incorrect, please file a bug report at 
https://github.com/MATPOWER/matpower/issues

Thanks,

    Ray


On Mar 11, 2022, at 9:12 AM, Jovan Ilic 
<jovan.i...@gmail.com<mailto:jovan.i...@gmail.com>> wrote:


It seems that Cf and Ct calculations are
wrong when some branches are disabled.
Since this is fundamental data, I've been
wondering what is the effect on higher
level algorithms.  I'll start digging through
the code but maybe some of  the developers
could give me a quick suggestion about what to
check. It is clear that Yf and Yt are also wrong while
Yb is correct since makeYb does not use Cf
and Ct to calculate it.

Thanks,
Jovan




Reply via email to