SlideShare a Scribd company logo
1 of 35
Download to read offline
Self-Awareness in Autonomic
Systems
Simulation Tools and Existing
Platforms for Self-Awareness
Outline
• Why simulate?
• Simulating Natural Systems
• Desired features for self-awareness simulators
• Existing simulators
– Repast
– The ONE
• Existing platforms
– The CoSMoS Method
• Simulation to help develop algorithms
• Summary
• References
Why simulate?
• To understand natural systems
– Simulate our hypotheses of how system works, to
recreate it
– Identify those components of natural systems
responsible for interesting phenomenon
– Experiments problematic to perform in real world
and comparison between different approaches.
– Cost, time, ethics?
Simulating Natural Systems
• Natural systems exhibit properties that
engineers wish to capture in engineered
systems
– E.g. Self-organization, decentralized control,
decentralized memory, cognition, robust
operation in noisy and hazardous environments,
etc.
– Not clear what is responsible for property in
natural system
– Try to identify and understand through simulation
Desired features for self-awareness
simulators
• A good simulator should provide:
– Scheduler for simulating multi-agent systems
– Networking libraries to analyse the network
performance (bandwidth usage, collisions, etc..)
– Visualization (2D or 3D)
– Different mobility patterns
– Be executable on a high performance computer
(clusters or super computers)
– Good support& documentation
Repast [North et al., 2013]
• Open source agent-based
modeling and simulation
platform.
• It allows
– large scale multi-agent
simulations (+1000)
– Visualization.
– Batch mode.
Repast Features I
• Java classes can be created through a visual
interface. It does not require high programming
skills.
• Automated connections to a variety of optional
external tools including R, VisAD, Weka, popular
spreadsheets, MATLAB, and iReport.
• Modeling and visualization of 2D environments, 3D
environments, networks including full integration
with the JUNG network modeling library, and
geographical spaces including full Geographical
Information Systems (GIS) support.
Repast Features II
• A fully concurrent multithreaded discrete event
scheduler.
• Libraries for genetic algorithms, neural networks,
regression, random number generation, and
specialized mathematics.
• Built-in tools for integrating external models.
• Fully object-orientation.
• Availability of Repast HPC, version for High
Performance Computation, that allows to run
simulation on clusters or super computers. [Collier et
al. , 2012]
Repast - Disadvantages
• There is not a network library provided by repast
that provides realistic metrics related with network
performance (e.g. Collisions, bandwidth usage,
etc…)
• Lack of libraries of mobility patterns.
• It is not easy to import real traces taken from a GPS
and map them on real maps.
• It is not easy to simulate real scenario, such us, a
building or a city, where the mobility of the agents
is determined by the environment.
The One [Karanen et al. 2009]
• The ONE is a simulation environment that is
capable of:
– Generating node movement using different
movement models.
– Using real Google maps.
– Importing mobility data from real traces.
– Creating simulations with different types of
nodes (e.g. People, cars, public displays,etc..).
– Assigning more than one communication
interface per each device (e.g. Blue tooth,
wi-fi, etc..)
– Monitoring collisions, and bandwidth usage.
– Reporting quality of the network (e.g.
Message delivered, dropped, etc..)
The One - disadvantages
• Lack of a good documentation, and set of
examples.
• It use requires good JAVA programming skill.
• Even though The One allows to simulate real
scenario using Google maps. They are not directly
imported, paths for cars, buses, pedestrians, or
trams must be imported separately.
Simulators for simulating natural systems
• There are many simulations available (more than covered
here)
• None of them fully satisfy all desired features for realistic
large scale simulations
• Simulator has different goals:
– Repast – observe emergent behaviour in no realistic scenarios
– The ONE – Simulate realistic scenarios using realistic mobility
traces.
• Each simulator can be used at different development
phases.
• Lack of simulators that combine realistic mobility patterns,
networks connections, and high performance computing.
The CoSMoS Method
• Method for understanding complex domains
through simulation
– Multiple stages in creation of simulation &
subsequent experimentation
• Help ‘ensure’ simulations are fair representations
of domain (which is itself poorly understood)
• Capture assumptions and abstractions made in
creation of simulation
• Separation of modeler and domain expert
concerns
[Andrews et al. 2010]http://www.cosmos-research.org/
The CoSMoS Method
• Domain model; non-executable representation of
domain, created with domain expert
• Captures ‘relevant’ aspects of domain,
components and emergent properties
• Free of implementation concerns
[Andrews et al. 2010]
http://www.cosmos-research.org/
The CoSMoS Method
• Platform model: software (architecture)
specification for simulation
• Implementation-specific abstractions & details
added
• Emergent properties removed
[Andrews et al. 2010]
http://www.cosmos-research.org/
The CoSMoS Method
• Simulation platform: software simulation of
complex domain created, in a particular
programming language/modeling paradigm
[Andrews et al. 2010]
http://www.cosmos-research.org/
The CoSMoS Method
• Results model: results of experimentation performed
on the simulation
• Contrasted with real-world results, where they exist
• Used to create predictions of how complex domain
works
[Andrews et al. 2010]
http://www.cosmos-research.org/
The CoSMoS Method
• Makes simulation of complex systems more
rigorous
– Are interesting simulation behaviors really
representative of domain, are they simulation
artifacts, bugs, or the result of
incorrect/inappropriate abstraction?
• Simulations are very abstract, what do
simulation results mean in terms of the real-
world complex domain?
CoSMoS in Action – Simulating EAE
• CoSMoS approach used to understand
immune system phenomenon
• EAE – experimental autoimmune
encephalomyelitis
– Autoimmune disease model for MS in mice
– Mice induced into autoimmunity spontaneously
recover!
[Read 2011]
Simulating EAE
• Disease severity measured
on 5 points scale
– 0 = no signs of ill health
– 5 = mouse dies
• After immunization at day
zero, mice get various
degrees of paralysis, but then
recover
• Why? [Read 2011]
Simulating EAE – domain modelling
• Drawing UML diagrams to
capture cell behaviour,
capture assumptions,
expose inconsistencies in
the literature
• Free of any
implementation-specific
details, focuses purely on
biology
• Forms basis for
simulation construction
[Read 2011]
Simulating EAE – platform model
• Derived from domain model, provides
implementation specific details.
• E.g., how do cells move? How is space
represented?
• (cells are agents)
• (chemicals are
Concentrations)
[Read 2011]
Simulating EAE – Simulation Platform
• The simulation itself is built based on platform model
specification [Read 2011]
Simulating EAE – Results model
• This is investigation specific, the experiments you
want to do with your simulation.
• E.g., how exactly interfering with regulation that
mediates recovery from disease impacts disease
• (left – healthy, right, regulation ameliorated)
Simulation to aid Controller Design
• Simulation also used to prototype ideas for
control systems.
• Quickly scope out potential solutions
• Evaluation made easier, and more detailed
– Easier to create metrics in simulation than to (for
example) record underwater robots position in 3D
space
– More rigorous statistics, can take many samples
CoCoRoSim
• Underwater swarm robotics simulation
developed by the CoCoRo project
http://cocoro.uni-graz.at/
• Facilitates controller design whilst hardware is
still under construction.
• Swarm re-configuring itself to form a chain
– Complicated algorithm that could not have been
developed on real robots in the first instance
Beware the Reality Gap
• Simulation ≠ real world
– Beware of overfitting controllers/systems to
simulations, their physics models are rarely
perfectly accurate
– Simulated controllers rarely work in real world first
time
– The real world is noisy, contains unpredictable
elements, and (robots) can be prone to failure
Reality gap example – incorrect physics
• CoCoRoSim physics model was discovered to
have some odd behaviour…
• Two examples follow, the first demonstrating
the issue, the second demonstrating the new
physics engine
• In both videos, AUV spins to terminal
rotational velocity, then engines are cut and
AUV decelerates
Old physics
New physics
What happened?
• Old physics engine had no independent
translational and rotational movement. AUVs
on “rails”
• New engine decouples
this
Controllers made/evolved
on “rails” wouldn’t work
well in real world!
Summary
• Simulations aid in understanding natural systems,
and in developing engineered solutions
• There are many existing simulations available,
you don’t have to create your own
• Simulating natural systems is difficult, because
the natural system is often poorly understood.
– However, there are frameworks to help the simulation
endeavor
• Simulation for designing engineered systems can
greatly aid development
– But be aware of the reality gap!
References
• [Andrews et al. 2010] Paul S. Andrews, Fiona A. C. Polack, Adam T. Sampson, Susan Step-
ney, and Jon Timmis. The CoSMoS Process Version 0.1: A Process for the Modelling and
Simulation of Complex Systems. Technical Report YCS-2010-453, Department of Computer
Science, the University of York, 2010.
• [Karanen et al. 2009] Ari Keränen, Jörg Ott, and Teemu Kärkkäinen. 2009. The ONE simulator
for DTN protocol evaluation. In Proceedings of the 2nd International Conference on
Simulation Tools and Techniques (Simutools '09). ICST (Institute for Computer Sciences,
Social-Informatics and Telecommunications Engineering), ICST, Brussels, Belgium, Belgium, ,
Article 55 , 10 pages
• [North et al., 2013] North, M.J., N.T. Collier, J. Ozik, E. Tatara, M. Altaweel, C.M. Macal, M.
Bragen, and P. Sydelko, "Complex Adaptive Systems Modeling with Repast Simphony,"
Complex Adaptive Systems Modeling, Springer, Heidelberg, FRG (2013).
• [Collier et al. , 2012] Collier, N.T., and M.J. North, "Parallel agent-based simulation with Repast
for High Performance Computing" in Simulation: Transactions of the Society for Modeling and
Simulation International, 2012.
• [Read 2011] – Mark Read. Statistical and Modelling Techniques to Build Confidence in the
Invesitgation of Immunology through Agent-Based Simulation. PhD Thesis, the University of
York, 2011.
Acknowledgment
The slides in this presentation were produced
with contributions from:
Peter Lewis
Jose Luis Fernandez Marquez
Mark Read

