forked from s_ranjbar/city_retrofit
Repair energy ade export
This commit is contained in:
parent
b85a111a11
commit
aa4b7829e4
|
@ -75,7 +75,7 @@ class EnergyAde:
|
|||
'energy:type': 'grossVolume',
|
||||
'energy:value': {
|
||||
'@uom': 'm3',
|
||||
'energy:value': building.volume
|
||||
'#text': f'{building.volume}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -292,8 +292,8 @@ class EnergyAde:
|
|||
}
|
||||
}
|
||||
},
|
||||
'energy:isCooled': f'{building.is_conditioned}',
|
||||
'energy:isHeated': f'{building.is_conditioned}',
|
||||
'energy:isCooled': f'{building.is_conditioned}'.lower(),
|
||||
'energy:isHeated': f'{building.is_conditioned}'.lower(),
|
||||
'energy:volumeGeometry': {
|
||||
'gml:Solid': {
|
||||
'@gml:id': f'GML_{uuid.uuid4()}',
|
||||
|
|
|
@ -91,6 +91,7 @@ class TestExports(TestCase):
|
|||
"""
|
||||
self._export_building_energy('energy_ade')
|
||||
|
||||
|
||||
def test_sra_export(self):
|
||||
"""
|
||||
export to SRA
|
||||
|
|
Loading…
Reference in New Issue
Block a user