-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ph_equipment): Update PH-Equipment
- PH Equipment to use HBE-Process-Loads - Update tests - Bump dependencies - DEPRECATION WARNING: The `honeybee_energy_ph/properties/load/equipment.py` 'ElectricEquipmentPhProperties' should no longer be used to store PhEquipment. More all PhEquipment to the new HB-Process Load object.
- Loading branch information
Showing
18 changed files
with
1,906 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# -*- Python Version: 2.7 -*- | ||
# -*- coding: utf-8 -*- | ||
|
||
"""HB-PH Electric Equipment Types.""" | ||
|
||
try: | ||
from honeybee_ph_utils import enumerables | ||
except ImportError as e: | ||
raise ImportError("Failed to import honeybee_ph_utils: {}".format(e)) | ||
|
||
|
||
# ----------------------------------------------------------------------------- | ||
# - Type Enums | ||
|
||
|
||
class PhDishwasherType(enumerables.CustomEnum): | ||
allowed = [ | ||
"1-DHW CONNECTION", | ||
"2-COLD WATER CONNECTION", | ||
] | ||
|
||
def __init__(self, _value=1): | ||
# type: (int | str) -> None | ||
super(PhDishwasherType, self).__init__(_value) | ||
|
||
|
||
class PhClothesWasherType(enumerables.CustomEnum): | ||
allowed = [ | ||
"1-DHW CONNECTION", | ||
"2-COLD WATER CONNECTION", | ||
] | ||
|
||
def __init__(self, _value=1): | ||
# type: (int | str) -> None | ||
super(PhClothesWasherType, self).__init__(_value) | ||
|
||
|
||
class PhClothesDryerType(enumerables.CustomEnum): | ||
allowed = [ | ||
"1-CLOTHES LINE", | ||
"2-DRYING CLOSET (COLD!)", | ||
"3-DRYING CLOSET (COLD!) IN EXTRACT AIR", | ||
"4-CONDENSATION DRYER", | ||
"5-ELECTRIC EXHAUST AIR DRYER", | ||
"6-GAS EXHAUST AIR DRYER", | ||
] | ||
|
||
def __init__(self, _value=1): | ||
# type: (int | str) -> None | ||
super(PhClothesDryerType, self).__init__(_value) | ||
|
||
|
||
class PhCookingType(enumerables.CustomEnum): | ||
allowed = [ | ||
"1-ELECTRICITY", | ||
"2-NATURAL GAS", | ||
"3-LPG", | ||
] | ||
|
||
def __init__(self, _value=1): | ||
# type: (int | str) -> None | ||
super(PhCookingType, self).__init__(_value) | ||
|
Oops, something went wrong.