# Failed to write IDF file while running Energy Plus, Honeybee

**URL:** <https://discourse.ladybug.tools/t/failed-to-write-idf-file-while-running-energy-plus-honeybee/5179>\
**Category:** honeybee-legacy\
**Tags:** honeybee, energyplus\
**Created:** [February 4, 2019, 7:47pm UTC](https://discourse.ladybug.tools/t/failed-to-write-idf-file-while-running-energy-plus-honeybee/5179 "2019-02-04T19:47:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristina07](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/cristina07/32/11130_2.png) [@cristina07](https://discourse.ladybug.tools/u/cristina07)\
**Post date:** [February 4, 2019, 7:47pm UTC](https://discourse.ladybug.tools/t/failed-to-write-idf-file-while-running-energy-plus-honeybee/5179/1 "2019-02-04T19:47:46Z")

</div>

Hello everyone,

I am assessing the energy performance of an apartment floor in a high-rise building. While running the energy plus simulation I encountered the following error: “Failed to write kitchen\_1\_0\_Srf\_5\_glz\_0 to idf file”. I suppose there is a problem with the glazing, because this error appears only for the zones for which glazing was assigned. I tried to change the glazing ratio, change the material… still got the same error. I would appreciate any sort of suggestion/help that you can give me.

The model that I put together in grasshopper is quite complex because I am dealing with a residential building, hence I have different functions like kitchen, bathroom, etc. which require different ventilation rates according to the building code. I attached the link to the files in case you want to take a look (size was too big). I tried to organize it as good as possible so you can follow the steps that I did. Thank you in advance for any sort of suggestion.

[https://we.tl/t-FS5Bqze9JJ](https://we.tl/t-FS5Bqze9JJ)

Cristina

 ![Issue%20IDF](https://discourse.ladybug.tools/uploads/default/original/2X/f/f84b2c94903915322a9256cdf08728cb0fe04166.png)

---

<div class="post-metadata">

**Author:** ![cristina07](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/cristina07/32/11130_2.png) [@cristina07](https://discourse.ladybug.tools/u/cristina07)\
**Post date:** [February 6, 2019, 9:19am UTC](https://discourse.ladybug.tools/t/failed-to-write-idf-file-while-running-energy-plus-honeybee/5179/2 "2019-02-06T09:19:11Z")

</div>

Nevermind, I figured out what the problem was. In case somebody encounters the same issue, make sure honeybee&ladybug are updated, load all custom EPMaterials and EPConstructions in the library and then just reinsert the Energy Plus Simulation component and run the simulation again.
