330 likes | 366 Views
Explore a comprehensive platform for agent-based economic and social modeling. Developed at Keio University, Japan, it offers scientific analysis to predict social phenomena and enhance societal organization building. The platform allows easy simulation implementation, sharing simulation models, and facilitating interpersonal communication.
E N D
Boxed Economy Simulation Platform for Agent-Based Economic and Social Modeling Open and look inside the black box, and you can find another world … Takashi Iba and Yoshiyasu Takefuji Graduate School of Media and Governance, Keio University, Japan (iba@sfc.keio.ac.jp)
Scientific Analysis to understand or predict social phenomena Social Simulation Building for … Scientific Analysis to understand or predict social phenomena today future
Learning the Sense of World Building to empower to build societies and organizations Social Simulation Building for … Learning the Sense of World Building to empower to build societies and organizations Scientific Analysis to understand or predict social phenomena today future
Interpersonal Communication to share the image of dynamic social systems Social Simulation Building for … Interpersonal Communication to share the image of dynamic social systems Learning the Sense of World Building to empower to build societies and organizations Scientific Analysis to understand or predict social phenomena today future
Social Simulation Building for … (builders) Interpersonal Communication to share the image of dynamic social systems anyone Learning the Sense of World Building to empower to build societies and organizations learners Scientific Analysis to understand or predict social phenomena scientists today future
A Simulation Platform to help Building Block Approach What are problems ahead? • We need the well-defined primitive terms and framework to describe the society by agent-based approach. • It is necessary to support to implement the simulation for the simulation builder who has a little (or, no) skill of the computer programming. • We need a system to share the parts of simulation models among two or more simulation builders.
1 Brief Overview of Our Results 2 Boxed Economy Simulation Platform 3 Boxed Economy Foundation Model 4 The Road Ahead Agenda
1 Brief Overview of Our Results 2 Boxed Economy Simulation Platform 3 Boxed Economy Foundation Model 4 The Road Ahead Agenda
Brief Overview of Our Results Introduction Video (short version) The original version and another video will be appeared at demo session!
1 Brief Overview of Our Results 2 Boxed Economy Simulation Platform 3 Boxed Economy Foundation Model 4 The Road Ahead Agenda
Boxed Economy Simulation Platform (BESP) • An integrated environment to make, execute, and analyze the agent-based social simulations. • Implemented in Java language. • The source code and detail specification are opened to the public.
component platform Architecture Overview of BESP • BESP is designed to realize an extensible software application with component-based architecture. • The user can obtain the simulation model and environment which suit the needs, only if he/she sets necessary components into the platform. Presentation Components Model Components BESP Boxed Economy Simulation Platform
Plug-in Presentation Components A presentation component is a software component for the user interface to operate and to visualize the simulation, and the output into the file. Presentation Components BESP Boxed Economy Simulation Platform (1) Drop the presentation component (.class or .jar) into a “plugin” folder (2) Restart BESP
BESP Model Composer Plug-in Model Components The model component is a software component that implements the model which the user wants to simulate. Model Components BESP Boxed Economy Simulation Platform (1) Drop the model component (.class or .jar) into a “plugin” folder (2) Select and set the property with BESP Model Composer.
Building the Model Componentson BESP Model Composer Agents Components (Individuals and SocialGroups)
Building the Model Componentson BESP Model Composer Relation Components
Building the Model Componentson BESP Model Composer Goods Components
Building the Model Componentson BESP Model Composer Information Components
BESP Model Component Builder Building the Model Components of Behavior Behavior Components Behavior Component is defined as a state machine, which is a system that changes the state when the event is received. BESP Model Component Builder is developed by extending from “argo/UML” which is the open source software for modeling in UML.
Action template ? Guard template Pre-defined templates for BESP Model Component Builder To build the actions of Behavior Component, or write a custom code select • CreateGoods • CreateRelation • DestroyGoods • KeepChannel • PutGoodsIntoManager • PutInformationIntoMananger • TakeGoodsFromManager • TakeInformationFromManager • SendGoods • SendBackGoodsToLastSender • SendGoodsToKeptChannelSender • SendInformationContents • SendBackInformationContentsToLastSender • SendInformationContentsToKeptChannelSender For example, using JBuilder, which you can download freely from the web site • IsChannelInfoEqualsBehaviorInfo • IsChannelSignalFromReciever
Building the Behavior Components package SampleMarket; import org.boxed_economy.foundationmodel.*; import org.boxed_economy.foundationmodel.behavior.*; import org.boxed_economy.besp.foundationmodelframework.*; import org.boxed_economy.besp.foundationmodelframework.behavior.*; /** * OrderBehavior */ public class OrderBehaviorB extends AbstractBehavior { // decide order Action action_id_13 = new anon(); public Action getAction_id_13(){ return action_id_13; } public void start() { // Setting the state machine BehaviorState state_id_6 = new DefaultBehaviorState(this, ""); currectState = state_id_6; // This sets pseudo-initial state BehaviorState state_id_8 = new DefaultBehaviorState(this, "waiting market opening"); BehaviorState state_id_11 = new DefaultBehaviorState(this, "order determined"); Transition trans_id_7 = new Transition(); ((DefaultBehaviorState)state_id_6).addTransition( trans_id_7); trans_id_7.setTransitionTo(state_id_8); Transition trans_id_9 = new Transition(); // receivedEvent trans_id_9.setAcceptEvent(AutoTransitionEvent.class); Transition trans_id_10 = new Transition(); } public void exit() { } class anon extends Action{ /** * decide order */ public void doAction(Event event){ // Write the code for custom action here. } } Behavior Component This part is generated by Model Component Builder BESP Model Component Builder BESP Model Component Builder generates the java program code, just by making the state chart diagram and setting the model with a graphical user interface. This part is for you to write the custom code.
Once You Build the Components, you can use and set them without dealing with their source code !
1 Brief Overview of Our Results 2 Boxed Economy Simulation Platform 3 Boxed Economy Foundation Model 4 The Road Ahead Agenda
Boxed Economy Foundation Model More details are described in T. Iba, et. al. , “Boxed Economy Foundation Model”, The AAAI-02 Workshop on Multi-Agent Modeling and Simulation of Economic Systems, Canada, July, 2002
Components based on Boxed Economy Foundation Model More details are described in T. Iba, et. al. , “Boxed Economy Foundation Model”, The AAAI-02 Workshop on Multi-Agent Modeling and Simulation of Economic Systems, Canada, July, 2002
Boxed Economy Foundation Model BESP and Boxed Economy Foundation Model Presentation Components Model Components BESP Boxed Economy Simulation Platform Model Container Presentation Container Box Operating System (BOS) Java VM
Sharing Components based on Boxed Economy Foundation Model Boxed Economy Foundation Model provides the design of the software architecture of social simulation for sharing and reusing the model components among the simulation builders, so that it will accelerate the P2P sharing of the models and components. It keeps the components on track by defining the rule for designing the components developed in the future. BESP Boxed Economy Simulation Platform
1 Brief Overview of Our Results 2 Boxed Economy Simulation Platform 3 Boxed Economy Foundation Model 4 The Road Ahead Agenda
Keio University, Japan Graduate School of Media and Governance Faculty of Policy Management Faculty of Environmental Information Dr. Yoshiyasu Takefuji He is tenured professor on faculty of environmental information at Keio University. His research interests focus on neural computing and hyperspectral computing Dr. Heizo Takenaka He was tenured professor on faculty of Policy Management at Keio University. Today, He is Minister of State for Economic and Fiscal Policy, and Minister of State for IT Policy, Cabinet Office since 2001. Boxed Economy Project is a student research group! Fund-Supported partly by Fujita Institute of Future Management Research, Japan Project Leader Takashi Iba He is Ph.D Candidate on Graduate School of Media and Governance at Keio University. His research interests are social simulation methodology and complex systems. Advisors Project Members Yoshihide Chubachi Ken Kaiho Kotaro Asaka Yoshiaki Matsuzawa Junichiro Tanaka Ryunosuke Tsuya Kenichi Kamihashi Yuu Yamada Harumi Morikubo You Nagami Masaharu Hirokane
Preparation and Launch ofBoxed Economy Project Sep. 1997 - Mar.1999 Apr.1999 - Mar.2000 Apr.2000 - Aug.2000 • Studies market simulations • (Takashi Iba’s Master thesis) • Winner-Take-All phenomena in Format Competition of Video Cassette Recorder (VHS vs. Beta) • Bubble and Crashed at Stock Market • Wrote the book “Introduction to Complex Systems” (in Japanese) • Started the project called “In-The-Box” project to build a basis for sharing the simulation. • Started the working group to make an agent-based simulation of entire economy. • As a result, we came to realize that the economy is too complex to build from a scratch. • Reaffirmed importance of component and framework. • Started new project called Boxed Economy Project. • Designed the Initial version of Boxed Economy Foundation Model. • Analyzed and Designed by Object-Oriented approach. • Applied Unified Modeling Language (UML).
Research & Development of Boxed Economy Project Sep. 2000 - Dec.2000 Jan.2001 - Jun.2001 Aug.2001 - Dec.2001 • Improved the initial version of Boxed Economy Foundation Model. • Prototyping of Boxed Economy Simulation Platform • Building Component by Java Beans • Implementing the improved initial version of BEFM • Developed the initial version of Boxed Economy Simulation Platform • Applying Design Patterns • Introducing Rational Unified Process (RUP) • use-case driven development • Introducing Extreme Programming (XP) • pair programming • unit test • Refactoring the initial version. • Developed Boxed Economy Simulation Platform (ver.1.0b) • Model Composer • Model Component Builder • Some Presentation Components • Applying Design Patterns, RUP, and XP
The Road Ahead,Boxed Economy Project Jul.2002 - • Refactoring and Improving BESP and BEFM, then releasing version 1. • Remaking “BESP Model Component Builder” as more user-friendly presentation component. • Translating the documents and comment at source into English • Making the on-line materials to understand how to use. • Preparing some more presentation component to visualize, analyze, control, and report to database. • Simulating some sample models on BESP • Exploring Design Patterns originally for Agent-based Social Modeling with BEFM • Especially, Implementing the presentation component to support for managing large number of experiments.
Welcome! • If you are getting interested in our projects and software, Please E-mail to • Iba@sfc.keio.ac.jp or • box-designers@crew.sfc.keio.ac.jp (We would like to know how many people are interested in them!) • I will make a demonstration at demo session at CASOS. ( but there are few sample models now ;-p ) “Boxed Economy Simulation Platform for Agent-Based Economic and Social Modeling” Takashi Iba and Yoshiyasu Takefuji