1 Agent-Based Tools: focus on NetLogo Ing. Cristina Ponsiglione University of Naples Federico II Laboratorio di Simulazione ad Agenti.

Slides:



Advertisements
Similar presentations
Introduction to Computers Section 6A. home The Operating System (OS) The operating system (OS) is software that controls the interaction between hardware.
Advertisements

Short introduction to the use of PEARL General properties First tier assessments Higher tier assessments Before looking at first and higher tier assessments,
Netlogo! NetLogo is a programmable modeling environment for simulating complex systems. Modelers can give instructions to hundreds or thousands of independent.
Agents and Pervasive Computing Group Università di Modena e Reggio Emilia System Requirements NetLogo is designed: to run almost any type of computer.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Biomedical Modeling: Introduction to the Agent-based epidemic modeling
Word Lesson 1 Microsoft Word Basics
New Mexico Computer Science For All Breeds and Shapes in NetLogo Maureen Psaila-Dombrowski.
EPIDEMIOLOGY: Introduction to the Agent-based epidemic modeling Dr. Qi Mi Department of Sports Medicine and Nutrition, SHRS, Univ. of Pitt.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
NetLogo: Design and Implementation of a Multi-Agent Modeling Environment Seth Tisue, lead developer Uri Wilensky, author and principal investigator Center.
2-Day Introduction to Agent-Based Modelling Day 2: Session 5 Variables and Debugging.
Teaching Contemporary Mathematics Conference January 25, 2013 Christine Belledin NC School of Science and Mathematics.
Department of Computer Science What is NetLogo UH-DMML  Multi-agent programmable modeling environment  Well suited for modeling complex systems evolving.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Digital Image Processing Lecture3: Introduction to MATLAB.
A First Program Using C#
ABM Frameworks Dr Andy Evans With additions from Dr Nick Malleson.
Advanced Forms Lesson 10.
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
NetLogo Dr. Feng Gu. NetLogo NetLogo is a programmable modeling environment for simulating natural and social phenomena, authored by Uri Wilensky in 1999.
2-Day Introduction to Agent-Based Modelling Day 1: Session 4 Networks.
2-Day Introduction to Agent-Based Modelling Day 2: Session 8 Exploring Model Collections, NetLogo Lists, Further Resources.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Promodel tutorial tutorial.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
NetLogo Workshop Complexity And Business Analytics October 10, 2008, UM-Dearborn David Bowen, WSU Physics Slides and model files will.
New Mexico Computer Science For All Interface Input in NetLogo Maureen Psaila-Dombrowski.
New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Active-HDL Interfaces Debugging C Code Course 10.
Models in NetLogo Day 3 COLQ 201 Multiagent modeling Harry Howard Tulane University.
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
Developed By Information Technology Services University Of Saskatchewan.
Chapter Two Creating a First Project in Visual Basic.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
New Mexico Computer Science For All Variables and Scope Maureen Psaila-Dombrowski.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
Java Applets: GUI Components, Events, Etc. Ralph Westfall June, 2010.
New Mexico Computer Science For All Patches and Agent/Environment Interactions Maureen Psaila-Dombrowski.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
1 Word Lesson 1 Microsoft Word Basics Microsoft Office 2010 Introductory Pasewark & Pasewark.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Sistemi per la Gestione Aziendale - Proff Giuseppe Zollo Cristina Ponsiglione 1 Sistemi per la Gestione Aziendale. AA Ingegneria Gestionale (LM)
M10 WS11:Krankenhausbedarfsplanung The World as We See It given by Gabriel Wurzer and Wolfgang E. Lorenz
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Management Information Systems
Management Information Systems
An introduction to Netlogo agent-based software
1. Introduction to Visual Basic
Introduction to the Visual C# 2005 Express Edition IDE
MIS 643 Agent-Based Modeling and Simulation 2016/2017 Fall.
Microsoft Office Ribbon
Horizontal Centering Using the menu bar
Chapter 15: GUI Applications & Event-Driven Programming
Microsoft Office Ribbon
creating a ecosystems model in net logo
Selenium IDE Installation and Use.
Presentation transcript:

1 Agent-Based Tools: focus on NetLogo Ing. Cristina Ponsiglione University of Naples Federico II Laboratorio di Simulazione ad Agenti Sistemi per la Gestione Aziendale 2013/2014 Research Methodologies: Agent-Based Systems and Social Simulation

2 Summary Main tools for agent-based simulation Main tools for agent-based simulation Characteristics of NetLogo Characteristics of NetLogo The Netlogo Interface and the User Manual The Netlogo Interface and the User Manual Example 1: Segregation Example 1: Segregation Example 2 : Wolf – Sheep predation Example 2 : Wolf – Sheep predation Example 3 : Ants Example 3 : Ants

