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

OS Measure to access: Minimum Air Flow Turndown Schedule Name

asked 2020-10-05 11:30:58 -0500

updated 2020-10-06 13:54:16 -0500

I am trying to write an EnergyPlus measure to access/write the EnergyPlus field (#8) Minimum Air Flow Turndown Schedule Name on a AirTerminal:DualDuct:VAV object. For some reason I am successful in writing to the field #7 Design Specification Outdoor Air Object Name but it will not let me write to field #8. Does this have to do with the forward translator or is there something that I am missing? Maybe there is a mistake in my code?

The measure successfully runs, but when I examin the idf input file, it only seems to write to field #7. Here is the ruby file: https://drive.google.com/file/d/1e5UF...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-10-12 11:14:07 -0500

updated 2020-10-12 11:14:31 -0500

There were two mistakes:

line 79: min_af_td_sched was called out as a string instead of a variable

line 98: min_af_td_sched should be converted to a string with .to_s before writing to the idf file.

Despite these mistakes being fixed, I was still unable to successfully run the measure using OpenStudio version 2.9.1. The measure does work with the new OS version 3.0.1 (App version 1.0.1).

edit flag offensive delete link more

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2020-10-05 11:30:58 -0500

Seen: 223 times

Last updated: Oct 12 '20