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 3 years ago

mechyai's avatar

updated 3 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 3 years ago

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

Preview: (hide)
link

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  ( 3 years ago )

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  ( 3 years ago )

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

mechyai's avatar mechyai  ( 3 years ago )

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: 3 years ago

Seen: 208 times

Last updated: Jul 12 '21