Giter VIP home page Giter VIP logo

wildfire-simulator-v0.9's Introduction

๐Ÿ”ฅ Wildfire-Simulator

alt text

Simulator based on the real physical phenomenons acting in a wildfire, deals with wind, topography (with few changes), heat capacities..an more. It took me 1 year to build it.


It is mainly based on the following papers

  • Mohamed Drissi / Modeling the spreading of large-scale wildland fires
  • J.K.Adou, A.D.V.Broub, B.Porterie / Modeling wildland fire propagation using a semi-physical network model / Case Studies in Fire Safety 4 (2015) 11โ€“18

Main assumptions

  • No conduction
  • No screening effect
  • Flames are cylinders

โ— Required libraries

  • Matplolib
  • Numpy (pip install numpy==1.16.2)
  • Scipy
  • tqdm

๐Ÿ’ป How it works

  • Fill config.yml with your parameters

  • Launch precalculus.py

  • Launch test.py

  • The simulator (simulator.py) loads the precalculated data generated by precalculus.py

  • The extractor object supervise the simulation by updating the grille2D object and it puts the images of the simulation into the folder store/ (you can tweak the extractor to get more images)

  • At each update of Grille2D object {

  1. The simulator makes a energetic balance for each cell
  2. The simulator determines the next state of each cell based on the energetic balance.
  3. The simulator prepare data for the next update of the simulator. }

๐ŸŽฎ Quickstart

  • Launch test.py (it will use the default config.yml parameters and the default precalculus data)
  • Wait
  • Images generated will be in the "store/" folder.

wildfire-simulator-v0.9's People

Contributors

multielio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.