More Related Content

Similar to Industry Training: 03 Awareness Simulation

Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)
Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)
Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)Giuseppe Vizzari
 
Simulation and Modelling Reading Notes.pptx
Simulation and Modelling  Reading Notes.pptxSimulation and Modelling  Reading Notes.pptx
Simulation and Modelling Reading Notes.pptxDanMuendo1
 
Applications of simulation in Business with Example
Applications of simulation in Business with ExampleApplications of simulation in Business with Example
Applications of simulation in Business with ExamplePratima Ray
 
Simulation and modeling introduction.pptx
Simulation and modeling introduction.pptxSimulation and modeling introduction.pptx
Simulation and modeling introduction.pptxShamasRehman4
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]qwerty626
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSSEnaam Alotaibi
 
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Luigi Vanfretti
 
Evolutionary Robotics
Evolutionary RoboticsEvolutionary Robotics
Evolutionary RoboticsReem Alattas
 
Modelling simulation (1)
Modelling simulation (1)Modelling simulation (1)
Modelling simulation (1)Cathryn Kuteesa
 
The principles of simulation system design.pptx
The principles of simulation system design.pptxThe principles of simulation system design.pptx
The principles of simulation system design.pptxubaidullah75790
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modelingantim19
 
Simulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptSimulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptQidiwQidiwQidiw
 
