Calendar
The Calendar can be found in the TSM mask as tab:
It enables you to create calendar time series. These calendars time series can be used as influencing value for a prognosis. Moreover, day types can be defined. The following da types are already defined by default:
day | Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday |
---|---|---|---|---|---|---|---|
type | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
How to use the Calendar Plug-in?
Via the drop-down box “Datasource” the desired data source can be chosen. It should already contain regions. Choose one of these regions to load the corresponding calendar into the field "Holiday calendar". You can now see its entries:
In the figure above the calendar has no entries, yet.
These entries represent periods on a daily basis. To make a new entry, click in an empty row and set the desired values.
Field | Description | Mandatory |
---|---|---|
Type | This is a numerical value that represents a daytype for this entry. Daytype play role in roll outs and when applying a calendar to a time series. | yes |
From Day | This is a numerical value that sets the starting day for this entry. | yes |
From Month | This is a numerical value that sets the starting month for this entry. | yes |
To Day | This is a numerical value that sets the last day for this entry. | yes |
To Month | This is a numerical value that sets the last month for this entry. | yes |
Floating | Set this field to "Y" for a floating and to "N" for a non-floating period. Non-floating periods are fixed with the values from the previous columns. In the figure below, New Year is fixed to 01.01. of the year. Floating periods are positioned relatively to Easter Sunday. In the figure below, Good Friday ist two days before Easter Sunday. | yes |
Name | Here the name for the period is set. | no |
Apply calendar to time series
In the field „Apply calendar to time series” a time series can be selected just like with the TSM App by either typing its name in the drop down field oder by using the Time series Search.
Once a time series is set, confirm your choice with "OK" and the current calendar will be applied to this time series. This means that the calendars entries are now represented by the time series. So for Friday's, the time series value will be 5 (=the daytype of a regular Friday). For any day that has an entry in the calendar, the time series value will be the one of of that days daytype.
When the checkbox "Set weekdays to 0" is activated, the value of a weekday will always be 0, except for holidays that have an entry in the calendar. Their value will be according to their type.