Y_matrix shape

60 views
Skip to first unread message

Behnam Tamimi

unread,
Oct 18, 2021, 10:59:33 AM10/18/21
to Open-DSOPF
Hello,
Y_matrix gives an out of range error. I traced it back to the  Export_Y_bus  function. On line 20 of this function we can find:

    Y_matrix=Y_matrix[:len(Buses)*3,:len(Buses)*3*2] 
    
What is the logic behind the line above? Have you assumed that all the buses are single phase buses?
Thanks,
-Ben

valentin...@gmail.com

unread,
Mar 2, 2022, 6:47:13 AM3/2/22
to Open-DSOPF
Hi Ben,

The model assumes a 3-phase system where nodes (for each bus) are on phases a, b and c. That's the reason behind the *3 multiplication.
If you have modified the network (e.g., to a 4-wire or a single-phase system), you will need to modify those functions accordingly.

Regards,
V
Reply all
Reply to author
Forward
0 new messages