Model from the PhD thesis of Francisco Presenza.
Coupled and Atomics DEVS Models:
- Experiment (Classic DEVS)
- Multirobot System, Robot, Physics, QSSIntegrator_Yup
- Controller
- Kalman Filter
- Token Handler
- Router
- Splitter
- EB-DEVS Library
Settings:
The model created in system.py is a simple harmonic oscillator, whose equations are as follows:
Run an experiment:
python3 experiment.pyThe results can be found under output/.
The results in the output.csv file can be plotted with gnuplot:
cd output/
gnuplot plot.pltIn case, the name of the file generated by the Collector atomic model changes then update it in the plot.plt script.
Clone the EB-DEVS Simulator with:
git clone https://git-modsimu.exp.dc.uba.ar/elanzarotti/eb-devs.gitThis package contains a collection of methods and algorithms developed during my PhD at University of Buenos Aires, tilted Reconfigurable Networks of Unmanned Vehicles.
First, download the project:
$ mkdir -p $HOME/repo
$ cd $HOME/repo/
$ git clone ...Some of the dependencies used work are (all work with python2.7):
- numpy>=1.23.5
- matplotlib>=3.7.1
- scipy>=1.10.1
- numba>=0.56.4
First time it must be installed as:
$ cd $HOME/repo/multirobot_ebdevs
$ python3 setup.py sdist bdist_wheel
$ pip3 install ./dist/multirobot_ebdevs-0.0.1.tar.gzThen, once changes are done, it is updated with:
$ cd $HOME/repo/multirobot_ebdevs
$ pip3 install .In a python console, it can be imported as:
>>> import multirobot_ebdevs
>>> help(multirobot_ebdevs)