Skip to content

Evolutionary game simulator for an Advanced Metering Infrastructure

Notifications You must be signed in to change notification settings

pederka/ami-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evolutionary game simulator for AMI:

Code for simulating a evolutionary game in an Advanced Metering Infrastructure. A population of defenders try to encrypt information using finite resources, while a polulation of attackers eavesdrop.

Written by Peder Aursand, 2017.

Dependencies:

  • numpy
  • pickle
  • matplotlib

How to run the test cases:

  • Go to test case folder:

    cd case_study_1/

  • Run case study:

    python case.py

  • When finished, results are writte to text files. To plot results:

    python ../plot_results.py

This will generate illustrations of the population dynamics and save them as pdf files in the case folder.

Example

How to design your own case:

  • Copy the example case to a separate folder: cp -rf case_study_1/ <new_case_name>

  • Edit the case file to define the AMI structure and node parameters: vim <new_case_name>/case.py

About

Evolutionary game simulator for an Advanced Metering Infrastructure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages