Ask Your Question
0

Retrieve dynamic data using Python

asked 2024-02-22 13:35:40 -0600

Shahab Mehraeen gravatar image

Hi, Is there an API function that retrieves generator angles, speeds, etc., in the PSSE dynamic simulation using Python? I am able to retrieve the bus voltages using : ierr, voltages = psspy.abusreal(-1, string="PU")

I wonder if there is a similar way to extract dynamic states. Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-02-22 15:28:31 -0600

perolofl gravatar image

Select channels for the wanted information and use psspy.chnval to get the value.

edit flag offensive delete link more

Comments

Thank you so much. chnval reads the states. However, I am using psspy.chsb(0,1,[-1,-1,-1,1,1,0]) to select channels and don't exactly know how to point at the certain generator state.

Shahab Mehraeen gravatar imageShahab Mehraeen ( 2024-02-23 10:26:09 -0600 )edit

What do you mean? I don't understand.

perolofl gravatar imageperolofl ( 2024-02-25 03:01:40 -0600 )edit

Do you possibly have a sample Python code that uses channel selection for generator states and chnval to get their values? Thank you in advance.

Shahab Mehraeen gravatar imageShahab Mehraeen ( 2024-02-26 22:59:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2024-02-22 13:35:40 -0600

Seen: 188 times

Last updated: Feb 22