<!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>MuDePS: Multi-perspective Declarative Process Simulation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lars Ackermann</string-name>
          <email>lars.ackermann@uni-bayreuth.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan Schonig</string-name>
          <email>stefan.schoenig@uni-bayreuth.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Bayreuth, Universitatsstra e 30</institution>
          ,
          <addr-line>95447 Bayreuth</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>12</fpage>
      <lpage>16</lpage>
      <abstract>
        <p>models. This is important especially for declarative modeling languages, which are able to cope with highly exible processes while mostly being less intelligible than imperative counterparts. Since most of the available process simulation tools are tailored to imperative languages they are not suitable in declarative contexts. The tool presented in this paper is able to simulate declarative, multi-perspective process models. It builds on DPIL, a declarative process modeling language. DPIL models can be created and compiled to a simulation model using the DPIL Modeler. MuDePS, a second component, is able to generate event logs that conform to the original DPIL model. Each generated log is able to describe an exhaustive, distinct set of valid process execution traces of a desired length.</p>
      </abstract>
      <kwd-group>
        <kwd>process simulation</kwd>
        <kwd>log generation</kwd>
        <kwd>declarative modeling</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Background and Signi cance to BPM</title>
      <p>
        Business processes di er regarding their strictness and level of governance. Thus,
two paradigms for business process modeling emerged: Imperative models
describe allowed process instances using step-by-step ow descriptions, whereas
declarative, i.e. rule-based models consist of constraints that each instance has
to satisfy [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Declarative process modeling languages (DPMLs) are based on the
foundational principle that all execution paths are allowed as long as they are
not explicitly forbidden. Rules are used to form a forbidden region for process
executions. Hence, more exible processes require less rules, i.e., the resulting
model is comparably small and, thus, rule-based approaches are well-suited for
the representation of exible processes [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
      </p>
      <p>Copyright c 2016 for this paper by its authors. Copying permitted for private and
academic purposes.
use group Administration
process BusinessTrip {
task Apply for Trip
task Approve application
task Book accommodation
document Application
}
ensure produces(Apply for Trip, Application)
ensure consumes(Approve application, Application)
ensure sequence(Approve application, Book accommodation)
ensure role(Approve Application, Administration)
ensure binding(Book accommodation, Apply for Trip)
milestone "Done": event(of Book accommodation)</p>
      <p>
        Orthogonal to the two modeling paradigms a process involves multiple
perspectives. Activities in the process, for instance, follow a certain order (functional
and behavioral ), are performed by certain organizational resources
(organizational ) and require an appropriate handling of data (data-oriented ) [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ]. Many
DPMLs are limited to the functional and the behavioral perspectives. Even the
more expressive Dynamic Condition Response Graph [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] language still lacks the
involvement of organizational resources. In contrast, the Declarative Process
Intermediate Language (DPIL) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] has been designed for modeling process rules
for multiple perspectives. Thus, using DPIL it is possible to model
dependencies between activities as well as between resources and activities and all other
combinations of elements from di erent or the same perspectives. DPIL and its
expressiveness have been motivated and evaluated in both, industry applications
like the KpPQ project2 and in academical contexts [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] based on the well-known
set of Work ow Patterns. One result of the academical investigation was that
DPIL provides support for around 50% more of the requirements than BPMN
does. However, though we decided to use DPIL as example language the principle
can be applied to other DPMLs, too [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>DPIL is a textual modeling language and allows for de ning reusable rule
templates (macros) in order to keep the resulting model as concise as possible.
For instance, the produces macro (produces(t,d)) states that an activity t
cannot be complete until a data object d has been produced. Consequently, the
consumes macro (consumes(u,d)) stipulates that a second activity, u, cannot be
started until this data object d is available. This results in a temporal
ordering of the two activities t and u driven by a data dependency. Sometimes the
temporal ordering of activities might depend on information which are not part
of the process. Such constraints can be formulated using the sequence macro
(sequence(t,u)), whereby u must be preceded by at least one execution of t.
Resources can be assigned to an activity using the role macro (role(t,r)), which
restricts an actor of t to be in role r. Such assignments do not need to be static,
as the binding macro (binding(t,u)) shows. This macro says that the actor in the
2 For more information we would like to refer to: http://kppq.de/
activities t and u has to be the same. The DPIL model in Fig. 1 is a simpli ed
sketch of a business trip application process. It says that an application can be
approved by the administration as soon as the application document is available.
The accommodation has to be booked by the applicant and, at the earliest, as
soon as the application has been approved. This step concludes the process.</p>
      <p>
        Process model analysis and improvement phases can be supported by
business process simulation techniques [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Simulation tools can produce log les
which can be further analyzed enabling the user to predict the performance of a
process in an operative context. As a second application, simulated logs can be
used to gain a deeper understanding of the meaning and properties of a process.
Cognitive research has shown that examples help to improve the comprehension
of rules and abstractions [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. A third advantage of simulation tools that
produce logs is the opportunity to evaluate process mining techniques, as it has
been shown in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. However, though there are many simulation techniques for
imperative languages there is currently a lack of simulation tools for declarative
languages. The approach in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is able to simulate declarative process models but
the underlying DPML is limited to the functional and behavioral perspectives of
processes. The transformation from multi-perspective declarative process
models to an imperative representation is still vague. Consequently, it is vague, too,
whether imperative simulation tools can be applied. We therefore complement
the DPIL framework [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] with a multi-perspective declarative process simulation
tool called MuDePS which is presented in the remaining part of the paper.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>MuDePS: Overview and Demo Guidelines</title>
      <p>
        In the demo we make use of two components of the DPIL framework, namely
DPIL Modeler and MuDePS itself in order to demonstrate the simulation of
the example process above as well as an extended version. The modeler ships
with a textual editor based on the Eclipse IDE in combination with Xtext.
Thus, the user is supported through general IDE features like auto-completion as
well as through language features like syntax checking and reference resolution.
MuDePS operates on models formulated using a logic language called Alloy [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
The gap between a model speci ed in DPIL and its Alloy representation is closed
using an automated model-to-text generator based on Acceleo.3
      </p>
      <p>The MuDePS simulation tool works as follows. First, a DPIL model is
translated into an Alloy-conform speci cation. Alloy ships with an analyzer which is
able to identify unique examples for a given model and target size exhaustively.
This means that each possible process execution path occurs exactly once in
the resulting log which is serialized according to the eXtensible Event Stream
(XES) standard format4. This standard is based on the idea of Discrete-Event
Simulation which means that the log of a particular process execution is a chain
of events whereby each encapsulates all relevant information about the executed
activity and the executing resource and tools.
3 Xtext: www.eclipse.org/Xtext/, Acceleo: www.eclipse.org/acceleo
4 http://www.xes-standard.org/</p>
      <p>
        A simulation model in MuDePS consists of two main parts: (i) A static part
that describes the general structure and constraints for an intrinsically valid
process event trace and (ii) a dynamic part consisting of constraints that have
been generated from the source DPIL model. The static part ensures that each
event occurs at a particular point in time (behavioral perspective) and that
each event is able to encapsulate the activity name (functional perspective), the
performer (organizational perspective) and data access information. An actor
is usually part of an organizational structure. Thus, we also provide an Alloy
implementation of the well known organizational meta-model discussed in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>The dynamic part contains the Alloy representation of the particular process
model like the example in Fig. 1. The group, task and document elements are
transformed to so called signatures which are comparable to classes in
objectoriented programming languages. Thus, signatures can be abstract, too, and a
signature that represents a process model element is an extension of one signature
from the static part. A process rule is transformed to a so called fact. A fact is
an invariant, i.e. a constraint that always must be ful lled and that can be used
to represent non-structural restrictions. In order to run the simulation we make
use of Alloy's run command for which we have to provide a maximum target size
of the solutions, i.e. the maximum process trace length. Running the command,
the Alloy analyzer translates the Alloy model into a system of equations and
applies a solver. MuDePS iterates over the resulting solutions considering the
provided maximum trace length which, in turn, makes the solution space nite.</p>
      <p>Based on its characteristics MuDePS can be used to produce an exhaustive
set or a set of a desired size of example traces for a given DPIL model and
maximum trace length. The traces are provided in the XES log format and can
be post-processed by any desired application that operates on XES les.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Maturity and Future Work</title>
      <p>
        As already shown in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], the DPIL Framework is a well-evaluated prototype
that is used for demonstration purposes in academic and industrial contexts.
The new part of the framework, MuDePS, shown in Fig. 2, has been evaluated
regarding correctness and performance in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] based on a real-life DPIL model.
MuDePS itself, installation instructions as well as an example process and an
exemplary generated event log are available at http://mps.kppq.de. Additionally
we provide a screencast showing the basic work ow for simulating a DPIL model
with MuDePS at: https://youtu.be/JhqSiAxChKQ. Currently the
transformation from DPIL to Alloy is done using the signature of the macros. However,
this means a restriction regarding DPIL's exibility to create new process rule
templates. That is why we are currently working on a more exible
transformation based on the actual rule structure. Additionally, the computation time
for larger process event logs (&gt; 80 events) is rather low (around 45 minutes for
1000 instances). However, this is caused by the multi-perspectivity but can be
optimized, e.g. through partially inverting constraints in order to early minimize
the solution space. Future versions of the tool will also consider activity life
cycles (event start/completion) and modalities, i.e. soft and hard constraints.
Additionally it will be fully integrated into the DPIL Modeler.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>D.</given-names>
            <surname>Fahland</surname>
          </string-name>
          , D. Lubke, J. Mendling,
          <string-name>
            <given-names>H.</given-names>
            <surname>Reijers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Zugal</surname>
          </string-name>
          , \
          <article-title>Declarative versus imperative process modeling languages: The issue of understandability,"</article-title>
          <source>in BPMDS</source>
          , pp.
          <volume>353</volume>
          {
          <issue>366</issue>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>R. Vacul n</surname>
          </string-name>
          , R. Hull,
          <string-name>
            <given-names>T.</given-names>
            <surname>Heath</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Cochran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nigam</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Sukaviriya</surname>
          </string-name>
          , \
          <article-title>Declarative business artifact centric modeling of decision and knowledge intensive business processes,"</article-title>
          <source>in EDOC</source>
          , pp.
          <volume>151</volume>
          {
          <issue>160</issue>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>M.</given-names>
            <surname>Zeising</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          <article-title>Schonig, and</article-title>
          <string-name>
            <given-names>S.</given-names>
            <surname>Jablonski</surname>
          </string-name>
          , \
          <article-title>Towards a Common Platform for the Support of Routine and Agile Business Processes,"</article-title>
          <source>in CollaborateCom</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>T. T.</given-names>
            <surname>Hildebrandt</surname>
          </string-name>
          and
          <string-name>
            <given-names>R. R.</given-names>
            <surname>Mukkamala</surname>
          </string-name>
          , \
          <article-title>Declarative event-based work ow as distributed dynamic condition response graphs," PLACES 2010 (Journal v</article-title>
          .),
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>L.</given-names>
            <surname>Ackermann</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          <article-title>Schonig, and</article-title>
          <string-name>
            <given-names>S.</given-names>
            <surname>Jablonski</surname>
          </string-name>
          , \
          <article-title>Simulation of multi-perspective declarative process models,"</article-title>
          <source>in Int. Conf. on BPM</source>
          , Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          , \
          <source>Business Process Simulation Revisited," Enterprise and Organizational Modeling and Simulation</source>
          , vol.
          <volume>63</volume>
          , pp.
          <volume>1</volume>
          {
          <issue>14</issue>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>A. L.</given-names>
            <surname>Brown and M. J. Kane</surname>
          </string-name>
          , \
          <article-title>Preschool children can learn to transfer: Learning to learn and learning from example,"</article-title>
          <source>Cogn. Psychology</source>
          , vol.
          <volume>20</volume>
          , pp.
          <volume>493</volume>
          {
          <issue>523</issue>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>C.</given-names>
            <surname>Di Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Bernardi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Cimitile</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Maggi</surname>
          </string-name>
          , \
          <article-title>Generating event logs through the simulation of declare models,"</article-title>
          <source>in EOMAS</source>
          , pp.
          <volume>20</volume>
          {
          <issue>36</issue>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>S.</given-names>
            <surname>Scho</surname>
          </string-name>
          <article-title>nig and M. Zeising, \The DPIL framework: Tool support for agile and resource-aware business processes," in BPM Demo Session</article-title>
          , pp.
          <volume>125</volume>
          {
          <issue>129</issue>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>D. Jackson</surname>
          </string-name>
          ,
          <article-title>Software Abstractions: logic, language, and analysis</article-title>
          . MIT press,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. C. Bussler, \
          <article-title>Analysis of the organization modeling capability of work owmanagement-systems,"</article-title>
          <source>in PRIISM</source>
          , pp.
          <volume>438</volume>
          {
          <issue>455</issue>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. L.
          <string-name>
            <surname>Ackermann</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <article-title>Schonig, and</article-title>
          <string-name>
            <given-names>S.</given-names>
            <surname>Jablonski</surname>
          </string-name>
          , \Simulation of MultiPerspective Declarative Process Models," preprint: https://epub.unibayreuth.de/id/eprint/2881,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>