Install JuPedSim using Windows executables and dmg files for OSX

OSX

Download the following dmg-files:

Open jpscore

OSX: Install jpscore 1

In the bin directory, right-click on the binary jpscore and open with a Terminal as shown in the following screenshot:

OSX: Install jpscore 2

This step runs jpscore without any input file. This is a workaround to prevent OSX from warning about not verified developer.

OSX: Install jpscore 3

Finally, run jpscore as follows

./jpscore jpscore_samples/bottleneck_ini.xml

Open jpsvis

Open the resulting trajectory file with jpsvis. The results should look like the following screenshot: OSX: jpsvis

Windows

First, Download the following files:

Install jpscore

Double-click the JPScore installer and click on next a couple of times.

Windows: Install jpscore 1

Windows: Install jpscore 2

In the final installation-step, you can install all the components including the sample files. See: Windows: Install jpscore 3

Finally, complete the installation by clicking on Finish.

Windows: Install jpscore 4

Start a simulation

Open Powershell in the directory of jpscore_samples as shown in the following screenshot:

Windows: run simulation 1

then run a simulation by giving jpscore an argument (inifile) as follows:

jpscore.exe ./bottleneck_ini.xml

Windows: run simulation 2

The output of a successful simulation with the inifile used above should look like the following:

[2020-04-24 11:56:56.782] [info] time:  12.49 ( 100) | Agents:     24 / 30 [20.0%]
[2020-04-24 11:56:56.815] [info] time:  13.45 ( 100) | Agents:     22 / 30 [26.7%]
[2020-04-24 11:56:56.844] [info] time:  14.41 ( 100) | Agents:     22 / 30 [26.7%]
[2020-04-24 11:56:56.870] [info] time:  15.38 ( 100) | Agents:     20 / 30 [33.3%]
[2020-04-24 11:56:56.895] [info] time:  16.34 ( 100) | Agents:     18 / 30 [40.0%]
[2020-04-24 11:56:56.915] [info] time:  17.30 ( 100) | Agents:     16 / 30 [46.7%]
[2020-04-24 11:56:56.932] [info] time:  18.26 ( 100) | Agents:     15 / 30 [50.0%]
[2020-04-24 11:56:56.946] [info] time:  19.22 ( 100) | Agents:     13 / 30 [56.7%]
[2020-04-24 11:56:56.960] [info] time:  20.18 ( 100) | Agents:     11 / 30 [63.3%]
[2020-04-24 11:56:56.970] [info] time:  21.14 ( 100) | Agents:     10 / 30 [66.7%]
[2020-04-24 11:56:56.980] [info] time:  22.11 ( 100) | Agents:      9 / 30 [70.0%]
[2020-04-24 11:56:56.990] [info] time:  23.07 ( 100) | Agents:      7 / 30 [76.7%]
[2020-04-24 11:56:56.996] [info] time:  24.03 ( 100) | Agents:      5 / 30 [83.3%]
[2020-04-24 11:56:57.000] [info] time:  24.99 ( 100) | Agents:      5 / 30 [83.3%]
[2020-04-24 11:56:57.008] [info] time:  25.95 ( 100) | Agents:      3 / 30 [90.0%]
[2020-04-24 11:56:57.011] [info] time:  26.91 ( 100) | Agents:      1 / 30 [96.7%]
[2020-04-24 11:56:57.020] [info] Simulation completed
[2020-04-24 11:56:57.021] [info] Exec Time 1.00s
[2020-04-24 11:56:57.022] [info] Evac Time 27.13s
[2020-04-24 11:56:57.031] [info] Realtime Factor 27.13x
[2020-04-24 11:56:57.037] [info] Number of Threads 1
PS Z:\Desktop\JPScore 0.8.4\jpscore_samples>

A directory called results should be produced in the same directory as the inifile.

Visualize results

To visualize the trajectory file produced in the simulation, you can use jpsvis. Please extract the compressed zip-file you downloaded here.

Windows: jpsvis 1

In JPSvis click on File -> Open file and choose the trajectory file you produced previously. Windows: jpsvis 2

Finally, the result should look like in the following screenshot

Windows: jpsvis 3