Skip to content

Commit

Permalink
feat(schedule): Add multiplier to type limits
Browse files Browse the repository at this point in the history
* feat: added multiplier to type limits

* feat: new multiplier format
  • Loading branch information
TfedUD authored Jul 26, 2024
1 parent f4ccc5c commit f3f280f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions honeybee_doe2/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.display_name == 'Multiplier':
return "MULTIPLIER"
elif type_limit.unit_type == 'Temperature':
return 'TEMPERATURE'
else:
Expand Down

0 comments on commit f3f280f

Please sign in to comment.