Skip to content

PedestrianDynamics/jupedsim-web-community

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMO Tests RiMEA Tests ISO Tests

Watch on YouTube

JuPedSim Web Community

This public repository is the community home for JuPedSim Web. It started as an issue tracker and now also contains public documentation, local tooling, shared scenario runtime modules, and example scenarios for running exported setups outside the hosted app.

About

JuPedSim is a Python package with a C++ core for simulating pedestrian dynamics. JuPedSim Web provides a browser-based interface on top of it, and this repository complements that app with public-facing community and scripting resources.

With JuPedSim Web you can:

  • Create, upload, and download simulation scenarios
  • Import geometry from DXF and IFC files
  • Run pedestrian dynamics simulations
  • Visualize results directly in the browser

With this repository you can:

  • Report issues and discuss feature ideas
  • Run the public Docker setup locally
  • Execute public example scenarios from Python
  • Reuse mirrored shared scenario logic from the app
  • Inspect public V&V assets and workflows

Important

This is still a work in progress! We count on user feedback to enhance the app and add more features in the future.

Quick Start

Hosted App

Run Locally With Docker

You can run the public JuPedSim Web setup locally:

cd docker
cp .env.example .env
docker compose --env-file .env -f docker-compose.yml up -d

See docker/README.md for the full setup and troubleshooting notes.

Run Public Scenarios Locally

The scripts/ directory contains a standalone Python workflow for running exported scenarios locally, including waiting stages, zones, and example scenarios.

uv sync --extra dev
cd scripts
uv run jupyter notebook

Start here:

Repository Layout

  • docker/ contains the public local deployment setup for JuPedSim Web.
  • scripts/ contains the local Python runner, notebooks, and example scenarios.
  • shared/ contains mirrored public-safe shared modules used by the local scenario runner.
  • tests/vv/ contains verification and validation assets and workflows.
  • geometries/ contains public geometry examples and format references.

Community Use

Note

The private JuPedSim Web application implementation is not in this repository. This repository contains the public community-facing parts around it.

Supported Geometry Formats

The app supports DXF and IFC geometry inputs.

For DXF files, use the required layer naming convention:

Layer Name Type Description
jps-walkablearea Mandatory A polyline containing all other simulation elements. No overlaps allowed.
jps-obstacles Optional Static obstacles within the simulation area
jps-distributions Mandatory Initial positions/distributions of pedestrians
jps-exits Mandatory Exit points for pedestrians
jps-waypoints Optional Intermediate target points for pedestrian navigation
jps-journeys Optional Predefined paths or routes

See:

Important Notes:

  • The walkable area layer must be a closed polyline that encompasses all other elements
  • No overlapping geometries are allowed in the walkable area
  • Layer names are case-sensitive

Reporting Issues

When reporting issues, please include:

  • Browser and version (e.g., Chrome 120, Firefox 121)
  • Operating system (e.g., Windows 11, macOS 14, Ubuntu 22.04)
  • Steps to reproduce the issue
  • Expected behavior vs. actual behavior
  • Screenshots or screen recordings if applicable
  • DXF file (if the issue is geometry-related)

Scope

This repository is public and community-facing. It is the right place for issues, discussions, docs, local examples, and public scenario tooling. Private backend, web application, and deployment internals remain outside this repository.

License

This documentation is provided under the MIT License.

About

Community hub for JuPedSim Web: issues, discussions, docs, and local examples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors