# US 2024/0202668 A1 · Execution of forecasting models generated based on planning calendars

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202668 A1
- Document ID: US20240202668A1
- Status: Published application
- Kind: A1
- Application number: 18/082,049
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Bertrand Lamy; Marc Bizeul; Savaneary Sean
- Web page: https://patentgrep.com/patent/US20240202668A1

## CPC

- G06Q 10/109: Time management, e.g. calendars, reminders, meetings or time accounting
- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

The present disclosure relates to computer-implemented methods, software, and systems for identifying cycle patterns in data observations collected as time series based on a planning calendar with a time hierarchy. Time series can include data observations associated with a respective date. Model variables derived based on each date associated with each data observation can be determined. The model variables can map a date of a data observation to an occurrence of the date according to a time hierarchy of a planning calendar. The time hierarchy can include periods of sub-periods as a hierarchy level, where each period is defined to comprise a number of sub-periods based on a week-based pattern of the planning calendar. A predictive model is generated for a predicted variable identified at the data observations based on the model variables. The predictive model is executed to predict values for the predicted variable over a time horizon.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining, as an obtained time series, a time series comprising data observations, each data observation associated with a respective date;
determining model variables derived based on each date associated with each data observation, wherein the model variables map a date of a data observation to an occurrence of the date according to a time hierarchy of a planning calendar, wherein the time hierarchy comprises periods of sub-periods as a hierarchy level, wherein each period is defined to comprise a number of sub-periods based on a week-based pattern of the planning calendar, and wherein a sub-period comprises a number of consecutive days of a year;
generating a predictive model for a predicted variable identified at the data observations based on the model variables, wherein the predictive model identifies recurring data patterns at the time series for the predicted variable within the periods of the time hierarchy; and
executing the predictive model to predict, as predicted values, values for the predicted variable over a time horizon.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the model variables are determined for each combination of hierarchy levels of the planning calendar, the hierarchy levels comprising a year, an aggregation period, a period, a sub-period, and a day.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the planning calendar is a calendar defined to comprise a same number of days in a hierarchy level of the time hierarchy, and wherein each sub-period within a period of the time hierarchy is defined to start on a same weekday of the Gregorian calendar.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein a first period of sub-periods is a period of weeks within the time hierarchy of the planning calendar, wherein the first period comprises a different number of weeks compared to a second period of weeks as sub-periods and a third period of weeks as sub-periods, the second period of weeks and the third period of weeks being defined within the time hierarchy of the planning calendar.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the planning calendar comprising a 4-4-5 week-based pattern as the pattern of the planning calendar, wherein the 4-4-5 week-based pattern defines a repetitive sequence of number of weeks for each consecutive period in the time hierarchy of the planning calendar.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein each period of sub-periods comprises a same number of sub-periods as the week-based pattern of the planning calendar.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the obtained time series comprise data identifying a position of a respective date of a data observation within a hierarchy of a Gregorian calendar, wherein the Gregorian calendar is defined to comprise hierarchy levels comprising calendar year, calendar quarter, calendar month as a period comprising a respective number of days.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, comprising:
providing the predicted values for the predicted variable as input for executing a process for scheduling resource consumption over the time horizon.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the predictive model is generated based on a plurality of predictor values comprising the model variables as variables for prediction and one or more additional variables as one or more respective predictors to support prediction of values for the predicted variable.

### Claim 10

A non-transitory, computer-readable medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
obtaining, as an obtained time series, a time series comprising data observations, each data observation associated with a respective date;
determining model variables derived based on each date associated with each data observation, wherein the model variables map a date of a data observation to an occurrence of the date according to a time hierarchy of a planning calendar, wherein the time hierarchy comprises periods of sub-periods as a hierarchy level, wherein each period is defined to comprise a number of sub-periods based on a week-based pattern of the planning calendar, and wherein a sub-period comprises a number of consecutive days of a year;
generating a predictive model for a predicted variable identified at the data observations based on the model variables, wherein the predictive model identifies recurring data patterns at the time series for the predicted variable within the periods of the time hierarchy; and
executing the predictive model to predict, as predicted values, values for the predicted variable over a time horizon.

### Claim 11 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein the model variables are determined for each combination of hierarchy levels of the planning calendar, the hierarchy levels comprising a year, an aggregation period, a period, a sub-period, and a day.

### Claim 12 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein the planning calendar is a calendar defined to comprise a same number of days in a hierarchy level of the time hierarchy, and wherein each sub-period within a period of the time hierarchy is defined to start on a same weekday of the Gregorian calendar.

### Claim 13 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein a first period of sub-periods is a period of weeks within the time hierarchy of the planning calendar, wherein the first period comprises a different number of weeks compared to a second period of weeks as sub-periods and a third period of weeks as sub-periods, the second period of weeks and the third period of weeks being defined within the time hierarchy of the planning calendar.

### Claim 14 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein the planning calendar comprising a 4-4-5 week-based pattern as the pattern of the planning calendar, wherein the 4-4-5 week-based pattern defines a repetitive sequence of number of weeks for each consecutive period in the time hierarchy of the planning calendar.

### Claim 15 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein each period of sub-periods comprises a same number of sub-periods as the week-based pattern of the planning calendar.

### Claim 16

A computer-implemented system comprising:
one or more processors; and
one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations comprising:
obtaining, as an obtained time series, a time series comprising data observations, each data observation associated with a respective date;
determining model variables derived based on each date associated with each data observation, wherein the model variables map a date of a data observation to an occurrence of the date according to a time hierarchy of a planning calendar, wherein the time hierarchy comprises periods of sub-periods as a hierarchy level, wherein each period is defined to comprise a number of sub-periods based on a week-based pattern of the planning calendar, and wherein a sub-period comprises a number of consecutive days of a year;
generating a predictive model for a predicted variable identified at the data observations based on the model variables, wherein the predictive model identifies recurring data patterns at the time series for the predicted variable within the periods of the time hierarchy; and
executing the predictive model to predict, as predicted values, values for the predicted variable over a time horizon.

### Claim 17 (depends on 16)

The system of claim 16, wherein the model variables are determined for each combination of hierarchy levels of the planning calendar, the hierarchy levels comprising a year, an aggregation period, a period, a sub-period, and a day.

### Claim 18 (depends on 16)

The system of claim 16, wherein the planning calendar is a calendar defined to comprise a same number of days in a hierarchy level of the time hierarchy, and wherein each sub-period within a period of the time hierarchy is defined to start on a same weekday of the Gregorian calendar.

### Claim 19 (depends on 16)

The system of claim 16, wherein a first period of sub-periods is a period of weeks within the time hierarchy of the planning calendar, wherein the first period comprises a different number of weeks compared to a second period of weeks as sub-periods and a third period of weeks as sub-periods, the second period of weeks and the third period of weeks being defined within the time hierarchy of the planning calendar.

### Claim 20 (depends on 16)

The system of claim 16, wherein the planning calendar comprising a 4-4-5 week-based pattern as the pattern of the planning calendar, wherein the 4-4-5 week-based pattern defines a repetitive sequence of number of weeks for each consecutive period in the time hierarchy of the planning calendar.
