modelDetailedHouse4

Including custom occupant schedule

Extends from DetailedHouse3.

Information

This example extends the third example by adding a custom occupancy model that uses an occupancy schedule that returns an occupancy of two during office hours and zero otherwise.

Required models

Connection instructions

Create a new model that extends the occupancy partial model. This partial model contains an input, which is not used, and an output, which must be set. Create an occupancy signal using a RealExpression that returns the parameter value k during office hours (7–19 h on weekdays) and zero otherwise. Implement this model by extending the previous example, redeclaring the occupancy model, and setting parameter k. Use the year 2019 ( IDEAS.Utilities.Time.Types.ZeroTime.NY2019) to define the reference time in the calendar model. Use an if-then-else statement with logical checks for the calendar outputs weekDay and hour.

Reference result

The figure below shows the operative zone temperature with the old (blue) and new (red) occupancy model. Note the much more peaked behaviour of the zone temperature during the weekdays when there are occupants present.

The operative zone temperature with old (blue) and new (red) occupant model.

Contents

NameDescription
OccSchprotectedSimple occupancy schedule

Revisions

  • April 14, 2025, by Anna Dell'Isola and Lone Meertens:
    Update and restructure IDEAS tutorial models. See #1374 and #1389.
  • September 18, 2019 by Filip Jorissen:
    First implementation for the IDEAS crash course.