Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get the number of buses targeted by BSYS

I am running a simulation using psspy.bsys(2, 1, [3, 210]) to create a subsystem of buses with:

  • sid=2
  • Use KV values
  • Array specifying the range, [3, 210]

but according to the documentation, there are others way to create the subsystem.

I was wondering whether there is a way to know how many buses (the number) has been targeted by such function. I was expecting that function to return the number of buses targeted but it returns just error codes.

This doubt is because when monitoring multiple measures (VOLT, BSFREQ,...) using psspy.chsb happens to output everything indistinctly to the same file defined in psspy.strt()

Do you know if there is such a way to "output every chsb" to different output files? If not, is there any way to find out how many buses were targeted by bsys?

Thank you for any help you can provide. Tomás.