Physical goods and services


An agent can access a good with self['cookies'] or self['money'].

  • self.create(money, 15) creates money
  • self.destroy(money, 10) destroys money
  • goods can be given, taken, sold and bought
  • self['money'] returns the quantity an agent possesses


Services are like goods, but the need to be declared as services in the simulation abcEconomics.__init__.service(). In this function one declares a good that creates the other good and how much. For example if one has self['adults'] = 2, one could get 16 hours of labor every day. simulation.declare_service('adults', 8, 'labor').