First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Feb 17 '5

perolofl gravatar image

The actual simulation time is available in variable TIME (GET_TIME() in rev 36) in a user written model.

click to hide/show revision 2
No.2 Revision

The actual simulation time is available in variable TIME (GET_TIME() in rev 36) in a user written model.

EDIT:

The following Python code after the simulation will print the actual time to progress window:

ierr, run_time = psspy.dsrval('TIME')
psspy.progress(f'Run time = {run_time:.3f} s\n')