API Reference › elec_equip

elec_equip

PHX Passive House electrical equipment (appliance) classes for energy demand and IHG calculations.

Source: PHX/elec_equip.py


PhxElectricalDevice

Base class for all PHX electrical equipment (dishwashers, laundry, lighting, etc.).

Properties

PropertyTypeDescription
reference_quantity—The reference quantity used for energy-demand normalization.
reference_energy_norm—The reference energy normalization standard for the device.
quantity—The number of this device in the zone.

Methods

get_energy_demand()

To allow for subclass custom behavior. Cannot use @property since

get_quantity()

The number of units, with a stored 0 (the legacy honeybee-ph default) counted as one.


PhxDeviceDishwasher

A kitchen dishwasher appliance.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——
ihg_utilization_factorfloat—

Properties

PropertyTypeDescription
water_connection—The DHW connection type for the dishwasher.
capacity_type—The capacity type classification for the dishwasher.

PhxDeviceClothesWasher

A clothes washing machine appliance.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——
ihg_utilization_factorfloat—

Properties

PropertyTypeDescription
water_connection—The DHW connection type for the clothes washer.

PhxDeviceClothesDryer

A clothes dryer appliance (electric or gas).

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——
ihg_utilization_factorfloat—

Properties

PropertyTypeDescription
dryer_type—The dryer type classification (e.g., 4 = condensation dryer).
field_utilization_factor_type—The field utilization factor type (e.g., 1 = timer).

PhxDeviceRefrigerator

A standalone kitchen refrigerator (no freezer compartment).

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

PhxDeviceFreezer

A standalone kitchen freezer.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

PhxDeviceFridgeFreezer

A combined refrigerator/freezer unit.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

PhxDeviceCooktop

A kitchen cooktop appliance (electric or gas).

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——
ihg_utilization_factorfloat—

Properties

PropertyTypeDescription
cooktop_type—The cooktop fuel type (e.g., 1 = electric).

PhxDeviceMEL

Miscellaneous electrical loads (MEL) per the Phius protocol.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

PhxDeviceLightingInterior

Interior lighting per the Phius protocol.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

PhxDeviceLightingExterior

Exterior lighting per the Phius protocol (outside the thermal envelope).

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——
in_conditioned_spacebool—

PhxDeviceLightingGarage

Garage lighting per the Phius protocol (outside the thermal envelope).

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——
in_conditioned_spacebool—

PhxDeviceCustomElec

A user-defined custom electrical device.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

PhxDeviceCustomLighting

A user-defined custom lighting device.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

Methods

get_energy_demand()

get_quantity()


PhxDeviceCustomMEL

A user-defined custom miscellaneous electrical load (MEL).

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

Methods

get_energy_demand()

get_quantity()


PhxElevatorHydraulic

A hydraulic elevator, modeled as a custom electrical device for energy demand.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

Methods

get_energy_demand()

get_quantity()


PhxElevatorGearedTraction

A geared-traction elevator, modeled as a custom electrical device for energy demand.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

Methods

get_energy_demand()

get_quantity()


PhxElevatorGearlessTraction

A gearless-traction elevator, modeled as a custom electrical device for energy demand.

Inherits from: PhxElectricalDevice

Attributes

AttributeTypeDescription
display_namestr—
device_type——

Methods

get_energy_demand()

get_quantity()


PhxElectricDeviceCollection

A collection of all the PhxElectricalDevices (laundry, lighting, etc.) in a Zone.

Properties

PropertyTypeDescription
devices—Returns a list of all the devices in the PhxElectricDeviceCollection, sorted by display_name.

Methods

device_key_in_collection(_device_key)

Returns True if the key supplied is in the existing device collection.

ArgTypeDescription
_device_key——

get_equipment_by_key(_key)

Return the device matching the given key, or None if not found.

ArgTypeDescription
_key—The lookup key for the device.

add_new_device(_key, _device)

Adds a new PHX Electric-Equipment device to the PhxElectricDeviceCollection.

ArgTypeDescription
_key—The key to use when storing the new electric-equipment
_device——