4. Develop and Test Models

The VAV_MVL system configuration implements the layered Model+View testing architecture for the HVAC example.
The RECORDER and CTRL devices encapsulate the functionality of the HMI layer of the architecture. The SP (setpoint) output of the FACEPLATE is wired to the DAMPER_ACT multicast publisher block to provide manual control of the Variable Air Volume (VAV) damper actuation:
  • When SP > 67%, the VAV motor moves to open the damper.
  • When SP < 33%, the VAV motor moves to close the damper.
  • When 68% > SP > 32%, the damper remains in its current position.
The VIEW device of the VAV_VIEWL configuration is replaced by the ZONE device encapsulating the functionality of both the Model and View layers:
  • As before, there are two instances of the specialized VIEW_PANEL resource type to provide the necessary layout of View elements for the HVAC example.
  • In addition, the MODEL resource of the ZONE device contains the models for the room and the VAV (Variable Air Volume) unit as instances of the ZONE_MDLL and VAV_MDLL types, respectively.
  • The simulation is run at 10 times real time by setting the DT parameter of the simulation clock (VAV_CLK) to t#100s and the DT parameter of the DAMPER block to t#1s.
  • The ROOM block is updated ten times more slowly than the DAMPER block, since the zone characteristic time is more than an order of magnitude greater than the damper valve actuation time.
  • Since the RECORDER block is triggered by the publication of the TEMP output of the ROOM block, each point plotted on the recorder represents 10 seconds of simulated time.
This animation shows typical results of running this simulation configuration.
Last updated: 2011-02-01.
©2011 Holobloc Inc.
Licensed under the Academic Free License version 3.0.