First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

How to create a subsystem of transmission lines whose "From bus", "To bus" and Circuit ID are known

asked Aug 22 '17

Rounak gravatar image

Normally, my approach would be to create a bus subsystem of areas and monitor all the transmission lines within the subsystem. However, this increases my simulation time since I am not interested in all the lines. Also, I know the from bus, to bus and the circuit ID for the transmission lines I am interested in. Is there any way to create a subsystem of only those transmission lines so that I can get other values corresponding to these lines like 'STATUS', 'PU', 'MAXMVA' etc.

1 answer

Sort by » oldest newest most voted
0

answered Aug 22 '17

jconto gravatar image

Having a list of buses (include the from-bus and the to-bus for the lines of interest. The circuit ID is not used here.):

buses = [101,101,201, 202, 301, 302]
psspy.bsys(sid=1, numbus=len(buses), busnum=buses)

The buses list can be read from a file with the appropriate coding.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Aug 22 '17

Seen: 865 times

Last updated: Aug 22 '17