Skip to main content

No project description provided

Project description


CROMOSIM is a Python Library for Crowd Motion Simulation.

The aim of this open source project is to make it possible to users to run simulations based from several models (cellular automata, microscopic simulations or using compartments), to test new configurations, and even to investigate the possibility to program their own model in complex geometry : do-it yourself !

This package proposes Python implementations of the numerical methods detailed in the book “Crowds in equations: an introduction to the microscopic modeling of crowds” by B. Maury (ENS Ulm & Univ. Paris-Sud) and S. Faure (CNRS), World Scientific 2018, Advanced textbooks in mathematics.

Github repository

Download the source code and the examples here:

How to use cromosim ?

First you have to install cromosim, either by using pip

~$ pip install cromosim

or by manually installing the package

cromosim$ python install

Once cromosim is installed, you can verify that it is possible to import it into Python:

~$ python Python 3.7.7 (default, Mar 10 2020, 15:43:33) [Clang 11.0.0 (clang-1100.0.33.17)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import cromosim print(cromosim.version) 2.0.0

Now to make a first simulation, you can download one of the examples found in:

or retrieve all the examples available using the following command (svn is the Subversion command):

~$ svn export\-faure/cromosim/trunk/examples my-cromosim

and then run a first example:

~$ cd my-cromosim/micro/granular granular$ python --json input_room.json

These examples will allow you to start your own calculations.


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cromosim, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size cromosim-2.0.1-py3-none-any.whl (31.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cromosim-2.0.1.tar.gz (43.8 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page