From ff4c468ea83bec5b17a73c342b1d640cf78b7f2f Mon Sep 17 00:00:00 2001 From: trevor <63176386+TfedUD@users.noreply.github.com> Date: Thu, 20 Jun 2024 12:12:29 -0400 Subject: [PATCH 1/2] feat: added multiplier to type limits --- honeybee_doe2/schedule.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/honeybee_doe2/schedule.py b/honeybee_doe2/schedule.py index c363eb7..de38407 100644 --- a/honeybee_doe2/schedule.py +++ b/honeybee_doe2/schedule.py @@ -23,6 +23,8 @@ def schedule_type_limit_to_inp(type_limit): """Get the DOE-2 type for a honeybee-energy ScheduleTypeLimit.""" if type_limit is None: return 'FRACTION' + elif type_limit == 'Multiplier': + return "MULTIPLIER" elif type_limit.unit_type == 'Temperature': return 'TEMPERATURE' else: From 763e464eadb096030a9b5c1d9be1194a29153406 Mon Sep 17 00:00:00 2001 From: trevor <63176386+TfedUD@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:33:14 -0400 Subject: [PATCH 2/2] feat: new multiplier format --- honeybee_doe2/schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/honeybee_doe2/schedule.py b/honeybee_doe2/schedule.py index de38407..2f7dee1 100644 --- a/honeybee_doe2/schedule.py +++ b/honeybee_doe2/schedule.py @@ -23,7 +23,7 @@ def schedule_type_limit_to_inp(type_limit): """Get the DOE-2 type for a honeybee-energy ScheduleTypeLimit.""" if type_limit is None: return 'FRACTION' - elif type_limit == 'Multiplier': + elif type_limit.display_name == 'Multiplier': return "MULTIPLIER" elif type_limit.unit_type == 'Temperature': return 'TEMPERATURE'