JuPedSim's modules
JuPedSim comes with three loosely coupled modules:
- JPScore: The simulation core
- JPSvis: Geometry and trajectories visualization tool
-
JPSreport
: Implementation of different measurement methods to evaluate out of trajectories the density, the velocity and the flow.
All three modules are configured by means of xml
-files. For the time being JuPedSim
does not come yet with a GUI to control the flow of the work.
Requirements
Installation
For all three modules the compilation is fairly straightforward:
- Create a new directory and change to it
mkdir build && cd build
- Run
CMake
to build the project
cmake ..
(dot dot is not a typo)
- Compile the project
make -jN
(N
is the number of your CPUs)
- If the compilation succeeded run a simulation using one of the ini files in
initfiles/
For example:
./bin/jpscore inputfiles/Bottleneck/1.1_ini-Bottleneck.xml
Using an IDE
In principle CMake
produces a project file for different IDE's. JPScore
was tested successfully with Eclipse and CLion. Since CLion
supports CMake
build system and uses it as a project model, we recommend using it with JPScore
.