Numerical P system and Enzymatic Numerical P system simulator, written in Python 3 (with branch compatible for Python 2)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

PeP (Enzymatic) Numerical P System simulator written in Python 3 (with branch for Python 2).

Command line usage


where OPTIONS can be:

  • --step: require the user to press enter after befor running the next simulation step;
  • -n NUMBER: stop the simulation after n simulation steps;
  • --csv: write a .csv document at the end of the simulation that contains the values of each variable at each simulation step;
  • --debug: increase verbosity by showing DEBUG messages
  • --error: reduce verbosity by showing only ERROR messages

If colorlog is installed, then messages will be coloured according to the level of importance.

Easy start - Docker

In order to simplify the installation procedure, users of Docker can use the script to run pep in a container.

On first run, the pre-built image of Python and PeP will download from the Docker repositories.

The script passes all command-line parameters directly to PeP.


The documentation page, available at contains:

  • getting started
  • input file syntax reference
  • several case studies
  • an API reference


Andrei George Florea, Cătălin Buiu

Department of Automatic Control And Systems Engineering,

Politehnica University of Bucharest

Bucharest, Romania.