timeOfDay¶
Seconds since midnight, without events
FastSmoothBuildings.Utilities.timeOfDay, function (source)
Purpose
Time of day, in seconds since midnight, without the events of floor.
Equations
tday = t − 86400 floor(t/86400), inside noEvent.
A sawtooth from 0 to 86400 s that drops back to 0 at each midnight (t a multiple of 86400 s), with a slope of 1 in between: discontinuous at midnight, but without an event.
Use
The argument of the daily schedules occupancy and dayTable: a schedule whose values at 0 and 86400 s are equal stays continuous across midnight. See also Validation.Schedules.
Revisions¶
- October 2026: moved from trano's
FastModel.Utilities.