First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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?
2 | No.2 Revision |
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.
3 | added info about the bsys command |
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.
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.