readEio Mulitple Zones

I was getting weird behaviour from the readEio component if my model included multiple zones. The Cool Design day Load had only one value after the header.

Digging into the component code I found that it wasn’t iterating over all zones, although it did record them in an array. I’ve replaced lines 188, 189:

coolDesLoad.append(createHeader(‘Design Day Cooling Load’, zoneName))
heatDesLoad.append(createHeader(‘Design Day Heating Load’, zoneName))

with:

for zoneCount, zoneName in enumerate(zoneNames):
coolDesLoad.append(createHeader(‘Design Day Cooling Load’, zoneName))
heatDesLoad.append(createHeader(‘Design Day Heating Load’, zoneName))

so I’ve included just the one line, which I guess got lost somewhere along the way because it’s passing zoneName as an argument, and zoneName is declared outside the scope of the first two lines.

Hope this helps someone

Hi @Mauricio, I shared this post with @chris and he should get back to you soon. Thank you for posting the question and welcome to the forum.

Thank you for reporting this issue, @Mauricio , and for providing the fix. I tested your code and it worked well so I implemented it in the code base:

Thank you, again!

You’re welcome Chris but no thanks needed, you guys have done an outstanding job providing HB/LB and every other tool, I should be the one thanking you… so thanks haha.

best wishes,

M