<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>From Conventional to IoT-Enhanced: Simulated Object-Centric Event Logs for Real-Life Logistics Processes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jia Wei</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chun Ouyang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Weiguang Ma</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Deyou Jiang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jianglan Xia</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Arthur ter Hofstede</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ying Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lei Huang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Beijing Jiaotong University (BJTU)</institution>
          ,
          <addr-line>No.3 Shangyuancun, Haidian District, Beijing 100044</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Queensland University of Technology (QUT)</institution>
          ,
          <addr-line>2 George St, Brisbane City QLD 4000</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>With the growth of Internet-of-Things (IoT) applications, integrating IoT data into business processes has received increasing attention. IoT data, typically low-level, is unsuitable to be directly integrated with event logs that capture high-level process information. Compared to XES event log representation, Object-Centric Event Log (OCEL) 2.0 is better suited for integration as it captures intricate object-event relationships in processes. We present two OCEL 2.0 logs simulating the cargo pickup process at a Chinese port: one for the traditional process and the other incorporating IoT technology. These logs advance event log representations and research on integrating IoT data into business processes.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Object-Centric Event Log</kwd>
        <kwd>Simulated Event Log</kwd>
        <kwd>Logistics Process</kwd>
        <kwd>Internet of Things</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        As the number of IoT applications increases, more research focuses on integrating IoT data into business
