Computer Simulation To Predict Quality Changes of Food
Computer Simulation To Predict Quality Changes of Food
Introduction
II. Objectives
The food product is a breakfast cereal packed inside a wax paper bag
cardboard box. The characteristics are listed as follows:
Sources Variabels Value Unit
Food Product M0 0.02 g H2O/g solid
Cc 25 -
wm 0.041 -
Ws 200 g
C 100 %
Packaging Film A 0.04 m²
x 0.9 mm
K 0.00725 g H2O mm/ m². mmHg.
Hour
Environment T 30 °C
awo 0.7 -
p 33 mmHg
and the PC will be used in running the simulation.
II. Methods
Ct+dt=
Print
k=0.0107+0.0765awi
awiM(1-awi)=
dM=
Mt+dt=
Start
Input: Ct+dt
CCtexp(-kt*dt)
0
,Kdt,Mt+dM
AXao wWs
,1wmC+
p, p dt (C-
x, Wm, (awo-
C, K, A,
awi)
T = 0 1)awiwmC Ws
I. Discussion
The simulation have been performed using visual basic application in MS.
Excell. The formula and the code are written in VBA project as shown in figure
2 and simulation result can be seen ini MS. Excell as shown in figure 3. Here is
an example of a formula and a code written in the VBA project:
Sub Data()
Mo = Sheet1.Cells(4, 3) 'sebagai kadar air awal
Cc = Sheet1.Cells(5, 3) 'sebagai energi konstan
wm = Sheet1.Cells(6, 3) 'sebagai kandungan kadar air monomoleculer
Ws = Sheet1.Cells(7, 3) 'sebagai massa product
C0 = Sheet1.Cells(8, 3) 'sebagai konsentrasi vitamin C
A = Sheet1.Cells(9, 3) 'sebagai luas permukaan film pelapis
x = Sheet1.Cells(10, 3) 'sebagai ketebalan film pelapis
K = Sheet1.Cells(11, 3) 'sebagai koefisien permeabilitas kemasan film
t = Sheet1.Cells(12, 3) 'sebagai suhu lingkungan
aw = Sheet1.Cells(13, 3) 'sebagai aktivitas air di lingkungan
p = Sheet1.Cells(14, 3) 'sebagai tekanan absolute
dt = Sheet1.Cells(15, 3) 'sebagai selang waktu pengukuran
n = Sheet1.Cells(16, 3)
M = Mo
C = C0
Cdt = C0
For i = 0 To n
waktu = i
Sheet1.Cells(18 + i, 1) = waktu
'untuk mencari aktivitas air di dalam kemasan (aiw) :
awi = ((2 * M - M * Cc + wm * Cc) - (((-(2 * M) + M * Cc - wm * Cc) ^ 2) - (4 * (M
- M * Cc) * M)) ^ 0.5) / (2 * M - 2 * M * Cc)
Sheet1.Cells(19 + i, 2) = awi
'untuk mencari laju penurunan vitamin C (kt) :
kt = (0.0107 + 0.0765 * awi)/24
Sheet1.Cells(19 + i, 3) = kt
'untuk mencari penurunan vitamin C (Cdt) :
Sheet1.Cells(18 + i, 4) = Cdt
Cdt = C * Exp(-kt * dt)
'untuk mencari penurunan kadar air pada selang waktu tertentu (dM) :
dM = (K / x) * (A / Ws) * p * dt * (aw - awi)
Sheet1.Cells(19 + i, 5) = dM
C = Cdt
'penurunan kadar air akhir (Makhir) :
Sheet1.Cells(18 + i, 6) = M
M = Mo + dM
Mo = M
Next i
End Sub
Private Sub CommandButton1_Click()
Data
End Sub
Figure 2. The formula and code written in the VBA project with MS. Excel
App.
Figure 3. The Simulation show in MS. Excell Application.
The simulation result can be described as the graph shown in the picture
below.
The chart above shown us that the storage of cerealia product can raise
the moisture content from 0.02 at the beginning until 0.08 at the end of the
fourth month. The same case also happened in the water activity inside
packaging (aiw), aiw content increased from 0.034 at the beginning of simulation
until 0.50 in the end.
In the other hand, the ascorbid acid has decreased from 100 % at the
beginning of storage until 1.548 %. As shown in figure 5, the chart pointed the
ascorbid acid reduction.
Figure 5. The decreased of ascorbid acid contents during storage for 4
months
II. Refrences
Heldman, D.R. and R.P. Singh. 1981. Food Process Engineering 2nd es. AVI Pub
Co., Westport Connecticut.
Rachmawati, R, Defiani, R.M and Suriani, N.L, 2009, Effect of temperature and
length of storage on vitamin C concentration of chilli (Capsicum
frustescens), Biological Journal University of Udayana.
Wills, R.A.H., T.H. Lee, D. Graham, W.B. McGlasson, E.G. Hall. l98l.
Postharvest An Introduction to the Physiology and Handling of Fruit
and vegetables. New South Wales University Press. Sydney.
COMPUTER SIMULATION TO PREDICT QUALITY CHANGES
IN PACKAGED FOOD DURING STORAGE
Adian Rindang
F151090101