SlideShare a Scribd company logo
1 of 15
Producing simulation sequences by use of
  a Java-based generalized framework


       D. Gianni, A. D’Ambrogio, G. Iazeolla, A. Pieroni
                     Dept. Of Computer Science
                    University of Rome TorVergata



                               presented by
                       Daniele Gianni
                        gianni@info.uniroma2.it


                  European Modelling Symposium 2008
                 Liverpool, United Kingdom, September 8 – 10, 2008   1
Presentation Overview


 Random numbers in simulation
 Problem statement
 Motivations
 jRand: generalised framework for sequences
 Example Application
 Preliminary performance assessment


                                     European Modelling Symposium 2008
                            Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                2
Random Numbers in Simulation


The modelling of physical systems is based on:
 Identification of system components (static and
  dynamic properties)
 Identification of their relationships


Random numbers: grouping components into
  macro components with analogous properties
                                         European Modelling Symposium 2008
                                Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                    3
Random Numbers in Simulation


In computer systems random variable are emulated
  with predetermined and finite sequences of
  numbers
The sequences need to be properly designed to
  guarantee that they present good statistical
  qualities
Several sequences are often needed for a single
  simulation experiment                European Modelling Symposium 2008
                              Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                  4
Problem Statement


Observation (O1):
The pattern of model logic is independent from the input
  sequence



How can we improve the deployment of input
  sequences in a simulator?



                                           European Modelling Symposium 2008
                                  Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                      5
Motivations

 Large models present wide numbers of random
  variables
 They are also complex in terms of model logic
  and wide number of components


 Simulator developers need not be concerned
  with input sequence details when implementing
  the model logic
                                      European Modelling Symposium 2008
                             Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                 6
Introducing jRand


 We introduce jRand a Java component-based framework
  to produce sequences of numbers
 jRand increases the flexibility in the configuration of the
  input sequences
 jRand raises the simulation system developers from their
  details while designing and coding simulation software,
  therefore sequences can be designed and applied with
  less effort for the investigated scenarios

                                             European Modelling Symposium 2008
                                    Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                        7
jRand Core Concept
                    Producer/Consumer Pattern




     Sequence                                              Sequence
     Producer                                              Consumer




Random generators                                   Simulation software




                                               European Modelling Symposium 2008
                                      Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                          8
jRand Main Concepts

 Object Stream (base interface):
  • getNext(): Object
  • goTo(Integer i): Void

 Stream Classified according to three properties:
  a. dependences between values in a sequence (Random, Pseudo-
     Random, Deterministic)
  b. the type of values (Objects, Numbers, etc.)
  c. the structural details of the objects producers (Transformations, e.g.:
     composition of two of more streams)
      a.   Round robin selection of one stream out of a set of a streams
      b.   Shuffled Stream – shuffles a stream with a numeric sequence
                                                                European Modelling Symposium 2008
                                                       Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                                           9
jRand Class Diagram
                                          «interface»
                                        ObjectStream
                                   +getNext() : Object
                                   +goTo(in n : long long(idl))




                                                                             «interface»                        «interface»
        «interface»           «interface»            «interface»
                                                                           NumericStream                   StreamTrasformation
   DeterministicStream   PseudoRandomStream        RandomStream
                                                                         +getNext() : Number
                                                                         +goTo()



                                                                                                                        RoundRobinStreamTransformation
        «interface»                     «interface»                           «interface»
DeterministicNumericStream      PseudoRandomNumericStream                RandomNumericStream
                                                                                                                  ShuffledStreamTransformation



                                                                         SystemNanoSeconds
                               «interface»                                                             «interface»
                             CoreGenerators     DistributionGenerators                         NumericStreamTrasformation




                                    Exponential                              Poisson

                                                                                                                      LinearTranformation
                                              Gaussian            K-Erlang

                                                                                                         BoundedNumericStream
                                                         Coxian

                                                                                                  IntegerizedStream



                                                                                                   European Modelling Symposium 2008
                                                                                          Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                                                                                         10
