A named list of ready-to-use calendar objects covering
common sub-annual time resolutions. Pass any element to newModel() /
setCalendar(), inspect it with plot() / autoplot(), or use it as a
template for newCalendar().
Format
A named list of calendar objects:
- annual
Annual resolution (1 timeslice).
- s4_hp3
Four seasons x three hour types
DAY/NIGHT/PEAK, day-proportional seasons and a uniform 12/8/4 split (12 timeslices).- m12, m12a
Monthly resolution, day-proportional shares –
m01..m12andJAN..DEClabels respectively (12 timeslices).- q4
Calendar quarters
Q1..Q4, day-proportional (4 timeslices).- s4
Meteorological seasons
WIN/SPR/SUM/FALin calendar order, day-proportional 90/92/92/91 shares (4 timeslices).- s4_h24
Seasons x 24 hours (96 timeslices) – the TOPIA base calendar.
- m12_h24
Months x 24 hours (288 timeslices) – the higher-resolution TOPIA option.
- wd7_h24
Weekday (
MON..SUN) x 24 hours (168 timeslices).- w52_h24
Week (
w01..w52) x 24 hours (1248 timeslices).- d365
Daily resolution, 365 days.
- d365_h24
Full hourly year: 365 days x 24 hours (8760 timeslices).
- m12_subset_q1
SAMPLED:
m12filtered to Jan-Mar;year_fraction= 90/365.- d365_h24_1dpm
SAMPLED: one day per month at hourly resolution (288 timeslices,
year_fraction~ 12/365).- d365_h24_1dps
SAMPLED: one day per season at hourly resolution (d015/d105/d196/d288, 96 timeslices,
year_fraction~ 4/365).- m12_d365_h24
IRREGULAR:
d365_h24with months (28-31 days) above the days of the year; same day and hour timeslices, so a commodity can balance by month.- m12_d365_h24_1dpm
SAMPLED:
m12_d365_h24on the twelve days ofd365_h24_1dpm(288 timeslices).
The mainstream designs (m12 .. w52_h24 and the first three sampled
entries) are generated from the timescales catalog at DATA-BUILD time
only – timescales is not a runtime dependency. Sampled calendars carry
year_fraction < 1 and solve partial years natively: their timetables
are row subsets of the parent's (never rebuilt with
make_timetable(), which would renormalise the shares) with the
surviving sum(share) passed as year_fraction. The hourly
d365_h24* entries come from IDEEA. See data-raw/calendars.R for the
generating script.
Details
Only GENERIC calendars are shipped. Calendars belonging to a particular
model travel with it: the TOPIA teaching calendar is
topia$modules$calendars$s4_h24, and the unit kits' symmetric
calendars are topia$modules$unit$calendars.

