- Index
- »
- docHaystack
- »
- Zones
Zones
Overview
This chapter provides the details for modeling zones and their associated sensors and setpoints. See the Spaces chapter for an introduction to how zones are modeled as a subtype of space.
Occupancy
Determining and controlling occupancy is one of the most critical aspects of building automation. Haystack defines several occupancy related tags and points:
occupiedsp: setpoint true when occupied, false when unoccupiedoccupiedsensor: boolean sensor true when occupied, false when unoccupiedoccupancysensor: people counter that measures number of occupantsocc: marker tag is used on points for occupancy modesunocc: marker tag is used on points for occupancy modesoccupants: the people who occupy a space
The primary tag used for the occupied/unoccupied state is the occupied tag. In most cases, the occupied setpoint is a schedule that determines occupancy based on the time of day and day of the week. We might also use a sensor like a motion sensor to determine occupancy. More sophisticated sensors can actually count the number of people in a space; in which case, we use the occupancy tag. As a general rule: points with the occupied tag should have a Bool kind; points with the occupancy tag should have a Number kind.
The occ and unocc tags are used in cases when we need to distinguish modes. For example, if we have two different temperature setpoints based on the occupancy mode, then we distinguish them as occ temp sp and unocc temp sp.
HVAC
The hvac-zone-space conjunct models an HVAC zone for the conditioning of space comfort and air quality. The hvacZonePoints def enumerates the common points used for HVAC control of a space.
The sensor and setpoints associated with temperature control include:
hvacModesp: current mode such as "cooling" or "heating"tempsensor: actual sensed temperature of the spacetempocccoolingsp: cooling setpoint when occupiedtempoccheatingsp: heating setpoint when occupiedtempunocccoolingsp: cooling setpoint when unoccupiedtempunoccheatingsp: heating setpoint when unoccupiedtempstandbycoolingsp: cooling setpoint when in standby modetempstandbyheatingsp: heating setpoint when in standby modetempeffectivesp: current setpoint we are controlling to taking into account cooling/heating mode and occ/unocc/standby mode
Whenever possible, there should be one effective temperature setpoint that takes all the various modes into account. This provides the simplest model to perform analysis of HVAC operations. However in some cases a thermostat will provide two effective setpoints - one for cooling and one for heating. In this case, there must also be a hvacMode point to determine which one is the true effective setpoint. That setup should look like this:
In addition, we might also find the following points:
pressuresensor: measured static pressure of the spacepressuresp: static pressure setpoint (commonly used for lab situations)humiditysensor: measured relative humidity of the spacehumiditysp: setpoint for relative humiditydewPointsensor: measured dew point temperature of the spacedewPointsp: setpoint for dew point temperatureenthalpysensor: measured heat content of the space
All the points above must also be tagged with zone, air, and point.
Air Quality
It is also common in an HVAC zone to also measure and control air quality. We model the typical air quality points using the airQualityZonePoints def which includes:
ch2o-concentrationsensor: measured formaldehyde (CH₂O)co-concentrationsensor: measured carbon monoxide (CO)co2-concentrationsensor: measured carbon dioxide (CO₂)co2-concentrationsp: configured max carbon dioxide (CO₂)nh3-concentrationsensor: measured ammonia (NH₃)no2-concentrationsensor: measured nitrogen dioxide (NO₂)o3-concentrationsensor: measured ozone (O₃)pm01-concentrationsensor: measured particulate matter 0.1pm25-concentrationsensor: measured particulate matter 2.5pm10-concentrationsensor: measured particulate matter 10tvoc-concentrationsensor: measured total volatile organic compounds
All the points above must also be tagged with zone, air, and point.
Lighting
The lighting-zone-space conjuct models lighting zones. The lightingZonePoints def enumerates the typical points used for lighting measurement and control including:
light-levelsensor: brightness level status as percentagelight-levelsp: brightness level setpoint as percentagelightilluminancesensor: lux, footcandle, or photlightluminous-fluxsensor: luminous flux in lumens