Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Space

Represents a space with homogeneous temperature within a building. It is often actual room enclosed by walls, but it can also be more than one room. In this latter case, there will be walls within the Space, meaning that there are walls whose Front and Back boundary is this space.

Examples

.spl

Space {
    name: "Walrus Enclosure",
    volume: 249,
    building: "Wonderful Zoo"
}

.json

{
    "name": "Walrus Enclosure",
    "volume": 249,
    "building": "Wonderful Zoo"
}

Full Specification

Space {
   name : string,
   volume : number, // optional,
   infiltration : Infiltration, // optional,
   building : string, // optional,
   storey : int, // optional,
   purposes : [SpacePurpose, ...],
}

name

The name of the space

volume (optional)

Volume of the space

infiltration (optional)

The infiltration in the space

building (optional)

The building in which this Space is inserted

storey (optional)

The storey in which the space is located, indexing from 0 (i.e., ground floor is 0)

purposes

The purposes in a room. It can have multiple purposes (e.g., a Living/Dining/Kithen space)

API Access

// by name
let my_space = space(string);
// by index
let my_space = space(int);

API

The following properties are available for simulating control algorithms. Control scripts can read all of them, but only set those that people (or control systems) can change in real life. The rest can only be set in research mode.

PropertyCan be set
dry_bulb_temperatureResearch mode only
brightnessResearch mode only
loudnessResearch mode only
infiltration_volumeResearch mode only
infiltration_temperatureResearch mode only
ventilation_volumeResearch mode only
ventilation_temperatureResearch mode only