First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
answered 2021-08-30 15:02:27 -0600
Use API dsrval:
ierr, time = psspy.dsrval('TIME', 0)
The API returns the current time.