You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default the SingleFamilyHouse classes in teaser/logic/archetypebuildings/tabula/de/singlefamilyhouse.py and teaser/logic/archetypebuildings/tabula/dk/singlefamilyhouse.py contain 1 single zone. For a special use case, we want to add a second zone to this archetype. This exposed a bug in the area calculations performed in generate_archetype(). All areas are calculated similar to:
For 1 zone, this leads to correct results. But for more than 1 zone the total outside area of the building is not distributed between the zones. Instead, each zone gets the full outside area assigned to it, so that 2 zones result in twice the outside area compared to a 1-zone model for the same building. This is because the equations use type_bldg_area when in fact they should use zone.area instead. The following leads to correct results:
By default the
SingleFamilyHouse
classes inteaser/logic/archetypebuildings/tabula/de/singlefamilyhouse.py
andteaser/logic/archetypebuildings/tabula/dk/singlefamilyhouse.py
contain 1 single zone. For a special use case, we want to add a second zone to this archetype. This exposed a bug in the area calculations performed ingenerate_archetype()
. All areas are calculated similar to:For 1 zone, this leads to correct results. But for more than 1 zone the total outside area of the building is not distributed between the zones. Instead, each zone gets the full outside area assigned to it, so that 2 zones result in twice the outside area compared to a 1-zone model for the same building. This is because the equations use
type_bldg_area
when in fact they should usezone.area
instead. The following leads to correct results:As IMO this is a bug, I will branch of the master branch and submit a PR back to master.
The text was updated successfully, but these errors were encountered: