This is the code used to generate the results in the following paper:
Junjian Qi and Stefan Pfenninger (2015). Controlling the self-organizing dynamics in a sandpile model on complex networks by failure tolerance. EPL (Europhysics Letters), 111(3) 38006. doi: 10.1209/0295-5075/111/38006
pip install -e git+https://github.com/sjpfenninger/sandpile.git#egg=sandpile
###License
MIT (see LICENSE)