<!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>
      <journal-title-group>
        <journal-title>D. C. Schmidt. Model-Driven Engineering. IEEE Computer</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Exploiting the easyABMS methodology in the logistics domain</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alfredo Garro</string-name>
          <email>alfredo.garro@unical.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wilma Russo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>A. Garro is with the Department of Electronics</institution>
          ,
          <addr-line>Informatics and Systems (DEIS)</addr-line>
          ,
          <institution>University of Calabria</institution>
          ,
          <addr-line>Rende (CS), 87036</addr-line>
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2006</year>
      </pub-date>
      <volume>39</volume>
      <issue>2</issue>
      <abstract>
        <p>- ABMS (Agent-Based Modeling and Simulation) has arisen as new approach to effectively support domain experts to cope with the growing complexity of the problems which they have to face and solve. To date, few methodologies are available which can be exploited by domain experts with limited programming expertise to model and subsequently analyze complex systems typical of their application domains. The easyABMS methodology has been proposed to overcome the lack of integrated methodologies able to seamlessly guide domain experts from the analysis of the system under consideration to its modeling and analysis of simulation results. In this paper, the effectiveness of easyABMS is demonstrated through a case study in the logistics domain which concerns the analysis of different policies for managing vehicles used for stacking and moving containers in a transshipment terminal.</p>
      </abstract>
      <kwd-group>
        <kwd>Agent-Based Modeling and Simulation</kwd>
        <kwd>AgentOriented Methodologies</kwd>
        <kwd>Container Terminal Management</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        I. INTRODUCTION