jRand Numeric Stream
 Specialises ObjectStream with the semantics of
  numbers
 Interface:
  • getNextNumber(): Number
  • goTo(Integer i): Void

 Properties a., b., and c. are now evaluated with
  the “specialised” semantic:
  a. Statistical tests
  b. Real, Integer
  c. Arithmetical operations (Linear combination, mod, etc.)
                                                    European Modelling Symposium 2008
                                           Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                               11
Example of Use
Core generator :
JavasimGenerator():
Y[i+1] = Y[i] * (55 mod 226);
Y[0] = 772531 (period 224)

Shuffled with a LCG

#1 NumericStream numericStream;
#2 CoreGenerator cg = new JavasimGenerator();
#3 numericStream = new Exponential(cg, lambda);

#4 Number n numericStream.getNextNumber();
                                         European Modelling Symposium 2008
                                Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                    12
Example of Use
                               jRand in Computer Network Simulation


                                                                                                                WAN

                                                         (protocol functions of                                                                                           (protocol functions of
                      Host A                                                          Gateway 1                                       Gateway 2                            OSI levels 2 and 1)
                                                          OSI levels 2 and 1)
                               get

Packet source                                                   LAN 1                                                                                                            LAN 2
                                                                                                                  ...
(protocol functions                   Disassembler                                Fragmentor      Transfer                     Reassembler        Fragmentor
OSI levels 6 and 5)                  (protocol functions of
                                      OSI levels 4 and 3)


                                                                                                                               Send/
                                                                                                                          Acknowledgment
                                                                                                                           through WAN                                    Host B
                                                                                                                                             (protocol functions of OSI
                                                                                                                                                   levels 6 and 5)

                                                                                                                                                  Packet Sink
                                                                                                                Release                                                          (protocol functions of
                                                                                                                                                                                  OSI levels 4 and 3)


                                                                                               Ack Sink
                                                                                                                                ...
                                                                                                                                             Acknowledger                      Reassembler




                                                           Flow Control
                                                         (Pool of Tokens)




                                                                                                                          European Modelling Symposium 2008
                                                                                                             Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                                                                                                                                          13
Preliminary Performance Assessment




                             European Modelling Symposium 2008
                    Liverpool, United Kingdom, September 8 – 10, 2008
                                                                        14
Conclusions

 Designing input sequences for simulation studies is a
  critical task because the quality and representativeness
  of simulation results heavily depend on it
 Accurate results require systematic investigations in
  multiple scenarios and diverse sequences
 The complete and easy control of the sequences is
  fundamental to effectively carry out such studies
 We presented jRand, a flexible framework for the
  representation of such sequences that can be modified
  or substituted with very little effort
 Beside that, jRand also raises system developers from
  the details of the input sequences and contributes to
  ease the implementation of model logic
                                            European Modelling Symposium 2008
                                   Liverpool, United Kingdom, September 8 – 10, 2008
                                                                                       15

More Related Content

Viewers also liked

Verkorte Titelpresentatie Margriet 2010
Verkorte Titelpresentatie Margriet 2010Verkorte Titelpresentatie Margriet 2010
Verkorte Titelpresentatie Margriet 2010SanomaCrossing
 
APsGuideFebruary15final
APsGuideFebruary15finalAPsGuideFebruary15final
APsGuideFebruary15finalJoe Morriss
 
Blanquito i Kitty
Blanquito i KittyBlanquito i Kitty
Blanquito i Kittyarwensita
 
Escorts nottingham 4
Escorts nottingham 4Escorts nottingham 4
Escorts nottingham 4jensterop
 
Profile_santosh_kumar_durga
Profile_santosh_kumar_durgaProfile_santosh_kumar_durga
Profile_santosh_kumar_durgaSantosh Kumar
 
Investing
InvestingInvesting
InvestingRay0202
 
Pr3 ex2 escrit
Pr3 ex2 escritPr3 ex2 escrit
Pr3 ex2 escritlopezca21
 
Internet based learning slideshare
Internet based learning slideshareInternet based learning slideshare
Internet based learning slideshareElboni Todd
 

Viewers also liked (9)

