Netlogo 3.0.2 User Manual

Total Page:16

File Type:pdf, Size:1020Kb

Netlogo 3.0.2 User Manual NetLogo 3.0.2 User Manual NetLogo 3.0.2 User Manual Table of Contents What is NetLogo?..............................................................................................................................1 Features...................................................................................................................................1 Copyright Information.......................................................................................................................3 Third party licenses..................................................................................................................3 What's New?.......................................................................................................................................7 Version 3.0.2 (November 23, 2005).........................................................................................7 Version 3.0 (September 2005).................................................................................................7 Version 2.1 (December 2004)................................................................................................11 Version 2.0.2 (August 2004)..................................................................................................11 Version 2.0 (December 2003)................................................................................................11 Version 1.3 (June 2003).........................................................................................................12 Version 1.2 (March 2003)......................................................................................................12 Version 1.1 (July 2002)..........................................................................................................12 Version 1.0 (April 2002).........................................................................................................12 System Requirements.....................................................................................................................13 System Requirements: Application........................................................................................13 Windows...........................................................................................................................13 Mac OS X.........................................................................................................................13 Mac OS 8 and 9...............................................................................................................13 Other platforms................................................................................................................13 System Requirements: Saved Applets..................................................................................14 System Requirements: 3D View............................................................................................14 Operating Systems...........................................................................................................14 Graphics Cards................................................................................................................14 Fullscreen mode...............................................................................................................15 Library Conflicts...............................................................................................................15 Removing an old JOGL....................................................................................................15 Known Issues...................................................................................................................................17 Known bugs (all systems)......................................................................................................17 Windows−only bugs...............................................................................................................17 Macintosh−only bugs.............................................................................................................17 Linux/UNIX−only bugs...........................................................................................................18 Known issues with computer HubNet....................................................................................18 Unimplemented StarLogoT primitives....................................................................................18 Contacting Us..................................................................................................................................19 Web Site................................................................................................................................19 Feedback, Questions, Etc......................................................................................................19 Reporting Bugs......................................................................................................................19 Sample Model: Party.......................................................................................................................21 At a Party...............................................................................................................................21 Challenge...............................................................................................................................23 Thinking With Models.............................................................................................................24 i NetLogo 3.0.2 User Manual Table of Contents Sample Model: Party What's Next?..........................................................................................................................24 Tutorial #1: Models..........................................................................................................................25 Sample Model: Wolf Sheep Predation...................................................................................25 Controlling the Model: Buttons...............................................................................................26 Adjusting Settings: Sliders and Switches...............................................................................27 Gathering Information: Plots and Monitors............................................................................29 Plots.................................................................................................................................29 Monitors...........................................................................................................................29 Controlling the View...............................................................................................................29 The Models Library................................................................................................................33 Sample Models................................................................................................................34 Curricular Models.............................................................................................................34 Code Examples................................................................................................................34 HubNet Calculator & Computer Activities........................................................................34 What's Next?..........................................................................................................................34 Tutorial #2: Commands...................................................................................................................35 Sample Model: Traffic Basic..................................................................................................35 The Command Center...........................................................................................................35 Working With Colors..............................................................................................................38 Agent Monitors and Agent Commanders...............................................................................40 What's Next?..........................................................................................................................43 Tutorial #3: Procedures...................................................................................................................45 Setup and Go.........................................................................................................................45 Patches and Variables...........................................................................................................49 An Uphill Algorithm................................................................................................................52 Some More Details................................................................................................................56 What's Next?..........................................................................................................................58 Appendix: Complete Code.....................................................................................................58 Interface Guide.................................................................................................................................61 Menus....................................................................................................................................61
Recommended publications
  • BERKELEY LOGO 6.1 Berkeley Logo User Manual
    BERKELEY LOGO 6.1 Berkeley Logo User Manual Brian Harvey i Short Contents 1 Introduction :::::::::::::::::::::::::::::::::::::::::: 1 2 Data Structure Primitives::::::::::::::::::::::::::::::: 9 3 Communication :::::::::::::::::::::::::::::::::::::: 19 4 Arithmetic :::::::::::::::::::::::::::::::::::::::::: 29 5 Logical Operations ::::::::::::::::::::::::::::::::::: 35 6 Graphics:::::::::::::::::::::::::::::::::::::::::::: 37 7 Workspace Management ::::::::::::::::::::::::::::::: 49 8 Control Structures :::::::::::::::::::::::::::::::::::: 67 9 Macros ::::::::::::::::::::::::::::::::::::::::::::: 83 10 Error Processing ::::::::::::::::::::::::::::::::::::: 87 11 Special Variables ::::::::::::::::::::::::::::::::::::: 89 12 Internationalization ::::::::::::::::::::::::::::::::::: 93 INDEX :::::::::::::::::::::::::::::::::::::::::::::::: 97 iii Table of Contents 1 Introduction ::::::::::::::::::::::::::::::::::::: 1 1.1 Overview ::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 1.2 Getter/Setter Variable Syntax :::::::::::::::::::::::::::::::::: 2 1.3 Entering and Leaving Logo ::::::::::::::::::::::::::::::::::::: 5 1.4 Tokenization:::::::::::::::::::::::::::::::::::::::::::::::::::: 6 2 Data Structure Primitives :::::::::::::::::::::: 9 2.1 Constructors ::::::::::::::::::::::::::::::::::::::::::::::::::: 9 word ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 list ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 sentence :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 fput ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    [Show full text]
  • Agent-Based Architectures and Algorithms for Energy Management in Smart Gribs : Application to Smart Power Generation and Residential Demand Response Robin Roche
    Agent-Based Architectures and Algorithms for Energy Management in Smart Gribs : Application to Smart Power Generation and Residential Demand Response Robin Roche To cite this version: Robin Roche. Agent-Based Architectures and Algorithms for Energy Management in Smart Gribs : Application to Smart Power Generation and Residential Demand Response. Other. Université de Technologie de Belfort-Montbeliard, 2012. English. NNT : 2012BELF0191. tel-00864268 HAL Id: tel-00864268 https://tel.archives-ouvertes.fr/tel-00864268 Submitted on 20 Sep 2013 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Université de Technologie de Belfort–Montbéliard Institut de Recherche sur les Transports, l’Énergie et la Société Laboratoire Systèmes et Transports École Doctorale Sciences pour l’Ingénieur et Microtechniques Algorithmes et Architectures Multi-Agents pour la Gestion de l’Énergie dans les Réseaux Électriques Intelligents Application aux Centrales à Turbines à Gaz et à l’Effacement Diffus Résidentiel Thèse no191 présentée et soutenue publiquement en vue de l’obtention du titre de Docteur en Génie Électrique par Robin Roche le 7 décembre 2012 Membres du jury : M. Mohamed Benbouzid IUT de Brest, LBMS Président M. Nouredine Hadjsaid INP Grenoble, G2Elab Rapporteur M.
    [Show full text]
  • Using Computer Programming As an Effective Complement To
    Using Computer Programming as an Effective Complement to Mathematics Education: Experimenting with the Standards for Mathematics Practice in a Multidisciplinary Environment for Teaching and Learning with Technology in the 21st Century By Pavel Solin1 and Eugenio Roanes-Lozano2 1University of Nevada, Reno, 1664 N Virginia St, Reno, NV 89557, USA. Founder and Director of NCLab (http://nclab.com). 2Instituto de Matemática Interdisciplinar & Departamento de Didáctica de las Ciencias Experimentales, Sociales y Matemáticas, Facultad de Educación, Universidad Complutense de Madrid, c/ Rector Royo Villanova s/n, 28040 – Madrid, Spain. [email protected], [email protected] Received: 30 September 2018 Revised: 12 February 2019 DOI: 10.1564/tme_v27.3.03 Many mathematics educators are not aware of a strong 2. KAREL THE ROBOT connection that exists between the education of computer programming and mathematics. The reason may be that they Karel the Robot is a widely used educational have not been exposed to computer programming. This programming language which was introduced by Richard E. connection is worth exploring, given the current trends of Pattis in his 1981 textbook Karel the Robot: A Gentle automation and Industry 4.0. Therefore, in this paper we Introduction to the Art of Computer Programming (Pattis, take a closer look at the Common Core's eight Mathematical 1995). Let us note that Karel the Robot constitutes an Practice Standards. We show how each one of them can be environment related to Turtle Geometry (Abbelson and reinforced through computer programming. The following diSessa, 1981), but is not yet another implementation, as will discussion is virtually independent of the choice of a be detailed below.
    [Show full text]
  • Easybuild Documentation Release 20210706.0 Ghent University
    EasyBuild Documentation Release 20210907.0 Ghent University Tue, 07 Sep 2021 08:55:25 Contents 1 What is EasyBuild? 3 2 Concepts and terminology 5 2.1 EasyBuild framework..........................................5 2.2 Easyblocks................................................6 2.3 Toolchains................................................7 2.3.1 system toolchain.......................................7 2.3.2 dummy toolchain (DEPRECATED) ..............................7 2.3.3 Common toolchains.......................................7 2.4 Easyconfig files..............................................7 2.5 Extensions................................................8 3 Typical workflow example: building and installing WRF9 3.1 Searching for available easyconfigs files.................................9 3.2 Getting an overview of planned installations.............................. 10 3.3 Installing a software stack........................................ 11 4 Getting started 13 4.1 Installing EasyBuild........................................... 13 4.1.1 Requirements.......................................... 14 4.1.2 Using pip to Install EasyBuild................................. 14 4.1.3 Installing EasyBuild with EasyBuild.............................. 17 4.1.4 Dependencies.......................................... 19 4.1.5 Sources............................................. 21 4.1.6 In case of installation issues. .................................. 22 4.2 Configuring EasyBuild.......................................... 22 4.2.1 Supported configuration
    [Show full text]
  • Use of Bio-Inspired Techniques to Solve Complex Engineering Problems: Industrial Automation Case Study
    Use of Bio-inspired Techniques to Solve Complex Engineering Problems: Industrial Automation Case Study José Fernando Lopes Barbosa Relatório de Projecto para obtenção do grau de Mestre em Engenharia Industrial ramo de especialização em Engenharia Electrotécnica Supervision: Prof. Dr. Paulo Leitão September, 2010 Dedication To Inês and Mariana ii Acknowledgements First of all I want to express my most grateful thanks to Professor Paulo Leitão for his knowledge, patient, support and constant motivation during the development of this work without which the conclusion was not possible. Next, I want to thank all my friends for their support, incentive and motivation. I also want to thank my parents for all the support and love throughout the years. A special thank to my beautiful grandmother that with her love and affection made me feel to be her special grandson. Finally, but not the least, I want to thank my wife Inês for her support and comprehension and to my daughter Mariana just to make me constantly smile. iii Abstract Nowadays local markets have disappeared and the world lives in a global economy. Due to this reality, every company virtually competes with all others companies in the world. In addition to this, markets constantly search products with higher quality at lower costs, with high customization. Also, products tend to have a shorter period of life, making the demanding more intense. With this scenario, companies, to remain competitive, must constantly adapt themselves to the market changes, i.e., companies must exhibit a great degree of self-organization and self-adaptation. Biology with the millions of years of evolution may offer inspiration to develop new algorithms, methods and techniques to solve real complex problems.
    [Show full text]
  • Cellular Automata Are Models of Distributed Dynamical Systems
    IOSR Journal of Computer Engineering (IOSR-JCE) e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 18, Issue 3, Ver. IV (May-Jun. 2016), PP 92-101 www.iosrjournals.org A New Multi-Agent Game Solver Miklos N Szilagyi Department of Electrical and Computer Engineering University of Arizona, Tucson, AZ 85721 Abstract: A new N-person game solver is presented in this work. The new software is an advance in the whole sate of art for the investigation of N-person games. It is now possible to investigate entire classes of games almost automatically. Moreover, this software makes it trivial to perform a systematic investigation of any game with a multidimensional parameter space. In addition, the payoff functions are no longer limited to quadratic expressions; any elementary mathematical function can easily be used, even in parameterized form. The experimental results are interesting and they very strongly depend on the initial conditions. Keywords: N-person games, Netlogo, Agent-based simulation, Prisoners’ Dilemma, Chicken Dilemma, Complexity. I. Introduction Many complex phenomena can be represented as N-person games in which the participating agents all interact with all the other agents directly or indirectly [1-4]. In the latter case the agents immediately interact only with their immediate neighbors. In this case the agents are simply cells in a cellular automaton. Cellular automata [5-7] are powerful tools for the study of simultaneous operation of a large number of agents, i. e. for the investigation of complex systems and phenomena. Therefore, they are quite suitable for the study of spatial N-person games.
    [Show full text]
  • KIMONO, a Descriptive Agent-Based Modelling Method for the Exploration of Complex Systems: an Application to Epidemiology
    KIMONO, a descriptive agent-based modelling method for the exploration of complex systems: an application to epidemiology. Edouard Amouroux To cite this version: Edouard Amouroux. KIMONO, a descriptive agent-based modelling method for the exploration of complex systems: an application to epidemiology.. Modeling and Simulation. Université Pierre et Marie Curie - Paris VI, 2011. English. tel-00630779 HAL Id: tel-00630779 https://tel.archives-ouvertes.fr/tel-00630779 Submitted on 5 Dec 2011 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. THESE DE DOCTORAT DE L’UNIVERSITE PIERRE ET MARIE CURIE Spécialité: Informatique (Ecole doctorale: EDITE) Présentée par Edouard AMOUROUX Pour obtenir le grade de DOCTEUR de l’UNIVERSITÉ PIERRE ET MARIE CURIE Sujet de la thèse : KIMONO: une méthode de modélisation descriptive centrée agent pour l'explication des systèmes complexes, une application en épidémiologie soutenue le 30/09/2011 devant le jury composé de : M. Directeur de thèse: Alexis Drogoul, Directeur de Recherche, IRD - UMMISCO / IFI - MSI Rapporteurs: David
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • The Development and Improvement of Instructions
    MECHANICS OF ATHEROSCLEROSIS, HYPERTENSION INDUCED GROWTH, AND ARTERIAL REMODELING A Dissertation by HEATHER NAOMI HAYENGA Submitted to the Office of Graduate Studies of Texas A&M University in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY May 2011 Major Subject: Biomedical Engineering Mechanics of Atherosclerosis, Hypertension Induced Growth, and Arterial Remodeling Copyright 2011 Heather Naomi Hayenga MECHANICS OF ATHEROSCLEROSIS, HYPERTENSION INDUCED GROWTH, AND ARTERIAL REMODELING A Dissertation by HEATHER NAOMI HAYENGA Submitted to the Office of Graduate Studies of Texas A&M University in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY Approved by: Chair of Committee, James E. Moore, Jr. Committee Members, Fred J. Clubb Roland R. Kaunas Alvin T. Yeh Head of Department, Gerald L. Cote May 2011 Major Subject: Biomedical Engineering iii ABSTRACT Mechanics of Atherosclerosis, Hypertension Induced Growth, and Arterial Remodeling. (December 2010) Heather Naomi Hayenga, B.S., University of California, Davis Chair of Advisory Committee: Dr. James E. Moore, Jr. In order to create informed predictive models that capture artery dependent responses during atherosclerosis progression and the long term response to hypertension, one needs to know the structural, biochemical and mechanical properties as a function of time in these diseased states. In the case of hypertension more is known about the mechanical changes; while, less is known about the structural changes over time. For atherosclerotic plaques, more is known about the structure and less about the mechanical properties. We established a congruent multi-scale model to predict the adapted salient arterial geometry, structure and biochemical response to an increase in pressure.
    [Show full text]
  • Netlogo Field Guide
    A Field Guide to NetLogo Steve Scott and Matt Koehler George Mason University Department of Computational Social Science Copyright © 2014. The MITRE Corporation. All Rights Reserved. About the Cover: The green sea turtle (Chelonia mydas) image on the cover was created by Jack Javech of the National Oceanographic and Atmospheric Administration (NOAA). NOAA's National Marine Fisheries Service (NMFS) and the U.S. Fish and Wildlife Service (FWS) work together to protect sea turtles, which are affected by numerous threats including fisheries bycatch, habitat destruction and degradation, marine pollution, and boat strikes. The NMFS, FWS, and numerous partners are actively involved in sea turtle conservation efforts, such as monitoring sea turtle nesting activity, protecting turtle nests and nesting beach habitat, and implementing and enforcing regulations to reduce bycatch of sea turtles. Visit the NMFS website at http://www.nmfs.noaa.gov/pr/species/turtles/ and the FWS website at http://www.fws.gov/northflorida/SeaTurtles/seaturtle-info.htm for further information about sea turtles and conservation efforts. i Table of Contents Preface ............................................................................................................................................. 1 About This Guide ........................................................................................................................ 1 About NetLogo ..........................................................................................................................
    [Show full text]
  • Logo Tree Project
    LOGO TREE PROJECT Written by P. Boytchev e-mail: pavel2008-AT-elica-DOT-net Rev 1.82 July, 2011 We’d like to thank all the people all over the globe and all over the alphabet who helped us build the Logo Tree: A .........Daniel Ajoy, Eduardo de Antueno, Hal Abelson B .........Andrew Begel, Carl Bogardus, Dominique Bille, George Birbilis, Ian Bicking, Imre Bornemisza, Joshua Bell, Luis Belmonte, Vladimir Batagelj, Wayne Burnett C .........Charlie, David Costanzo, John St. Clair, Loïc Le Coq, Oliver Schmidt-Chevalier, Paul Cockshott D .........Andy Dent, Kent Paul Dolan, Marcelo Duschkin, Mike Doyle E..........G. A. Edgar, Mustafa Elsheikh, Randall Embry F..........Damien Ferey, G .........Bill Glass, Jim Goebel, H .........Brian Harvey, Jamie Hunter, Jim Howe, Markus Hunke, Rachel Hestilow I........... J..........Ken Johnson K .........Eric Klopfer, Leigh Klotz, Susumu Kanemune L..........Janny Looyenga, Jean-François Lucas, Lionel Laské, Timothy Lipetz M.........Andreas Micheler, Bakhtiar Mikhak, George Mills, Greg Michaelson, Lorenzo Masetti, Michael Malien, Sébastien Magdelyns, Silvano Malfatti N .........Chaker Nakhli ,Dani Novak, Takeshi Nishiki O ......... P..........Paliokas Ioannis, U. B. Pavanaja, Wendy Petti Q ......... R .........Clem Rutter, Emmanuel Roche S..........Bojidar Sendov, Brian Silverman, Cynthia Solomon, Daniel Sanderson, Gene Sullivan, T..........Austin Tate, Gary Teachout, Graham Toal, Marcin Truszel, Peter Tomcsanyi, Seth Tisue, Gene Thail U .........Peter Ulrich V .........Carlo Maria Vireca, Álvaro Valdes W.........Arnie Widdowson, Uri Wilensky X ......... Y .........Andy Yeh, Ben Yates Z.......... Introduction The main goal of the Logo Tree project is to build a genealogical tree of new and old Logo implementations. This tree is expected to clearly demonstrate the evolution, the diversity and the vitality of Logo as a programming language.
    [Show full text]
  • Direct Manipulation of Turtle Graphics
    Master Thesis Direct Manipulation of Turtle Graphics Matthias Graf September 30, 2014 Supervisors: Dr. Veit Köppen & Prof. Dr. Gunter Saake Otto-von-Guericke University Magdeburg Prof. Dr. Marian Dörk University of Applied Sciences Potsdam Abstract This thesis is centred around the question of how dynamic pictures can be created and manipulated directly, analogous to drawing images, in an attempt to overcome traditional abstract textual program representations and interfaces (coding). To explore new ideas, Vogo1 is presented, an experimental, spatially-oriented, direct manipulation, live programming environment for Logo Turtle Graphics. It allows complex abstract shapes to be created entirely on a canvas. The interplay of several interface design principles is demonstrated to encourage exploration, curiosity and serendipitous discoveries. By reaching out to new programmers, this thesis seeks to question established programming paradigms and expand the view of what programming is. 1http://mgrf.de/vogo/ 2 Contents 1 Introduction5 1.1 Research Question.................................6 1.2 Turtle Graphics..................................6 1.3 Direct Manipulation................................8 1.4 Goal......................................... 10 1.5 Challenges..................................... 12 1.6 Outline....................................... 14 2 Related Research 15 2.1 Sketchpad..................................... 15 2.2 Constructivism................................... 16 2.3 Logo........................................ 19 2.4
    [Show full text]