Skip to content
Python-based GUI for DEVS-based discrete event system simulation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
.settings
.spyproject
.vscode
DEVSKernel
Domain
DomainInterface
Mixins
Patterns
XRC
design
doc/html
icons
locale
plugins
sounds
splash
.directory
.gitignore
.gitmodules
AUTHORS
AttributeEditor.py
CHANGES
CheckerGUI.py
Components.py
ConnectDialog.py
ConnectionThread.py
Container.py
ControlNotebook.py
DSV.py
Decorators.py
DetachedFrame.py
DiagramConstantsDialog.py
DiagramNotebook.py
DirTreeCtrl.py
DragList.py
DropTarget.py
Editor.py
Event.py
ExperimentGenerator.py
FTPGUI.py
FindGUI.py
HtmlWindow.py
ImportLibrary.py
InteractionSocket.py
InteractionYAML.py
Join.py
LICENSE
LabelGUI.py
LibPanel.py
LibraryTree.py
Menu.py
NetManager.py
PlotGUI.py
PluginsGUI.py
PreferencesGUI.py
PrintOut.py
PriorityGUI.py
PropPanel.py
PropertiesGridCtrl.py
README.md
RQ.py
ReloadModule.py
Reporter.py
RubberBande.py
SimpleFrameEditor.py
SimulationGUI.py
SimulationNoGUI.py
SpreadSheet.py
TODO
Translation.py
Utilities.py
WizardGUI.py
XMLModule.py
YAMLExportGUI.py
ZipManager.py
__init__.py
codepaths.py
devsimpy-nogui.py
devsimpy.py
grapher.py
mail_ico.py
makePot.sh
outmodel.py
pluginmanager.py
reindent.py
searchTreeList.py
setup.py
test_plotly.py
which.py
wxPyMail.py
wxversion.py

README.md

What is DEVSimPy

DEVSimPy is an open Source project (under GPL V.3 license) supported by the SPE (Sciences pour l'Environnement) team of the UMR CNRS 6134 Lab. of the University of Corsica "Pasquale Paoli". This aim is to provide a GUI for the Modeling & Simulation of PyDEVS and PyPDEVS models. PyDEVS is an API allowing the implementation of the DEVS formalism in Python language. PyPDEVS is the parallel version of PyDEVS based on Parallel DEVS formalism which is an extension of the DEVS formalism. The DEVSimPy environment has been developed in Python with the wxPython graphical library without strong dependencies other than the Scipy and the Numpy scientific python libraries. The basic idea behind DEVSimPy is to wrap the PyDEVS API with a GUI allowing significant simplification of handling PyDEVS/PyPDEVS models (like the coupling between models or their storage into libraries).

Requirements

The use of DEVSimPy requires:

  • Python version 2.4+
  • wxPython version 2.6+ ansi/unicode (unicode recommended)
  • Scipy and Numpy (optional, for spectrum analysis)
  • DEVSimPy should be used like a normal Python file, i.e., double-clicking on the devsimpy.py file which is located in the root directory or writing python devismpy.py into a python console.

Users which don't want to install python with all dependency can use Portable Python (version 2.x). Then, just extract DEVSimPy archive and edit the devsimpy.py file with PyScripter to execute it. Users can also execute DEVSimPy through the conda env file loaded using the conda_devsimpy_env.yml file (available from the DEVSimPy-site repository).

Features

With DEVSimPy we can:

  • Model a DEVS system and save or export it into a library
  • Edit the code of DEVS model to modify behavior's also during the simulation
  • Import existing library of models (python code or DEVSimPy specific models) which allows the specific domain modeling (Power system, continuous, etc)
  • Automatically simulate the system and perform its analysis during the simulation (with the suspend option)
  • Load plug-ins to extend DEVSimPy in order to perform activity tracking, trace the simulation with visual tools, etc.
  • Generate YAML models for the DEVSimPy-mob mobile application.
  • and more.

Installation

DEVSimPy depends on PyPubSub version 3.3.1:

$ pip install PyPubSub==3.3.1

To get DEVSimPy V3.0 package with all Git submodule:

$ git clone --recurse-submodules -b version-3.0 https://github.com/capocchi/DEVSimPy.git .

DEVSimPy don't require installation and works on all platforms. To launch DEVSimPy, you need to execute the devsimpy.py file into a Python prompt:

$ python devsimpy.py

Documentations

  • DEVSimPy User Guide v2.8 [pdf] (French)
  • S. Toma Ph.D, Thesis [pdf] (English), winner of the 2014 DEVS PhD Dissertation Award.
  • S. Cezary, "Design and implementation of application for instruction exercises with DEVSimPy", Technical report, Faculty of Electrical Engineering, AUTOMATION AND INFORMATION TECHNOLOGY, Kielce University of Technology [pdf] (Polish)
  • L. Capocchi, J. F. Santucci, B. Poggi, C. Nicolai, "DEVSimPy: A Collaborative Python Software for Modeling and Simulation of DEVS Systems", in Proc. of the 20th IEEE International Conference on Collaboration Technologies and Infrastructures, June 27-29, 2011, Paris (France), ISBN 978-1-4577-0134-4, pp. 170-175

Videos

You can’t perform that action at this time.