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

get current zone timestep num in Python EMS?

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

mechyai's avatar

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

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 -0600

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's avatar mechyai  ( 2021-07-02 12:29:24 -0600 )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's avatar shorowit  ( 2021-07-07 19:31:17 -0600 )edit

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

mechyai's avatar mechyai  ( 2021-07-12 11:06:33 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

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

Seen: 197 times

Last updated: Jul 12 '21