Reconciling Self-adaptation and Self-organization
Reconciling Self-adaptation and Self-organizationReconciling Self-adaptation and Self-organization
Reconciling Self-adaptation and Self-organizationfzambonelli
 
Reconciling self-adaptation and self-organization
Reconciling self-adaptation and self-organizationReconciling self-adaptation and self-organization
Reconciling self-adaptation and self-organizationawarenessproject
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Power System Simulation: History, State of the Art, and Challenges
Power System Simulation: History, State of the Art, and ChallengesPower System Simulation: History, State of the Art, and Challenges
Power System Simulation: History, State of the Art, and ChallengesLuigi Vanfretti
 

Similar to Industry Training: 03 Awareness Simulation (20)

lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)
Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)
Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)
 
Simulation and Modelling Reading Notes.pptx
Simulation and Modelling  Reading Notes.pptxSimulation and Modelling  Reading Notes.pptx
Simulation and Modelling Reading Notes.pptx
 
Applications of simulation in Business with Example
Applications of simulation in Business with ExampleApplications of simulation in Business with Example
Applications of simulation in Business with Example
 
Network simulation software
Network simulation softwareNetwork simulation software
Network simulation software
 
Simulation and modeling introduction.pptx
Simulation and modeling introduction.pptxSimulation and modeling introduction.pptx
Simulation and modeling introduction.pptx
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
 
