Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

During the simulation you can access the time with this code:

ierr, the_time_right_now = psspy.dsrval('TIME', INDX)

Integer INDX is an index to a dynamics array. It is Ignored for 'TIME'.

So, if you were running and stopping, you could capture the time whenever you pause.