3

OS Measure to access: Minimum Air Flow Turndown Schedule Name

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

Ski90Moo's avatar
869
Ski90Moo
asked 2020-10-05 11:30:58 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-10-06 13:54:16 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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).

Ski90Moo's avatar
869
Ski90Moo
answered 2020-10-12 11:14:07 -0500, updated 2020-10-12 11:14:31 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments