MEB changes default value. #43

Open
opened 2023-08-22 10:56:55 -04:00 by g_gutierrez · 0 comments
Owner

Passing twice the MEB causes an error in the average story height

Traceback (most recent call last):
  File "/home/guille/Projects/Concordia/meb_step/main.py", line 15, in <module>
    EnergyBuildingsExportsFactory('insel_monthly_energy_balance',
  File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/energy_building_exports_factory.py", line 76, in export
    return getattr(self, self._export_type, lambda: None)
  File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/energy_building_exports_factory.py", line 69, in _insel_monthly_energy_balance
    return InselMonthlyEnergyBalance(self._city, self._path, self._custom_insel_block)
  File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/building_energy/insel/insel_monthly_energy_balance.py", line 49, in __init__
    self._generate_meb_template(building, output_path, self._custom_insel_block)
  File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/building_energy/insel/insel_monthly_energy_balance.py", line 109, in _generate_meb_template
    number_of_storeys = int(building.eave_height / building.average_storey_height)
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'

Process finished with exit code 1

Passing twice the MEB causes an error in the average story height ``` Traceback (most recent call last): File "/home/guille/Projects/Concordia/meb_step/main.py", line 15, in <module> EnergyBuildingsExportsFactory('insel_monthly_energy_balance', File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/energy_building_exports_factory.py", line 76, in export return getattr(self, self._export_type, lambda: None) File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/energy_building_exports_factory.py", line 69, in _insel_monthly_energy_balance return InselMonthlyEnergyBalance(self._city, self._path, self._custom_insel_block) File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/building_energy/insel/insel_monthly_energy_balance.py", line 49, in __init__ self._generate_meb_template(building, output_path, self._custom_insel_block) File "/home/guille/miniconda3/envs/meb_step_3_9/lib/python3.9/site-packages/hub/exports/building_energy/insel/insel_monthly_energy_balance.py", line 109, in _generate_meb_template number_of_storeys = int(building.eave_height / building.average_storey_height) TypeError: unsupported operand type(s) for /: 'float' and 'NoneType' ``` Process finished with exit code 1
g_gutierrez self-assigned this 2023-08-22 10:57:12 -04:00
p_monsalvete was assigned by g_gutierrez 2023-08-22 10:57:13 -04:00
Sign in to join this conversation.
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CERC/hub#43
No description provided.