Implemented model from the article Modelling of wildland-urban interface fire spread with the heterogeneous cellular automata model
- models: file with environment paraments
- model: file with implemented model
- utils: usefull constants
- example: example of use
- demo: ipynb with simulations
- import the model:
from model.main import WUIModel - init with your params
- ignite some cell/house:
ignite_forest/ignite_house - run the simulation with time:
model.run(300) - create a plot with:
plot_colormap_fireSee examples in Demo.ipynb
- Install dependencies:
pip install -r requirements.txt- Run the web application:
streamlit run app.py- Open your browser - the app will automatically open at
http://localhost:8501
Result will be a plot with simulation:
