SlideShare une entreprise Scribd logo
1  sur  28
A Model Transformation Approach for
the Development of HLA-based
Distributed Simulation Systems
1st International Conference on Simulation and Modelling Methodologies,
Technologies, and Applications (Simultech), July, 2011
Andrea D'Ambrogio, Giuseppe Iazeolla, Alessandra Pieroni
University of Rome TorVergata
dambro@uniroma2.it
Daniele Gianni
European Space Agency
daniele.gianni@esa.int
2
Distributed Simulation and HLA
 Simulation partitioned on two or more processors
connected by a communication network
 Some benefits
• Geographical distribution
• Increased performance (speed-up, fault tolerance, etc.)
• Enhanced reusability of HW and SW resources
 Distributed simulators are more complex than local
ones (inherent parallelism, synchronization, etc.)
 HLA is a IEEE standard (4 docs) aiming to increase DS
simulation SW reusability and interoperability
3
HLA Main Components
 Federate: a remotely-
accessible simulation sub-
system
 Federation: the overall DS
system, composed of a set
of Federates
 RTI: provides
communication and
coordination services to the
Federates that join into a
Federation
 Data exchange: HLA Object
for persistent entities, HLA
Interactions for temporary
entities
Federate
RTI Ambassador
Federate Ambassador
Runtime Infrastructure (RTI)
4
Outline
 Motivation
 Problem statement
 Model Transformation Approach
 Example Application
5
Motivation
HLA is technically complex and involves:
 Acquiring knowledge of HLA concepts (steep learning
curve)
 Making design choices, which can in turn affect the
simulation model
 Developing federates, either from scratch or by
reusing already available federates
There is room for:
 Reducing development effort and time
 Better support for managing increasingly complex
software
 Enhancing the reuse of software products
6
Problem Statement
 How can we improve the development of
HLA-based distributed simulation systems?
 By applying a Model-driven engineering
(MDE) approach that automates the
production of a HLA simulators from a UML
model of the system to be simulated
 By using standards methodologies (e.g. MDA)
and technologies for general-purpose SW
7
MDA development lifecycle
source: OMG’s MDA Guide v1.0.1
Platform
Independent
Model
Platform
Specific
Model
This paper contributionExample Application
UML
HLA UML Profile
8
Quick notes on UML constructs
 Actor-Boundary Class: interface with the outside
world
 Control Class: execution flow in a use case
 Entity Class: persistent data exchanged between
actors
 Associated Entity Class: aggregation of entity
classes
 Actor-Boundary Messages: temporary data
 Boundary-Control messages: temporary data
9
HLA UML Profile
10
PIM-PSM Transformation Rules
 Rule 1 “Actor-Boundary to Federate”
• Federate: the smallest independent unit (by definition)
 Rule 2 “Control to Federate”
• Use case flow  federate implementing the respective flow
 Rule 3 “Entity to Object Class”
• HLA Object (by definition)
 Rule 4 “Associated Entities to Federate”
• Federate: group of entities encapsulating behaviour
 Rule 5 “Actor-Boundary Messages to Self-Messages”
• Sequence interactions between federates
 Rule 6 “Boundary-Control messages to RTI messages”
• Sequence interactions between federate and RTI
11
PSM-Code Transformation Rules
 Rule 1 “PSM Federate to Java Federate and Federate
Ambassador Classes”
 Rule 2 “PSM Object Class to FOM Object Class*”
*(HLA persistent –and shared– data in a HLA federation)
 Rule 3 “PSM Interaction Class to FOM Interaction Class*”
*(HLA temporary data exchanged in a HLA federation)
12
Example Application
13
Entity Classes
14
Derived UML HLA Federates
15
Derived UML HLA Object Classes
16
HLA Code Generation
17
Conclusions
 HLA presents several shortcomings (specialised know-
how, development effort, limited reusability, etc.)
 A model-driven approach can contribute to overcome
these shortcomings by raising the design from a
programming to a model level
 We have implemented a MDA-based approach for the