Aapproach for analyzing and modeling complex systems,
gent Based Modeling and Simulation (ABMS) is a new
an approach which is becoming acknowledged for its efficacy
in several application domains (financial, economic, social,
logistics, physical, chemical, engineering, etc) [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. ABMS,
allows for the definition of a system model based on
autonomous, goal-driven and interacting entities (agents)
organized into societies which is then simulated so to obtain
significant information on not only the properties of the
system under consideration but also its evolution.
      </p>
      <p>
        Although several ABMS tools are currently available [
        <xref ref-type="bibr" rid="ref10 ref11 ref19 ref20">10,
11, 19, 20, 24</xref>
        ], there are only a few methodologies involving
well- defined processes which are able to cover all the phases
from the analysis of the system under consideration to its
modeling and subsequent analysis of simulation results [
        <xref ref-type="bibr" rid="ref17">7, 8,
17</xref>
        ]. As a result, simulation models are often obtained using
the two following approaches: (i) a direct implementation
based on a chosen ABMS tool of the simulation model whose
abstraction level is then too low and platform dependent as a
conceptual modeling phase is not available; (ii) adapting a
given conceptual system model to a specific ABMS tool
which, however, requires additional adaptation, calling for
extra work, the amount of which increases depending on the
gap between the conceptual and the implementation model of
the system. Thus, both approaches lead to simulation models
which are difficult to verify, modify and update.
      </p>
      <p>
        To address these issues, a new methodology, easyABMS,
has recently been proposed [
        <xref ref-type="bibr" rid="ref4">4,5</xref>
        ] which has specifically been
conceived for agent-based modeling and simulation of
complex system, seamlessly covering all the phases from the
analysis of the system under consideration to its modeling and
analysis of simulation results. easyABMS defines an iterative
process which is integrated, model-driven and visual. In
particular, each phase of the process refines the model of the
system which has been produced in the preceding phase and
its work-products are mainly constituted by visual diagrams
based on the UML notation [23]. In addition, according to the
model-driven paradigm [
        <xref ref-type="bibr" rid="ref1">1, 21</xref>
        ] the simulation code is
automatically generated from the derived system Simulation
Model. On the basis of the simulation results, a new/modified
and/or refined model of the system can be obtained through a
new process iteration which can involve all or some process
phases.
      </p>
      <p>
        Currently, easyABMS exploits the advanced features of
visual modeling and of (semi)automatic code generation
provided by the Repast Simphony Toolkit [
        <xref ref-type="bibr" rid="ref17 ref18">17,18</xref>
        ], a very
popular and open source ABMS platform.
      </p>
      <p>In this paper, the effectiveness of easyABMS in supporting
domain experts to fully exploit the benefits of the ABMS,
while significantly reducing programming and implementation
efforts, is exemplified through a case study in the logistics
domain. Specifically, the case study is focused on the analysis
of different policies for the management of vehicles used for
stacking and moving containers (straddle carriers) in a
container transshipment terminal.</p>
      <p>The remainder of this paper is organized as follows: Section
II presents an overview of the easyABMS methodology and
the related process; Section III presents a brief introduction to
the reference application domain (a container transhipment
terminal) and to related management problems; Section IV
shows the application of easyABMS to the agent-based
modeling and simulation of the Straddle Carrier Routing and
Dispatching problem; finally, conclusions are drawn and
future works delineated.
lii
ksedno
t</p>
      <p>II.AN OVERVIEW OF EASYABMS</p>
      <p>
        The easyABMS methodology defines an iterative process
for ABMS composed of seven subsequent phases from the
System Analysis to the Simulation Result Analysis [
        <xref ref-type="bibr" rid="ref4">4, 5</xref>
        ]. On
the basis of the simulation results obtained a new iteration of
the process which can involve all or some process phases can
be executed for achieving new simulation objectives or those
which have not yet been obtained. Specifically, the process
phases are the following:
− System Analysis, in which a preliminary understanding of
the system and the main simulation objectives are obtained
(Analysis Statement);
− Conceptual System Modeling, in which a model of the
system is defined in terms of agents, artifacts and societies
(Conceptual System Model);
− Simulation Design, in which a model of the system is
defined in terms of the abstractions offered by the
framework which is exploited for the simulation
(Simulation Model);
− Simulation Code Generation, in which the Simulation Code
for the target simulation environment is automatically
generated starting from the model which is obtained in the
previous phase;
− Simulation Set-up, in which the Simulation Scenarios are
established;
− Simulation Execution and Results Analysis, in which the
simulation results are analyzed with reference to the
objectives of the simulation previously identified in the
System Analysis phase.
      </p>
      <p>
        Currently, all the simulation related phases are supported by
the Repast Simphony Toolkit [
        <xref ref-type="bibr" rid="ref18">18, 20</xref>
        ]. In particular, the
Simulation Design and the Simulation Code Generation
phases are supported by the Repast Simphony Development
Environment [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], while the Simulation Set-up, the Simulation
Execution and the Simulation Results Analysis phases are
supported by the Repast Simphony Runtime Environment [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
      </p>
      <p>The models of the system generated by each process phase
are produced according to the well-defined reference
metamodel shown in Figure 1 so to facilitate the verification of the
correctness of the models produced. Moreover, the concepts
related to each phase are defined by extending and/or refining
those of the previous phase; this allows for the seamless
integration between the phases as the model produced in each
phase extends and/or refines the model of the system
produced in the previous phase.</p>
      <p>The following sub-sections provides a brief description of
each process phase.</p>
    </sec>
    <sec id="sec-2">
      <title>A. System Analysis</title>
      <p>In the System Analysis phase, the objectives of the
simulation are specified and a preliminary understanding of
the system and its organization is obtained.</p>
      <p>
        This phase is based on the principle of layering, exploiting
the well-known techniques of Decomposition, Abstraction and
Organization [2, 9], and is constituted of a sequence of
analysis steps. In each step a new system representation is
produced by applying the in-out zooming mechanisms [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] to
the entities comprising the system representation which
resulted from the preceding analysis step. In the first analysis
step, a starting level of abstraction for analyzing the system is
chosen and then the system is zoomed-in so to identify its
component entities on the basis of the starting abstraction
level.
      </p>
      <p>According to the reference meta-model of the System
Analysis phase (see Fig. 1), an Entity can be characterized by
autonomous and goal-oriented behavior (pro-active entity),
purely stimulus-response behavior (re-active entity), or can be
passive. In addition, both the rules governing entities and their
evolution, and the relationships among entities are specified.
Specifically, Safety rules determine the acceptable and
representative states of an entity whereas liveness rules
determine which state transitions are feasible during entity
evolution. Relationships can be either intra-entity
relationships (i.e. relationships among the component entities
obtained by the zooming-in of an entity) or inter-entity
relationships.</p>
      <p>The System Analysis phase ends when the user obtains a
System Representation in which each component (pro-active,
re-active, passive) entity has been represented at the level of
abstraction which is appropriate for the objectives of the
simulation. This System Representation, along with a synthetic
description of the system being considered, a detailed
description of each identified entity and the objectives of the
simulation, constitutes the work-product of this phase (the
Analysis Statement).</p>
    </sec>
    <sec id="sec-3">
      <title>B. Conceptual System Modeling In the Conceptual System Modeling phase, the Structural</title>
      <p>System Model is produced, and in particular, for each entity in
the System Representation:
− the abstraction level suited to specific simulation objectives
is chosen;
− the conceptual representation , in terms of Agent, Artifact or
Society, is derived on the basis of the associations among
the main concepts of the System Analysis and Conceptual
System Modeling phases (see Fig. 1);
− the interactions with the other entities are obtained from the
intra and inter-relationships where the latter cross the
boundaries of societies.</p>
      <p>The chosen level of abstraction of an entity can be modified in
successive iterations through which it is then possible to
produce new, modified, and/or refined Structural System
Models.</p>
      <p>For each entity in the produced Structural System Model a
specific model is then defined, whose type can be one of the
following depending on the entity type:
− Society Model which describes the entities which compose
a Society, their type (Agent, Artifact, Society), and the rules
governing the Society (safety rules) and its evolution
(liveness rules);
− Agent Model which details the complex goal of an Agent
(Agent Goal Model), its behavior as a set of periodically
scheduled and triggered Activities (i.e. flow of Actions)
which contribute to the achievement of the Agent goals
(Agent Behavioral Model), and its interactions with other
Agents and Artifacts in which the agent is involved (Agent
Interaction Model);
− Artifact Model which describes the behavior of an Artifact
as a set of triggered Activities related to the offered
services (Artifact Behavioral Model), and its interactions
with other Artifacts and Agents (Artifact Interaction
Model).</p>
      <p>In this phase, starting from the Conceptual System Model a
Simulation Model of the system, in terms of the abstractions
offered by the framework exploited for the simulation, is
produced.</p>
      <p>
        In Figure 1 the basic simulation concepts of the reference
simulation framework (the Repast Simphony Toolkit [
        <xref ref-type="bibr" rid="ref18">18, 20</xref>
        ])
are highlighted. Specifically, the central concept is the
(simulation) Context (SContext) which represents an abstract
environment in which (simulation) Agents (SAgents) can act
and is provided with an internal state consisting of simple
values and Data Fields (a n-dimensional field of values). In
addition, an SContext can also support behaviors for the
management of its internal state. SContexts can be organized
hierarchically so to contain sub-SContexts which can have
their own state. SAgents in an SContext can be organized by
using Projections which are structure designed to define and
enforce relationships among the SAgents in the SContext. In
particular, a Network Projection defines the relationships of
both acquaintance and influence between SAgents whereas
Space Projections define (physical or logical) space structures
(Grid, Scalar Fields, Continuous Space, Geography) in which
the agents can be situated.
      </p>
      <p>An SAgent can have multiple behaviors (SBehaviors), each
operating on SAgent Properties and consists of a sequence of
Steps; each Step can be associated with the execution of a
Task or with the control of the flow of the Task execution
(Loop, Join, Decision, End). Each SBehavior can be
characterized by a Scheduled Method which defines a constant
execution schedule, and by a Watch which periodically, on the
basis of some watched parameters and conditions, triggers the
execution of the behavior.</p>
      <p>A Repast Simphony simulation model is defined by first
specifying the structure and the characteristics of the root
SContext and of all the possible nested sub-SContexts, in
terms of their components (SAgents, Projections and
subSContexts), and, then, specifying for each SAgent its
Properties and SBehaviors, and for each SBehavior the
component Steps, and the associated Scheduled Method and
Watch.</p>
      <p>The associations among the above described simulation
concepts of the Repast Simphony Toolkit and the related
concepts of the Conceptual System Model are reported in
Figure 1. The exploitation of these associations makes it
possible to directly obtain, starting from the Conceptual
System Model, the Simulation Model of the System as follows:
− each Society becomes a Repast Simulation Context
(SContext), the System is the root SContext and any
enclosed Society is a (sub)-Context of the corresponding
enclosing Society;
− Artifacts and Agents become Repast Simulation Agents
(SAgents), the Activities which constitutes their behaviors
are easily converted into Repast Simulation Behaviors
(SBehaviors);
− relationships derived from Interactions among Agents and
Artifacts generate Repast Network Projections.
defined in the Simulation Design phase; (ii) the presentation
preferences for the simulation results concerning the system
properties of interest identified during the Simulation Design
phase.</p>
      <p>Finally, the obtained simulation results can also be analyzed
by exploiting the analysis tools (Matlab, R, VisAd, iReport,
Jung) which can be directly invoked from the Repast
Simphony Runtime Environment so to verify whether the
objectives of the simulation identified during the System
Analysis phase have been achieved. Where objectives have
not been achieved or where new simulation objectives
emerge, a new iteration of the process can be executed, which
can then involve all or some process phases so that
new/modified and/or refined models of the system can be
produced for achieving the remaining/new simulation
objectives.</p>
      <p>Due to the continuous growth in the volume of goods
exchanged around world, further boosted by the rising
Chinese and Indian economies, maritime transportation is
becoming a crucial asset in global economy as it allows for
large economies of scale in the transport sector. Specifically,
the current maritime transportation system is based on a hub
and spoke model [22] whereby ultra-large containerships
operate between a limited number of mayor
(mega)transhipment terminals (hubs), and smaller vessels
(feeders) which link the hubs with other minor ports (spokes).</p>
      <p>In this scenario, a hub terminal must maintain a high level
of efficiency, not only to avoid traffic congestion but also to
increase its competiveness as some main characteristics
(geographical, structural and technological) which also
determine the competitiveness of a container terminal can be
modified only on a long term perspective.</p>
      <p>It thus becomes crucial to increase hub efficiency,
rendering it more competitive through the optimal
management of terminal resources and optimizing tactical and
operational logistics.</p>
      <p>
        In the next sub-section, the organization of a maritime
container terminal and some primary management issues are
briefly discussed; a more complete description can be found in
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>A. Organization of a Container Transhipment Terminal</p>
      <p>Each ship approaching a maritime terminal enters in a
harbour and waits to moor at an assigned berth position along
the terminal quay which is equipped with giant cranes (quay
cranes) for loading and unloading containers. These
containers, in a DTS (Direct Transfer System ) terminal, are
transferred to and from the terminal yard by a fleet of vehicles
(straddle carrier) which are able to stack containers in the
yard. In contrast, in an ITS (Indirect Transfer System)
terminal, containers are moved by trucks and trailers from the
quay to the yard and vice-versa and staked by yard cranes.</p>
      <p>
        In this context, the main logistic processes and related
management problems can be grouped in relation to the flow
of containers in the terminal as shown and briefly described in
Table 1; other issues are related to inter-terminal
transportation and to possibly link with other transportation
modes. Moreover, a transversal issue is related to the human
resources management [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>These very fundamental issues are not only reciprocally
related, but the large-scale nature of hub management makes
the use of standard exact solution algorithms impractical. In
fact, the management of such large and intricately complex
systems require new modeling methods which must also
generate proof-of-concept simulations.</p>
      <p>
        In the following Section, the effectiveness of the ABMS
approach and the easyABMS methodology is shown focusing
on the Straddle Carrier Routing and Dispatching Problem
(SCRDP) [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]; with reference to the different management
problems in a Container Transhipment Terminal (see Table
1), a more complete and domain specific agent-based
simulator has been proposed in [6].
      </p>
      <p>IV. MODELING AND SIMULATING STRADDLE CARRIER</p>
      <p>ROUTING AND DISPATCHING THROUGH EASYABMS</p>
    </sec>
    <sec id="sec-4">
      <title>A. System Analysis</title>
      <p>The main indicator of optimal performance in a container
transhipment terminal is the average ship-turn-around time
which is the average time-lapse between a ship’s arrival and
its departure, starting from the amount of time the ship waits
for a berth (berth waiting time) and the duration for which the
ship is docked for unloading and loading operations (handling
time). In the following, the focus is set on the handling time
given to fact that this time is highly dependent on the
productivity of the Quay Cranes (QCs) and, as a consequence,
on the management policies of the Straddle Carriers (SCs).</p>
      <p>Specifically, to maximize the productivity of the QCs in a
DTS container terminal, the SCs should operate so that the
buffer of each crane, which has a limited capacity of only a
few containers, is not full /not empty if the crane is
performing the discharging/loading phase. Specifically, there
are two main policies for organizing the work of SCs:
- dedicated modality: a given number of SCs are allocated
to each QC to follow its working phases;</p>
      <p>- shared modality (or pooling): a group of SCs is shared by
two or more QCs which work on the same ship or on adjacent
berthed ships and, possibly, frequently swapping between the
tasks of loading and discharging containers.</p>
      <p>The shared modality presents several benefits with respect
to the dedicated mode: (i) reduction in the number of empty
trips done by the SCs (i.e. travels without carrying any
container), as the SCs can fruitfully alternate between trips
carrying containers from the yard to the cranes which are
loading outgoing cargo and trips back to the yard, carrying
discharged cargo; (ii) more constant value of productivity of
both QCs and SCs as, when a crane is not working, the SC of
a pool can speed up operations of the other QCs.</p>
      <p>
        A quantitative evaluation of the aforementioned benefits is
not easy to obtain through traditional analytical models.
Moreover, classical dispatching models [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] often fail to
provide dynamic assignment of container moves to SCs of a
pool in order to speed up the loading/discharging operations
(the Straddle Carriers Pooling Problem - SCPP). To overcome
these shortcomings, an agent-based model can be defined and
simulated with the following main objectives:
      </p>
      <p>(i) quantifying the benefits of the pooling modality with
reference to system productivity (vessels handling time) and
cost reduction (numbers of exploited SCs and total distance
covered);</p>
      <p>(ii) obtaining an effective solution for the dynamic
assignment of container moves to the SCs of a pool which can
be used for automatically drive the coordinated behavior of
the SCs in a real container terminal.</p>
      <p>The System Representation obtained on the basis of the
identified simulation objectives is reported in Figure 2. All the
entities represented in Figure 2 are further described, along
with their relationships and their safety and liveness rules, in a
textual format enriched by tables and diagrams which are not
reported due to space limitations.</p>
      <p>ContainerTerminal
&lt;&lt;PVaessssievle&gt;&gt;
&lt;&lt;Passive&gt;&gt;</p>
      <p>Deck
&lt;&lt;Passive&gt;&gt;</p>
      <p>Hold
intra-entityrelantionship
inter-entityrelantionship
&lt;&lt;Pro-Active&gt;&gt;
QuayCrane
&lt;&lt;Passive&gt;&gt;</p>
      <p>Buffer</p>
    </sec>
    <sec id="sec-5">
      <title>B. Conceptual System Modeling The Structural System Model derived from the System</title>
      <p>Representation is reported in Figure 3; in particular, as the
simulation objectives concern management policies of SCs,
the level of representation chosen for the Vessel is more
abstract with respect to the level resulting from the Analysis
phase.</p>
      <p>For each entity in the Structural System Model the
corresponding Society, Agent or Artifact Model is defined (see
Section II.B). Due to space limitations, the following
subsections report only the Society Model for the Container
Terminal Society, the Agent Model for the Straddle Carrier
Agent and the Artifact Model for the Movement Task Assigner
Artifact.</p>
    </sec>
    <sec id="sec-6">
      <title>1) The Container Terminal Society Model</title>
      <p>The Society Model of the Container Terminal Society is
shown in Figure 4 which reports the different entities which
compose the Society, the safety and liveness rules which
govern it and its dynamics.</p>
      <p>Entity</p>
      <sec id="sec-6-1">
        <title>Vessel</title>
        <p>(sub)goal
SC_sg1</p>
        <p>SC_sg2
Activity
Container
Movement</p>
        <p>SC_sg1: Movement of SC_sg2: Movement of
containers from Buffer to Yard containers from Yard to Buffer
(a) The Straddle Carrier Goal Model</p>
        <p>- Vendor Activity Table
Goal Pre Post
SC_sg1 cond-itions Tchoencdointitoainnser
SC_sg2 htaansdklemdudsutrbinegptuhte
down in the yard or</p>
        <p>in the buffer
depending on the
task type</p>
        <p>Execution
Schedule
Periodical
- UML Activity Diagram for the Container Movement Activity
[Movementin progress] [Vessel Handling completed]
[No Movementin progress]</p>
        <p>Task
Assignment
Request</p>
        <p>Assigner
Response
[Vessel Handling notcompleted]
[Yard to BufferTask]</p>
        <p>Move
Container
From the Yard
to theBuffer
Legenda</p>
        <p>Time Signal</p>
        <p>Send Signal
Accept Signal</p>
        <p>Action Move
Decision [Bufferto Yard Task] FrotoCmothtnheteaYinBaeurrdffer
Final node</p>
        <p>Flow/edge
(b) A part of the Straddle Carrier Behavioral Model
Interaction Activity</p>
        <p>Initiator</p>
        <p>Partners
Task Container
Assignment Movement
Request
Assigner
Response</p>
        <p>Container Movement Task Straddle
Movement Assigner Carrier</p>
        <p>Straddle Carrier Movement</p>
        <p>Task Assigner</p>
        <p>Exchanged
Information
Task Request
Task
Description
(c) The Straddle Carrier Interaction Model
Fig. 5. Part of the Agent Model of the Straddle Carrier Agent.</p>
        <p>Activity</p>
        <p>Task
Assignment</p>
        <p>Task Assignment
Request
- Movement Task Assigner Activity Table
Service Pre Post</p>
        <p>conditions conditions
Movement A movement task must If available, a new</p>
        <p>Task be available unless the movement task
Assignment Vessel handling is must be assigned to
completed the SC</p>
        <p>Execution
Schedule
Triggered
- UML Activity Diagram for the Task Assignment Activity
[Vessel Handling completed]
[Vessel Handling notcompleted]</p>
        <p>Evaluate
next moves for
the other SCs
in the pool</p>
        <p>Assign a move</p>
        <p>to the
requesting SC</p>
        <p>Task
Assignment
Response
Fig. 6. Part of the Movement Task Assigner Behavioral Model.
3) The Movement Task Assigner Artifact Model</p>
        <p>Figure 6 presents part of the Artifact Model of the
Movement Task Assigner Artifact, and, in particular, the part
of the Movement Task Assigner Behavioral Model which
describes the Task Assignment Activity triggered by an SC
requesting a new container movement to be performed. In
particular, at the completion of its container movement the SC
requests the next assignment from the Movement Task
Assigner (see Figure 5.c). The Movement Task Assigner must
then decide, from available moves, the next best move for the
requesting SC taking into account also subsequent moves
which could be assigned to the other SCs in the pool
(Lookahead Policy). Such planning could be dynamically
revised at the next task assignment request.</p>
        <p>(a) The Simulation Context
expressed by using the UML notation, can be directly mapped
onto that of an SAgent, defined during the Simulation Design
phase in terms of SBehaviors.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>D.Simulation Execution and Results Analysis</title>
      <p>
        Starting from the Simulation Model a great part of the
simulation code is automatically generated by the Repast
Simphony Development Environment [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], compiled by using
a Java compiler and then loaded into the Repast Simphony
Runtime Environment for the Simulation Set-up and
Execution.
      </p>
      <p>
        According to the simulation objectives, the execution of the
resulting Simulation Model made it possible to compare and
quantify the benefits of both dedicated and pooling
modalities. In particular, several simulations have been
executed for different scenarios in order to evaluate: the Quay
Crane Idle Time (QCIT), the Straddle Carrier Covered
Distance (SCCD), and the Straddle Carrier Idle Time (SCIT).
As an example, Figures 8.a-b illustrate the QCIT and the
SCCD, in the two different modalities, with reference to a
simulation scenario based on real-life organizational topology
and equipment typologies of the Gioa Tauro Container
Terminal [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In this simulation scenario one Vessel is handled
by two QCs for the loading and discharging of 50 containers
respectively. The results shown in Figure 8, which are results
averaged from 30 simulation runs, made it possible to quantify
the significant advantage of the pooling modality in terms of
vessel handling time and cost reduction.
(b) The Container Movement SBehavior of the Straddle
      </p>
      <p>Carrier SAgent
Fig. 7. Part of the Simulation Model.</p>
    </sec>
    <sec id="sec-8">
      <title>C. Simulation Design</title>
      <p>
        Figures 7.a-b show a portion of the Simulation Model
produced by adopting the Repast Simphony Toolkit [
        <xref ref-type="bibr" rid="ref18">18, 20</xref>
        ] as
the reference simulation framework. Figure 7.a shows the
organization of the Simulation Context (SContext) whereas
Figure 7.b shows a Simulation Behavior (SBehavior) of the
SAgent representing a Straddle Carrier. In particular, the
Container Movement SBehavior in figure 7.b corresponds to
the Container Movement Activity reported in figure 5.b. The
seamless transition between the two models is highlighted by
the comparison between these two figures which clearly
demonstrates that the behavior of an Agent/Artifact, defined
during the Conceptual Modeling phase in terms of Activities
(a) Quay Crane Idle Time(QCIT)
(b) Average Distance Covered by the Straddle Carriers
Fig. 8. Some Simulation Results.
      </p>
      <p>V.CONCLUSION</p>
      <p>Several tools for ABMS are now available as well as
methodologies for the development of agent-based systems
which are mainly proposed in the context of Agent-Oriented
Software Engineering (AOSE). Nonetheless, only a few
results are available which integrate the methodological
features coming from the AOSE with the modeling and
simulation features of modern ABMS tools. As a
consequence, scarce support in the whole process which goes
from the system analysis to the analysis of simulation results
is provided to domain experts with limited programming
expertise. To address these issues, easyABMS, a recently
proposed and full-fledged methodology for agent-based
modeling and simulation of complex systems, fruitfully
exploits both AOSE modeling techniques and simulation tools
specifically conceived for ABMS.</p>
      <p>In this paper, the effectiveness of easyABMS has been
demonstrated using a case study in the logistics domain which
concerns the analysis of different policies for managing
Straddle Carriers in a Container Transshipment Terminal. In
particular, overcoming the main limitations when using only
classical analytical models, a quantitative assessment of two
primary Straddle Carrier management policies and an
effective solution in guiding the dynamic assignment of
container moves have been easily provided. The exploitation
of easyABMS allowed to demonstrate how this new
methodology can seamlessly guide domain experts from the
analysis of the system under consideration to its modeling and
simulation, as the phases which compose the easyABMS
process, the work-products of each phase, and the (seamless)
transitions among the phases are fully specified. In addition,
easyABMS focuses on system modeling and simulation
analysis rather than details related to programming and
implementation as it exploits the Model Driven paradigm,
making it possible the automatic code generation from a set of
(visual) models of the system.</p>
      <p>Future research efforts will be devoted to: (i) extend the
Repast Simphony Toolkit so to obtain an integrated ABMS
environment which fully supports all the process phases also
comprising the System Analysis and Conceptual System
Modeling phases; (ii) extensively experiment easyABMS in
case studies of social, financial, economic, and logistic
relevance; (iii) adopting a meta-simulation framework for the
Simulation Design phase so to obtain a platform-independent
simulation model which can then be translated into different
platform-dependent simulation models.</p>
      <sec id="sec-8-1">
        <title>Trade and</title>
        <p>[23] Unified Modeling Language (UML) Specification. Version 2.1.2. Object</p>
      </sec>
      <sec id="sec-8-2">
        <title>Management Group Inc., 2007.</title>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Atkinson</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Kühne</surname>
          </string-name>
          .
          <article-title>Model-driven development: A metamodeling foundation</article-title>
          .
          <source>IEEE Software</source>
          ,
          <volume>20</volume>
          (
          <issue>5</issue>
          ):
          <fpage>36</fpage>
          -
          <lpage>41</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Addison-Wesley</surname>
          </string-name>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.-F.</given-names>
            <surname>Cordeau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gaudioso</surname>
          </string-name>
          , G. Laporte, and
          <string-name>
            <surname>L. Moccia.</surname>
          </string-name>
          <article-title>The service allocation problem at the Gioia Tauro maritime terminal</article-title>
          .
          <source>European Journal of Operational Research</source>
          ,
          <volume>176</volume>
          :
          <fpage>1167</fpage>
          -
          <lpage>1184</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Garro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Russo</surname>
          </string-name>
          .
          <article-title>An integrated agent-based process for the simulation of complex systems</article-title>
          .
          <source>Proceedings of the International Conference on Economic Science with Heterogeneous Interacting Agents (ESHIA)</source>
          , Warsaw, Poland,
          <fpage>19</fpage>
          -
          <lpage>21</lpage>
          June,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Garro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Russo</surname>
          </string-name>
          .
          <article-title>An integrated and iterative process for agent-based modeling and simulation</article-title>
          .
          <source>Proceedings of the 5th International Conference of the European Social Simulation Association (ESSA)</source>
          , Brescia, Italy,
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          September,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <given-names>L.</given-names>
            <surname>Henesey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Davidsson</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Persson</surname>
          </string-name>
          .
          <article-title>An agent-based approach for building complex software systems</article-title>
          .
          <source>Autonomous Agents and MultiAgent Systems</source>
          ,
          <volume>18</volume>
          (
          <issue>2</issue>
          ):
          <fpage>220</fpage>
          -
          <lpage>238</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>T.</given-names>
            <surname>Iba</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Aoyama</surname>
          </string-name>
          .
          <article-title>Understanding Social Complex Systems with PlatBox Simulator</article-title>
          .
          <source>In Proc. of the 5th International Conference on Computational Intelligence in Economics and Finance (CIEF2006)</source>
          , pages
          <fpage>64</fpage>
          -
          <lpage>67</lpage>
          , Taiwan,
          <year>October 2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>T.</given-names>
            <surname>Iba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Matsuzawa</surname>
          </string-name>
          , and
          <string-name>
            <given-names>N.</given-names>
            <surname>Aoyama</surname>
          </string-name>
          . From Conceptual Models to Simulation Models:
          <article-title>Model Driven Development of Agent-Based Simulations</article-title>
          .
          <source>In Proc. of the 9th Workshop on Economics and Heterogeneous Interacting Agents. Kyoto, Japan</source>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>N. R.</given-names>
            <surname>Jennings</surname>
          </string-name>
          .
          <article-title>An agent-based approach for building complex software systems</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>44</volume>
          (
          <issue>4</issue>
          ):
          <fpage>35</fpage>
          -
          <lpage>41</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>MASON</given-names>
            <surname>Home</surname>
          </string-name>
          <article-title>Page</article-title>
          . George Mason University, Fairfax, VA, available at http://cs.gmu.edu/~eclab/projects/mason/.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>N.</given-names>
            <surname>Minar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Burkhart</surname>
          </string-name>
          , C. LAngton, and
          <string-name>
            <given-names>M.</given-names>
            <surname>Askenazi</surname>
          </string-name>
          .
          <article-title>The Swarm Simulation System: A Toolkit for Building Multi-Agent Simulations</article-title>
          .
          <source>Working Paper 96-06-042</source>
          . Santa Fe Institute,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Molesini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Omicini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ricci</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Denti</surname>
          </string-name>
          .
          <article-title>Zooming multi-agent systems</article-title>
          .
          <source>In Proc of the 6th International Workshop on Agent-Oriented Software Engineering (AOSE</source>
          <year>2005</year>
          ),
          <source>AAMAS</source>
          <year>2005</year>
          , Utrecht, The Netherlands,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Monaco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Moccia</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Sammarra</surname>
          </string-name>
          .
          <article-title>Operations Research for the management of a transhipment container terminal</article-title>
          .
          <source>The Gioia Tauro case. Maritime Economics and Logistics</source>
          ,
          <year>2009</year>
          , Vol.
          <volume>11</volume>
          , n. 1, pp.
          <fpage>7</fpage>
          -
          <lpage>35</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Monaco</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Sammarra</surname>
          </string-name>
          .
          <article-title>Scheduling and dispatching models for routing straddle carriers at a container terminal</article-title>
          .
          <source>Proceedings of the XXXVIII Annual Conference of the Italian Operations Research Society</source>
          , Genova, Italy,
          <source>Sept. 5-8</source>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>M. J. North</surname>
            ,
            <given-names>T.R.</given-names>
          </string-name>
          <string-name>
            <surname>Howe</surname>
            ,
            <given-names>N.T.</given-names>
          </string-name>
          <string-name>
            <surname>Collier</surname>
            , and
            <given-names>J.R.</given-names>
          </string-name>
          <string-name>
            <surname>Vos</surname>
          </string-name>
          .
          <article-title>The Repast Simphony Development Environment</article-title>
          .
          <source>In Proc. of the Agent 2005 Conference on Generative Social Processes, Models, and Mechanisms</source>
          , Chicago, IL ,
          <year>October 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>M. J. North</surname>
            ,
            <given-names>T.R.</given-names>
          </string-name>
          <string-name>
            <surname>Howe</surname>
            ,
            <given-names>N.T.</given-names>
          </string-name>
          <string-name>
            <surname>Collier</surname>
            , and
            <given-names>J.R.</given-names>
          </string-name>
          <string-name>
            <surname>Vos</surname>
          </string-name>
          .
          <article-title>Repast Simphony Runtime System</article-title>
          .
          <source>In Proc. of the Agent 2005 Conference on Generative Social Processes, Models, and Mechanisms</source>
          , Chicago, IL,
          <year>October 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>M. J. North</surname>
            ,
            <given-names>C. M.</given-names>
          </string-name>
          <string-name>
            <surname>Macal</surname>
          </string-name>
          . Managing Business Complexity:
          <article-title>Discovering Strategic Solutions with Agent-Based Modeling and Simulation</article-title>
          . Oxford University Press,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>M.J. North</surname>
            , E. Tatara,
            <given-names>N.T.</given-names>
          </string-name>
          <string-name>
            <surname>Collier</surname>
            , and
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Ozik</surname>
          </string-name>
          .
          <article-title>Visual Agent-Based Model Development with Repast Simphony</article-title>
          .
          <source>In Proc. of the Agent 2007 Conference on Complex Interaction and Social Emergence</source>
          . Northwestern University, Evanston, IL,
          <year>November2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>M.</given-names>
            <surname>Resnick</surname>
          </string-name>
          . Turtles, Termites, and Traffic Jams:
          <article-title>Explorations in Massively Parallel Mi-croworlds</article-title>
          . MIT Press, Cambridge, Mass.,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>U.</given-names>
            <surname>Wilensky. NetLogo</surname>
          </string-name>
          .
          <article-title>Center for Connected Learning</article-title>
          and ComputerBased Modeling, Northwestern University, Evanston, IL,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>