preheat_open.unit

unit.py

This module defines units and their auxiliary functions, including components, devices, and control settings.

Classes:

UnitDescriptors NotFoundError ControlSetting ControlSettings ComponentData Component Device Unit

Functions:

_standard_measurement_dict

Classes

Component([cid, id, name, type, min, max, ...])

Defines a component in the PreHEAT sense.

ControlSetting([type, value, unit])

Represents a control setting for a unit.

ControlSettings(settings[, parent])

Represents a collection of control settings.

Device([type, id, serial, name, components, ...])

A device is a grouping of signals originating from a single physical data source (device), which is not linked to the building model.

Unit([type, subtype, descriptors, zones, ...])

Defines a unit in the PreHEAT sense.

UnitDescriptors(**parameter_dict)

Represents descriptors for a unit.

Exceptions

NotFoundError

Exception raised when a requested item is not found.