diff --git a/archetypal/idfclass/end_use_balance.py b/archetypal/idfclass/end_use_balance.py index 19ccf5d1..9c326c45 100644 --- a/archetypal/idfclass/end_use_balance.py +++ b/archetypal/idfclass/end_use_balance.py @@ -135,11 +135,11 @@ def from_sql_file( f"freq='{freq}': A reporting frequency other than H is not yet " f"supported." ) - freq_to_unit = {"H": "hr"} + freq_to_unit = {"h": "hr"} _hvac_input = _hvac_input.apply( lambda row: unit_registry.Quantity( row.values, - unit_registry(power_units) * unit_registry(freq_to_unit[freq]), + unit_registry(power_units) * unit_registry(freq_to_unit[freq.lower()]), ) .to(units) .m