Proman
PromanProman
Proman
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSS
 
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
 
Evolutionary Robotics
Evolutionary RoboticsEvolutionary Robotics
Evolutionary Robotics
 
Modelling simulation (1)
Modelling simulation (1)Modelling simulation (1)
Modelling simulation (1)
 
The principles of simulation system design.pptx
The principles of simulation system design.pptxThe principles of simulation system design.pptx
The principles of simulation system design.pptx
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
 
Simulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptSimulation Models as a Research Method.ppt
Simulation Models as a Research Method.ppt
 
Reconciling Self-adaptation and Self-organization
Reconciling Self-adaptation and Self-organizationReconciling Self-adaptation and Self-organization
Reconciling Self-adaptation and Self-organization
 
Reconciling self-adaptation and self-organization
Reconciling self-adaptation and self-organizationReconciling self-adaptation and self-organization
Reconciling self-adaptation and self-organization
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Power System Simulation: History, State of the Art, and Challenges
Power System Simulation: History, State of the Art, and ChallengesPower System Simulation: History, State of the Art, and Challenges
Power System Simulation: History, State of the Art, and Challenges
 

More from FET AWARE project - Self Awareness in Autonomic Systems

More from FET AWARE project - Self Awareness in Autonomic Systems (20)

Academic Course: 13 Applications of and Challenges in Self-Awareness
Academic Course: 13 Applications of and Challenges in Self-AwarenessAcademic Course: 13 Applications of and Challenges in Self-Awareness
Academic Course: 13 Applications of and Challenges in Self-Awareness
 
Academic Course: 12 Safety and Ethics
Academic Course: 12 Safety and EthicsAcademic Course: 12 Safety and Ethics
Academic Course: 12 Safety and Ethics
 
Academic Course: 08 Pattern-based design of autonomic systems
Academic Course: 08 Pattern-based design of autonomic systemsAcademic Course: 08 Pattern-based design of autonomic systems
Academic Course: 08 Pattern-based design of autonomic systems
 
Academic Course: 07 Introduction to the Formal Engineering of Autonomic Systems
Academic Course: 07 Introduction to the Formal Engineering of Autonomic SystemsAcademic Course: 07 Introduction to the Formal Engineering of Autonomic Systems
Academic Course: 07 Introduction to the Formal Engineering of Autonomic Systems
 
Academic Course: 06 Morphogenetic Engineering
Academic Course: 06 Morphogenetic EngineeringAcademic Course: 06 Morphogenetic Engineering
Academic Course: 06 Morphogenetic Engineering
 
Academic Course: 04 Introduction to complex systems and agent based modeling
Academic Course: 04 Introduction to complex systems and agent based modelingAcademic Course: 04 Introduction to complex systems and agent based modeling
Academic Course: 04 Introduction to complex systems and agent based modeling
 
Academic Course: 03 Autonomic Multi-Agent Systems
Academic Course: 03 Autonomic Multi-Agent SystemsAcademic Course: 03 Autonomic Multi-Agent Systems
Academic Course: 03 Autonomic Multi-Agent Systems
 
Academic Course: 02 Self-organization and emergence in networked systems
Academic Course: 02 Self-organization and emergence in networked systemsAcademic Course: 02 Self-organization and emergence in networked systems
Academic Course: 02 Self-organization and emergence in networked systems
 
Academic Course: 01 Self-awarenesss and Computational Self-awareness
Academic Course: 01 Self-awarenesss and Computational Self-awarenessAcademic Course: 01 Self-awarenesss and Computational Self-awareness
Academic Course: 01 Self-awarenesss and Computational Self-awareness
 