Verkorte Titelpresentatie Margriet 2010
Verkorte Titelpresentatie Margriet 2010Verkorte Titelpresentatie Margriet 2010
Verkorte Titelpresentatie Margriet 2010
 
APsGuideFebruary15final
APsGuideFebruary15finalAPsGuideFebruary15final
APsGuideFebruary15final
 
Blanquito i Kitty
Blanquito i KittyBlanquito i Kitty
Blanquito i Kitty
 
Escorts nottingham 4
Escorts nottingham 4Escorts nottingham 4
Escorts nottingham 4
 
Profile_santosh_kumar_durga
Profile_santosh_kumar_durgaProfile_santosh_kumar_durga
Profile_santosh_kumar_durga
 
Investing
InvestingInvesting
Investing
 
Photo Digital Art
Photo Digital ArtPhoto Digital Art
Photo Digital Art
 
Pr3 ex2 escrit
Pr3 ex2 escritPr3 ex2 escrit
Pr3 ex2 escrit
 
Internet based learning slideshare
Internet based learning slideshareInternet based learning slideshare
Internet based learning slideshare
 

Similar to Producing simulation sequences using a Java-based generalized framework

Event-driven Model Transformations in Domain-specific Modeling Languages
Event-driven Model Transformations in Domain-specific Modeling LanguagesEvent-driven Model Transformations in Domain-specific Modeling Languages
Event-driven Model Transformations in Domain-specific Modeling LanguagesIstvan Rath
 
Colored petri nets theory and applications
Colored petri nets theory and applicationsColored petri nets theory and applications
Colored petri nets theory and applicationsAbu Hussein
 
SiriusCon 2015 - Breathe Life into Your Designer!
SiriusCon 2015 - Breathe Life into Your Designer!SiriusCon 2015 - Breathe Life into Your Designer!
SiriusCon 2015 - Breathe Life into Your Designer!melbats
 
Attention mechanisms with tensorflow
Attention mechanisms with tensorflowAttention mechanisms with tensorflow
Attention mechanisms with tensorflowKeon Kim
 
1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel perators1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel peratorsJean-Lin Pacherie, Ph.D.
 
Learning to Spot and Refactor Inconsistent Method Names
Learning to Spot and Refactor Inconsistent Method NamesLearning to Spot and Refactor Inconsistent Method Names
Learning to Spot and Refactor Inconsistent Method NamesDongsun Kim
 
Detecting VoIP Traffic Based on Human Conversation Patterns
Detecting VoIP Traffic Based on Human Conversation PatternsDetecting VoIP Traffic Based on Human Conversation Patterns
Detecting VoIP Traffic Based on Human Conversation PatternsAcademia Sinica
 
SERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolSERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolHenry Muccini
 
SERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the CloudSERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the CloudSERENEWorkshop
 
The Next Mainstream Programming Language: A Game Developer’s Perspective
The Next Mainstream Programming Language: A Game Developer’s PerspectiveThe Next Mainstream Programming Language: A Game Developer’s Perspective
The Next Mainstream Programming Language: A Game Developer’s Perspectiveguest4fd7a2
 
Tim Popl
Tim PoplTim Popl
Tim Poplmchaar
 
Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...
Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...
Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...Jaipal Dhobale
 
Wi iat-bootstrapping the analysis of large-scale web service networks-v3
Wi iat-bootstrapping the analysis of large-scale web service networks-v3Wi iat-bootstrapping the analysis of large-scale web service networks-v3
Wi iat-bootstrapping the analysis of large-scale web service networks-v3Shahab Mokarizadeh
 
PEEC based electromagnetic simulator
PEEC based electromagnetic simulator PEEC based electromagnetic simulator
PEEC based electromagnetic simulator Swapnil Gaul
 

Similar to Producing simulation sequences using a Java-based generalized framework (20)

Event-driven Model Transformations in Domain-specific Modeling Languages
Event-driven Model Transformations in Domain-specific Modeling LanguagesEvent-driven Model Transformations in Domain-specific Modeling Languages
Event-driven Model Transformations in Domain-specific Modeling Languages
 
Cell Tech V09 0312
Cell Tech V09 0312Cell Tech V09 0312
Cell Tech V09 0312
 
