Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global Simulation of Forest Fires using Cellular Automata

Implemented model from the article Modelling of wildland-urban interface fire spread with the heterogeneous cellular automata model

Structure

  • models: file with environment paraments
  • model: file with implemented model
  • utils: usefull constants
  • example: example of use
  • demo: ipynb with simulations

How to use?

Command Line Usage

  1. import the model: from model.main import WUIModel
  2. init with your params
  3. ignite some cell/house: ignite_forest/ignite_house
  4. run the simulation with time: model.run(300)
  5. create a plot with: plot_colormap_fire See examples in Demo.ipynb

Web Interface

Installation

  1. Install dependencies:
pip install -r requirements.txt
  1. Run the web application:
streamlit run app.py
  1. Open your browser - the app will automatically open at http://localhost:8501

Result will be a plot with simulation:

Иллюстрация к проекту

About

Global Simulation of Forest Fires using Cellular Automata.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages