Show TOC

Function documentationConverting an Event Profile into Weekly Profiles

 

The system first scales the event profile to the validity period of the DIF occurrence. This means that the number of weighting factors for the profile is reduced or increased to the number of calendar days included in the validity period of the DIF occurrence. If the duration of the DIF occurrence does not correspond to a whole number of weeks, the system uses one of the following methods to fill up whole weeks, depending on the setting in the weighting profile:

  • Filling up with a constant weighting factor: For the remaining days in the week(s) that are not covered by the event profile, the system generates a constant weighting factor. The value of the weighting factor is derived from a parameter in the profile. Valid values are:

    • Zero: For the remaining days in the week, use a weighting factor of zero.

    • Minimum: For the remaining days in the week, use the smallest of the existing weighting factors in the week as the weighting factor.

    • Medium: For the remaining days in the week, use the mean value from the weighting factors in the week as the weighting factor.

    • Maximum: For the remaining days in the week, use the highest of the existing factors in the week as the weighting factor.

  • Scaling to whole weeks with the threshold value: The threshold value specifies the number of days in a week that has been started, from which point the week is filled up to a whole one (in other words expanding the weighting profile to this week). If this threshold value is not reached, the weighting profile is extended so that the part of the week that has been started is no longer covered by the profile.