Ask Your Question
0

Component status in psspy

asked 2022-06-21 15:54:32 -0500

Moji gravatar image

Hi all,

I wonder that how we can see the status of componenet in dynamic simulation via python? For instance, we add a relay into system, then where can we find if it is activate or not? Although we can check its function based on the result, monitoring its status is my concern.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2022-06-22 01:23:07 -0500

perolofl gravatar image

updated 2022-06-23 02:17:55 -0500

A switching made by a relay is reported in the progress window. Redirect the progress window to a file during the simulation and read through the file afterwards.

Another solution is to save all component statuses in a dictionary before the simulation and compare with the statuses after simulation.

edit remove flag flag offensive (1) delete link more

Comments

Thanks for your response. My problem is that I don’t know where the status of components are, e.g. in DISTR1 couldn’t find the output representing the status(added in .dyr) I noticed some APIs for relay adding, but no idea for the status in ierr. I appreciate if you have any idea in this cass

Moji gravatar imageMoji ( 2022-06-22 06:08:14 -0500 )edit

I meant to loop through all lines and transformers before the simulation and store their status and do the same check after simulation and compare to see any status changes. This will catch all status changes made in the simulation.

perolofl gravatar imageperolofl ( 2022-06-23 02:15:28 -0500 )edit

Thanks for thr feedback. In that case, where can I find the status of components to store them? For that specific relay, I couldn’t see any output variables to store. Do you mean ierr variable?if so, ierr only shows the APIs status not component working status

Moji gravatar imageMoji ( 2022-06-23 06:56:29 -0500 )edit

I mean to loop through all lines and use an API to get the status and store it. It has nothing to do with the relay model.

perolofl gravatar imageperolofl ( 2022-06-30 02:40:47 -0500 )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: 2022-06-21 15:54:32 -0500

Seen: 190 times

Last updated: Jun 23 '22