Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
1

get current zone timestep num in Python EMS?

asked 2021-07-01 13:52:29 -0500

mechyai gravatar image

updated 2021-07-02 12:34:49 -0500

I am trying and cannot find an EMS sensor or output variable that returns the present runtime zone timestep within the hours. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-07-01 16:20:31 -0500

It sounds like you're looking for the ZoneTimeStep built-in EMS variable.

edit flag offensive delete link more

Comments

Yes, thank you. I need the TimeStepNum built-in. However, I am using the Python API and do not see this available with the Python EMS Data Transfer/Exchange API 0.2. Do you know if there is another way to fetch it via Python? (I have made the title more specific)

mechyai gravatar image mechyai  ( 2021-07-02 12:29:24 -0500 )edit

It was pointed out to me that you can retrieve TimeStepNum from the zone_time_step_number method. Apparently it was renamed for python EMS. (And for completeness, you can retrieve ZoneTimeStep from the zone_time_step method.)

shorowit gravatar image shorowit  ( 2021-07-07 19:31:17 -0500 )edit

Thank you, this is exactly what I was looking for.

mechyai gravatar image mechyai  ( 2021-07-12 11:06:33 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2021-07-01 13:52:29 -0500

Seen: 89 times

Last updated: Jul 12