Skip to content
/ examples Public

Repos for examples of abcEconomics simulations that can be extended from

License

Notifications You must be signed in to change notification settings

AB-CE/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abcEconomics examples

To run the examples, first install the abcEconomics dependency

pip install -r requirements.txt

then run the start.py file from one of the examples. Note: the examples are not always working with the latest version of abcEconomics, so always check the version used in requirements.txt

Directory

  • 2sectors: The "hello, world!" of abcEconomics
  • 50000_firms: Title says it all - 50k firms up and running
  • calendar: Shows how day/month can be incorporated
  • create_and_delete_agents: A simple illustration of how to create/delete agents during a simulation
  • mesa_example: A simple model of how to integrate abcEconomics and Mesa. The model and scheduler are implemented with abcEconomics while the space is implemented with Mesa.
  • one_household_one_firm: TODO
  • one_household_one_firm_with_logic: one_household_one_firm with decision making control flow of a firm to choose an action (adjust_price)
  • pid_controller: TODO
  • sugarscape: Implementation of Sugarscape ({G1}, {M, T}) from Epstein Chapter 4. Heavily uses Mesa library.

About

Repos for examples of abcEconomics simulations that can be extended from

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published