automatic derivation of HLA simulators
• UML profile for HLA
• PIM to PSM QVT transformation
• PSM to Java Code QVT transformation
 We have shown an example application to the
derivation of a HLA simulator for a Phone SIM card
system
18
We would like to thank Simone Loprieno and Giacomo
Tiberia for the transformation implementation and
example validation.
Acknowledgements
19
Extra Slides
20
Applying MDA to HLA
 Definition of UML profile for HLA (HLA UML)
 Definition of PIM to PSM transformation,
using QVT
• relationships between UML concepts with HLA
UML concepts
 Definition of PSM to code transformation,
using QVT
• relationships between HLA UML concepts and
Java coding for the HLA simulator
21
Model-Driven Architecture
 The OMG (Object Management Group) addresses MDE with
MDA, the Model Driven Architecture
 MDA Motivation: transfer the focus of work from coding
(“everything is an object”) to modeling (“everything is a
model”)
 MDA provides a set of guidelines for structuring specifications
expressed as models and the transformations between such
models
 The transformations map the elements of a source model that
conforms to a specific metamodel to the elements of another
model, the target model, that conforms to the same or to a
different metamodel
22
Traditional non-MDE development lifecycle
source: OMG’s MDA Guide v1.0.1
23
Model Transformation
(marking approach)
source: OMG’s MDA Guide v1.0.1
Transformations are
defined as set of
relationship between a
source metamodel and a
target metamodel
24
Associated standards
Model definition
 UML Profiles: language for the specialization of UML
metamodel.
 Meta Object Facility (MOF): language for the definition of
metamodels
 XML Metadata Interchange (XMI): XML coding format for
MOF metamodels
Model transformation
 MOF 2.0 Query/View/Transformation (QVT): a standard
