First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
The actual simulation time is available in variable TIME (GET_TIME() in rev 36) in a user written model.
![]() | 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')