This folder contains a small Python web app:
app.py(Flask server)throughput_model.py(all throughput calculations)templates/index.html(the web UI)requirements.txt(Python dependencies)
- Install Python 3.10+ from https://www.python.org/
- Ensure
pipis available (it normally is when Python is installed).
- Extract the zip you received somewhere, e.g. a folder like:
C:\Users\<name>\Downloads\throughput_calculator_package\
- Open PowerShell and
cdto the folder that contains thethroughput_calculatordirectory:cd "C:\Users\<name>\Downloads\throughput_calculator_package" - Install dependencies:
python -m pip install -r .\throughput_calculator\requirements.txt
Start the app:
python -m throughput_calculator.appOpen in a browser:
http://127.0.0.1:5000
- The UI loads the Mermaid diagram from a CDN, so internet access is needed for that diagram to render.
- If a firewall prompt appears, allow Python for local use.
- To stop the app, press
Ctrl+Cin the terminal.