Aggregation of Spatio-temporal and Event Log
Databases for Stochastic Characterization
of Process Activities
Planning and Scheduling
In logistic domains, transportation planning
and scheduling are made based on a-priori
knowledge about processes:
Stochastic Data
•
Travel times between customers;
•
Service duration at each customer;
Event Log
Spatio-Temporal
Partially human generated event logs leads
to uncertainty related to the time at which
events are logged.
Event Log
Real
Occurrences
System
User
Log time
≠
Real time
Stochastic
Characterization
of Process
Activities
Duration [Hours]
0 1 2 3 4 5 6 7 8 9 10
STOP Drive Sign Up Rest Unload
Event Log
Spatio-Temporal
Trajectory
Framework
Longitude [°] 4 4.05 4.1 4.15 4.2 4.25 4.3 4.35 4.4 4.45 Latitude [°] 51.82 51.84 51.86 51.88 51.9 51.92 51.94 51.96 51.98 52 52.02 Data pointEvent Log
Spatio-Temporal
Trajectory
Speed
Estimation
Longitude [°] 2 3 4 5 6 7 8 9 Latitude [°] 48.5 49 49.5 50 50.5 51 51.5 52 52.5 Speed [Km/h] 10 20 30 40 50 60s
j=
s
jif
Δ
t
j≥
δ
s
j−1else
⎧
⎨
⎪
⎩⎪
Framework
Event Log
Spatio-Temporal
Trajectory
Time-Windows
Speed
Estimation
Time-Windows
are defined based on
speed profiles
:
•
Portions of the trajectory where truck was
stopped
à
Used to estimate
load & unload
activity duration;
•
Portions of the trajectory where truck was
moving
à
Used to estimate
travel times
between locations;
Event Log
Spatio-Temporal
Activity
Recognition
Trajectory
Time-Windows
Speed
Estimation
Truck ID Date & Hour Event Activity
1141 2013-05-02 12:57:52 Navigation ETA update -1141 2013-05-02 13:57:55 Contact ON -1141 2013-05-02 14:57:58 Start of Break Break 1141 2013-05-02 15:21:41 Cancellation of Break 1141 2013-05-02 15:21:45 End of Break Break 1141 2013-05-02 15:21:46 Start of -1141 2013-05-02 15:21:46 Cancellation of -1141 2013-05-02 15:22:21 Start of Drive Driving 1141 2013-05-02 15:22:45 Driving times state event Driving 1141 2013-05-02 15:22:45 Basic record Driving 1141 2013-05-02 15:23:15 End of Drive Driving 1141 2013-05-02 15:23:15 Start of
-… … … …
1141 2013-05-02 18:23:34 Task Busy -1141 2013-05-02 18:23:55 Cancellation of -1141 2013-05-02 18:24:56 Start of Unload Unloading 1141 2013-05-02 18:26:29 Contact OFF Unloading 1141 2013-05-02 18:27:31 Driving times state event Unloading 1141 2013-05-02 18:27:46 Basic record Unloading 1141 2013-05-02 18:28:52 Contact ON Unloading 1141 2013-05-02 18:28:53 Task Finished Unloading 1141 2013-05-02 18:30:46 End of Unload Unloading
𝐴 = 𝑎
%
, 𝑎
'
, … , 𝑎
)
𝑆 = {𝑠
%
, 𝑠
'
, … , 𝑠
)
}
𝐹 = {𝑓
%
, 𝑓
'
, … , 𝑓
)
}
𝐶 = {𝑐
%
, 𝑐
'
, … , 𝑐
)
}
Framework
Activity 1 Activity 2 Activity 3 Activity 4 Activity 5
tj t0,1 tm,1 t0,2 tm,2 t0,3 tm,3 t0,4 tm,4 t0,5 tm,5 tn
Framework
Event Log
Spatio-Temporal
Activity
Recognition
Trajectory
Time-Windows
Activity
Time-Line
Speed
Estimation
•
Time-windows
define the
upper
and
lower boundary
of the activity time-line
and serves as
estimation interval
;
•
Activities are assigned to the
correspondent time-lines and the activity
time-line is built;
•
A subset of activities is defined:
•
𝑨
∗
à
Set of human logged activities
𝑎
5∉ 𝐴
*
𝑎
5∈ 𝐴
∗
𝑎
5∉ 𝐴
∗
𝑡
)Activity Time-line
𝑡
9𝑎
5∉ 𝐴
*
𝑎
5∈ 𝐴
*
𝑎
5∉ 𝐴
*
𝑡
)Activity Time-line
𝑡
9Framework
Activity durations are estimated based on
the
empty time
in the
neighborhood
of
such activities:
Event Log
Spatio-Temporal
Activity
Recognition
Trajectory
Time-Windows
Activity
Time-Line
Speed
Estimation
Estimation
a
k∉
A
*a
k∈
A
*a
k∉
A
*ROI Activity Time Line
t
j
t
n
a
k∉
A
*a
k∈
A
*a
k∉
A
*ROI Activity Time Line
t
j
t
n
a
k∈
A
*a
k∈
A
*ak
∉
A
*ak
∈
A
*ak
∉
A
*ROI Activity Time Line
t
jt
nak
∉
A
*ak
∈
A
*ak
∉
A
*ROI Activity Time Line
t
jt
nak
∈
A
*ak
∈
A
*0 min
0 min ROI Time Line t ROI Time Line t
a
k∈
A
*a
k∈
A
*a
k∈
A
*a
k∉
A
*a
k∈
A
*a
k∉
A
*0 min
0 min ROI Time Line t ROI Time Line t
a
k∉
A
*a
k∈
A
*a
k∉
A
*a
k∈
A
*0 min
0 min ROI Time Line t ROI Time Line t
a
k∈
A
*a
k∉
A
*a
k∈
A
*a
k∉
A
*a
k∉
A
*a
k∉
A
*0 min
0 min ROI Time Line t ROI Time Line t
0 min
ROI Time Line
t
a
k∈
A
*a
k∉
A
*a
k∈
A
*a
k∈
A
*a
k∉
A
*a
k∈
A
*a
k∉
A
*a
k∈
A
*a
k∈
A
*a
k∉
A
*0 min
ROI Time Line
t
activity duration
≤
ɛ
activity duration > ɛ
Short activity
Long activity
Multiple activities case (ex.)
Longitude [°] 4.762 4.764 4.766 4.768 4.77 4.772 Latitude [°] 52.291 52.292 52.293 52.294 52.295 52.296 Longitude [°] 4.72 4.74 4.76 4.78 4.8 4.82 Latitude [°] 52.27 52.28 52.29 52.3 52.31 52.32 52.33 Number of Clusters = 38 Longitude [°] 4.72 4.74 4.76 4.78 4.8 4.82 Latitude [°] 52.27 52.28 52.29 52.3 52.31 52.32 52.33
Mean Load Locations