Evopar12 Validating a P2P EA
Evopar12 Validating a P2P EAEvopar12 Validating a P2P EA
Evopar12 Validating a P2P EA
 
Colored petri nets theory and applications
Colored petri nets theory and applicationsColored petri nets theory and applications
Colored petri nets theory and applications
 
SiriusCon 2015 - Breathe Life into Your Designer!
SiriusCon 2015 - Breathe Life into Your Designer!SiriusCon 2015 - Breathe Life into Your Designer!
SiriusCon 2015 - Breathe Life into Your Designer!
 
Cn lab manual 150702
Cn lab manual 150702Cn lab manual 150702
Cn lab manual 150702
 
Sumo
SumoSumo
Sumo
 
Attention mechanisms with tensorflow
Attention mechanisms with tensorflowAttention mechanisms with tensorflow
Attention mechanisms with tensorflow
 
1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel perators1998 - Thesis JL Pacherie Parallel perators
1998 - Thesis JL Pacherie Parallel perators
 
Learning to Spot and Refactor Inconsistent Method Names
Learning to Spot and Refactor Inconsistent Method NamesLearning to Spot and Refactor Inconsistent Method Names
Learning to Spot and Refactor Inconsistent Method Names
 
Pg3426762678
Pg3426762678Pg3426762678
Pg3426762678
 
Phd Defense 2007
Phd Defense 2007Phd Defense 2007
Phd Defense 2007
 
Detecting VoIP Traffic Based on Human Conversation Patterns
Detecting VoIP Traffic Based on Human Conversation PatternsDetecting VoIP Traffic Based on Human Conversation Patterns
Detecting VoIP Traffic Based on Human Conversation Patterns
 
SERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolSERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_school
 
SERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the CloudSERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the Cloud
 
The Next Mainstream Programming Language: A Game Developer’s Perspective
The Next Mainstream Programming Language: A Game Developer’s PerspectiveThe Next Mainstream Programming Language: A Game Developer’s Perspective
The Next Mainstream Programming Language: A Game Developer’s Perspective
 
Tim Popl
Tim PoplTim Popl
Tim Popl
 
Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...
Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...
Wired and Wireless Computer Network Performance Evaluation Using OMNeT++ Simu...
 
Wi iat-bootstrapping the analysis of large-scale web service networks-v3
Wi iat-bootstrapping the analysis of large-scale web service networks-v3Wi iat-bootstrapping the analysis of large-scale web service networks-v3
Wi iat-bootstrapping the analysis of large-scale web service networks-v3
 
PEEC based electromagnetic simulator
PEEC based electromagnetic simulator PEEC based electromagnetic simulator
PEEC based electromagnetic simulator
 

More from 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
 
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
 
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
 
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
 
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
 
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
 
AFIS ambassodorship presentation
AFIS ambassodorship presentationAFIS ambassodorship presentation
AFIS ambassodorship presentationDaniele 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
 
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 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
 
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
 
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
 
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
 

More from Daniele Gianni (20)

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...
 
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
 
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...
 
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
 
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...
 
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...
 
