Install
Install pyFDS-Evac with pip, run one scenario to check the install, and know what else you need for your own FDS cases (Start from your own FDS case). To work on the code or run the examples and scripts of the repository, use the source checkout.
Requirements
| Needed | For |
|---|---|
| Python 3.12, 3.13 or 3.14 | pyFDS-Evac itself (requires-python = ">=3.12,<3.15") |
| uv, git | the source checkout; git also for pip install -r requirements.txt of an example zip |
| FDS (optional) | only to run your own fire; pyFDS-Evac reads the output of a finished FDS run and never starts FDS |
| ffmpeg (optional) | only for the MP4 of scripts/animate_cognitive_map.py |
Install with pip
pyFDS-Evac is on PyPI. Install it in a virtual environment:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install pyfds-evacFor the optional web GUI, install the gui extra; for the
optional terminal UI, the tui extra:
pip install "pyfds-evac[gui]"
pip install "pyfds-evac[tui]"You can then run:
| Command | What it does |
|---|---|
pyfds-evac | Runs a scenario. Same flags, defaults, outputs and exit codes as run.py in the repository (Usage). |
python -m pyfds_evac | The same command, run through the Python interpreter. |
pyfds-evac-gui | Starts the web GUI on http://127.0.0.1:5001. Needs the gui extra. |
pyfds-evac-tui | Starts the terminal UI, for example on a remote machine over SSH. Reads examples from ./assets and writes runs under ./results. Needs the tui extra. |
The package contains the pyfds_evac library with its command line, web GUI
and terminal UI.
It contains no scenarios, examples or scripts: assets/, examples/ and
scripts/ stay in the repository. Get them from the example zip of a page,
such as the Quickstart, or from a
source checkout.
Check the pip install
pyfds-evac --helpThe first line reads usage: pyfds-evac --scenario PATH [--fds-dir DIR] [options].
For a full check, run a scenario. Download the
Quickstart example files and unpack
them. The zip unpacks into a folder named pyfds-evac-quickstart. Run the
command from inside it:
cd pyfds-evac-quickstart
pyfds-evac --scenario assets/ISO-table21Install from the repository
The source checkout is the route for developing pyFDS-Evac and for running
the examples, the scripts and the tracked scenarios with their FDS output.
Every command on this site that starts with uv run assumes it. Clone the
repository and install the environment with uv:
git clone https://github.com/PedestrianDynamics/pyFDS-Evac.git
cd pyFDS-Evac
uv syncFor the optional web GUI and terminal UI, add their extras:
uv sync --extra gui
uv sync --extra tuiuv sync installs pyFDS-Evac in editable mode, so the pyfds-evac,
pyfds-evac-gui and pyfds-evac-tui commands are also available with
uv run. run.py and
app.py at the repository root run the same command line and GUI.
Check the checkout
uv run python run.py --scenario assets/ISO-table21Next steps
- Quickstart: one run with smoke, and what the numbers mean.
- Create a scenario: make the
config.jsonandgeometry.wktof your own scenario. - Troubleshooting: if a command on this site fails.