3 Tools for agent-based simulation Main platforms: Swarm ( Swarm ( JAS ( jaslibrary.sourceforge.net); JAS ( jaslibrary.sourceforge.net); Repast (repast.sourceforge.net); Repast (repast.sourceforge.net); NetLogo (ccl.northwestern.edu/netlogo); NetLogo (ccl.northwestern.edu/netlogo); Agentsheets ( Agentsheets (

4 Main features of Swarm Developed at Santa Fe Institute in ’90; Developed at Santa Fe Institute in ’90; Two possible programming languages: Objective C and Java; Two possible programming languages: Objective C and Java; The toolkit is made by: a simulation environment, The toolkit is made by: a simulation environment, a graphical interface, a graphical interface, a library of objects usable to make models. a library of objects usable to make models.

5 NetLogo Developed at Center for Connected Learning and Computer-Based Modeling at the end of ’90; Developed at Center for Connected Learning and Computer-Based Modeling at the end of ’90; NetLogo offers an interactive development environment and a simple programming language; NetLogo offers an interactive development environment and a simple programming language; the programming language is LOGO. the programming language is LOGO.

6 NetLogo NetLogo offers a wide library of developed models (Models Library) useful to: - understand the logic of modeling; - run different simulation settings; - modify the code of a model.

7 Let start with laboratory Download NetLogo Download NetLogo Open NetLogo (an “untitled file” will appear) Open NetLogo (an “untitled file” will appear) Give a look to the Models Library (in the “File” menu) Give a look to the Models Library (in the “File” menu) Open the User Manual (in the “Help” menu) Open the User Manual (in the “Help” menu)

8 Focus The world of NetLogo The world of NetLogo The Interface The Interface The structure of the User Manual The structure of the User Manual Using interface elements and objects Using interface elements and objects

9 The world of NetLogo The world is made by agents, that follow instructions and act in different ways, but all simultaneously; The world is made by agents, that follow instructions and act in different ways, but all simultaneously; Three types of agents: Three types of agents: - turtles (they can move around the world); - turtles (they can move around the world); - patches (constitute the ground of the world, they don’t move but are “alive”); - patches (constitute the ground of the world, they don’t move but are “alive”); - observer (it is a looking over the world); - observer (it is a looking over the world); Each turtle is identified by a “who” ID number and by its coordinates (xcor; ycor); Each turtle is identified by a “who” ID number and by its coordinates (xcor; ycor); Each patch is identified by its coordinates (pxcor; pycor); Each patch is identified by its coordinates (pxcor; pycor); The coordinates of patches identify the distance of patches from the origin of the world; The coordinates of patches identify the distance of patches from the origin of the world; The total number of patches in the world is determined by the setting of min-pxcor, max-pxcor, min-pycor, max-pycor; The total number of patches in the world is determined by the setting of min-pxcor, max-pxcor, min-pycor, max-pycor; The world can have different shapes: torus, box, horizontal cylinder, vertical cylinder (the default setting is a torus, it isn’t bounded, but “wraps”) The world can have different shapes: torus, box, horizontal cylinder, vertical cylinder (the default setting is a torus, it isn’t bounded, but “wraps”)

10 The NetLogo interface: the menus File: Through the file menu you can start a new file, open an existing one, choose a model in the models library, Import or export plots and files Tabs: This menu offers keyboard shortcuts for each tab: Interface Information Procedures Help: This menu permits to open the user manual in a web browser

11 The NetLogo interface: the tabs Interface Tab: is were you can watch your model going on. When you open a model the interface appears. Just the view is empty at the opening of the interface Information Tab: is were you can read information about a model included in the model library (what is it?, how to use it?, things to try, extending the model, NeTlogo features, related models, references) Procedures Tab: is were you can read the NetLogo code of the selected model

12 The NetLogo interface: main window

13 The elements of the main window of the interface Buttons: once-only buttons perform the related instructions at once. Forever buttons, when clicked, execute instructions over and over until you stop Buttons: once-only buttons perform the related instructions at once. Forever buttons, when clicked, execute instructions over and over until you stop Sliders: are global variables, which are accessible by all turtles. Sliders are used to modify values of variables (parameters) without change the code Sliders: are global variables, which are accessible by all turtles. Sliders are used to modify values of variables (parameters) without change the code Switches: represent a true/false global variable that the observer can set in the setup phase Switches: represent a true/false global variable that the observer can set in the setup phase Chooser: permits to choose a value for a global variable in a list of choices Chooser: permits to choose a value for a global variable in a list of choices Monitor: reports the value of a variable or of a complex expression Monitor: reports the value of a variable or of a complex expression Plot: plots graphs related to the running experiment Plot: plots graphs related to the running experiment Input:is an area related to globals variables represented by a string of number Input:is an area related to globals variables represented by a string of number Output: is a scrolling area of text that can be used to create a log of activity Output: is a scrolling area of text that can be used to create a log of activity Note: is a box in which you can add text to the main window of the interface Note: is a box in which you can add text to the main window of the interface

14 The NetLogo interface: the view Change dimensions of the world Modify the speed of simulationFreeze or unfreeze the view Edit the world of simulation and set the view Switch on the 3D view

15 The NetLogo interface: edit the world and the view Modify world properties Modify view settings

16 The NetLogo interface: edit the world and the view Modify world properties Modify view settings Play with the world and view

17 The User Manual The NetLogo User Manual is accessible from the menu, clicking on label “help”; The NetLogo User Manual is accessible from the menu, clicking on label “help”; The first part of the Manual is an introduction to NetLogo; The first part of the Manual is an introduction to NetLogo; The second part includes three tutorials to learn main elements of development environment; The second part includes three tutorials to learn main elements of development environment; The third part reports three main guides: The third part reports three main guides: - the interface guide; - the interface guide; - the programming guide - the programming guide (main procedures and commands) (main procedures and commands) - the primitives dictionary - the primitives dictionary (that reports in alphabetic order all the commands, reporters and procedures built-in NetLogo). There is also a transition guide useful to control the transition from previous versions of NetLogo

18 Three Models Segregation Segregation Wolf-Sheep predation Wolf-Sheep predation Ants Ants