API Reference renewable_devices

renewable_devices

Honeybee-PH-HVAC-Equipment: Renewable Energy Devices.

Source: honeybee_phhvac/renewable_devices.py


UnknownPhRenewableEnergyTypeError

Raised when an unrecognized renewable energy device type is encountered.

Inherits from: Exception

Attributes

AttributeTypeDescription
msgformatFormatted error message describing the unknown type and valid options.

PhRenewableEnergyDevice

Base class for all HBPH Renewable Energy Systems (PV, etc).

Inherits from: _base._PhHVACBase

Attributes

AttributeTypeDescription
device_typenameClass name string identifying the device type for serialization.
percent_coveragefloatFraction of energy demand covered by this device (0.0-1.0).

Methods

base_attrs_from_dict(_input_dict)

ArgTypeDescription
_input_dictPhRenewableEnergyDevice

Returns: PhRenewableEnergyDevice

check_dict_type(_input_dict)

Check that the input dict type is correct for the Heating System being constructed.

ArgTypeDescription
_input_dictdictThe dictionary to validate.

Returns: None

move(moving_vec3D)

Move the device’s elements along a vector.

ArgTypeDescription
moving_vec3DA Vector3D with the direction and distance to move the ray.

rotate(axis_vec3D, angle_degrees, origin_pt3D)

Rotate the device’s elements by a certain angle around an axis and origin point.

ArgTypeDescription
axis_vec3DA Vector3D representing the axis of rotation.
angle_degreesAn angle for rotation in degrees.
origin_pt3DA Point3D for the origin around which the object will be rotated.

rotate_xy(angle_degrees, origin_pt3D)

Rotate the device’s elements counterclockwise in the XY plane by a certain angle.

ArgTypeDescription
angle_degreesAn angle in degrees.
origin_pt3DA Point3D for the origin around which the object will be rotated.

reflect(normal_vec3D, origin_pt3D)

Reflect the device’s elements across a plane with the input normal vector and origin.

ArgTypeDescription
normal_vec3DA normalized Vector3D representing the normal vector for the plane across which the element will be reflected.
origin_pt3DA Point3D representing the origin from which to reflect.

scale(scale_factor, origin_pt3D)

Scale the device’s elements by a factor from an origin point.

ArgTypeDescription
scale_factorA number representing how much the element should be scaled.
origin_pt3DA Point3D representing the origin from which to scale. If None, it will be scaled from the World origin (0, 0, 0).

PhPhotovoltaicDevice

Photovoltaic (PV) renewable energy device.

Inherits from: PhRenewableEnergyDevice

Attributes

AttributeTypeDescription
photovoltaic_renewable_energyfloatAnnual PV renewable energy production (kWh/yr).
array_sizefloatTotal PV array area (m2).
utilization_factorfloatFraction of generated energy that is utilized (0.0-1.0).

PhRenewableEnergyDeviceBuilder

Constructor class for PH-Renewable-Energy-System objects.