Mathematically speaking a time series are discrete
observations over the dynamic stage of a variable, in
this case is hourly temperature (W
t
). It’s structure
could be described as a non stationary process. Box-
Jenkins methodology should be applied on stationary
series, consequently several transformations should be
done to obtain new variables (Z
t
) that obey to the same
probability density function and a variance with
independent from time. The first step to be done is to
get a stationary series. Commonly this is obtained
differentiated the original series
t
W seasonally,
24−
−=
ttt
WWZ . Once that an stationary series is
obtained, three steps are essential in this methodology
(Bowerman y O'Connell, 1987):
-Identification of possible models: based on the
behavior the simple autocorrelation function and
partial autocorrelation function, the parameters that
express the influence of the preceding values or white
noises in each one are calculated. (Matalas, 1967).
-Estimation of the parameters’model: the models
obtained in the previous step are adjusted to the series
through parameters estimation (Carlson 1970).
-Contrast of forecast versus data: a residual analysis
for each model is done to choose the best one. This
model is going to be used to forecast the values
(Noakes, 1985). If the series was differentiated to
obtain stationary, then the inverse process should be
done with the forecast values.
Temperature time series used in this work are hourly
and the seasonal period is 24. However, it has been
checked that different forecast intervals give better
results. A forecast interval of 12 hours has been
applied (Castellanos et al., 2005).
Hourly temperature forecast has been made during
the coldest months (november to april) at the
meteorological station location and the hourly error
and mean error (ME) have been calculated to obtain a
minimum threshold value (E = -1.5).
e
t
= Tr – Tf
ME =
∑
=
T
t
t
T
e
1
where Tr is the real temperature; Tf the estimated
temperature and T the number of forecasted
temperatures.
It has studied the cases where the temperatures are
closed or under zero and the real temperature is lower
than the forecast one. These are the cases where the
risk of freezing hours begin to increase and at this
situation the alarm system has its meaning.
A decision algorithm is designed to detect the
freezing risk hours and then to turn on the alarm with a
risk index depending on the probability of the event.
The risk index will varies through time mean while the
real temperature is know each hour. The initial
parameters established are: the alarm temperature (Ta),
the security threshold (Tu) and the ME threshold. Ta is
specific of each crop and directly related to the base
temperature. Tu is added to Ta depending on
topographic characteristics, crop market value and, in
general, the risk assumed for crops’ protection.
The mechanism is as follow:
Initialization of the paramenters Ta, Tu, E. The
alarm will begin based on the forecast temperatures or
with temperatures taking by a sensor in real time each
hour.
In the first case, the forecast temperatures for the
next 12 hours is calculated and their values are
compared with Ta+Tu. If they are under this value,
the risk index (RI) will have intensity equal to the
number of hours that this happens, so the maximum
value of RI is 12. In the case that RI is zero, the alarm
will not be active.
In the second case, a sensor is registering the real
temperature each hour and it is compared with Ta+Tu,
if it is lower then the alarm is active and RI will
increase in one each hour it happens. At the same time,
ME is calculated and compared with its threshold (E),
doing a similar decision: if ME is under E (remember
that it has a negative value), RI will increase in one
unit if not, RI=0.
FREEZING ALARM SYSTEM BASED ON TIME SERIES ANALISYS
361