AFIS ambassodorship presentation
AFIS ambassodorship presentationAFIS ambassodorship presentation
AFIS ambassodorship presentation
 
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
 
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 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
 
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...
 
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...
 
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
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Producing simulation sequences using a Java-based generalized framework

  • 1. Producing simulation sequences by use of a Java-based generalized framework D. Gianni, A. D’Ambrogio, G. Iazeolla, A. Pieroni Dept. Of Computer Science University of Rome TorVergata presented by Daniele Gianni gianni@info.uniroma2.it European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 1
  • 2. Presentation Overview  Random numbers in simulation  Problem statement  Motivations  jRand: generalised framework for sequences  Example Application  Preliminary performance assessment European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 2
  • 3. Random Numbers in Simulation The modelling of physical systems is based on:  Identification of system components (static and dynamic properties)  Identification of their relationships Random numbers: grouping components into macro components with analogous properties European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 3
  • 4. Random Numbers in Simulation In computer systems random variable are emulated with predetermined and finite sequences of numbers The sequences need to be properly designed to guarantee that they present good statistical qualities Several sequences are often needed for a single simulation experiment European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 4
  • 5. Problem Statement Observation (O1): The pattern of model logic is independent from the input sequence How can we improve the deployment of input sequences in a simulator? European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 5
  • 6. Motivations  Large models present wide numbers of random variables  They are also complex in terms of model logic and wide number of components  Simulator developers need not be concerned with input sequence details when implementing the model logic European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 6
  • 7. Introducing jRand  We introduce jRand a Java component-based framework to produce sequences of numbers  jRand increases the flexibility in the configuration of the input sequences  jRand raises the simulation system developers from their details while designing and coding simulation software, therefore sequences can be designed and applied with less effort for the investigated scenarios European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 7
  • 8. jRand Core Concept Producer/Consumer Pattern Sequence Sequence Producer Consumer Random generators Simulation software European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 8
  • 9. jRand Main Concepts  Object Stream (base interface): • getNext(): Object • goTo(Integer i): Void  Stream Classified according to three properties: a. dependences between values in a sequence (Random, Pseudo- Random, Deterministic) b. the type of values (Objects, Numbers, etc.) c. the structural details of the objects producers (Transformations, e.g.: composition of two of more streams) a. Round robin selection of one stream out of a set of a streams b. Shuffled Stream – shuffles a stream with a numeric sequence European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 9
  • 10. jRand Class Diagram «interface» ObjectStream +getNext() : Object +goTo(in n : long long(idl)) «interface» «interface» «interface» «interface» «interface» NumericStream StreamTrasformation DeterministicStream PseudoRandomStream RandomStream +getNext() : Number +goTo() RoundRobinStreamTransformation «interface» «interface» «interface» DeterministicNumericStream PseudoRandomNumericStream RandomNumericStream ShuffledStreamTransformation SystemNanoSeconds «interface» «interface» CoreGenerators DistributionGenerators NumericStreamTrasformation Exponential Poisson LinearTranformation Gaussian K-Erlang BoundedNumericStream Coxian IntegerizedStream European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 10
  • 11. jRand Numeric Stream  Specialises ObjectStream with the semantics of numbers  Interface: • getNextNumber(): Number • goTo(Integer i): Void  Properties a., b., and c. are now evaluated with the “specialised” semantic: a. Statistical tests b. Real, Integer c. Arithmetical operations (Linear combination, mod, etc.) European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 11
  • 12. Example of Use Core generator : JavasimGenerator(): Y[i+1] = Y[i] * (55 mod 226); Y[0] = 772531 (period 224) Shuffled with a LCG #1 NumericStream numericStream; #2 CoreGenerator cg = new JavasimGenerator(); #3 numericStream = new Exponential(cg, lambda); #4 Number n numericStream.getNextNumber(); European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 12
  • 13. Example of Use jRand in Computer Network Simulation WAN (protocol functions of (protocol functions of Host A Gateway 1 Gateway 2 OSI levels 2 and 1) OSI levels 2 and 1) get Packet source LAN 1 LAN 2 ... (protocol functions Disassembler Fragmentor Transfer Reassembler Fragmentor OSI levels 6 and 5) (protocol functions of OSI levels 4 and 3) Send/ Acknowledgment through WAN Host B (protocol functions of OSI levels 6 and 5) Packet Sink Release (protocol functions of OSI levels 4 and 3) Ack Sink ... Acknowledger Reassembler Flow Control (Pool of Tokens) European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 13
  • 14. Preliminary Performance Assessment European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 14
  • 15. Conclusions  Designing input sequences for simulation studies is a critical task because the quality and representativeness of simulation results heavily depend on it  Accurate results require systematic investigations in multiple scenarios and diverse sequences  The complete and easy control of the sequences is fundamental to effectively carry out such studies  We presented jRand, a flexible framework for the representation of such sequences that can be modified or substituted with very little effort  Beside that, jRand also raises system developers from the details of the input sequences and contributes to ease the implementation of model logic European Modelling Symposium 2008 Liverpool, United Kingdom, September 8 – 10, 2008 15