Professional Documents
Culture Documents
ABSTRACT This paper addresses demand forecasting and production planning for a pressure container
factory in Thailand, where the demand patterns of individual product groups are highly seasonal. Three
forecasting models, namely, Winter’s, decomposition, and Auto-Regressive Integrated Moving Average
(ARIMA), are applied to forecast the product demands. The results are compared with those obtained
by subjective and intuitive judgements (which is the current practice). It is found that the decomposition
and ARIMA models provide lower forecast errors in all product groups. As a result, the safety stock
calculated based on the errors of these two models is considerably less than that of the current practice.
The forecasted demand and safety stock are subsequently used as inputs to determine the production
plan that minimizes the total overtime and inventory holding costs based on a fixed workforce level and
an available overtime. The production planning problem is formulated as a linear programming model
whose decision variables include production quantities, inventory levels, and overtime requirements.
The results reveal that the total costs could be reduced by 13.2% when appropriate forecasting models
are applied in place of the current practice.
KEYWORDS: demand forecasting, highly seasonal demand, ARIMA method, production planning,
linear programming, pressure container factory.
P ROPOSED D EMAND F ORECASTING AND the optimal decisions regarding the production
PRODUCTION PLANNING METHODS quantities, inventory levels, and regular production
time and overtime for each product in each pro-
The proposed demand forecasting and production duction stage are obtained by solving the production
planning methods are depicted in a step-by-step planning model. Step 6 indicates that only the
fashion in Fig. 1. optimal production plan of the current month will
Most factories produce a variety of products that be implemented. After one month has elapsed, the
can be categorized into product groups or families. demand forecasts and the production plan will be
Individual products in the same product group revised (by repeating Steps 1 to 5) according to a
generally have some common characteristics. For rolling horizon concept.
example, they may have the same demand pattern
and a relatively stable product mix. As a result, it is BACKGROUND OF THE CASE STUDY
possible to forecast the aggregate demand of the
product group first, and then disaggregate it into the The pressure container factory manufactures 15
demand of individual products. Since the forecast products, ranging from 1.25 to 50 kg of the capacity
of the aggregate demand is more accurate than that of pressurized gas. The products are divided into
of the individual demand1, it is initially determined eight product groups, namely, Group 1 to Group 8.
in Step 1. Then the demands of individual products The first six groups have only two components,
are determined in Step 2 by multiplying the aggregate “head” and “bottom”, while the last two groups have
demand with the corresponding product mix that is three components, “head”, “bottom”, and “body”.
normally known and quite constant. Since the The production process can be divided into five
demand forecasts are always subject to forecast stages as shown in Fig. 2. Stage 3 is only required to
errors, safety stocks are provided to avoid stock-out produce the products having three components (ie,
problems. Based on the standard deviation of the those in Groups 7 and 8). Stage 4, the circumference
forecast errors and the required service level, the welding, is found to be a bottleneck stage due to its
safety stocks for individual products are determined long processing time.
in Step 3. Presently monthly demand forecasts are sub-
Production planning decisions are so complicated jectively determined by the Marketing Department
and important that they should not be subjectively based on past sales and expected future market
and intuitively made. Consequently, an appropriate conditions. No systematic method is used in fore-
production planning model should be formulated casting. Using these forecasts and other constraints,
to determine the optimal decisions. With this model, such as availability of raw materials, equipment, and
its parameters, eg, demand forecasts, safety stocks, production capacity, the monthly production plan
holding cost, overtime cost, machine capacity, for a three-month period is intuitively determined
inventory capacity, and available regular time and without considering any cost factor. This results in
overtime, are entered or updated (Step 4). In step 5, inaccurate demand forecasts and, subsequently, an
inefficient production plan.
Stage 5
6) Roll the plan by repeating Steps 1 to 5 after one month has elapsed Finishing
Fig 1. Proposed forecasting and planning steps. Fig 2. The production process to manufacture a pressure container.
ScienceAsia 27 (2001) 273
FORECASTING METHODS forecast errors in all product groups than the Winter’s
model. Thus, it is reasonable to conclude that the
Steps 1, 2, and 3 of the proposed forecasting and decomposition model provides better demand
planning process are discussed in detail in this forecasts than the other.
section. Firstly, the aggregate demand forecasts of One way to check whether the forecasting model
eight product groups throughout the planning is adequate is to evaluate the randomness of the
horizon of 12 months will be determined. Secondly, forecast errors. The auto-correlation coefficient func-
the demand forecasts of the product groups will be tions (ACFs) of the errors from the decomposition
disaggregated into those of individual product. model for several time lags at the significant level of
Thirdly, the safety stocks of individual product will 0.05 of each product group are determined. The
be calculated based on the forecast error. ACFs of Groups 1 and 3 are presented as examples
in Fig. 4 and 5, respectively. The ACFs of Groups 4,
Aggregate Demand Forecasts of Product Groups 5, 6, 7, and 8 are similar to those of Group 1 in
The typical demand pattern of each product
group is seasonal. As an example, Fig. 3 shows the Table 1. Forecast errors of the Winter’s and decom-
demand pattern of Product Group 3. Thus, three position models.
forecasting models that are suitable for making
seasonal demand forecasts are considered. They are MSE MAPE (%)
Winter’s, decomposition and Auto-Regressive Inte- Products Winter’s Decomposition Winter’s Decomposition
grated Moving Average (ARIMA) models.2-5 Because Group 1 16,855,149 9,879,330 36.14 26.97
of their simplicity, the Winter’s and decomposition Group 2 8,485,892 4,363,290 48.94 31.86
models are initially used to forecast the aggregate Group 3 5,433,666 2,227,592 24.25 15.97
demand of each product group. If the Winter’s and Group 4 6,035,466 4,507,990 30.08 23.24
decomposition models are inadequate (ie, the Group 5 23,030,657 10,039,690 18.80 13.14
forecast errors are not random), the ARIMA model Group 6 1,690,763 574,108 53.86 34.80
which is more complicated and perhaps more Group 7 2,034,917 636,755 61.99 34.45
efficient will be applied.
Group 8 1,884,353 883,811 46.52 28.76
The Winter’s model has three smoothing
parameters that significantly affect the accuracy of Estimated Autocorrelations
the forecasts. These parameters are varied at many
1
levels using a computer program to determine a set
of parameters that give the least forecast errors. 0.5
There are two types of the decomposition model,
coefficient
and the mean absolute percentage error (MAPE), it Fig 4. ACFs of the residuals from the decomposition model for
is seen that the decomposition model has lower Group 1.
Estimated Autocorrelations
Original Series
(x 1000) 1
16
0.5
16
coefficient
demand 3
0
8
-0.5
4
-1
0 0 4 8 12 16 20
lag
0 10 20 30 40 50 60
time index
Fig 5. ACFs of the residuals from the decomposition model for
Fig 3. Actual demand of Group 3. Group 3.
274 ScienceAsia 27 (2001)
Fig 4, while those of Groups 2 and 3 are similar. It residuals after applying this ARIMA model shown
can be seen from Fig. 4 that the ACFs of all lags are in Fig. 8 reveals that there is a high value of ACF of
within the upper and lower limits, meaning that the lag 12. Therefore, the AR(1) and MA(1) process for
errors are random. However, the ACF of lag 1 in the seasonal part or ARIMA (1,1,1)(1,1,1)12 can be
Fig. 5 exceeds the upper limit. This indicates that identified. The ACFs of the residuals generated from
auto-correlations do exist in the errors and that the this model are shown in Fig. 9. Since all ACFs are
errors are not random. From the ACFs, we can within the two significant limits, the ARIMA
conclude that the decomposition model is adequate (1,1,1)(1,1,1)12 model is adequate.
for forecasting the demands of Groups 1, 4, 5, 6, 7, Using the Statgraphic program, the model
and 8, but inadequate for forecasting those of Groups coefficients can be determined. The demand forecast
2 and 3. Therefore, the ARIMA model is applied to for Group 3 is presented in Eq. 1.
Groups 2 and 3.
From the original time series of the demand of Ft = 1.197 X t −1 − 0.197 X t −2 + 0.54408 X t −12 − 0.65126 X t −13
Group 3 (in Fig. 3), and the ACFs of its original + 0.10718 X t −14 + 0.45592 X t −24 − 0.54574 X t −25 + 0.08982 X t −26
series (in Fig. 6), it can be interpreted that the
original series has a trend, and a high value of ACF − 1.06699et −1 − 0.7154et −12 + 0.76332et −13 + 29.34781
of lag 12 indicates the existence of seasonality.2 (1)
Hence, a non-seasonal first-difference to remove the where
trend and a seasonal first-difference to remove the
strong seasonal spikes in the ACFs are tested. Fig. 7 Ft is the demand forecast for period t
shows the ACFs of the ARIMA (p,1,q)(P,1,Q) 12 Xt is the actual demand for period t
model after applying the first difference. The non- et is the forecast error for period t
seasonal plot indicates that there is an exponential
decay and one significant ACF of lag 2. Thus, the Similarly, the forecasting model for Group 2 is
AR(1) and MA(1) process denoted by ARIMA ARIMA (3,0,0)(3,0,0).12 The demand forecast of
(1,1,1)(0,1,0)12 is identified. The ACFs of the Group 2 is presented in Eq. 2.
0.5 0.5
coefficient
coefficient
0 0
-0.5 -0.5
-1 -1
0 5 10 15 20 25 0 5 10 15 20 25
lag lag
Fig 6. ACFs of the actual demand for Group 3. Fig 8. ACFs of the residuals of ARIMA (1,1,1)(0,1,0)12 model
for Group 3.
0.5 0.5
coefficient
coefficient
0 0
-0.5 -0.5
-1 -1
0 5 10 15 20 25 0 5 10 15 20 25
lag lag
Fig 7. ACFs after first differencing for Group 3. Fig 9. ACFs of the residuals of ARIMA (1,1,1)(1,1,1)12 model
for Group 3.
ScienceAsia 27 (2001) 275
Table 3. Forecast errors of the current practice, decomposition, and ARIMA models.
Product group
Product 1 2 3 4 5 6 7 8
1 0.17
2 0.20
3 0.26
4 0.23
5 0.14
6 1.0
7 0.53
8 0.47
9 0.65
10 0.35
11 1.0
12 1.0
13 1.0
14 0.3
15 0.7
276 ScienceAsia 27 (2001)
- Inventory capacity of finished product Results of the Production Planning Models with
constraints. Different Levels of Safety Stock
N In this section, two production planning models
∑ I ikt ≤ W ∀t ; k = 5, (13) with different safety stock levels (as shown in Table
i= 1
5) are solved to determine the total cost savings when
the recommended forecasting models are applied in
- Safety stock of finished product constraints. place of the current practice. The inventory holding,
overtime, and total costs of both models are
I ikt ≥ SS it ∀i, t ; k = 5, (14) presented in Table 6.
Based on the optimal total cost of the current
- Non-negativity conditions practice (4,078,746 Baht per year) and the optimal
total cost of the recommended forecasting models
X ikt ≥ 0 ∀i, k , t , (15) (3,541,772 Baht per year), the total cost saving is
536,974 Baht per year, or 13.2 %. It can be also seen
I ikt ≥ 0 ∀i, t ; k = 1, 2, 3, 4 (16)
278 ScienceAsia 27 (2001)