Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEVS M&S Tutorial 2 Chungman Seo

Similar presentations


Presentation on theme: "DEVS M&S Tutorial 2 Chungman Seo"— Presentation transcript:

1 DEVS M&S Tutorial 2 Chungman Seo cseo@email.arizona.edu

2 Contents DEVSJAVA Lib  DEVS Interface Expression of Atomic Model  State Diagram DEVSJAVA code Structure  Atomic model  Coupled model Exercise : Fire once neuron

3 DEVS Interface DEVS Supporting Interface DEVS Modeling Interface DEVS Simulation Interface

4 DEVS Supporting Interface Provide a supporting environment for implementing DEVS implementations  Basic data structures Entity Content Message Port

5 Message-related-Interfaces ContentInterface  A Pair of port-value MessageInterface  A collection of contents

6 Ensemble-Interface

7 DEVS Modeling Interfaces

8 Extending the “Core” interfaces interface dynamicStructureInterface { void addCoupling(String srcName, String p1, String destName, String p2); void removeCoupling(String srcName, String p1, String destName, String p2); void addModel(String ModelName); void removeModel(String ModelName); void addInport(String ModelName, String port); void addOutport(String ModelName, String port); void removeInport(String ModelName, String port);

9 Simulator Interfaces coreSimulatorInterface atomicSimulatorInterface CoupledSimulatorInterface CoordinatorInterface CoupledCoordinatorInterface

10 State Diagram of Atomic Model : Generator

11 State Diagram of Atomic Model : Processor

12 State Diagram of Atomic Model : Transducer

13 Mapping state diagram to Atomic DEVS model

14 Overall Structure of Atomic DEVS with DEVSJAVA

15 Overall Structure of Coupled DEVS with DEVSJAVA

16 Exercise : Fire-Once Neuron receptive refract Input fire Firing delay >0 Out Fire-once Neuron ta = ∞

17 State Diagram : Fire-Once Neuron


Download ppt "DEVS M&S Tutorial 2 Chungman Seo"

Similar presentations


Ads by Google