Dev:Commercial

Dev:Commercial - Commercial building developer's guide


 * Note : The small office building is part of the original implementation of the commercial module and is expected to be deprecated when the full commercial building implementation is completed. This will include deprecation of the multizone class.  Small office buildings will be derived from the building implementation when that is validated and released.

Building
The building class implements that abstract class used to solve all linearized multizone building models. All multizone commercial building classes are derived from this class.

Default HVAC Controller
The default controller implements a simple single zone vent/heat/cool/aux control. To override the default controller you must implement the plc function is the derived class.

The default control strategy for node n is as follows:

if mode == OFF || mode == VENT if T < Th-2*Td mode = AUX else if T < Th - Td/2 mode = HEAT else if T > Tc + Td/2 mode = COOL else if Vm > 0 mode = VENT else mode = OFF else if mode == HEAT if T < Th-2*Td mode = AUX else if T > Th+Td/2 if Vm > 0 mode = VENT else mode = OFF else if mode == COOL if T < Tc - Td/2 if Vm > 0 mode = VENT else mode = OFF else if mode == AUX if T > Th - Td/2 if Vm > 0 mode = VENT else mode = OFF


 * Note : Implementing the plc function for a building means that the default controller is disabled for all nodes in the building. This means that if you want to continue using the default controller for some nodes you must call the building::plc function directly for that node.