Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What does psspy.asys do

I tried using psspy.asys to create a group of buses that are in two subsystems. After running the command I expected to see 23 buses in the subsystem. Instead there were 0 buses loaded into the subsystem.

What do you use it for, and how do you use it?

What does psspy.asys do

I tried using psspy.asys to create a group of buses that are in two subsystems. After running the command I expected to see 23 buses in the subsystem. Instead there were 0 buses loaded into the subsystem.

What do you use it for, and how do you use it?

(edit) Here are some of the commands I used:

psspy.asys(sid=1, num=2, areas=[3,4])
ierr, buses = psspy.abuscount(sid=1)
# ierr == 2! Invalid SID value; BUSES returned as 0.
click to hide/show revision 3
added info about the bsys command

What does psspy.asys do

I tried using psspy.asys to create a group of buses that are in two subsystems. After running the command I expected to see 23 buses in the subsystem. Instead there were 0 buses loaded into the subsystem.

What do you use it for, and how do you use it?

(edit) Here are some of the commands I used:

psspy.asys(sid=1, num=2, areas=[3,4])
ierr, buses = psspy.abuscount(sid=1)
# ierr == 2! Invalid SID value; BUSES returned as 0.

My work around

psspy.bsys

I use this to create subsystem of the buses in areas 3 and 4:

psspy.bsys(sid=1, numarea=2, areas=[3,4])
ierr, buses = psspy.abuscount(sid=1)
# ierr == 0! this method works.