5. Requirements

This section describes the functional, mathematical and software requirements. The requirements are currently in discussion and revision with the team.

In these discussion, by plant, we mean the controlled system, which may be a chiller plant, an HVAC system, an active facade, a model of the building etc.

5.1. Controls Design Tool

  1. The controls design tool shall contain a library of predefined control sequences for HVAC primary systems, HVAC secondary systems and active facades in a way that allows users to customize these sequences.

  2. The controls design tool shall contain a library with functional and performance requirement tests that can be tested during design and during commissioning.

  3. The controls design tool shall allow users to add libraries of custom control sequences.

  4. The controls design tool shall allow users to add libraries of custom functional and performance requirement tests.

  5. The controls design tool shall allow testing energy, peak demand, energy cost, and comfort (for each instant of the simulation) of control sequences when connected to a building system model.

  6. The controls design tool shall allow users to test control sequences coupled to the equipment that constitutes their HVAC system.

  7. When the control sequences are coupled to plant models, the controls design tool shall allow users to tag the thermofluid dependencies between different pieces of equipment in the object model. [For example, for any VAV box, the user can define which AHU provides the airflow, which boiler (or system) provides the hot water for heating, etc.]

  8. The control design tool shall include templates for common objects.

  9. A design engineer should be able to easily modify the library of predefined control sequences by adding or removing blocks.

  10. The controls design tool shall prompt the user to provide necessary information when instantiating objects. For example, the object representing an air handler should include fan, filter, and optional coil and damper elements (each of which is itself an object). When setting up an AHU instance, the user should be prompted to define which of these objects exist.

  11. To the extent feasible, the control design tool shall prevent mutually exclusive options in the description of the physical equipment. [For example, an air handler can have a dedicated minimum outside air intake, or it can have a combined economizer/minimum OA intake, but it cannot have both.]

  12. The controls design tool shall hide the complexity of the object model from the end user.

  13. The controls design tool shall integrate with OpenStudio.

  14. The controls design tool shall work on Windows, Linux Ubuntu and Mac OS X.

  15. The controls design tool shall either run as a webtool (i.e. in a browser) or via a standalone executable that can be installed including all its dependencies.

5.2. CDL

  1. The CDL shall be declarative.

  2. CDL shall be able to express control sequences and their linkage to an object model which represents the plant.

  3. CDL shall represent control sequences as a set of blocks (see Section 7.5) with inputs and outputs through which blocks can be connected.

  4. It shall be possible to compose blocks hierarchically to form new blocks.

  5. The elementary building blocks [such as a gain] are defined through their input, outputs, parameters, and their response to given outputs. The actual implementation is not part of the standard [as this is language dependent].

  6. Each block shall have tags that provide information about its general function/application [e.g. this is an AHU control block] and its specific application [e.g. this particular block controls AHU 2].

  7. It shall be possible to identify whether a block represents a physical sensor/actuator, or a logical signal source/sink. [As this is used for pricing.]

  8. Blocks and their inputs and outputs shall be allowed to contain metadata. The metadata shall identify expected characteristics, including but not limited to the following. For inputs and outputs:

    1. units,

    2. a quantity [such as “return air temperature” or “heating requests” or “cooling requests”],

    3. analog or digital input or output, and

    4. for physical sensors or data input, the application (e.g. return air temperature, supply air temperature).

    For blocks:

    1. an equipment tag [e.g., air handler control],

    2. a location [e.g., 1st-floor-office-south], and

    3. if they represent a sensor or actuator, whether they are a physical device or a software point. [For physical sensors, the signal is read by a sensor element, which converts the physical signal into a software point.]

  9. It shall be possible to translate control sequences that are expressed in the CDL to implementation of major control vendors.

  10. It shall be possible to render CDL-compliant control sequences in a visual editor and in a textual editor.

  11. CDL shall be a proper subset of Modelica 3.5 [Mod21]. [Section Control Description Language specifies what subset shall be supported. This will allow visualizing, editing and simulating CDL with Modelica tools rather than requiring a separate tool. It will also simplify the integration of CDL with the design and verification tools, since they use Modelica.]

  12. It shall be possible to simulate CDL-compliant control sequences in an open-source, freely available Modelica environment.

  13. It shall be possible to simulate CDL-compliant control sequences in the Spawn of EnergyPlus.

  14. The object model must be rigorous, extensible and flexible.

  15. Each distinct piece of equipment [e.g. VAV terminal box controller] shall be represented by a unique instance.

5.3. Commissioning and Functional Verification Tool

  1. The CDL tool shall import verification tests expressed in CDL, and a list of control points that are used for monitoring and active functional testing.

  2. The commissioning and functional verification tool shall be able to read data from, and send data to, BACnet, possibly using a middleware such as VOLTTRON or the BCVTB, or read archived data.

  3. It shall be possible to run the tool in batch mode as part of a real-time application that continuously monitors the functional verification tests.

  4. The commissioning and functional verification tool shall work on Windows, Linux Ubuntu and Mac OS X.