Modeling with Parallel DEVS - PowerPoint PPT Presentation

1 / 27
About This Presentation
Title:

Modeling with Parallel DEVS

Description:

Implicit serialization of parallel models ... if t = tN bag = s = dint ; tN = ta(s) ; tL = t. if t = tN bag s = dconf ; tN = ta(s) ; tL = t ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 28
Provided by: AlanMar2
Category:
Tags: devs | bag | modeling | parallel

less

Transcript and Presenter's Notes

Title: Modeling with Parallel DEVS


1
Modeling with Parallel DEVS
2
Serialization in DEVS models
  • Select function
  • Implicit serialization of parallel models
  • E-DEVS internal transition first, external
    transition after
  • Inadequate representation of DEVS models
    with parallel components

3
Parallel DEVS Atomic Models
DEVS lt Xb, S, Yb, dint , dext , dconf , ta, l gt
4
Parallel DEVS Atomic models
DEVS lt Xb, S, Yb, dint , dext , dconf , ta, l gt
5
Parallel DEVS Atomic models
DEVS lt Xb, S, Yb, dint , dext , dconf , ta, l gt
6
Parallel DEVS Atomic models
DEVS lt Xb, S, Yb, dint , dext , dconf , ta, l gt
7
Parallel-DEVS Coupled models
  • Components
  • Couplings
  • Internal
  • External Inputs
  • External Outputs

8
Simulation mechanism
  • Simulation advanced through message exchange
  • Synchronization messages
  • Type Action
  • ( _at_, t ) Output execution
  • ( , t ) State transition
  • ( done , t ) End of action
  • Content messages
  • ( y , t ) Output event
  • ( q , t ) External event

9
Simulator
  • Drives atomic models
  • State
  • tN time of next transition
  • tL time of last transition
  • message bag
  • Upon receiving Do
  • ( _at_, t ) y l (s) send ( y, t )
  • (q, t) Add q to message bag
  • ( , t )
  • if t lt tN s dext tN ta(s) tL t
  • if t tN ? bag ? s dint tN ta(s)
    tL t
  • if t tN ? bag ? ? s dconf tN ta(s)
    tL t

10
Coordinator
  • Coordinates processors activities

Coordinator
tN 10
tN 10
tN 20
11
Coordinator
Coordinator
tN 10
tN 10
tN 20
12
Coordinator
Coordinator
tN 20
tN 30
tN 15
13
Parallel CD
  • A tool to execute Parallel DEVS and Parallel
    Cell-DEVS models in parallel/distributed
    environments
  • Layered architecture based on Warped

Parallel CD
Warped
MPI (Message Passing Interface)
14
Parallel - DEVS simulation
  • Independent of the modelling technique
  • Different simulators can be applied according to
    the needs.
  • Examples of existing simulators
  • Hierarchical
  • Flat
  • Centralized
  • Distributed
  • Real-Time

15
Parallel DEVS simulation
  • Processors
  • Simulator Atomic model
  • Coordinator Coupled model
  • Processor hierarchy model hierarchy

16
CD Parallel simulator
  • Model partitioned among available CPUs
  • Atomic models
  • Each atomic model assigned to a CPU
  • Coupled models
  • Coordinator is placed on each CPU where there is
    a component

17
Parallel simulation mechanism
CPU 1
CPU 2
Slave coord.
Master coord.
18
Parallel simulation mechanism
CPU 1
CPU 2
Slave coord.
Master coord.
19
Extensions to CD
20
Extensions (cont.)
21
Partition Files
22
  • RADS (Carleton University)
  • Alpha network and Gamma network

23
Simulation Results
  • Generator- Processor-Transducer
  • Multiple instances (12, 48 and 96)
  • 1 to 12 CPUs (different machines)

24
Results
Generator - Processor - Transducer
25
Results
  • Heat diffusion model
  • 100 x 100 surface
  • Each cell holds a temperature value
  • Temperature is update periodically
  • Partitions
  • 1, 2, 4 and 8 CPUs
  • Quantization
  • Quantum sizes
  • 0 0,001 0,01 y 0,1

10000
26
Results
  • Heat diffusion - Linux cluster

27
Results
  • Heat diffusion - 4 processors SMP
Write a Comment
User Comments (0)
About PowerShow.com