Ask Your Question

Python API to Terminate Dynamic Simulation

asked 2018-07-27 01:28:04 -0500

ffl gravatar image

Is there an API to terminate dynamic simulation when a given number or threshold of Network Not Converged (NNC) is exceeded?

edit retag flag offensive close merge delete


I hope someone has an answer to this as I have been looking for a solution like this for a while. It doesn't appear PSSEHALT works for this. Best thing I can conceive is a FORTRAN model that monitors the simulation then when I want simulation to stop, crash PSSE by dividing by zero. Awful, I know

EBahr gravatar imageEBahr ( 2018-08-09 11:53:14 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2018-08-17 05:07:12 -0500

perolofl gravatar image

You have to write a user miscellaneous model that in MODE 3 will check variable ITER or IFLAG and set the following variables in order to stop the on-going simulation.

TPAUSE = -1.


The simulation will be interrupted and control is back to activity level. Read Program Operation, Chapter 23 Model Writing.

edit flag offensive delete link more

answered 2018-07-31 23:35:05 -0500

Morning I never tried this problem but I can advice you that read chapter 4 in the documentation Best regards

edit flag offensive delete link more

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


Asked: 2018-07-27 01:28:04 -0500

Seen: 132 times

Last updated: Aug 17 '18