processes. De Luzi et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] conduct a systematic literature review of existing approaches to IoT-aware
business process management (BPM). Janiesch et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] highlight the benefits and 16 challenges of
integrating IoT and BPM. Our work aims to address one of these challenges—“bridging the gap between
sensor data and event logs for process mining”. Since IoT data is usually low-level, and event logs
contain relatively high-level process execution information, it is often not suitable to integrate IoT data
directly into event logs.
      </p>
      <p>
        In process mining, there are two types of event log representations: XES [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and OCEL [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. XES
logs are formatted as tables, each row representing an event related to a single object (a.k.a. case) and
each column specifying an event attribute. OCEL, on the other hand, is represented as a relational
database that captures the objects involved in a process and their interactions with events. The recently
proposed Object-Centric Event Data (OCED) meta-model [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] further extends OCEL by introducing
dynamic object attributes and relationships between objects.
      </p>
      <p>
        Some existing IoT-enriched event logs [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ] integrate low-level IoT data into processes following the
XES standard. However, the XES format is limited to a single-object perspective, making it unsuitable
for capturing processes that involve multiple interacting objects, such as business entities and IoT
devices. Mangler et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] propose an IoT-enriched event log converted from XES to OCEL 1.0. However,
this log fails to capture the relationships between business objects and their interactions with events.
Moreover, it is unclear how the interactions between IoT devices and business processes are represented
in such an event log.
      </p>
      <p>
        In our work, we incorporate process-related information captured by IoT devices into event logs. We
adopt the OCEL 2.0 schema which is better suited for the integration as it captures object
interrelationships and their interactions with process events. Existing IoT-enriched event logs [
        <xref ref-type="bibr" rid="ref6 ref7 ref8">6, 7, 8</xref>
        ] record IoT
data into event logs following the XES standard or OCEL 1.0. Unlike their work, our work generates
event logs that not only conform to the OCEL 2.0 schema but also introduce extensions to integrate IoT
data into event logs.
      </p>
      <p>In this paper, we present two OCEL 2.0 logs, both generated through simulations using CPN, that
aim to capture the cargo pickup process in one of the major ports in China. The two logs and the CPN
models used to generate them are available at https://github.com/JennyJiaW/OCELs_CargoPickup. The
ifrst log aims to represent the conventional cargo pickup process, encompassing multiple object types
such as cargo, pickup plans, trucks, and silos. It also aims to capture the static and dynamic relationships
between objects as well as their interactions with process events. The second log builds upon the first
with the aim to integrate IoT data to capture relationships between IoT objects and business objects, as
well as between IoT device entities and process events.</p>
      <p>By simulating a real-life process, the two OCEL logs produced from this work serve as valuable public
data resources for the BPM research community. These logs can provide the community with insights
to enhance OCEL log representations, and contribute to future research on integrating IoT data with
process event logs.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Description of Resources</title>
      <p>We present the two aforementioned OCEL logs for the conventional cargo pickup process at a Chinese
port and its IoT-enhanced process, respectively. Table 1 lists the object types and their corresponding
attributes in both logs. Table 2 lists IoT device types used in the cargo pickup process.</p>
      <sec id="sec-2-1">
        <title>2.1. The conventional cargo pickup process</title>
        <p>• Event tables: Capture the temporal order of events and record event information, including</p>
        <p>Event_id, Activity, Timestamp, and event attributes (if any).
• Object tables: Document static and dynamic attributes of each object, including Object_id,
Timestamp, Ocel_changed_field (indicating which attribute, if any, changed), and attributes.
The pickup plan object table is an exception, omitting the Ocel_changed_field since all attribute
values are generated at the start of the process.
• Event-to-Object relation (E2O) table: Records relationships between objects and events
during process execution, including Event_id, Object_id, and an E20_qualifier specifying the
semantics of each E2O relationship.
• Object-to-Object relation (O2O) table: Records relationships between objects, including
Source_object_id, Target_object_id, an O2O_qualifier specifying the semantics of each O2O
relationship, and a Timestamp, as these relationships may change during process execution.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. The IoT-enhanced cargo pickup process</title>
        <p>As shown in Figure 2, the cargo pickup process in this real-world scenario has evolved with the adoption
of IoT technologies. Activities in italics relate to the IoT devices listed in Table 2. These activities could
be new process activities arising from the use of IoT devices or existing process activities enhanced
by incorporating IoT devices. For example, the “weigh the empty truck” and “weigh the loaded truck”
activities utilise real-time data from weight sensors. In addition, two new activities, “Check empty truck
weight abnormality” and “Determine the continuance of the pickup”, have been introduced due to IoT
integration.</p>
        <p>When a truck enters the weighbridge, an RFID tag on its windshield is read, recording past empty
truck weights and manufactured weight. By comparing the current empty weight with the historical
average, weight anomalies can be detected in real-time, preventing fraudulent deliveries at ports.
Furthermore, because of the inclusion of real-time data from temperature and humidity sensors in silos,
an activity is introduced to determine if the current pickup meets the continuation criteria. For instance,
if a truck is picking up rice, silo staf will verify if the rice meets discharge criteria by ensuring the
grain’s temperature is higher than the dew-point temperature, which is calculated from atmospheric
temperature and humidity.</p>
        <p>As a result, in addition to the four types of tables in the previous log, this simulated OCEL log contains
two new relational tables:
• IoTDevice-to-Object relation (IoT2O) table: Records the relationship between IoT devices and
business objects, and consists of columns: IoT_object_id, Object_id, an IoT2O_qualifier
specifying the semantics of each IoT2O relationship and a Timestamp, as IoT2O relationships
may change during execution of the process.
• IoTDevice-to-Event relation (IoT2E) table: Records the relationship between IoT devices
and events in the process and is comprised of columns: Event_id, IoT_object_id and
IoT2E_qualifier to specify the meaning of their relationship.</p>
        <p>
          Moreover, in the IoT-enhanced cargo pickup process, there are two types of interactions between IoT
devices and business processes: push and pull interactions [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
• Push Interaction: IoT devices automatically send data to the business process. For instance,
when a truck arrives at the platform of the weighbridge, a weight sensor makes the real-time
weight of the truck available to the process.
• Pull Interaction: Data collected by IoT devices are requested on demand. That is, interactions
are triggered by the business processes. For instance, environmental sensors continuously
measure the temperature or humidity of the environment; only when the activity “Determine the
continuance of the pickup” is executed are the aggregated temperature and humidity data made
available to the process.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Preliminary Analysis</title>
      <sec id="sec-3-1">
        <title>3.1. Generation of Simulated Event Logs using CPN</title>
        <p>A simulation approach to generate the two event logs was used as though the cargo pickup process
originates from a real-world scenario, obtaining real data directly from the port system is challenging.
For each business process, two CPN models were created using CPN Tools1, one concerned with object
initialisation and definition of static and dynamic attributes (referred to as CPN  and CPNIoT resp.) and
one modelling the business process (referred to as CPNbp and CPNIbopT resp.). These four CPN models
were then used to generate the two simulated event logs correspondingly.</p>
        <p>The simulated values for all static and dynamic attributes follow a normal distribution with parameters
informed by domain knowledge. Dynamic attributes were initially set to 0.0 or null, depending on their
data type. In addition, the time frame and frequency of truck arrivals at the port are designed according
to domain knowledge, with truck arrival following an exponential distribution. The “process” CPN
models (CPNbp and CPNIbopT ) capture dynamic attribute changes and when these occur. For CPNIbopT ,
the IoT device types and their attributes (see Table 2) serve as inputs for certain process activities (see
Figure 2), simulating the interactions between the business processes and the IoT devices.</p>
        <p>The two logs, the CPN models used to generate them, and the documentation on how to generate
these simulated logs are available at https://github.com/JennyJiaW/OCELs_CargoPickup.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Basic Statistical Analysis</title>
        <p>In this subsection, we compare some basic statistics of the two simulated OCEL logs as shown in Table 3.
These statistics were obtained from tables generated from the CPN simulation, stored in an SQLite
database, and analysed using the pm4py package2.</p>
        <p>Cargo theft may be enabled by modified trucks. In the conventional process, truck weights are
recorded manually, while IoT technology (weight sensor and RFID tag for each truck) allows their
1https://cpntools.org/
2https://pm4py.fit.fraunhofer.de/
automatic capture and comparison with their historical weights to detect whether there is a significant
deviation from the past. If so, the weighbridge alerts the port and the truck is prevented from picking
up the cargo. Table 3 shows that “Fail to Weigh” and “Weigh the Loaded Truck” occurred 300 resp. 191
times, hence around 39% of pickups were successfully completed.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>We present two OCEL logs generated to simulate the cargo pickup process in a Chinese port as an
example of real-life logistics processes. Unlike existing process event logs incorporating IoT data, we
focus on generating logs that conform to the OCEL 2.0 schema as well as integrating process-related
information captured by the IoT data. The two OCEL logs produced from this work serve as valuable
public data resources for the BPM research community. In future work, we plan to extend these
IoTenriched event logs by incorporating additional IoT data and analysing the resulting logs to understand
how IoT data impacts process performance. We aim to use the insights from this study to inspire the
community to advance event log representation for real-life processes and to further research on the
integration of IoT data with process event logs.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>F.</given-names>
            <surname>De Luzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Leotta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Marrella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mecella</surname>
          </string-name>
          ,
          <article-title>On the Interplay Between Business Process Management and Internet-of-</article-title>
          <string-name>
            <surname>Things</surname>
            ,
            <given-names>Bus. Inf. Syst. Eng.</given-names>
          </string-name>
          (
          <year>2024</year>
          )
          <fpage>1</fpage>
          -
          <lpage>24</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Janiesch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Koschmider</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mecella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Burattin</surname>
          </string-name>
          , et al.,
          <source>The Internet of Things Meets Business Process Management: A Manifesto</source>
          ,
          <source>IEEE SMC 6</source>
          (
          <year>2020</year>
          )
          <fpage>34</fpage>
          -
          <lpage>44</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>[3] IEEE Standard for eXtensible Event Stream (XES) for Achieving Interoperability in Event Logs and Event Streams</article-title>
          , IEEE Std 1849
          <article-title>-</article-title>
          <year>2016</year>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>50</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Berti</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Koren</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. N.</given-names>
            <surname>Adams</surname>
          </string-name>
          , G. Park,
          <string-name>
            <given-names>B.</given-names>
            <surname>Knopp</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Graves</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Rafiei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Liß</surname>
          </string-name>
          , et al.,
          <source>OCEL (Object-Centric Event Log) 2.0 Specification</source>
          , arXiv preprint arXiv:
          <fpage>2403</fpage>
          .
          <year>01975</year>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>W. M. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Object-Centric Process Mining: Unraveling the Fabric of Real Processes</article-title>
          ,
          <source>Mathematics</source>
          <volume>11</volume>
          (
          <year>2023</year>
          )
          <fpage>2691</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Grüger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>An IoT-Enriched Event Log for Process Mining in Smart Factories</article-title>
          ,
          <year>2023</year>
          . URL: https://doi.org/10.6084/m9.figshare.
          <volume>20130794</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Mangler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ehrendorfer</surname>
          </string-name>
          ,
          <source>XES Chess Pieces Production (4.0)</source>
          ,
          <year>2023</year>
          . URL: https://doi.org/10.5281/ zenodo.7958478.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Mangler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ehrendorfer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-V.</given-names>
            <surname>Benzin</surname>
          </string-name>
          ,
          <source>OCEL Chess Pieces Production (1.0)</source>
          ,
          <year>2023</year>
          . URL: https: //doi.org/10.5281/zenodo.8139445.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P.</given-names>
            <surname>Valderas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Torres</surname>
          </string-name>
          , E. Serral,
          <article-title>Modelling and executing IoT-enhanced business processes through BPMN and microservices</article-title>
          ,
          <source>JSS</source>
          <volume>184</volume>
          (
          <year>2022</year>
          )
          <fpage>111139</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>