Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 867 Bytes

File metadata and controls

38 lines (24 loc) · 867 Bytes

Network Simulation

Requirements

  • Anaconda
  • Python 2.7
  • pip

Installation

This assumes you're using Anaconda (and hence already have networkx, numpy, scipy, pandas, matplotlib). ComplexNetworkSim is in pypi, so you can install it with pip.

$ pip install ComplexNetworkSim

ComplexNetworkSim requires SimPy version 2, which can be installed from Anaconda:

$ conda install "simpy>=2.3,<3"

Usage

Set parameters and output directory, then run

$ python sim-main.py

See the ComplexNetworkSim docs to learn more.

Animation example

ComplexNetworkSim provides an easy way to create an animated gif to vizualize a process on a network:

random-network