Transfer a bus from one zone to another
Hi I have three buses [20304, 20305, 20306] that I need to transfer from zone 1 to zone 3. How do you transfer zones for more than one bus at a time?
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Hi I have three buses [20304, 20305, 20306] that I need to transfer from zone 1 to zone 3. How do you transfer zones for more than one bus at a time?
Assuming that you don't want to just loop over a busdata2 function, you could make a bus subsystem and run zonm on it.
# Define a bus subsystem
psspy.bsys(0,0,[0,500],0,[],3,[20304,20305,20306],0,[],0,[])
# Change the zone for the buses in the subsystem to 3
psspy.zonm(0,0,[1,1],3)
# Restore the subsystem view to show all buses.
psspy.bsysdef(0,0)
Remember to change the "3" being passed to bsys if you're not modifying three buses.
Nice, bus subsystem is the best way to do it I reckon.
Asked: Feb 8 '12
Seen: 823 times
Last updated: Mar 14 '13
How do I find an available bus number?
How do I delete a bus from a working case?
Why doesn't PSSE recognise _i?
How do I find all in-service branches connected to out of service buses?
Error with psspy.two_winding_chng_4
The smallest number of elements to create a saved case