Powered By

Free XML Skins for Blogger

Powered by Blogger

Showing posts with label Forecast Parameters. Show all posts
Showing posts with label Forecast Parameters. Show all posts

Thursday, July 10, 2008

Forecast Parameters Topics

Overview

Forecast Models

Model Selection

Manual Model Selection

Automatic Model Selection

Manual Model Selection with Additional System Check

Model Initialization

Ex-Post Forecast

Parameter Optimization

Maintaining Forecast Parameters

Forecast Parameters: Independent of the Forecast Model

Forecast Parameters: Dependent on the Forecast Model

Creating Historical Data

Creating Forecast Values

Carrying out the Forecast with Reference to Another Material

Forecast Parameters Overview

In order to carry out the forecast for a material, you must first of all maintain the forecast parameters for this material in the material master record.

In the following section, a description is given of,

  • which
  • Forecast Models are available
  • how
  • Model Selection is carried out
  • how the system carries out
  • Model Initialization
  • how the system carries out an
  • Ex-Post Forecast
  • how the system carries out
  • Parameter Optimization
  • information on
  • Maintaining Forecast Parameters
  • information on
  • Creating Historical Data
  • information on
  • Creating Forecast Values
  • information on
  • Carrying out the Forecast with Reference to Another Material

    MRP Forecast Parameters Forecast Models

    When a series of consumption values is analysed, certain patterns can usually be detected. From these patterns it is then possible to differentiate between various forecast models:

    • constant
    • trend
    • seasonal
    • seasonal trend

    A constant consumption flow applies if consumption values vary very little from a stable mean value.

    With a trend model, consumption values fall or rise constantly over a long period of time with only occasional deviations.

    If periodically recurring peak or low values which differ significantly from a stable mean value are observed, it is a case of a seasonal consumption flow.

    A seasonal trend consumption model is characterized by a continual increase or decrease of the mean value.

    If none of the above patterns can be detected in a series of past consumption values, then we have an irregular consumption flow.

    Model Selection MRP Forecast Parameters

    Before the first forecast can be carried out, you must specify which forecast model the system is to use to calculate the forecast values.

    There are three basic possibilities:


    • Manual Model Selection

    • Automatic Model Selection

    • Manual Model Selection with Additional System Check

    Manual Model Selection MRP Forecast Parameters

    If you want to select a model manually, then you must first of all analyse past consumption data to determine whether a distinct pattern or trend exists according to which you can manually select a model for the system.

    Constant requirements pattern

    If your past data represents a constant consumption flow, you can then select either the constant model or the constant model with adaption of the smoothing factors. In both cases, the forecast is carried out by first-order exponential smoothing. When adapting the smoothing parameters, the system calculates different parameter combinations and then selects the optimum parameter combination which is the one which results in the lowest mean absolute deviation.

    You have another two possibilities if your past consumption pattern is constant; either the moving average model or the weighted moving average model.

    In the weighted moving average model, you can weight individual past consumption values, which means that the system will not give equal value to past data when calculating the forecast values. In so doing, you can influence the calculation so that the most recent consumption values play a more important role in the forecast than the previous periods - as is also the case in exponential smoothing.

    Trend requirements pattern

    If your past consumption data represents a trend, it makes sense to select either the trend model or the second-order exponential smoothing model. In the trend model, the system calculates the forecast values by means of the first-order exponential smoothing procedure.

    In the second-order exponential smoothing models, you can choose between a model with or without parameter optimization.

    Seasonal requirements pattern

    If your past consumption data represents a seasonal pattern, you can specify the seasonal model you want. The system calculates the forecast values for the seasonal model by means of first-order exponential smoothing.

    Seasonal trend requirements pattern

    If your past consumption data represents a seasonal trend pattern, you can select the seasonal trend model you want. The system calculates the forecast values by means of first-order exponential smoothing.

    Irregular requirements pattern

    None of the patterns or trends mentioned in the above examples can be recognized in an irregular consumption flow. If the system is to carry out a forecast for an irregular pattern, then it is usually advisable to select either the moving average model or the weighted moving average model.

    Forecast Models for Different Requirements Patterns

    Requirements pattern

    Forecast model

    Constant

    constant model


    constant model with smoothing

    factor adaption


    moving average model


    weighted moving average

    model

    Trend

    trend model (first-order exponent

    smoothing)

    Irregular

    no forecast


    moving average model


    weighted moving average model

    Extended forecasting component used:


    Trend

    second-order exponential smoothing model

    (with and without parameter optimization)

    Seasonal

    seasonal model

    Seasonal trend

    seasonal trend model


    Automatic Model Selection MRP Forecast Parameters

    If you do not want to specify a forecast model manually, you must instruct the system to make an automatic selection. The system then analyzes the historical data for different patterns and selects the appropriate model. The following models are possible:

    • Constant model
    • Trend model
    • Seasonal model
    • Seasonal trend model

    If the system does not detect any regular pattern in the past consumption data, it automatically selects the constant model.


    The system requires a different amount of historical values for the individual tests. For more information on the exact number that it requires, see Model Initialization.

    Model Selection Procedures

    If the system is to make an automatic model selection, you have the choice between two model selection procedures:

    Procedure 1

    The system carries out statistical tests and checks whether a trend or a seasonal requirements pattern applies.

    In the trend test, the system subjects the historical values to a regression analysis and checks to see whether there is a significant trend pattern.

    In the seasonal test, the system clears the historical values of any possible trends and carries out an autocorrelation test.

    Procedure 2

    The system calculates the models to be tested using various combinations for alpha, beta and gamma. The smoothing factors are also varied between 0.2 to 0.8 in intervals of 0.2.

    The model which is then chosen is the the model which displays the lowest mean absolute deviation (MAD).

    Procedure 2 is more precise than procedure 1 but takes considerably longer.

    Manual Model Selection with Additional System Check MRP Forecast Parameters

    In the third case, you can have a combination of manual and automatic model selection: you specify a model and set the system so that it additionally checks historical values for a seasonal pattern or trend.

    Possible combinations that you can choose are as follows:

    1. You enter a trend model for the forecast model and then let the system check historical data for a seasonal pattern by setting the model selection to seasonal for the test.
    2. You enter a seasonal model for the forecast model and then let the system check historical data for a trend by setting the model selection to trend for the test.


    A reference is given to the forecast formulae used by the system for the individual models in Forecast Formulae.

    Model Initialization MRP Forecast Parameters

    Model initialization is the process of specifying the necessary model parameters, such as the basic value, the trend value and the seasonal indices for the selected forecast model. In each case, initialization occurs during the first forecast for a material. It must also be carried out in cases of structural interruption, that is, if the existing forecast becomes invalid.

    Which model parameters are necessary for which forecast model is shown in the following Table:

    Model Parameters

    Model

    Model parameters

    Constant model

    basic value

    Trend model

    basic value, trend value

    Seasonal model

    basic value, seasonal indices

    Seasonal trend model

    basic value, trend value, seasonal indices

    The forecast model is usually automatically initialized. In order to do this, the system requires a certain amount of historical values. The number required varies depending on the forecast model as shown in the table below.

    Number of Historical Values Required for Model Initialization

    Model

    No. of historical values

    Constant model

    1

    Trend model

    3

    Seasonal model

    1 season

    Seasonal trend model

    1 season + 3

    2nd-order exp. smoothing

    3

    Moving average

    1

    Weighted moving average

    1

    The system calculates the basic value on the basis of an average value, and the trend using the results of the regression analysis. The seasonal indices result from the quotient of the actual past value and the basic value which has been adjusted for the trend value.

    These calculation methods are used for the constant, trend, seasonal and seasonal trend models, depending on which parameters are to be determined.

    For the second-order exponential smoothing model, a regression analysis is carried out.

    For the moving average and the weighted moving average models, the system calculates an average value.

    Ex-Post Forecast MRP Forecast Parameters

    If more past values are available than the system requires or is to use for model initialization (refer to "Number of historical values" and "Initialization periods" in Forecast Parameters: Independent of the Forecast Model), then the system will carry out an ex-post forecast. In order to do this, the system divides the time series of past values into two groups. The first group with the older values is used for initialization. The system carries out an ex-post forecast using the second group as it is best to adapt the parameters to the most recent developments.

    Furthermore, you can monitor the forecast model during the initialization phase by comparing the forecast values from the ex-post forecast with the actual consumption values.


    The ex-post forecast does not only play an important role in the initial forecast. It is also significant for subsequent forecasts. It is, therefore, possible to omit periods during the forecast calculation. This means that you can determine, for example, daily forecast values for a material even if you only execute a weekly forecast run for this particular material. The system forecasts the missing periods in retrospect. The ex-post forecast is only possible for models with the exponential smoothing procedure.

    Parameter Optimization MRP Forecast Parameters

    For forecast models with exponential smoothing, you can instruct the system to optimize the smoothing factors (see Forecast Parameters: Dependent on the Forecast Model).

    If the system is instructed to optimize the smoothing factors, it calculates several parameter combinations and then selects the combination with the lowest mean absolute deviation (MAD). The finer the degree of optimization, the more exact, but also the more time-consuming, the parameter optimization. You can vary the increment (also known as the degree of optimization) from 0.1 (low), 0.2 (medium) and 0.3 (high).

    If you have set the system correctly, it will carry out parameter optimization during initialization for the initial forecast as well as for all other forecasts. The most effective combination of the smoothing factors is determined by means of the ex-post forecast.

    Please refer to Appendix B in this manual for additional information on the calculation of the MAD as well as the significance of the smoothing factors.


    Optimizing the smoothing factor is only possible for models with the exponential smoothing procedure.

    Maintaining MRP Forecast Parameters

    You maintain forecast parameters in the material master record. In order to do this, proceed as is described below:

    1. Starting from the menu screen of the material master record, select Material
    2. ® Create general.
    3. Enter the material type, allocate it to an industry sector and press
    4. ENTER.

      The pop-up window Select View(s) appears on your screen.

    5. Select the Forecasting view and press
    6. ENTER.

      The Organizational Levels/Profiles pop-up window now appears.

    7. Because material requirements are forecast at plant level, you must enter the appropriate plant
    8. Press
    9. ENTER.

      The "Forecasting" data screen now appears.

    10. Fill in the data screen and save your entries via Material
    11. ® Save.

    A more detailed description is given of the individual forecast parameters in the follwoing sections:

    Forecast Parameters: Independent of the Forecast Model

    Forecast Parameters: Dependent on the Forecast Model

    For more information on maintaining the material master record, please refer to MM Managing Material Master Data.

    MRP Forecast Parameters: Independent of the Forecast Model

    You can/must maintain the following parameters independent of the method you use for model selection and which model you choose.

    Period indicator

    The period indicator determines the time interval the system is to use to store consumption or forecast values. You can define the period indicator when maintaining the MRP parameters as well as when maintaining the forecast parameters.

    Fiscal year variant

    You must maintain the fiscal year variant if you want a flexible period length for the material equal to that of the accounting period.

    Historical values

    You specify how many historical values the system should take into account for the forecast by filling in this field. The default value in this case is the maximum number possible (60). If fewer values are available, then they are used for initialization.

    Initialization periods

    You specify the number of periods the system is to use for model initialization here. If the number of historical values is greater than the number of initialization periods, then the system will carry out an ex-post forecast for those periods which were not used for initialization. The number of periods that the system requires for initialization depends on the forecast model.

    Forecast periods

    Via the number of forecast periods, you specify for how many periods the system determines forecast values.

    Fixed periods

    Via the number of fixed periods, you determine how many periods are fixed in the future and are no longer automatically changed by the next forecast run.

    Initialization

    This field activates re-initialization during the forecast. This is necessary for the first forecast and also when structural changes (that is, if the forecast model which has been used until now has lost its validity) appear in the time series.

    Model initialization can either be carried out automatically (X) or manually (M). In the case of manual initialization (which should be the exception), you must determine the model parameters manually. To do this, select Details ® Forecast details ® Model parameters. Depending on the forecast model, you can manually maintain such parameters as the basic value and the trend in the pop-up window. If you do not set these parameters here, you will be requested to set them during the forecast. No historical data has to be stored in the system in order to carry out manual initialization.

    Tracking limit

    During the forecast calculation, the system compares the tracking limit with the quotient of the error total and the mean absolute deviation (MAD). This quotient is known as the tracking signal. If the value calculated by the system lies below that of the tracking limit, then the forecast remains valid. If not, the system generates an exception message which indicates that a structural interruption has taken place. This means that the forecast model should be revised and possibly re-initialized.

    Autom. reset

    Causes the system to reset the forecast model automatically if the tracking limit is exceeded. Furthermore, the system carries out a new model selection during the next forecast.

    Correction factors

    If you fill in this field, historical values and forecast values are weighted with the appropriate period factors which you determined via customizing.

    Reference material for consumption

    If you define a reference material, the system accesses the historical data of the reference material up to the specified validity date. This makes sense, if no historical data exists yet for the specified material.

    Reference plant for consumption

    If you enter a reference material for consumption, you must also define a reference plant where the historical data to be used comes from.

    Validity date

    During the forecast, the system accesses the historical data of the reference material up to the specified validity date. From this date, it uses the material’s own historical data.

    Multiplier

    By entering a multiplier, you can define that only a certain percentage of the consumption quantity of the reference material is used in the forecast.

    MRP Forecast Parameters: Dependent on the Forecast Model

    You can/must maintain the following parameters depending on how you carry out model selection and which model you choose. The relationship between parameters and model selection is shown in the following two tables.

    Parameters Dependent on Model Selection

    Model selection

    Parameters

    Manual model

    forecast model selection

    Automatic

    model selection, model selection procedure

    model selection

    Parameters Dependent on the Forecast Model

    Specified model/ model to be tested

    Possible/required parameters

    Constant model

    parameter optimization


    optimization level


    alpha and delta factors

    Constant model with optimization of the smoothing factors

    -

    Trend model

    parameter optimization


    optimization level


    alpha, beta and delta factors

    Moving average model

    initialization periods

    Weighted moving average

    weighting group model

    Extended forecast component used:


    Seasonal model

    parameter optimization


    optimization level


    alpha, beta and delta factors

    Seasonal trend model

    parameter optimization


    optimization level


    alpha, beta, gamma and


    delta factors

    2nd-order exponential smoothing model

    parameter optimization


    alpha and delta factors

    2nd-order exponential smoothing model

    with smoothing factor optimization

    alpha and delta factors

    Forecast model

    You determine via the forecast model which model the system uses as a basis when calculating the forecast values. If you do not know the forecast model, you can have it determined by the system via automatic model selection.

    Model selection

    This indicator specifies for which model the system is to examine the historical values. You can specify whether the system searches the historical values

    • for a constant pattern
    • for a pattern corresponding to the trend model type
    • for a seasonal pattern or
    • for both a trend model pattern and a seasonal pattern.

    Please note that depending on the model test, a minimum number of historical values must be available. This field is significant if you do not know the model and you want the system to determine it automatically. Furthermore, you also have the possibility of pre-selecting a trend model, but at the same time instruct the system to search for a seasonal pattern and vice versa.

    Selection procedure

    This indicator specifies how the system is to carry out the model selection. Here, you can choose between two procedures:

    • The first procedure involves the system carrying out a significance test and then selecting the appropriate model.
    • The second procedure involves the system determining the mean absolute deviation (MAD) using various parameter combinations for the models to be tested and then selecting the model which displays the lowest MAD. This procedure takes considerably longer than the first procedure.

    Parameter optimization

    Via this indicator, you can specify that the system is to optimize the necessary smoothing factors for the appropriate model. The system calculates several parameter combinations and selects the one that displays the lowest MAD. Parameter optimization is carried for the initial forecast as well as for the subsequent forecasts.

    Periods per seasonal cycle

    You must enter the number of periods that constitute a season here if you have selected a seasonal model or if the system is to carry out a seasonal test.

    Optimization level

    By determining the optimization level, you are specifying the increment with which the system is to carry out parameter optimization. The lower the increment, the more exact but also the more time consuming the optimization process will be.

    Weighting group

    You only have to maintain this field if you selected the forecast model, "weighted moving average". This key specifies how many historical values are taken into account for the forecast and how these values are weighted in the forecast calculation.

    The following factors are used by the system, depending on the model, for exponential smoothing. Thus, for example, only the alpha and the delta factors are required for the constant model whereas all of the smoothing factors are required for the seasonal trend model.

    Alpha factor

    The system uses the alpha factor for smoothing the basic value. If you do not specify an alpha factor, the system will automatically use the alpha factor 0.2.

    Beta factor

    The system uses the beta factor for smoothing the trend value. If you do not specify a beta factor, the system will autimatically use the beta factor 0.1.

    Gamma factor

    The system uses the gamma factor for smoothing the seasonal index. If you do not specify a gamma factor, the system will automatically use the gamma factor 0.3.

    Delta factor

    The system uses the delta factor for smoothing the mean absolute deviation and the error total. If you do not specify a delta factor, the system will automatically use the delta factor 0.3.


    If you set parameter optimization, the system will overwrite the originally set smoothing factors with those which have been newly calculated by the optimization process.

    Wednesday, July 9, 2008

    Creating Historical Data MRP Forecast Parameters

    Historical data is generally updated in the material master record when stock is withdrawn from the warehouse. However, it is also possible to enter historical data manually, which then forms the basis of the initial forecast.


    There are two types of historical data (consumption values) in the material master record: total consumption and unplanned consumption values.


    Total consumption is the total of planned and unplanned consumption. For materials planned according to the consumption-based planning procedure, it is always the total consumption that is updated.


    Unplanned consumption is only updated for materials that are planned according to MRP,

    • if goods are withdrawn from the warehouse without a reservation
    • if goods are withdrawn from the warehouse on the basis of a reservation, but if the quantity withdrawn exceeds the reservation

    When withdrawing a material that is planned according to the MRP procedure on the basis of a reservation, only the planned consumption is updated. This value is not recorded in the material master record but, instead, it must be calculated by the user by subtracting unplanned consumption from total consumption.

    This is how you enter consumption values manually:

    1. In the Forecasting or Material Requirements Planning screen that you have already filled in, specify whether the consumption values are managed in days, weeks, or months by filling in the Period indicator field.

    2. In the Forecasting screen, check the proposed values in the area Number of periods required, and change or add to them as necessary.

    3. Select Details

    --> Consumption.

    The consumption values entry screen appears.

    4. Enter your consumption values, starting from the current period and working backwards.
    You can enter as many values as you want, both for total consumption and for unplanned consumption. Switch between the total consumption and unplanned consumption entry screens with Edit --> Unplanned consumption or Total consumption.
    If you want to enter more values than there is room for on the first screen, press F23 to obtain further empty lines.

    5. Store the data in the system with Material

    --> Save.

    Creating Forecast Values MRP Forecast Parameters

    Forecast values are generally calculated by the system as part of the forecasting process, and then updated in the material master record. However, it is possible to enter forecast values manually, which then form the basis of the planning run.

    This is how you enter forecast values:

    1. Once you have specified the required entries on the Forecasting data screen, define whether forecast values are managed in days, weeks, or months by filling in the Period indicator field.

    2. Select Details
    --> Forecast details --> Forecast values.
    The forecast values entry screen appears.

    3. Enter your forecast values.

    You can enter as many forecast values as you want. If you want to enter more values than there is room for on the screen, press F23 to obtain further empty lines.

    4. Store the data in the system with Material
    --> Save.

    MRP Carrying out the Forecast with Reference to Another Material

    If no historical data exists for materials, which the system can access during the forecast, it is possible to use another material for the forecast. To do this, you must define a so-called reference material for consumption as well as a reference plant, a validity date, and a multiplier.

    If you have defined a reference material, the system accesses the historical data of the reference material during the forecast up to the specified validity date. From the validity date, the system then uses the material’s own historical data.

    By entering a multiplier, you can define that only a certain percentage of the consumption quantity of the reference material is used for the forecast.

    Maintaining Forecasting Parameters Using Profiles index

    Maintaining Forecasting Parameters Using Profiles index

    Maintaining Parameters Using Profiles Overview

    You can maintain MRP parameters and forecast parameters using profiles.

    profile is a collection of information used to configure certain objects. It stores standard information that you need repeatedly in almost identical combinations when maintaining different objects.

    Thus, a profile simplifies data entry and data management.

    In a profile you specify;

    • which fields are filled with values when data on an object is entered,

    • which values these fields contain and

    • which of these values can be overwritten (default values) and which cannot be overwritten (fixed values).

    In the material master, the objects are the material master records and the object data is the MRP or forecast data. There are two kinds of profile:

    • MRP profile

    ;

    • forecast profile

    ;

    You can assign a profile to a material master record when you create it. This has the effect that fixed values that are copied from the profile into a data screen cannot be changed in the material master record. By contrast, you may overwrite default values. The values are written in the material master record when you save it.

    In the following section, you will learn how to create, display, change, and delete profiles in the material master. MRP and forecast profiles are processed according to identical principles. Therefore the description given in this section applies to both profiles.

    The following functions are available for profiles:

    Creating a Profile

    Displaying a Profile

    Changing a Profile

    Deleting a Profile

    Creating a Profile MRP Forecast Parameters

    This is how you create a profile in the material master:

    1. From the menu screen of the material master record, select Profile
    --> MRP profile or Forecast profile --> Create.
    The initial Create Profile screen appears.
    2. Enter the key you want to assign to the profile.
    If you want to use an existing profile as a reference, enter the name of this profile in the Reference field so that the system can copy its values to the new profile.
    3. Select Goto
    --> Selection screen.
    The selection screen appears. It shows all the fields that can be copied to the MRP or forecasting screen of the material master record.
    4. Enter a profile description and select the fields you want the profile to contain.
    You must also decide whether each field will be copied to the material master record as a fixed value or a default value.
    5. Select Goto
    --> Data screen.
    The data screen appears. Only the fields you marked on the selection screen are presented for you to fill in. The fixed and default values are displayed in different colors.
    All fixed values are required fields except where the field can also accept the value BLANK .
    6. Enter your data and save the profile with Profile
    --> Save.
    You now return to the initial screen where you can create another profile.

    The data for the MRP profiles are split over two data screens. With Goto  Data screen 1 or Data screen 2, you can spring from one data screen to another.
    The system runs a number of checks when you create a new profile:
    • When you go from the selection screen to the data screen, the system checks whether the selected fields form a reasonable combination and are allowed to appear in the same profile.

    The Fixed lot size and Maximum stock level fields may not be combined in one MRP profile.
    • When you save the data on the data screen, the system checks
    o whether the values you you have entered are valid, for example, whether they are defined in the appropriate table
    o whether the values you have entered are compatible with each other

    If the Maximum stock level field appears in the profile, you must also specify a Lot size that can give the highest stock level.
    If the system detects inconsistencies or errors, it asks you to change the fields selected on the selection screen and/or correct the values.

    MRP Forecast Parameters Displaying a Profile

    This is how to display a profile in the material master:
    1. From the menu screen of the material master, select Profile
    --> MRP profile or Forecast profile --> Display.
    The initial Display Profile screen appears.
    2. Enter the name of the profile.
    3. Select Goto
    --> Selection screen.
    The selection screen appears. In display mode, only the fields that are defined in the profile are displayed.
    4. Select Goto
    --> Data screen.
    The data screen appears. You see the values that are defined in the profile.
    Press F3 to return to the initial screen and continue.

    Archives