language for specifying transformations.
25
OMT Kernel Package
26
Rule 3 Graphical Representation
name = n
«Entity»
self : Class
Entity to ObjectClass
destination : UMLsource : UML
C E
name = n
«ObjectClass»
result : Class
self.isStereotypeApplied(self.getAppliedStereotype(“MVC::Entity”)
when
27
Rule 1 Textual Representation
«DEFINE javaClass FOR Federate»
package nome_federato */
«FILE './'+name+'/'+name+".java"»
package «name»;
import hla.rti1516.RTIambassador;
public class «name» {
private «"HLA1516FederateAmbassador"+name» fedamb;
private RTIambassador rtiamb;
public void log(String s){
System.out.println("«name» "+s);}
«FOREACH features AS f»
private «f.type.name» «f.name»;
public void «f.setter()»(«f.type.name» «f.name»){
this.«f.name» = «f.name»;}
public «f.type.name» «f.getter()»(){
return «f.name»;}
«ENDFOREACH»
public void run(){}
}
«ENDFILE»
28
Transformation Tool

Contenu connexe

En vedette

Simj a framework to develop distributed simulators scsc06
Simj a framework to develop distributed simulators   scsc06Simj a framework to develop distributed simulators   scsc06
Simj a framework to develop distributed simulators scsc06Daniele Gianni
 
DDML a support for communication in m&s
DDML a support for communication in m&sDDML a support for communication in m&s
DDML a support for communication in m&sDaniele Gianni
 
Ethics is good business mandrin28 jan05 v
Ethics is good business mandrin28 jan05 vEthics is good business mandrin28 jan05 v
Ethics is good business mandrin28 jan05 vGraham Settle
 
jEQN a java-based language for the distributed simulation of queueing networks
jEQN a java-based language for the distributed simulation of queueing networksjEQN a java-based language for the distributed simulation of queueing networks
jEQN a java-based language for the distributed simulation of queueing networksDaniele Gianni
 
ModelicaML Value Bindings for Automated Model Composition
ModelicaML Value Bindings for Automated Model CompositionModelicaML Value Bindings for Automated Model Composition
ModelicaML Value Bindings for Automated Model CompositionDaniele Gianni
 
Modules for reusable and collaborative modeling of biological mathematical sy...
Modules for reusable and collaborative modeling of biological mathematical sy...Modules for reusable and collaborative modeling of biological mathematical sy...
Modules for reusable and collaborative modeling of biological mathematical sy...Daniele Gianni
 
SysML to Discrete-event Simulation to Analyze Electronic Assembly Systems
SysML to Discrete-event Simulation to Analyze Electronic Assembly SystemsSysML to Discrete-event Simulation to Analyze Electronic Assembly Systems
SysML to Discrete-event Simulation to Analyze Electronic Assembly SystemsDaniele Gianni
 
Validation of Spacecraft Behaviour Using a Collaborative Approach
Validation of Spacecraft Behaviour Using a Collaborative ApproachValidation of Spacecraft Behaviour Using a Collaborative Approach
Validation of Spacecraft Behaviour Using a Collaborative ApproachDaniele Gianni
 
A vision on collaborative computation of things for personalized analyses
A vision on collaborative computation of things for personalized analysesA vision on collaborative computation of things for personalized analyses
A vision on collaborative computation of things for personalized analysesDaniele Gianni
 
The Beauty of Mathematics
The Beauty of MathematicsThe Beauty of Mathematics
The Beauty of MathematicsNishtha Pathak
 
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...Daniele Gianni
 
AFIS ambassodorship presentation
AFIS ambassodorship presentationAFIS ambassodorship presentation
AFIS ambassodorship presentationDaniele Gianni
 
Collaborative modeling and co simulation with destecs - a pilot study
Collaborative modeling and co simulation with destecs - a pilot studyCollaborative modeling and co simulation with destecs - a pilot study
Collaborative modeling and co simulation with destecs - a pilot studyDaniele Gianni
 
Automated Performance Analysis of Business Processes
Automated Performance Analysis of Business ProcessesAutomated Performance Analysis of Business Processes
Automated Performance Analysis of Business ProcessesDaniele Gianni
 
A framework for distributed control and building performance simulation
A framework for distributed control and building performance simulationA framework for distributed control and building performance simulation
A framework for distributed control and building performance simulationDaniele Gianni
 
Collaborative engineering solutions and challenges in the development of spac...
Collaborative engineering solutions and challenges in the development of spac...Collaborative engineering solutions and challenges in the development of spac...
Collaborative engineering solutions and challenges in the development of spac...Daniele Gianni
 
Uts media pembelajaran
Uts media pembelajaranUts media pembelajaran
Uts media pembelajaranIka R
 
BOM2UML: Integrating BOM Specifications into UML-based Development Environments
BOM2UML: Integrating BOM Specifications into UML-based Development EnvironmentsBOM2UML: Integrating BOM Specifications into UML-based Development Environments
BOM2UML: Integrating BOM Specifications into UML-based Development EnvironmentsDaniele Gianni
 
Modelling Methodologies in Support of Complex Systems of Systems Design and I...
Modelling Methodologies in Support of Complex Systems of Systems Design and I...Modelling Methodologies in Support of Complex Systems of Systems Design and I...
Modelling Methodologies in Support of Complex Systems of Systems Design and I...Daniele Gianni
 

En vedette (20)

Simj a framework to develop distributed simulators scsc06
Simj a framework to develop distributed simulators   scsc06Simj a framework to develop distributed simulators   scsc06
Simj a framework to develop distributed simulators scsc06
 
DDML a support for communication in m&s
DDML a support for communication in m&sDDML a support for communication in m&s
DDML a support for communication in m&s
 
Ethics is good business mandrin28 jan05 v
Ethics is good business mandrin28 jan05 vEthics is good business mandrin28 jan05 v
Ethics is good business mandrin28 jan05 v
 
jEQN a java-based language for the distributed simulation of queueing networks
jEQN a java-based language for the distributed simulation of queueing networksjEQN a java-based language for the distributed simulation of queueing networks
jEQN a java-based language for the distributed simulation of queueing networks
 
ModelicaML Value Bindings for Automated Model Composition
ModelicaML Value Bindings for Automated Model CompositionModelicaML Value Bindings for Automated Model Composition
ModelicaML Value Bindings for Automated Model Composition
 
euHeartDB
euHeartDBeuHeartDB
euHeartDB
 
Modules for reusable and collaborative modeling of biological mathematical sy...
Modules for reusable and collaborative modeling of biological mathematical sy...Modules for reusable and collaborative modeling of biological mathematical sy...
Modules for reusable and collaborative modeling of biological mathematical sy...
 
SysML to Discrete-event Simulation to Analyze Electronic Assembly Systems
SysML to Discrete-event Simulation to Analyze Electronic Assembly SystemsSysML to Discrete-event Simulation to Analyze Electronic Assembly Systems
SysML to Discrete-event Simulation to Analyze Electronic Assembly Systems
 
Validation of Spacecraft Behaviour Using a Collaborative Approach
Validation of Spacecraft Behaviour Using a Collaborative ApproachValidation of Spacecraft Behaviour Using a Collaborative Approach
Validation of Spacecraft Behaviour Using a Collaborative Approach
 
A vision on collaborative computation of things for personalized analyses
A vision on collaborative computation of things for personalized analysesA vision on collaborative computation of things for personalized analyses
A vision on collaborative computation of things for personalized analyses
 
The Beauty of Mathematics
The Beauty of MathematicsThe Beauty of Mathematics
The Beauty of Mathematics
 
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
 
AFIS ambassodorship presentation
AFIS ambassodorship presentationAFIS ambassodorship presentation
AFIS ambassodorship presentation
 
Collaborative modeling and co simulation with destecs - a pilot study
Collaborative modeling and co simulation with destecs - a pilot studyCollaborative modeling and co simulation with destecs - a pilot study
Collaborative modeling and co simulation with destecs - a pilot study
 
Automated Performance Analysis of Business Processes
Automated Performance Analysis of Business ProcessesAutomated Performance Analysis of Business Processes
Automated Performance Analysis of Business Processes
 
A framework for distributed control and building performance simulation
A framework for distributed control and building performance simulationA framework for distributed control and building performance simulation
A framework for distributed control and building performance simulation
 
Collaborative engineering solutions and challenges in the development of spac...
Collaborative engineering solutions and challenges in the development of spac...Collaborative engineering solutions and challenges in the development of spac...
Collaborative engineering solutions and challenges in the development of spac...
 
Uts media pembelajaran
Uts media pembelajaranUts media pembelajaran
Uts media pembelajaran
 
BOM2UML: Integrating BOM Specifications into UML-based Development Environments
BOM2UML: Integrating BOM Specifications into UML-based Development EnvironmentsBOM2UML: Integrating BOM Specifications into UML-based Development Environments
BOM2UML: Integrating BOM Specifications into UML-based Development Environments
 
Modelling Methodologies in Support of Complex Systems of Systems Design and I...
Modelling Methodologies in Support of Complex Systems of Systems Design and I...Modelling Methodologies in Support of Complex Systems of Systems Design and I...
Modelling Methodologies in Support of Complex Systems of Systems Design and I...
 

Similaire à A Model Transformation Approach for the Development of HLA-based Distributed Simulation Systems

Nina Grantcharova - Approach to Separation of Concerns via Design Patterns
Nina Grantcharova - Approach to Separation of Concerns via Design PatternsNina Grantcharova - Approach to Separation of Concerns via Design Patterns
Nina Grantcharova - Approach to Separation of Concerns via Design Patternsiasaglobal
 
Software Engineering for Web Applications
Software Engineering for Web ApplicationsSoftware Engineering for Web Applications
Software Engineering for Web ApplicationsMoh'd Shakeb Baig
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12koolkampus
 
Object Process Methodology
Object Process MethodologyObject Process Methodology
Object Process Methodologyguest77b0cd12
 
Phenoflow: An Architecture for Computable Phenotypes
Phenoflow: An Architecture for Computable PhenotypesPhenoflow: An Architecture for Computable Phenotypes
Phenoflow: An Architecture for Computable PhenotypesMartin Chapman
 
Reference Representation in Large Metamodel-based Datasets
Reference Representation in Large Metamodel-based DatasetsReference Representation in Large Metamodel-based Datasets
Reference Representation in Large Metamodel-based DatasetsMarkus Scheidgen
 
11.3.14&22.1.16
11.3.14&22.1.1611.3.14&22.1.16
11.3.14&22.1.16Rajes Wari
 
Software Design
Software Design Software Design
Software Design Anas Bilal
 
Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design conceptssrijavel
 
On the Customization of Model Management Systems for File-Centric IDEs
On the Customization of Model Management Systems for File-Centric IDEsOn the Customization of Model Management Systems for File-Centric IDEs
On the Customization of Model Management Systems for File-Centric IDEsDavid Méndez-Acuña
 
Cs556 section2
Cs556 section2Cs556 section2
Cs556 section2farshad33
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideMohammed Fazuluddin
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanPeter Berger
 
Semantic Modeling for Information Federation
Semantic Modeling for Information FederationSemantic Modeling for Information Federation
Semantic Modeling for Information FederationCory Casanave
 
Adcom2006 Full 6
Adcom2006 Full 6Adcom2006 Full 6
Adcom2006 Full 6umavanth
 

Similaire à A Model Transformation Approach for the Development of HLA-based Distributed Simulation Systems (20)

Nina Grantcharova - Approach to Separation of Concerns via Design Patterns
Nina Grantcharova - Approach to Separation of Concerns via Design PatternsNina Grantcharova - Approach to Separation of Concerns via Design Patterns
Nina Grantcharova - Approach to Separation of Concerns via Design Patterns
 
MLHIM FHIES 2013
MLHIM FHIES 2013 MLHIM FHIES 2013
MLHIM FHIES 2013
 
Software Engineering for Web Applications
Software Engineering for Web ApplicationsSoftware Engineering for Web Applications
Software Engineering for Web Applications
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
 
5
55
5
 
java
javajava
java
 
Ch14
Ch14Ch14
Ch14
 
Object Process Methodology
Object Process MethodologyObject Process Methodology
Object Process Methodology
 
Phenoflow: An Architecture for Computable Phenotypes
Phenoflow: An Architecture for Computable PhenotypesPhenoflow: An Architecture for Computable Phenotypes
Phenoflow: An Architecture for Computable Phenotypes
 
Reference Representation in Large Metamodel-based Datasets
Reference Representation in Large Metamodel-based DatasetsReference Representation in Large Metamodel-based Datasets
Reference Representation in Large Metamodel-based Datasets
 
11.3.14&22.1.16
11.3.14&22.1.1611.3.14&22.1.16
11.3.14&22.1.16
 
Software Design
Software Design Software Design
Software Design
 
Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design concepts
 
On the Customization of Model Management Systems for File-Centric IDEs
On the Customization of Model Management Systems for File-Centric IDEsOn the Customization of Model Management Systems for File-Centric IDEs
On the Customization of Model Management Systems for File-Centric IDEs
 
Oop
OopOop
Oop
 
Cs556 section2
Cs556 section2Cs556 section2
Cs556 section2
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding Guide
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David Newman
 
Semantic Modeling for Information Federation
Semantic Modeling for Information FederationSemantic Modeling for Information Federation
Semantic Modeling for Information Federation
 
Adcom2006 Full 6
Adcom2006 Full 6Adcom2006 Full 6
Adcom2006 Full 6
 

Plus de Daniele Gianni

Integrated modeling and simulation framework for wireless sensor networks
Integrated modeling and simulation framework for wireless sensor networksIntegrated modeling and simulation framework for wireless sensor networks
Integrated modeling and simulation framework for wireless sensor networksDaniele Gianni
 
Simulation assisted elicitation and validation of behavioral specifications f...
Simulation assisted elicitation and validation of behavioral specifications f...Simulation assisted elicitation and validation of behavioral specifications f...
Simulation assisted elicitation and validation of behavioral specifications f...Daniele Gianni
 
Collaborative development and cataloguing of simulation and calculation model...
Collaborative development and cataloguing of simulation and calculation model...Collaborative development and cataloguing of simulation and calculation model...
Collaborative development and cataloguing of simulation and calculation model...Daniele Gianni
 
A package system for maintaining large model distributions in vle software
A package system for maintaining large model distributions in vle softwareA package system for maintaining large model distributions in vle software
A package system for maintaining large model distributions in vle softwareDaniele Gianni
 
A collaborative environment for urban landscape simulation
A collaborative environment for urban landscape simulationA collaborative environment for urban landscape simulation
A collaborative environment for urban landscape simulationDaniele Gianni
 
System model optimization through functional models execution methodology and...
System model optimization through functional models execution methodology and...System model optimization through functional models execution methodology and...
System model optimization through functional models execution methodology and...Daniele Gianni
 
Validation of Service Oriented Computing DEVS Simulation Models
Validation of Service Oriented Computing DEVS Simulation ModelsValidation of Service Oriented Computing DEVS Simulation Models
Validation of Service Oriented Computing DEVS Simulation ModelsDaniele Gianni
 
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...Daniele Gianni
 
Modular Mathematical Modelling of Biological Systems
Modular Mathematical Modelling of Biological SystemsModular Mathematical Modelling of Biological Systems
Modular Mathematical Modelling of Biological SystemsDaniele Gianni
 
A Model-Based Method for System Reliability Analysis
A Model-Based Method for System Reliability AnalysisA Model-Based Method for System Reliability Analysis
A Model-Based Method for System Reliability AnalysisDaniele Gianni
 
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...Daniele Gianni
 
Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...
Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...
Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...Daniele Gianni
 
SimArch: A Layered Architectural Approach to Reduce the Development Effort of...
SimArch: A Layered Architectural Approach to Reduce the Development Effort of...SimArch: A Layered Architectural Approach to Reduce the Development Effort of...
SimArch: A Layered Architectural Approach to Reduce the Development Effort of...Daniele Gianni
 
A Methodology to Predict the Performance of Distributed Simulation Systems
A Methodology to Predict the Performance of Distributed Simulation SystemsA Methodology to Predict the Performance of Distributed Simulation Systems
A Methodology to Predict the Performance of Distributed Simulation SystemsDaniele Gianni
 
SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...
SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...
SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...Daniele Gianni
 

Plus de Daniele Gianni (15)

Integrated modeling and simulation framework for wireless sensor networks
Integrated modeling and simulation framework for wireless sensor networksIntegrated modeling and simulation framework for wireless sensor networks
Integrated modeling and simulation framework for wireless sensor networks
 
Simulation assisted elicitation and validation of behavioral specifications f...
Simulation assisted elicitation and validation of behavioral specifications f...Simulation assisted elicitation and validation of behavioral specifications f...
Simulation assisted elicitation and validation of behavioral specifications f...
 
Collaborative development and cataloguing of simulation and calculation model...
Collaborative development and cataloguing of simulation and calculation model...Collaborative development and cataloguing of simulation and calculation model...
Collaborative development and cataloguing of simulation and calculation model...
 
A package system for maintaining large model distributions in vle software
A package system for maintaining large model distributions in vle softwareA package system for maintaining large model distributions in vle software
A package system for maintaining large model distributions in vle software
 
A collaborative environment for urban landscape simulation
A collaborative environment for urban landscape simulationA collaborative environment for urban landscape simulation
A collaborative environment for urban landscape simulation
 
System model optimization through functional models execution methodology and...
System model optimization through functional models execution methodology and...System model optimization through functional models execution methodology and...
System model optimization through functional models execution methodology and...
 
Validation of Service Oriented Computing DEVS Simulation Models
Validation of Service Oriented Computing DEVS Simulation ModelsValidation of Service Oriented Computing DEVS Simulation Models
Validation of Service Oriented Computing DEVS Simulation Models
 
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
 
Modular Mathematical Modelling of Biological Systems
Modular Mathematical Modelling of Biological SystemsModular Mathematical Modelling of Biological Systems
Modular Mathematical Modelling of Biological Systems
 
A Model-Based Method for System Reliability Analysis
A Model-Based Method for System Reliability AnalysisA Model-Based Method for System Reliability Analysis
A Model-Based Method for System Reliability Analysis
 
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
Automation of SysML Activity Diagram Simulation with Model-Driven Engineering...
 
Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...
Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...
Model Transformation from BPMN to DEVS in a Prototype Implementation of the M...
 
SimArch: A Layered Architectural Approach to Reduce the Development Effort of...
SimArch: A Layered Architectural Approach to Reduce the Development Effort of...SimArch: A Layered Architectural Approach to Reduce the Development Effort of...
SimArch: A Layered Architectural Approach to Reduce the Development Effort of...
 
A Methodology to Predict the Performance of Distributed Simulation Systems
A Methodology to Predict the Performance of Distributed Simulation SystemsA Methodology to Predict the Performance of Distributed Simulation Systems
A Methodology to Predict the Performance of Distributed Simulation Systems
 
SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...
SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...
SimArch: un'architectura software per lo sviluppo di sistemi di simulatione d...
 

Dernier

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Dernier (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

A Model Transformation Approach for the Development of HLA-based Distributed Simulation Systems

  • 1. A Model Transformation Approach for the Development of HLA-based Distributed Simulation Systems 1st International Conference on Simulation and Modelling Methodologies, Technologies, and Applications (Simultech), July, 2011 Andrea D'Ambrogio, Giuseppe Iazeolla, Alessandra Pieroni University of Rome TorVergata dambro@uniroma2.it Daniele Gianni European Space Agency daniele.gianni@esa.int
  • 2. 2 Distributed Simulation and HLA  Simulation partitioned on two or more processors connected by a communication network  Some benefits • Geographical distribution • Increased performance (speed-up, fault tolerance, etc.) • Enhanced reusability of HW and SW resources  Distributed simulators are more complex than local ones (inherent parallelism, synchronization, etc.)  HLA is a IEEE standard (4 docs) aiming to increase DS simulation SW reusability and interoperability
  • 3. 3 HLA Main Components  Federate: a remotely- accessible simulation sub- system  Federation: the overall DS system, composed of a set of Federates  RTI: provides communication and coordination services to the Federates that join into a Federation  Data exchange: HLA Object for persistent entities, HLA Interactions for temporary entities Federate RTI Ambassador Federate Ambassador Runtime Infrastructure (RTI)
  • 4. 4 Outline  Motivation  Problem statement  Model Transformation Approach  Example Application
  • 5. 5 Motivation HLA is technically complex and involves:  Acquiring knowledge of HLA concepts (steep learning curve)  Making design choices, which can in turn affect the simulation model  Developing federates, either from scratch or by reusing already available federates There is room for:  Reducing development effort and time  Better support for managing increasingly complex software  Enhancing the reuse of software products
  • 6. 6 Problem Statement  How can we improve the development of HLA-based distributed simulation systems?  By applying a Model-driven engineering (MDE) approach that automates the production of a HLA simulators from a UML model of the system to be simulated  By using standards methodologies (e.g. MDA) and technologies for general-purpose SW
  • 7. 7 MDA development lifecycle source: OMG’s MDA Guide v1.0.1 Platform Independent Model Platform Specific Model This paper contributionExample Application UML HLA UML Profile
  • 8. 8 Quick notes on UML constructs  Actor-Boundary Class: interface with the outside world  Control Class: execution flow in a use case  Entity Class: persistent data exchanged between actors  Associated Entity Class: aggregation of entity classes  Actor-Boundary Messages: temporary data  Boundary-Control messages: temporary data
  • 10. 10 PIM-PSM Transformation Rules  Rule 1 “Actor-Boundary to Federate” • Federate: the smallest independent unit (by definition)  Rule 2 “Control to Federate” • Use case flow  federate implementing the respective flow  Rule 3 “Entity to Object Class” • HLA Object (by definition)  Rule 4 “Associated Entities to Federate” • Federate: group of entities encapsulating behaviour  Rule 5 “Actor-Boundary Messages to Self-Messages” • Sequence interactions between federates  Rule 6 “Boundary-Control messages to RTI messages” • Sequence interactions between federate and RTI
  • 11. 11 PSM-Code Transformation Rules  Rule 1 “PSM Federate to Java Federate and Federate Ambassador Classes”  Rule 2 “PSM Object Class to FOM Object Class*” *(HLA persistent –and shared– data in a HLA federation)  Rule 3 “PSM Interaction Class to FOM Interaction Class*” *(HLA temporary data exchanged in a HLA federation)
  • 14. 14 Derived UML HLA Federates
  • 15. 15 Derived UML HLA Object Classes
  • 17. 17 Conclusions  HLA presents several shortcomings (specialised know- how, development effort, limited reusability, etc.)  A model-driven approach can contribute to overcome these shortcomings by raising the design from a programming to a model level  We have implemented a MDA-based approach for the automatic derivation of HLA simulators • UML profile for HLA • PIM to PSM QVT transformation • PSM to Java Code QVT transformation  We have shown an example application to the derivation of a HLA simulator for a Phone SIM card system
  • 18. 18 We would like to thank Simone Loprieno and Giacomo Tiberia for the transformation implementation and example validation. Acknowledgements
  • 20. 20 Applying MDA to HLA  Definition of UML profile for HLA (HLA UML)  Definition of PIM to PSM transformation, using QVT • relationships between UML concepts with HLA UML concepts  Definition of PSM to code transformation, using QVT • relationships between HLA UML concepts and Java coding for the HLA simulator
  • 21. 21 Model-Driven Architecture  The OMG (Object Management Group) addresses MDE with MDA, the Model Driven Architecture  MDA Motivation: transfer the focus of work from coding (“everything is an object”) to modeling (“everything is a model”)  MDA provides a set of guidelines for structuring specifications expressed as models and the transformations between such models  The transformations map the elements of a source model that conforms to a specific metamodel to the elements of another model, the target model, that conforms to the same or to a different metamodel
  • 22. 22 Traditional non-MDE development lifecycle source: OMG’s MDA Guide v1.0.1
  • 23. 23 Model Transformation (marking approach) source: OMG’s MDA Guide v1.0.1 Transformations are defined as set of relationship between a source metamodel and a target metamodel
  • 24. 24 Associated standards Model definition  UML Profiles: language for the specialization of UML metamodel.  Meta Object Facility (MOF): language for the definition of metamodels  XML Metadata Interchange (XMI): XML coding format for MOF metamodels Model transformation  MOF 2.0 Query/View/Transformation (QVT): a standard language for specifying transformations.
  • 26. 26 Rule 3 Graphical Representation name = n «Entity» self : Class Entity to ObjectClass destination : UMLsource : UML C E name = n «ObjectClass» result : Class self.isStereotypeApplied(self.getAppliedStereotype(“MVC::Entity”) when
  • 27. 27 Rule 1 Textual Representation «DEFINE javaClass FOR Federate» package nome_federato */ «FILE './'+name+'/'+name+".java"» package «name»; import hla.rti1516.RTIambassador; public class «name» { private «"HLA1516FederateAmbassador"+name» fedamb; private RTIambassador rtiamb; public void log(String s){ System.out.println("«name» "+s);} «FOREACH features AS f» private «f.type.name» «f.name»; public void «f.setter()»(«f.type.name» «f.name»){ this.«f.name» = «f.name»;} public «f.type.name» «f.getter()»(){ return «f.name»;} «ENDFOREACH» public void run(){} } «ENDFILE»