Skip to content

A simple percolation model using a random, uniform distribution of disks in a two dimensional continuum.

Notifications You must be signed in to change notification settings

annikamonari/Percolation-Theory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Percolation theory describes the physics and mathematics of long-range connections in random systems and is applicable to a broad range of physics systems including conductivity, porosity, and polymers, but can also be used to analyse diverse systems such as forest fires, disease epidemics, and social networks.

This application uses Python (libs: Matplotlib, Scipy and Numpy) to build a percolation model using a 2D continuum of a uniform, random distribution of disks. The code below allows for (a) the distribution of disks to be initially plotted; (b) clusters of overlapping disks to be identified; (c) a long range connection between these clusters spanning the entire continuum to be identified and subsequently plotted.

The application was initially used to model a simple phase transition (using water), and later used to model the degrees of freedom between two given individuals in a social network (using Twitter).

About

A simple percolation model using a random, uniform distribution of disks in a two dimensional continuum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages