Is there anyway I can count number of branches between specific buses?
I'm trying to write a code to count the number of devices in the buses that user chose.
I know how to count things like generators, shunts, etc.. but I don't know if there is anyway to count the number of branches and transformers.
Is there anyone who tried this before?