个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Canadian FBP System wildfire spread and fire behaviour simulator for municipal EOC planning, preparedness and training (FastAPI + React/MapLibre). FBP verified against cffdrs; not yet validated against observed fires.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Fire growth, fire behaviour and building exposure from the Canadian Forest Fire Behavior
Prediction (FBP) System, built for municipal Emergency Operations Centre (EOC) planning,
preparedness and training in the wildland-urban interface.查看完整 README ↗Fire growth, fire behaviour and building exposure from the Canadian Forest Fire Behavior Prediction (FBP) System, built for municipal Emergency Operations Centre (EOC) planning, preparedness and training in the wildland-urban interface.
| Component | Status | Where |
|---|---|---|
| FBP System (18 fuel types, ST-X-3 + GLC-X-10) | Verified against CFS cffdrs to floating-point precision | docs/fbp-reference.md |
| FWI System, hourly FFMC | Verified against cffdrs | docs/verification.md |
| Spread models (Huygens, level set) | Burned area 0.90-1.07 x the FBP ellipse; vs WISE on uniform fuel and slope, area ratio 0.955-1.09 and head 0.98-1.05 | docs/verification.md |
| Head / flank / back, head summary | Fastest head cell spreads at FBP ROS and rearmost back cell at BROS on uniform fuel; head direction within 2° of RAZ | engine/tests/spread/test_deployment_data.py |
| Spotting | Maximum distance (Albini/Chase/Morris) reproduces published examples; emission and landing are heuristic (illustrative only) | docs/verification.md |
| Building exposure | Reproduces Cohen's (2004) SIAM worked values; exposure, not ignition probability | docs/building-exposure.md |
| Observed fires | First validation on 143 Alberta fire-days (CFSDS, Bennett et al. 2026 protocol): one-day F1 0.15-0.24 at the default 17 h window, over-predicts growth on most days; in the same low band as WISE, not an operational forecast | docs/validation.md |
GET /simulations/{id}/arrival).| Layer | Technology |
|---|---|
| Fire engine | Python 3.10+ (NumPy, SciPy, Shapely), no web dependencies |
| API | FastAPI + WebSocket (Fly.io) |
| Frontend | React 19 + Vite + TypeScript + MapLibre GL (Vercel) |
| Tests | pytest (engine, API), Vitest and Playwright + axe (frontend), GitHub Actions |
# API
PYTHONPATH=engine/src:api/src uvicorn firesim_api.main:app --port 8000
# Frontend (second terminal)
cd frontend && npm install && npm run dev
Open http://localhost:3000, click the map to set an ignition point, set the weather and run. Edmonton data paths and other settings: docs/deployment.md.
The Edmonton layers in frontend/public/edmonton/ load automatically with the Edmonton fuel
grid: critical assets (assets.geojson, 623 features: City of Edmonton Open Data, Government
of Alberta continuing care list, Statistics Canada ODHF, © OpenStreetMap contributors), major
roads (roads.geojson, motorway to secondary with ramps, © OpenStreetMap contributors) and
neighbourhoods (City Open Data). Sources, licences, dates and refresh:
docs/data-sources.md. Rebuild with
python3 scripts/build_edmonton_assets.py and python3 scripts/build_edmonton_roads.py. Other jurisdictions add
their own GeoJSON under Setup, "Add your own layer".
make test # engine and API (pytest): cffdrs reference, FBP ellipse, WISE comparison, exposure, ...
cd frontend && npm test # Vitest unit tests
cd frontend && npx playwright test # end-to-end with a mocked API, accessibility (axe), performance budget
See frontend/README.md for the frontend fixture and test setup.
engine/ Fire science: FBP, FWI, spread models, spotting, exposure, data loaders (no web deps)
api/ FastAPI service: runs, streaming, arrival grid, FWI and weather endpoints
frontend/ React app: map, setup, situation panel, timeline, EOC console
docs/ Model card, verification, FBP reference, architecture, API, deployment
"FireSim" is also the name of a module in Technosylva's Wildfire Analyst. The name of this project is under review before any release outside the City of Edmonton.
Fire behaviour
Fire growth
Spotting
Structure exposure