
62
Figure 1. Exemplary realization of the process A(t).
4.2 General procedure of Monte Carlo simulation
application to determine the oil spill domain in
varying hydro-meteorological conditions
The procedure of generating and estimating the
parameters of the process of changing hydro-
meteorological conditions at oil spill area
characteristics is formed as follows.
First, we have to draw a randomly generated
number g from the uniform distribution on the
interval
〈
0,1). Next, we can select the initial state k
i,
i ∈ {1,2,...,m}, according to (14). Further, we draw
another randomly generated number g from the
uniform distribution on the interval
〈
0,1). For the
fixed i, i ∈ {1,2,...,m}, we select the next state k
j,
j ∈ {1,2,...,m}, j ≠ i, according to (15). Subsequently, we
draw a randomly generated number h from the
uniform distribution on the interval
〈
0,1). For the
fixed i and j, we generate a realization t
ij of the
conditional sojourn time θ
ij from a given probability
distribution, according to (16). Then, we compare the
realization t
ij of the conditional sojourn time with the
experiment time T. If the realisation t
ij of the
conditional sojourn time is less than the experiment
time T, we draw the sequence of domains
,
for
ki ∈ {1,2,...,m}, i = 1,2,...,n,
using formula (13).
As the realisation t
ij is the first one, we put
ν
= 1
and consequently
τ
1 =
.
Further, we substitute i
:
= j and repeat drawing
another randomly generated numbers g and h
(selecting the states k
j and generating another
realization
,
ν
= 2, of the conditional sojourn time.
Having the realizations
, i,j ∈ {1,2,…,m}, i ≠ j,
ν
= 1,2, of the process A(t), we calculate the entire
sojourn time
τ
n, n = 1,2,... , applying the formula (17),
i.e. we have
τ
2 =
+
.
Further, we compare it with time T. If the sum
τ
2 is
less than the experiment time T, we draw the
sequence of domains using formula (13).
We repeat the procedure above until the sum
τ
n of
all generated realizations
,
ν
= 1,2, …, n, reach a
fixed experiment time T. Consequently, we calculate
the entire sojourn time
τ
n, according to (17) and draw
the sequence of domains using formula (13).
Finally, we put together all the sequences of
domains draw before and we get the oil spill domain
movement (Figure 2). In the interval 〈0,
τ
1) the number
of ellipses is s
1 – s0 = s1, in the next intervals 〈
τ
2 –
τ
1,
τ
2),
…, 〈
τ
n –
τ
n–1,
τ
n) the number of ellipses are respectively
s
2 – s1, s3 – s2, …, sn – sn–1, where si, I = 1,2, …, n, are
defined by (10).
The general Monte Carlo simulation flowchart for
generating and determination of a process of
changing hydro-meteorological conditions at oil spill
area is illustrated in Figure 3.
4.3 Monte Carlo simulation prediction of the oil spill
domain in varying hydro-meteorological conditions
Using the procedures of the process of changing
hydro-meteorological conditions at oil spill area
prediction described in Sections 4.1-4.2 and the
modified method of the domain of oil spill
determination presented in Section 4.3 in (Dąbrowska
& Kołowrocki 2019B) the Monte Carlo simulation oil
spill domain prediction can be done.
The modified method of the domain of oil spill
determination presented in Section 4.3 in (Dąbrowska
& Kołowrocki 2019B) depends on changing the
procedure (4)-(12) by replacing the conditions (10)-
(12) by conditions:
The s
i, i = 1,2,...,n, existing in (4)-(9), according to
(10), are such that
(s
i – 1)∆t <
tk
j
k
j+1
= si∆t, i = 1,2,...,n,
(18)
and
t
k
j
k
j+1
, j = 1,2...,n – 1, (19)
are the realizations of the process A(t), t ∈ <0,T>,
conditional sojourn times
θ
k
j
k
j+1
, j = 1,2...,n – 1
at the states k
j, upon the next state is kj+1, j = 1,2...,n – 1,
k
j, kj+1, ∈ {1,2,...,m}, j = 1,2...,n – 1, defined in
Section 4.1.