Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

pause psspy.run based on the status of a monitored variable (to simulate an SPS)

Hi there,

In PSS/E dynamics I want to model a Special Protection Scheme (SPS), that takes some action (e.g. tripping specific generators, lines or loads) based on the value of some other monitored parameter or parameters (e.g. voltage/frequency at a given bus, flow on particular lines etc).

To achieve this, I think I'll need to be able to monitor the relevant parameters (easily done), and then when they reach given value(s), pause the dynamic simulation (the part I don't know) and take whatever is action is relevant (via some python command - easy), and then set psspy.run going again.

psspy.run syntax is below. It will run until time tpause, which must be a real number. I don't know how to pause the simulation other than that.

psspy.run(option, tpause, nprt, nplt,crtplt)

Does anyone know if it's possible to pause a simulation based on a monitored variable criteria? I fear that if it can't be done my only option will be to write a bespoke dynamic model in Fortran.

P.S. I know about load trip relay models etc in PSS/E. They won't achieve what I'm trying to do, which is monitor element X trip element Y. D

pause psspy.run based on the status of a monitored variable (to simulate an SPS)

Hi there,

In PSS/E dynamics I want to model a Special Protection Scheme (SPS), that takes some action (e.g. tripping specific generators, lines or loads) based on the value of some other monitored parameter or parameters (e.g. voltage/frequency at a given bus, flow on particular lines etc).

To achieve this, I think I'll need to be able to monitor the relevant parameters (easily done), and then when they reach given value(s), pause the dynamic simulation (the part I don't know) and take whatever is action is relevant (via some python command - easy), and then set psspy.run going again.

psspy.run syntax is below. It will run until time tpause, which must be a real number. I don't know how to pause the simulation other than that.

psspy.run(option, tpause, nprt, nplt,crtplt)

Does anyone know if it's possible to pause a simulation based on a monitored variable criteria? I fear that if it can't be done my only option will be to write a bespoke dynamic model in Fortran.

P.S. I know about load trip relay models etc in PSS/E. They won't achieve what I'm trying to do, which is monitor element X trip element Y. DY.