correct call in add zone

This commit is contained in:
Guille 2020-10-22 07:55:40 -04:00
parent 027bea5c2f
commit b306ecbd3b

View File

@ -21,7 +21,7 @@ class IdfHelper:
self._eso_file_path = str((Path.cwd() / 'eplusout.eso').resolve())
def add_zone(self, building_name):
IDF.newidfobject('ZONE', Name=building_name, Ceiling_Height='autocalculate', Volume='autocalculate',
self._idf.newidfobject(key='ZONE', Name=building_name, Ceiling_Height='autocalculate', Volume='autocalculate',
Floor_Area='autocalculate', Part_of_Total_Floor_Area='yes', )
def add_surface(self, surface, building_name):