mabuseif commited on
Commit
b2c311e
·
verified ·
1 Parent(s): 7a69981

Upload 2 files

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -720,7 +720,7 @@ class HVACCalculator:
720
  'heat_gain': load_dict.get('sensible', load_dict.get('total', 0)),
721
  'clf': self.cooling_calculator.ashrae_tables.get_clf_people(
722
  zone_type='A',
723
- hours_occupied=f"{load['hours_in_operation']}h",
724
  hour=design_loads['design_hour']
725
  ) if load_type == 'people' else 1.0,
726
  'load': load_dict.get('total', 0) / 1000
 
720
  'heat_gain': load_dict.get('sensible', load_dict.get('total', 0)),
721
  'clf': self.cooling_calculator.ashrae_tables.get_clf_people(
722
  zone_type='A',
723
+ hours_occupied=f"{int(load['hours_in_operation'])}h",
724
  hour=design_loads['design_hour']
725
  ) if load_type == 'people' else 1.0,
726
  'load': load_dict.get('total', 0) / 1000