Awareness: Layman Seminar Slides
Awareness: Layman Seminar SlidesAwareness: Layman Seminar Slides
Awareness: Layman Seminar Slides
 
Industry Training: 04 Awareness Applications
Industry Training: 04 Awareness ApplicationsIndustry Training: 04 Awareness Applications
Industry Training: 04 Awareness Applications
 
Industry Training: 02 Awareness Properties
Industry Training: 02 Awareness PropertiesIndustry Training: 02 Awareness Properties
Industry Training: 02 Awareness Properties
 
Industry Training: 01 Awareness Overview
Industry Training: 01 Awareness OverviewIndustry Training: 01 Awareness Overview
Industry Training: 01 Awareness Overview
 
Robot Swarms as Ensembles of Cooperating Components - Matthias Holzl
Robot Swarms as Ensembles of Cooperating Components - Matthias HolzlRobot Swarms as Ensembles of Cooperating Components - Matthias Holzl
Robot Swarms as Ensembles of Cooperating Components - Matthias Holzl
 
Towards Systematically Engineering Ensembles - Martin Wirsing
Towards Systematically Engineering Ensembles - Martin WirsingTowards Systematically Engineering Ensembles - Martin Wirsing
Towards Systematically Engineering Ensembles - Martin Wirsing
 
Capturing the Immune System: From the wet-­lab to the robot, building better ...
Capturing the Immune System: From the wet-­lab to the robot, building better ...Capturing the Immune System: From the wet-­lab to the robot, building better ...
Capturing the Immune System: From the wet-­lab to the robot, building better ...
 
Underwater search and rescue in swarm robotics - Mark Read
Underwater search and rescue in swarm robotics - Mark Read Underwater search and rescue in swarm robotics - Mark Read
Underwater search and rescue in swarm robotics - Mark Read
 
Computational Self-awareness in Smart-Camera Networks - Lukas Esterle
Computational Self-awareness in Smart-Camera Networks - Lukas EsterleComputational Self-awareness in Smart-Camera Networks - Lukas Esterle
Computational Self-awareness in Smart-Camera Networks - Lukas Esterle
 
Why Robots may need to be self-­‐aware, before we can really trust them - Ala...
Why Robots may need to be self-­‐aware, before we can really trust them - Ala...Why Robots may need to be self-­‐aware, before we can really trust them - Ala...
Why Robots may need to be self-­‐aware, before we can really trust them - Ala...
 
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
 

Recently uploaded

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
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
 

