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

Ask Your Question
0

Dynamic Simulation Relative Angle

asked Oct 19 '15

Lassettc gravatar image

Is there an API in order to access the relative angle that you set during dynamic simulation? I know you can set it to be relative to a bus, the average angle, or the square of average angle. I'd like to be able to access and modify this angle to change different generator angle plots.

Thanks!

2 answers

Sort by » oldest newest most voted
0

answered Oct 27 '15

cajief gravatar image

There's an API add machine angle statistics as outputs for a given subsystem:

ierr = psspy.chsb(sid, all, status)

Where status is an array of 6 elements and Status(4) = 8 for machine angle statistics for a given subsystem. Six channels are added with the average angle, largest angle, smallest angle, angle spread, largest angle bus, and smallest angle bus. This can also be accomplished through the menu items Dynamics>>Define simulation output by subsystem>>machine angle statistics.

If you need to multiple "relative" angles for the same run or would like to determine the other reference angles, then I suppose this will have to be done when plotting the results.

link
0

answered Oct 25 '15

de_fr gravatar image

Try to add an output channel by using API:

VOLTAGEANDANGLE_CHANNEL

where you can find the voltage magnitude and angle

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: Oct 19 '15

Seen: 3,503 times

Last updated: Oct 27 '15