Configure day types from tables

Three tables in CONFIG are used to configure the day types in Aiolos, DayTypeCalendar, DayType and DayTypeRules.

Rules are set for daytypes Instead of using specific dates. This means that your DayType Calendar never expires.

The database map below shows an example of how the tables are connected.

A DayType Calendar consists of several DayTypes defining the calendar. Here we have a calendar created for Swedish house holds that contains Midsummer eve, Weekends, the dat before 1st of May and so on.

A DayType is defined by a set of one or more rules. Weekend consists of both the Sunday and the Saturday rule and Pre 1st of May consists of the rule April 30th with a condition of it being a Monday.

Aiolos has many daytypes predefined that you mark or unmark in the daytype calendar view to use in your calendars.

Using the three tables, DaytypeRules, DayTypes and DayTypeCalendars you can customize and set up almost any type of day for your forecast series.