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

Ask Your Question
0

API routine in Python to retrieve Bus Frequencies

asked Dec 4 '1

Aryan Ritwajeet Jha gravatar image

There must be a routine similar to the ones to retrieve bus voltages, branch currents and generator real powers, right? I know that in the GUI, one can set channels for BsFreq and use the frequency values obtained in the output files. Just looking for something along the lines of:

ierr, bus_voltages = psspy.abusreal(-1, string = "PU") // API command to retrieve bus voltages

1 answer

Sort by » oldest newest most voted
1

answered Dec 6 '1

perolofl gravatar image

Those API's are returning steady state values, i.e. from load flow calculation. In load flow the frequency is always nominal (50 or 60 Hz). Hence, there is no API to return the frequency.

Bus frequency can only be retrieved with a channel when performing dynamic simulations.

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

1 follower

Stats

Asked: Dec 4 '1

Seen: 417 times

Last updated: Dec 06 '21