Recently uploaded (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
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?
 

Industry Training: 03 Awareness Simulation

  • 1. Self-Awareness in Autonomic Systems Simulation Tools and Existing Platforms for Self-Awareness
  • 2. Outline • Why simulate? • Simulating Natural Systems • Desired features for self-awareness simulators • Existing simulators – Repast – The ONE • Existing platforms – The CoSMoS Method • Simulation to help develop algorithms • Summary • References
  • 3. Why simulate? • To understand natural systems – Simulate our hypotheses of how system works, to recreate it – Identify those components of natural systems responsible for interesting phenomenon – Experiments problematic to perform in real world and comparison between different approaches. – Cost, time, ethics?
  • 4. Simulating Natural Systems • Natural systems exhibit properties that engineers wish to capture in engineered systems – E.g. Self-organization, decentralized control, decentralized memory, cognition, robust operation in noisy and hazardous environments, etc. – Not clear what is responsible for property in natural system – Try to identify and understand through simulation
  • 5. Desired features for self-awareness simulators • A good simulator should provide: – Scheduler for simulating multi-agent systems – Networking libraries to analyse the network performance (bandwidth usage, collisions, etc..) – Visualization (2D or 3D) – Different mobility patterns – Be executable on a high performance computer (clusters or super computers) – Good support& documentation
  • 6. Repast [North et al., 2013] • Open source agent-based modeling and simulation platform. • It allows – large scale multi-agent simulations (+1000) – Visualization. – Batch mode.
  • 7. Repast Features I • Java classes can be created through a visual interface. It does not require high programming skills. • Automated connections to a variety of optional external tools including R, VisAD, Weka, popular spreadsheets, MATLAB, and iReport. • Modeling and visualization of 2D environments, 3D environments, networks including full integration with the JUNG network modeling library, and geographical spaces including full Geographical Information Systems (GIS) support.
  • 8. Repast Features II • A fully concurrent multithreaded discrete event scheduler. • Libraries for genetic algorithms, neural networks, regression, random number generation, and specialized mathematics. • Built-in tools for integrating external models. • Fully object-orientation. • Availability of Repast HPC, version for High Performance Computation, that allows to run simulation on clusters or super computers. [Collier et al. , 2012]
  • 9. Repast - Disadvantages • There is not a network library provided by repast that provides realistic metrics related with network performance (e.g. Collisions, bandwidth usage, etc…) • Lack of libraries of mobility patterns. • It is not easy to import real traces taken from a GPS and map them on real maps. • It is not easy to simulate real scenario, such us, a building or a city, where the mobility of the agents is determined by the environment.
  • 10. The One [Karanen et al. 2009] • The ONE is a simulation environment that is capable of: – Generating node movement using different movement models. – Using real Google maps. – Importing mobility data from real traces. – Creating simulations with different types of nodes (e.g. People, cars, public displays,etc..). – Assigning more than one communication interface per each device (e.g. Blue tooth, wi-fi, etc..) – Monitoring collisions, and bandwidth usage. – Reporting quality of the network (e.g. Message delivered, dropped, etc..)
  • 11. The One - disadvantages • Lack of a good documentation, and set of examples. • It use requires good JAVA programming skill. • Even though The One allows to simulate real scenario using Google maps. They are not directly imported, paths for cars, buses, pedestrians, or trams must be imported separately.
  • 12. Simulators for simulating natural systems • There are many simulations available (more than covered here) • None of them fully satisfy all desired features for realistic large scale simulations • Simulator has different goals: – Repast – observe emergent behaviour in no realistic scenarios – The ONE – Simulate realistic scenarios using realistic mobility traces. • Each simulator can be used at different development phases. • Lack of simulators that combine realistic mobility patterns, networks connections, and high performance computing.
  • 13. The CoSMoS Method • Method for understanding complex domains through simulation – Multiple stages in creation of simulation & subsequent experimentation • Help ‘ensure’ simulations are fair representations of domain (which is itself poorly understood) • Capture assumptions and abstractions made in creation of simulation • Separation of modeler and domain expert concerns [Andrews et al. 2010]http://www.cosmos-research.org/
  • 14. The CoSMoS Method • Domain model; non-executable representation of domain, created with domain expert • Captures ‘relevant’ aspects of domain, components and emergent properties • Free of implementation concerns [Andrews et al. 2010] http://www.cosmos-research.org/
  • 15. The CoSMoS Method • Platform model: software (architecture) specification for simulation • Implementation-specific abstractions & details added • Emergent properties removed [Andrews et al. 2010] http://www.cosmos-research.org/
  • 16. The CoSMoS Method • Simulation platform: software simulation of complex domain created, in a particular programming language/modeling paradigm [Andrews et al. 2010] http://www.cosmos-research.org/
  • 17. The CoSMoS Method • Results model: results of experimentation performed on the simulation • Contrasted with real-world results, where they exist • Used to create predictions of how complex domain works [Andrews et al. 2010] http://www.cosmos-research.org/
  • 18. The CoSMoS Method • Makes simulation of complex systems more rigorous – Are interesting simulation behaviors really representative of domain, are they simulation artifacts, bugs, or the result of incorrect/inappropriate abstraction? • Simulations are very abstract, what do simulation results mean in terms of the real- world complex domain?
  • 19. CoSMoS in Action – Simulating EAE • CoSMoS approach used to understand immune system phenomenon • EAE – experimental autoimmune encephalomyelitis – Autoimmune disease model for MS in mice – Mice induced into autoimmunity spontaneously recover! [Read 2011]
  • 20. Simulating EAE • Disease severity measured on 5 points scale – 0 = no signs of ill health – 5 = mouse dies • After immunization at day zero, mice get various degrees of paralysis, but then recover • Why? [Read 2011]
  • 21. Simulating EAE – domain modelling • Drawing UML diagrams to capture cell behaviour, capture assumptions, expose inconsistencies in the literature • Free of any implementation-specific details, focuses purely on biology • Forms basis for simulation construction [Read 2011]
  • 22. Simulating EAE – platform model • Derived from domain model, provides implementation specific details. • E.g., how do cells move? How is space represented? • (cells are agents) • (chemicals are Concentrations) [Read 2011]
  • 23. Simulating EAE – Simulation Platform • The simulation itself is built based on platform model specification [Read 2011]
  • 24. Simulating EAE – Results model • This is investigation specific, the experiments you want to do with your simulation. • E.g., how exactly interfering with regulation that mediates recovery from disease impacts disease • (left – healthy, right, regulation ameliorated)
  • 25. Simulation to aid Controller Design • Simulation also used to prototype ideas for control systems. • Quickly scope out potential solutions • Evaluation made easier, and more detailed – Easier to create metrics in simulation than to (for example) record underwater robots position in 3D space – More rigorous statistics, can take many samples
  • 26. CoCoRoSim • Underwater swarm robotics simulation developed by the CoCoRo project http://cocoro.uni-graz.at/ • Facilitates controller design whilst hardware is still under construction.
  • 27. • Swarm re-configuring itself to form a chain – Complicated algorithm that could not have been developed on real robots in the first instance
  • 28. Beware the Reality Gap • Simulation ≠ real world – Beware of overfitting controllers/systems to simulations, their physics models are rarely perfectly accurate – Simulated controllers rarely work in real world first time – The real world is noisy, contains unpredictable elements, and (robots) can be prone to failure
  • 29. Reality gap example – incorrect physics • CoCoRoSim physics model was discovered to have some odd behaviour… • Two examples follow, the first demonstrating the issue, the second demonstrating the new physics engine • In both videos, AUV spins to terminal rotational velocity, then engines are cut and AUV decelerates
  • 32. What happened? • Old physics engine had no independent translational and rotational movement. AUVs on “rails” • New engine decouples this Controllers made/evolved on “rails” wouldn’t work well in real world!
  • 33. Summary • Simulations aid in understanding natural systems, and in developing engineered solutions • There are many existing simulations available, you don’t have to create your own • Simulating natural systems is difficult, because the natural system is often poorly understood. – However, there are frameworks to help the simulation endeavor • Simulation for designing engineered systems can greatly aid development – But be aware of the reality gap!
  • 34. References • [Andrews et al. 2010] Paul S. Andrews, Fiona A. C. Polack, Adam T. Sampson, Susan Step- ney, and Jon Timmis. The CoSMoS Process Version 0.1: A Process for the Modelling and Simulation of Complex Systems. Technical Report YCS-2010-453, Department of Computer Science, the University of York, 2010. • [Karanen et al. 2009] Ari Keränen, Jörg Ott, and Teemu Kärkkäinen. 2009. The ONE simulator for DTN protocol evaluation. In Proceedings of the 2nd International Conference on Simulation Tools and Techniques (Simutools '09). ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering), ICST, Brussels, Belgium, Belgium, , Article 55 , 10 pages • [North et al., 2013] North, M.J., N.T. Collier, J. Ozik, E. Tatara, M. Altaweel, C.M. Macal, M. Bragen, and P. Sydelko, "Complex Adaptive Systems Modeling with Repast Simphony," Complex Adaptive Systems Modeling, Springer, Heidelberg, FRG (2013). • [Collier et al. , 2012] Collier, N.T., and M.J. North, "Parallel agent-based simulation with Repast for High Performance Computing" in Simulation: Transactions of the Society for Modeling and Simulation International, 2012. • [Read 2011] – Mark Read. Statistical and Modelling Techniques to Build Confidence in the Invesitgation of Immunology through Agent-Based Simulation. PhD Thesis, the University of York, 2011.
  • 35. Acknowledgment The slides in this presentation were produced with contributions from: Peter Lewis Jose Luis Fernandez Marquez Mark Read