April 13-15, 2003SwarmFest, Notre Dame1 jES Pietro Terna Department of Economics and Finance “G.Prato” University of Torino - Italy.

Slides:



Advertisements
Similar presentations
February 2005jES Open Foundation1 cover How to Use jES Open Foundation Program (a demo presentation) (February 2005, Pietro Terna) (related to jesopenfoundation tar.gz,
Advertisements

April 6, 2006Introduction to agent based simulation for social science 1 _jES -> jES O F _______________________________________ From jES to jES OF _______________________________________.
SOFTWARE TESTING. INTRODUCTION  Software Testing is the process of executing a program or system with the intent of finding errors.  It involves any.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
ABSTRACT The goal of this project was to create a more realistic and interactive appliance interface for a Usability Science class here at Union. Usability.
September 25th, 2007Real Collegio Carlo Alberto1 Agent based simulation and electricity market Pietro TERNA, Department of Economic and Financial Science,
SESSION 10 MANAGING KNOWLEDGE FOR THE DIGITAL FIRM.
1 McGraw-Hill/Irwin Copyright © 2004, The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8: Decision Support Systems What kind of decisions?
The Architecture Design Process
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
Lecture 13 Revision IMS Systems Analysis and Design.
May 9-11, 2004SwarmFest, CSCS, University of Michigan 1 jESevol Pietro Terna Department of Economics and Finance “G.Prato” University.
1 McGraw-Hill/Irwin Copyright © 2004, The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8: Decision Support Systems Decision Support in Business.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
System-Level Types for Component-Based Design Paper by: Edward A. Lee and Yuhong Xiong Presentation by: Dan Patterson.
Models of Computation as Program Transformations Chris Chang
High Level: Generic Test Process (from chapter 6 of your text and earlier lesson) Test Planning & Preparation Test Execution Goals met? Analysis & Follow-up.
Traditional Approach to Requirements Data Flow Diagram (DFD)
Chapter 6: The Traditional Approach to Requirements
SYSTEM ANALYSIS AND DESIGN
Systems Analysis and Design: The Big Picture
 A set of objectives or student learning outcomes for a course or a set of courses.  Specifies the set of concepts and skills that the student must.
Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman MODULE 14 CASE TOOLS Learning Units 14.1 CASE tools and their importance 14.2.
Managing the development and purchase of information systems (Part 1)
Adapting Legacy Computational Software for XMSF 1 © 2003 White & Pullen, GMU03F-SIW-112 Adapting Legacy Computational Software for XMSF Elizabeth L. White.
Lecture 1 What is Modeling? What is Modeling? Creating a simplified version of reality Working with this version to understand or control some.
Chapter 8 Architecture Analysis. 8 – Architecture Analysis 8.1 Analysis Techniques 8.2 Quantitative Analysis  Performance Views  Performance.
April 7, 2006 Agent Based models: from analytical models to real life phenomenology, Villa Gualino, Torino 1 _______________________________________ A.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Software Development Cycle What is Software? Instructions (computer programs) that when executed provide desired function and performance Data structures.
INTRUDUCTION TO SOFTWARE TESTING TECHNIQUES BY PRADEEP I.
The european ITM Task Force data structure F. Imbeaux.
April 29-30, 2001SwarmFest, Santa Fe1. April 29-30, 2001SwarmFest, Santa Fe2.
Chapter 1 Foundations of Information Systems in Business.
Slide 12.1 Chapter 12 Implementation. Slide 12.2 Learning outcomes Produce a plan to minimize the risks involved with the launch phase of an e-business.
1 6 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 6 The Traditional Approach to Requirements.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
Project Management All projects need to be “managed” –Cost (people-effort, tools, education, etc.) –schedule –deliverables and “associated” characteristics.
1 CMPT 275 High Level Design Phase Modularization.
Building Simulation Model In this lecture, we are interested in whether a simulation model is accurate representation of the real system. We are interested.
Systems Analysis and Design in a Changing World, Fourth Edition
April 7, 2006 Agent Based models: from analytical models to real life phenomenology, Villa Gualino, Torino 1 _ workers-skills-firms 1/3 _______________________________________.
Typing Pattern Authentication Techniques 3 rd Quarter Luke Knepper.
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
Dr Nick Mitchell (Room CM 224)
SOFTWARE TESTING. Introduction Software Testing is the process of executing a program or system with the intent of finding errors. It involves any activity.
Introduction Complex and large SW. SW crises Expensive HW. Custom SW. Batch execution Structured programming Product SW.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
October 3, Torino1 cover Introduction by Pietro Terna Dipartimento di Scienze economiche e finanziarie G.Prato, Università di Torino
December 3, 2014AISC-CODISCO 2014, revised Nov From Agent-based models to network analysis (and return): the policy-making perspective Magda Fontana.
SOFTWARE TESTING LECTURE 9. OBSERVATIONS ABOUT TESTING “ Testing is the process of executing a program with the intention of finding errors. ” – Myers.
Week#3 Software Quality Engineering.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Advanced Higher Computing Science
Systems Analysis and Design in a Changing World, Fifth Edition
Tools Of Structured Analysis
Chapter 6 The Traditional Approach to Requirements.
Software Testing.
Software Engineering (CSI 321)
Design and Manufacturing in a Distributed Computer Environment
Unified Modeling Language
Magda Fontana Pietro Terna
Quality Management Perfectqaservices.
Software What Is Software?
Types of Testing Visit to more Learning Resources.
Information Systems in Global Business Today
Knowledge Management Landscape (in US)
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
  Department of Economics and Finance “G.Prato”
Evolving a simulated system of enterprises with jESevol and Swarm
Presentation transcript:

April 13-15, 2003SwarmFest, Notre Dame1 jES Pietro Terna Department of Economics and Finance “G.Prato” University of Torino - Italy Decision making and enterprise simulation with jES and Swarm web.econ.unito.it/terna web.econ.unito.it/terna/jes

April 13-15, 2003SwarmFest, Notre Dame2 _jVE->JES _______________________________________ jVE jES _______________________________________

April 13-15, 2003SwarmFest, Notre Dame3 From jVE … … to jES jVE->jES Virtual Enterprise ?? Enterprise Simulator With jES we can simulate: actual enterprises virtual enterprises (as “would be” enterprises or in the direction of the NIIIP project, see below)

April 13-15, 2003SwarmFest, Notre Dame4 _overview _______________________________________ Overview _______________________________________

April 13-15, 2003SwarmFest, Notre Dame5 overview 1 Overview 1/2 jES, java Enterprise Simulator (formerly jVE, java Virtual Enterprise), is a large Swarm-based package[1] aimed at building simulation models both of actual enterprises and of virtual ones. On the first side, the simulation of actual enterprises, i.e. the creation of computational models of those realities, is useful for the understanding of their behavior, mainly in order to optimize the related decisional processes. On the other side, through virtual enterprises we can investigate how firms originate and how they interact in social networks (Burt, 1992; Walker et al., 1997) of production units and structures, also in “would be” situations. In both cases, following Gibbons (2000), we have to overcome the basic economic model of the firm, i.e. a black box with labor and physical inputs in one end and output on the other, operating under the hypothesis of minimum cost and maximum profit. Simulation models – such as jES – represent the most appropriate tool to be used in this direction. [1] Download last version from

April 13-15, 2003SwarmFest, Notre Dame6 overview 2 Overview 2/2 Agents, in jES, are objects like the orders to be produced and the production units able to deal with the orders. In the same context, there are also agents representing the decision nodes, where rules and algorithms (like GA or CS), or avatars[1] of actual people, act. In the case of avatars, decisions are taken asking actual people what to do: in this way we can simulate the effects of actual choices; we can also use the simulator as a training tool and, simultaneously, as a way to run economic experiments to understand how people behave and decide in organizations. This is the big Simon’s (1997) question. Some recent improvements of jES are outlined in the presentation. [1] From s. avatar (Hindu mythology) earthly incarnation of a god, human embodiment of a deity; (Internet) online image that represents a user in chat rooms or in a virtual “space”.

April 13-15, 2003SwarmFest, Notre Dame7 _jES principles _______________________________________ jES principles _______________________________________

April 13-15, 2003SwarmFest, Notre Dame8 jES principles 1 The goals With the simulator we want to reproduce in a detailed way the behavior of a firm into a computer. The basis of the method has to be found into agent based simulation techniques, i.e. the reconstruction of a phenomenon via the action and interaction of minded or no minded agents within a specific environment, with its rules and characteristics. In our cases, we have both no minded agents - as things to be done (orders) or units able to work with them - and minded - as the agents who have to express decisions within the model -. Simulating a single enterprise or a system of enterprises (e.g. within a district or within a virtual enterprise system) we can apply in a direct way the ‘what if’ analysis introducing changes into the simulation, while fully preserving the complexity of our context. jES principles 1/3

April 13-15, 2003SwarmFest, Notre Dame9 jES principles 2 Why agents and what kind of tool? Only in a true agent based context, with independent pieces of software expressing the different behavior of all the components of our environment (a firm), we can overtake the traditional limitation of models founded on equations (differential equations or recursive ones) where the granularity of the description is strongly compelled by the limitations of the method. We are interested in using a plurality of tools, with Swarm at the first place, to build our models. We must also interact in a correct way with actual enterprise’s data and for that we want to develop easy to use interfaces based on the XML formalism. jES principles 2/3

April 13-15, 2003SwarmFest, Notre Dame10 jES principles 3 Perspectives and results Perspectives and results of our models are along three directions. Enterprise optimization, also via soft computing tools as genetic algorithms and classifier systems, and what-if analysis: when we use a genetic algorithm or a classifier system in a simulation framework, the fitness of the evolved genotype or the evolved rules is evaluated running the simulator. Interaction between people and the model, through artificial agents representing the actual ones, with two purposes: to study how people behave in organizations, with experiments build using the simulator; to train people about the consequences of their decision within an organization. Theoretical analysis of “would be” situations of enterprises and their interactions, to increase the knowledge about how firms start, behave and decline. jES principles 3/3

April 13-15, 2003SwarmFest, Notre Dame11 _WD, DW, WDW _______________________________________ WD, DW, WDW _______________________________________

April 13-15, 2003SwarmFest, Notre Dame12 WD, DW, WDW WD side or formalism: What to Do DW side or formalism: which is Doing What WDW formalism: When Doing What

April 13-15, 2003SwarmFest, Notre Dame13 dictionary unit= a productive structure within or outside our enterprise; a unit is able to perform one or more of the steps required to accomplish an order order= the object representing a good to be produced; an order contains technical information (the recipe describing the production steps) and accounting data recipe=a sequence of steps to be executed to produce a good A dictionary

April 13-15, 2003SwarmFest, Notre Dame14 _DW: a flexible scheme _______________________________________ DW: a flexible scheme _______________________________________

April 13-15, 2003SwarmFest, Notre Dame15 DW: a flexible scheme ,3,4 1,2,5 Units … DW

April 13-15, 2003SwarmFest, Notre Dame16 DW: a flexible scheme ,3,4 1,2,5 Units and Firms … DW

April 13-15, 2003SwarmFest, Notre Dame17 DW: a flexible scheme ,3,4 1,2,5 … in a district … DW

April 13-15, 2003SwarmFest, Notre Dame18 DW: a flexible scheme ,3,4 1,2,5 … or building up a virtual enterprise The NIIIP project (National Industrial Information Infrastructure Protocols ) DW

April 13-15, 2003SwarmFest, Notre Dame19 _WD: recipes _______________________________________ WD: recipes _______________________________________

April 13-15, 2003SwarmFest, Notre Dame20 WD: recipes WD

April 13-15, 2003SwarmFest, Notre Dame21 _a simple example with WD, DW and WDW _______________________________________ A simple example with WD, DW and WDW _______________________________________

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 0 the recipes DW WDW the starting sequence the continuous sequence (empty) t= Building a sequential batch

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 1 the recipes WD WDW the starting sequence the continuous sequence (empty) t= Sequential batch step 1/3 DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 2 the recipes WD WDW the starting sequence the continuous sequence (empty) t= Sequential batch step 2/3 DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 3 the recipes WD WDW the starting sequence the continuous sequence (empty) t= DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 4 the recipes WD WDW the starting sequence the continuous sequence (empty) t= DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 5 the recipes WD WDW the starting sequence the continuous sequence (empty) t= DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 6 the recipes WD WDW the starting sequence the continuous sequence (empty) t= Building a sequential batch DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 7 the recipes WD WDW the starting sequence the continuous sequence (empty) t= Sequential batch step 1/2 DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 8 the recipes WD WDW the starting sequence the continuous sequence (empty) t= DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 9 the recipes WD WDW the starting sequence the continuous sequence (empty) t= DW

April 13-15, 2003SwarmFest, Notre Dame a production unit an end unit a simple example 10 the recipes WD WDW the starting sequence the continuous sequence (empty) t= DW

April 13-15, 2003SwarmFest, Notre Dame33 _a complex example: the VIR case _______________________________________ A complex example: the VIR case _______________________________________

April 13-15, 2003SwarmFest, Notre Dame34 VIR 1 VIR (a firm producing valves, to regulate the flow of liquids and gas) Basic case (with unitCriterion=2)

April 13-15, 2003SwarmFest, Notre Dame35 VIR 2 VIR Adding 3 complex units in the lathe sector

April 13-15, 2003SwarmFest, Notre Dame36 _the decision process _______________________________________ The decision process _______________________________________

April 13-15, 2003SwarmFest, Notre Dame37 decision process ,3,4 1,2,5 How to decide?

April 13-15, 2003SwarmFest, Notre Dame38 decision process 2 How to decide? In a random way Using fixed rules Using an expert system Via soft computing techniques (GA & CS) Asking to an actual agent what to do (training and monitoring actual agents’ behavior)

April 13-15, 2003SwarmFest, Notre Dame39 _new tools: recipes and layers, computational objects _______________________________________ New tools: recipes and layers, computational objects _______________________________________

April 13-15, 2003SwarmFest, Notre Dame40 recipes and layers Recipes and layers

April 13-15, 2003SwarmFest, Notre Dame41 computational objects 1 Memory matrixes data are reported in a text file (unitData/memoryMatrixes.txt) number(from_0_ordered;_negative_if_insensitive_to_layers)_rows_cols Mandatory first line Computational objects

April 13-15, 2003SwarmFest, Notre Dame42 computational objects 2 Recipes with computations (recipes are reported in external and intermediate format) External format (remember: step, time specification, time) : 1 s 1 c s 2 3 s 2 1 s 1 c s 2 1 s 1 c s 2 1 s 1 c s 2 time specification: seconds time in seconds step in recipe a step with computation: step 2, requiring 2 seconds, involve computation 1999 with 3 matrixes (those numbered 0, 1, 3 in the previous Figure) a step with computation: step 7, requiring 2 seconds, involve computation 1998 with 1 matrix (that numbered 3 in the previous Figure) Computational objects

April 13-15, 2003SwarmFest, Notre Dame43 computational objects 3 The Java Swarm code used by the recipes with computations of this example /** computational operations with code (a code for the checking * phase of the program) * * this computational code place a number in position 0,0 of the * unique received matrix and set the status to done */ public void c1998(){ mm0=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(0); layer=pendingComputationalSpecificationSet. getOrderLayer(); mm0.setValue(layer,0,0,1.0); mm0.print(); done=true; } // end c1998 Computational objects

April 13-15, 2003SwarmFest, Notre Dame44 _other tools _______________________________________ Other tools _______________________________________

April 13-15, 2003SwarmFest, Notre Dame45 other tools Other tools: Stand alone batches Procurements (as seen above) Parallel paths (AND formalism) Multiple paths (OR formalism)

April 13-15, 2003SwarmFest, Notre Dame46 _references _______________________________________ References _______________________________________

April 13-15, 2003SwarmFest, Notre Dame47 references References Burt R.S. (1992), Structural Holes – The Social Structure of Competition. Cambridge, MA, Harvard University Press. Gibbons R. (2000), Why Organizations Are Such a Mess (and What an Economist Might Do About It). A draft of the first Charter is at Simon H.A. (1997), Administrative Behavior: A Study of Decision-Making Processes in Administrative Organizations. Simon & Schuster, New York. Walker G., Kogut B., Shan W. (1997), Social Capital, Structural Holes and the Formation of an Industry Network, in Organization Science. Vol. 8, No. 2, pp

April 13-15, 2003SwarmFest, Notre Dame48 address again web.econ.unito.it/terna web.econ.unito.it/terna/jes