<!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>SonarEditor: A Tool for Multi-Agent-Organizations Modelling</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jan Bolte</string-name>
          <email>8bolte@informatik.uni-hamburg.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Informatics, TGI, University of Hamburg</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents the SonarEditor, which supports the creation of Sonar models. It provides pre-build net components, a wellformedness check and a wizard that aims at the support for possible enhancements of the model.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        SonarEditor [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is a prototypical implementation that enables multi-agent system
developers to model organizational models following the Sonar formalism. It is
implemented as plugin for Renew [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The SonarEditor consists of three parts:
pre-build net components [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which help to create models, a well-formedness
check that can check the well-formedness of the model and a wizard that can
be used to enchance the model. Well-formedness of a model is defined by the
definition of an organization and that the model is acyclic [4, Section 3.1].
      </p>
      <p>Sonar is an approach to model organizations based on Petri nets. Such
a model is composed of a delegation net and a set of distributed workflow nets
(DWFs). The DWFs model the real workflows and the delegation net all possible
courses of actions in an organization. The SonarEditor focuses on the delegation
net, which is a Petri net (P, T, F ) with P a set of Tasks, T a set of
Implementations and F a set of arcs between P and T . Every Task and Implementation has
to be assigned to a Position. This Position models a position in the organization.
A Task models a task, which has to be executed. The Implementations define
how every Position can implement each task. There are four different types of
Implementations allowed by formal definition of the delegation net. The four
types are named execute, delegate, split, renfie and the pre-build net
components for them are presented in the bottom of Figure 1. The top of Figure 1
displays the toolbar of the Sonar net components. There are from left to right
Position, Initial Task, Task, execute, delegate, split, refine, refine+split . These
are the net components for the delegation net. refine+split is the combination of
the Implementations refine and split. The next components Declaration Node,
Role and DWFAction are the components for creating DWFs. The last three
buttons trigger the well-formedness check and the wizard: the first two trigger
the well-formedness check with and without DWFs, the last triggers the wizard.</p>
      <p>The SonarEditor shows an error frame if errors occur while checking the
wellformedness. This frame contains a list of these errors and three buttons: Select,
Select All and Cancel. If an error item is selected in the error frame the button
Select can be pushed to select the corresponding element in the delegation net.
With the button Select All all elements causing errors will be selected.</p>
      <p>PNSE’12 – Petri Nets and Software Engineering
execute
delegate
split
refine
DWF[roleName]</p>
      <p>DWF[roleName]</p>
      <p>DWF[roleName]</p>
      <p>DWF[roleName]</p>
      <p>The last button of the toolbar starts the wizard, which supports the user by
proposing possible enhancements based on the existing DWFs and delegation
net. The wizard pages hold their previous and their following page and manage
the remaining GUI of the wizard. There are five different wizard pages in this
implementation:
ErrorPage is the first page, if a Task is selected, which causes an error.
InitOrPosPage is the first page, if nothing is selected and you can create a</p>
      <p>Position or start the creation of an initial Task with this page.</p>
      <p>TypePage is the first page, if the selected Task does not cause an error. On
this page you can define the type of the new Implementation. In the cases
of execute and split this page is the last page.</p>
      <p>PosPage is the page, where one can select the Position of the initial Task or
the output Task of a new delegate Implementation.</p>
      <p>DWFPage is the page, where you can select the DWF of the initial Task or
the refining DWF in a refine or refine+split Implementation.</p>
      <p>The SonarEditor supports the user with net components, a well-formedness
check and a wizard. By these means, it supports the creation of well-formed
Sonar models. A possible extension to this tool would be the consideration of
the DWF well-formedness in the well-formedness check.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Jan</given-names>
            <surname>Bolte</surname>
          </string-name>
          .
          <article-title>Werkzeug-Unterstützung für organisationsorientierte Modellierung in Sonar, 2012</article-title>
          . Bachelor thesis.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Lawrence</given-names>
            <surname>Cabac</surname>
          </string-name>
          .
          <article-title>Net components: Concepts, tool, praxis</article-title>
          . In Daniel Moldt, editor,
          <source>Petri Nets and Software Engineering</source>
          , International Workshop, PNSE'
          <fpage>09</fpage>
          .
          <string-name>
            <surname>Proceedings</surname>
          </string-name>
          , Technical Reports Université Paris 13, pages
          <fpage>17</fpage>
          -
          <lpage>33</lpage>
          , 99,
          <string-name>
            <surname>avenue</surname>
            <given-names>Jean-Baptiste</given-names>
          </string-name>
          <string-name>
            <surname>Clément</surname>
          </string-name>
          ,
          <volume>93</volume>
          430 Villetaneuse,
          <year>June 2009</year>
          . Université Paris 13.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Olaf</given-names>
            <surname>Kummer</surname>
          </string-name>
          , Frank Wienberg,
          <string-name>
            <given-names>Michael</given-names>
            <surname>Duvigneau</surname>
          </string-name>
          , and Lawrence Cabac. Renew - the Reference Net Workshop. http://www.renew.de/,
          <source>2012. Release 2</source>
          .
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Michael</given-names>
            <surname>Köhler-Bußmeier</surname>
          </string-name>
          and
          <article-title>Matthias Wester-Ebbinghaus. Analysing Model Transformations in SONAR</article-title>
          .
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>