Modeling and Simulation with NSA-DEVSforMatlab
- NSA-DEVSforMatlab:
- open source tool for NSA-DEVS
- available at GitHub
- based on Matlab
- uses Simulink for building of coupled models
- Special features for NSA-DEVS:
- general block parameter tau for input delay
- default usually: tau = [0, 1] ≙ ε
- block parameter tD for transitory states
- default often: tD = [0, 1] ≙ ε
- some blocks have different default values of tau or
tD
- Structure:
- Simulator
- implementation of abstract simulator
- Modelgenerator
- creates Matlab scripts of coupled models from
graphical (Simulink) descriptions
- Modelbase
- growing library of atomic components as
Matlab classes
- corresponding library of Simulink blocks as
graphical representation
- additional Simulink subsystems for coupled
components
- Utilities
- Doc
- tutorial teaching installation,
modeling and simulation with examples
- Examples
- complete models of all papers and tutorial
- Testbench
- Modelbase:
- structure of library
- sublibrary Math Operations
- sublibrary Logistics
- Example of atomic am_add2:
- basic component to add two input values
- implemented as Matlab file in
am_add2.m
- Modeling of atomics with NSA-DEVS diagrams
- diagram describes atomic component
- useful for
- conceptual modeling
- implementation
- documentation
- can be created with Dia diagram editor
- example am_server
- standard logistics component with one station
and fixed service time
