Download presentation
Presentation is loading. Please wait.
1
September 25th, 2007Real Collegio Carlo Alberto1 Agent based simulation and electricity market Pietro TERNA, Department of Economic and Financial Science, University of Torino terna@econ.unito.itterna@econ.unito.it, http://web.econ.unito.it/terna http://web.econ.unito.it/terna Politecnico di Torino - Ceris – Hermes - AEIT Electricity market performance under physical constraints
2
September 25th, 2007Real Collegio Carlo Alberto2 _______________________________________ Building models: three ways _______________________________________
3
September 25th, 2007Real Collegio Carlo Alberto3 Three different symbol systems: verbal argumentations mathematics computer simulation (agent based)
4
September 25th, 2007Real Collegio Carlo Alberto4 _______________________________________ How to use agents in simulation models: a radical view _______________________________________
5
September 25th, 2007Real Collegio Carlo Alberto5 The radical characterization of an ABM must be found into the possibility of real – direct or indirect (via the environment) – interaction amid the agents … avoiding simplifications coming from the use aggregate (simultaneous) equations (going back to the Walrasian auctioneer)
6
September 25th, 2007Real Collegio Carlo Alberto6 _______________________________________ Agent based simulation and real world representation _______________________________________
7
September 25th, 2007Real Collegio Carlo Alberto7 Social simulation as a computer based way to execute complex mental experiments, but also as a via to represent the complexity of real world simulation = agent-based models
8
September 25th, 2007Real Collegio Carlo Alberto8 _______________________________________ A dictionary _______________________________________
9
September 25th, 2007Real Collegio Carlo Alberto9 A dictionary, from Conte R, Edmonds B, Moss S., Sawyer R.K., Sociology and Social Theory in Agent Based Social Simulation: A Symposium Computational & Mathematical Organization Theory 7, 183-205,2001 “1. The purpose of Agent Based Social Simulation (ABSS) is to analyse the properties of social systems defined by dense patterns of interaction among autonomous, cognitive individuals. 2. The same modelling techniques that are intended to represent real social systems can also represent software systems such as the Internet and large federated data bases populated by intelligent information agents or, indeed, any other large, complex multi agent system. Multi agent based simulations (MABS) of such systems share the techniques of ABSS.” My note: we use frequently the name of Agent Based Model (ABM) or Agent Computational Ecomics (ACE) instead of ABSS; in computer science the attention is devoted to Multi Agent Systems, MAS; adding “simulation” we have MABS and, in some way, ABSS.
10
September 25th, 2007Real Collegio Carlo Alberto10 _______________________________________ A general structure for agent-based simulation models, the ERA scheme _______________________________________
11
September 25th, 2007Real Collegio Carlo Alberto11 http://web.econ.unito.it/terna/ct-era/ct-era.html NN CS GA Avatar ERA, Environment, Rules, Agents
12
September 25th, 2007Real Collegio Carlo Alberto12 _______________________________________ Tools _______________________________________
13
September 25th, 2007Real Collegio Carlo Alberto13 Swarm, http://www.swarm.org SLAPP, Swarm-Like Agent Protocol in Python, temporary at http://eco83.econ.unito.it/terna/slapp ; Python at www.python.org JAS, http://jaslibrary.sourceforge.net/ Ascape, http://www.brook.edu/dynamics/models/ascape/ Repast, http://repast.sourceforge.net/ StarLogo, http://education.mit.edu/starlogo/ StarLogo TNG, http://education.mit.edu/starlogo-tng/ NetLogo, http://ccl.northwestern.edu/netlogo/ SDML (based upon SmallTalk, as a declarative programming tool): http://www.cpm.mmu.ac.uk/sdml/ See also ABLE, http://www.research.ibm.com/able/ JADE, http://jade.tilab.com/ or DAML, www.daml.org didactical perspective nearly videogames
14
September 25th, 2007Real Collegio Carlo Alberto14 We have also specialized agent based simulators, like jES and jESOF http://web.econ.unito.it/terna/jes/ a simulator useful to reproduce enterprises behavior
15
September 25th, 2007Real Collegio Carlo Alberto15 _______________________________________ The surprising world of the Chameleons, with SLAPP From an idea of Marco Lamieri, a project work with Riccardo Taormina _______________________________________
16
September 25th, 2007Real Collegio Carlo Alberto16 The reinforcement learning algorithm A direct tool: the reinforcement learning. We have a set of states S, related to an environment; a set of possible actions A; a set of scalar rewards, in R. At any time t we have an agent in a state s t of S and we can chose the action a in A(s t ). After the action it will be in s t+1 with a reward r t+1. Reward are summed over time with a discount rate factor. Our agent develops the capability of mapping all the possible actions A in a state S to all the related rewards.
17
September 25th, 2007Real Collegio Carlo Alberto17 The metaphorical models we use here is that of the changing color chameleons We have chameleons of three colors: red, green and blue When two chameleons of different colors meet, they both change their color, assuming the third one (If all chameleons get the same color, we have a steady state situation) The metaphor is interpreted in the following way: an agent diffusing innovation or ideas (or political ideas) can change itself via the interaction with other agents: as an example think about an academic scholar working in a completely isolated context or interacting with other scholars or with private entrepreneurs to apply the results of her work
18
September 25th, 2007Real Collegio Carlo Alberto18 A simple rule for a complex environment Let play
19
September 25th, 2007Real Collegio Carlo Alberto19 Running or chasing for identity! Reinforcement learning and pattern recognition, with bounded rationality Agent brain built upon 9 Artificial Neural Networks
20
September 25th, 2007Real Collegio Carlo Alberto20 _______________________________________ The surprising world of the Chameleons, with NetLogo _______________________________________
21
September 25th, 2007Real Collegio Carlo Alberto21
22
September 25th, 2007Real Collegio Carlo Alberto22 _______________________________________ Electricity market _______________________________________
23
September 25th, 2007Real Collegio Carlo Alberto23 Leigh Tesfatsion work
24
September 25th, 2007Real Collegio Carlo Alberto24 Leigh Tesfatsion work
25
September 25th, 2007Real Collegio Carlo Alberto25 Leigh Tesfatsion work
26
September 25th, 2007Real Collegio Carlo Alberto26 Leigh Tesfatsion work
27
September 25th, 2007Real Collegio Carlo Alberto27 Leigh Tesfatsion work
28
September 25th, 2007Real Collegio Carlo Alberto28 Leigh Tesfatsion work
29
September 25th, 2007Real Collegio Carlo Alberto29 Leigh Tesfatsion work
30
September 25th, 2007Real Collegio Carlo Alberto30 Leigh Tesfatsion work
31
September 25th, 2007Real Collegio Carlo Alberto31 _______________________________________ From spin glasses to videogames: representing our worlds and their complexity via the use of simple simulation tools, with agents _______________________________________
32
September 25th, 2007Real Collegio Carlo Alberto32 _______________________________________ Scratch http://weblogs.media.mit.edu/llk/scratch/ _______________________________________
33
September 25th, 2007Real Collegio Carlo Alberto33
34
September 25th, 2007Real Collegio Carlo Alberto34 The credit multiplier (money_supply.sb)
35
September 25th, 2007Real Collegio Carlo Alberto35 _______________________________________ StarLogo TNG http://education.mit.edu/starlogo/ _______________________________________
36
September 25th, 2007Real Collegio Carlo Alberto36 StarLogo TNG
37
September 25th, 2007Real Collegio Carlo Alberto37 Sperimentiamo la complessità con StarLogo TNG termites2
38
September 25th, 2007Real Collegio Carlo Alberto38 Sperimentiamo la complessità con StarLogo TNG Fish and Plankton
39
September 25th, 2007Real Collegio Carlo Alberto39 _______________________________________ Squeak http://www.squeak.org/ _______________________________________
40
September 25th, 2007Real Collegio Carlo Alberto40
41
September 25th, 2007Real Collegio Carlo Alberto41 _______________________________________ Second Life http://secondlife.com/ _______________________________________
42
September 25th, 2007Real Collegio Carlo Alberto42
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.