No description
Find a file
2024-12-16 16:34:53 +01:00
assignment add frequency plot + fix error in one of the plots + make output bigger 2024-12-16 16:34:53 +01:00
doc/sphinx Made RT interrupt changes 2024-03-20 12:06:49 +01:00
examples update HTML + changes made to queueing example during tutorial 2024-12-13 16:57:06 +01:00
model Initial commit 2016-08-04 17:38:43 +02:00
models Initial commit 2016-08-04 17:38:43 +02:00
src Subtle bugfixes cfr. Py2 to Py3 2024-05-23 10:54:52 +02:00
test Code Injection Fix 2022-12-16 11:50:25 +01:00
.gitignore add starting point for mosis 2024 assignment 2024-12-13 11:58:27 +01:00
build.sh Made RT interrupt changes 2024-03-20 12:06:49 +01:00
install_mpi4py.sh Initial commit 2016-08-04 17:38:43 +02:00
LICENSE Initial commit 2016-08-04 17:38:43 +02:00
notes.txt Version change 2024-02-15 10:28:22 +01:00
NOTICE Initial commit 2016-08-04 17:38:43 +02:00
pypdevs.tgz Made RT interrupt changes 2024-03-20 12:06:49 +01:00
README.md Updated README with the performance notes 2017-04-06 08:29:18 +02:00

Installation

You can easily install PythonPDEVS with the following command.

cd src
python setup.py install --user

Performance

For optimal performance results, we recommend the use of PyPy.

By default, PythonPDEVS is optimized for distributed simulation, therefore doing a lot of additional bookkeeping. For optimal performance in local simulations, we recommend the use of the minimal simulation kernel instead: just update all imports from

from pypdevs.simulator import Simulator
from pypdevs.DEVS import AtomicDEVS, CoupledDEVS

to

from pypdevs.minimal import Simulator
from pypdevs.minimal import AtomicDEVS, CoupledDEVS

Note that this disables many features.

Distributed simulation (optional)

To use distributed simulation capabilities, run the script install_mpi4py.sh to install the necessary MPI library and bindings.

Documentation

Detailed documentation of the installation and use of PythonPDEVS can be found in the PythonPDEVS documentation.