Module 5B One Fish, Two Fish..

Similar documents
ISSH 2011 ABM Track - Hands-on Exercise

To Begin Customize Office

Ten easy steps to creating great MicroWorlds EX projects. Steve Robson

SmartCaseManager Crystal Reports

MAKING AN ANIMATION in MICROWORLDS PRO

Using Ad-Hoc Reporting

Introduction to Netlogo: A Newton s Law of Gravity Simulation

Scatter Plots with Error Bars

Arena Tutorial 1. Installation STUDENT 2. Overall Features of Arena

Customize and Print AirLiner Slate Underlays Using the SMART Board Software Contro...

Excel Reports User Guide

Spread of Viruses on a Computer Network

How To Insert Hyperlinks In Powerpoint Powerpoint

Computer Skills Microsoft Excel Creating Pie & Column Charts

Introduction. Inserting Hyperlinks. PowerPoint 2010 Hyperlinks and Action Buttons. About Hyperlinks. Page 1

Microsoft Word Track Changes

Microinvest Warehouse Pro Light Restaurant is designed to work in tandem with Microinvest Warehouse Pro which provides all back office functions.

5.7. Quick Guide to Fusion Pro Schedule

HOWTO annotate documents in Microsoft Word

ITS Training Class Charts and PivotTables Using Excel 2007

How To Send An Encrypted In Outlook 2000 (For A Password Protected ) On A Pc Or Macintosh (For An Ipo) On Pc Or Ipo (For Pc Or For A Password Saf ) On An Iphone Or

Microsoft Excel 2013 Step-by-Step Exercises: PivotTables and PivotCharts: Exercise 1

INF-USB2 and SI-USB Quick Start Guide

Organizing and Managing

Microsoft PowerPoint 2010 Computer Jeopardy Tutorial

Producers, Consumers, and Food Webs

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider :: :: info@bluepecan.co.

FSC Rater Version 7.1» Release Notes

How to use Wireframe in Visio

Dashboard 2004 Software Science Inc Page 1

Automatic Integration into Olympus Transcription Via FTP

Company Setup 401k Tab

Configuration for Microsoft Windows 7 Enterprise Edition

Excel 2010 Sorting and Filtering

Be sure to connect the USB cable from TonePort into your computer s USB port, and then proceed with the following steps

Corsair Link v2.4 Manual. Initial Set-up. Placing devices within the chassis

Use this translator to save ArchiCAD layouts/views in DXF/DWG format if you plan to continue

2009 Braton Groupe sarl, All rights reserved.

If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel.

Advanced Microsoft Excel 2010

2. Setting Up The Charts

CorelDRAW X5 & CorelDRAW X6

Get To Know Paint Shop Pro: Layers

Guide for usage of digital signatures in Microsoft Office Documents

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Making Visio Diagrams Come Alive with Data

Create a Pipe Network with Didger & Voxler

MICROSOFT OFFICE ACCESS NEW FEATURES

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

How to Program a Commander or Scout to Connect to Pilot Software

How To Print On A Computer On A Macbook With A Powerpoint 3D (For Free) On A Pc Or Macbook 2 (For Cheap) On Pc Or Pc Or Ipad (Forfree) On An Ipad 3D Or

Mortgage Trading Exchange (MTE)

There are several ways of creating a PDF file using PDFCreator.

The Kinetics of Enzyme Reactions

Content Management System (CMS) Training

ONLINE TEST ADMINISTRATION

Laser cutter setup instructions:

Install MS SQL Server 2012 Express Edition

Client Software Feature Guide

TraceNet Command TM Application Suite User Guide

How to Make the Most of Excel Spreadsheets

To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data:

Excel -- Creating Charts

The How Do Guide to AxioVision. Author: Brian Svedberg Image Analysis Specialist Carl Zeiss MicroImaging, Inc.

Enhanced Formatting and Document Management. Word Unit 3 Module 3. Diocese of St. Petersburg Office of Training Training@dosp.

Excel Tutorial. Bio 150B Excel Tutorial 1

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Docufide Client Installation Guide for Windows

SOFTWARE USER GUIDE. Aleratec. Part No , EU. 1:10 USB 3.0 Copy Cruiser Mini

Calibrating your monitor

Migrating to Azure SQL Database

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

MS Project Tutorial for Senior Design Using Microsoft Project to manage projects

Please see the Standards Document for a detailed description of Standards covered by this Module, Lesson by Lesson.

Authorware Install Directions for IE in Windows Vista, Windows 7, and Windows 8

Egnyte Single Sign-On (SSO) Configuration for Active Directory Federation Services (ADFS)

How to Pop to Outlook

Using Microsoft Project 2000

USING STARLOGO TO INTRODUCE DIFFERENTIAL EQUATIONS

Version 4.1 USER S MANUAL Technical Support (800)

2. Select Point B and rotate it by 15 degrees. A new Point B' appears. 3. Drag each of the three points in turn.

Petrel TIPS&TRICKS from SCM

The Circumference Function

ONLINE ADMINISTRATION OF ASSESSMENTS

Chapter 4 Displaying and Describing Categorical Data

Quick Instructions Installing on a VPS (Virtual Private Server)

Quick Start Guide. Microsoft OneNote 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve.

Account Create for Outlook Express

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

Administrator s Guide ALMComplete Support Ticket Manager

Jumble for Microsoft Outlook

Microsoft Word 2013 Basics

EDC Client Software Quick Start Guide

ActiveImage Protector 3.5 for Hyper-V Enterprise. User Guide - Backup Hyper-V Server 2012 R2 host and

User Guide for Patients

Connector for Microsoft Dynamics Configuration Guide for Microsoft Dynamics SL

Appendix 2.1 Tabular and Graphical Methods Using Excel

«Intellect» software system

Aston Staff Portal. Approving / Rejecting Expense Claims

Transcription:

Module 5B One Fish, Two Fish.. Building an Ocean Food Chain / Web model Let s build a model of an ocean ecosystem. Open a new NetLogo model page. Cre the Ocean Go to Code section and type the following: Go to interface window. Choose add and button. Click anywhere in the white, a button will appear and a button dialog window will open. Type setup in the space provided and click OK. Now the button will be labeled setup. Click the button and your ocean appears! Add some plants (producers) Now let s add some plants to our ocean. Return to the code section and add the lines in bold below to the setup section. cre-turtles 200 ask turtles [ Return to the Interface page and press the Setup button again. You should see something like the image to the right. If you press setup repedly, what happens? CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 1

Add some fish (primary consumers) Now let s add the first level of consumers. It is easy to cre more turtles, but we need to distinguish the fish turtles from the plant turtles. So we are going to name some breeds and change part of the setup code. breed [plants breed [redfish ca cre-plants 200 cre-redfish 100 set shape "fish" set color red setxy random-xcor randomycor Again, press the setup button several times to see the effect of the random position functions. CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 2

Now we ll add a second section of code to make the fish move. Below the setup code, add these lines: Then return to the interface page and add a go button. Be sure to check the forever box. Test your model. Agent interaction To model a food web, there needs to be agent interaction. So let s add some code to have the fish the plants. We ll add a new code section called and activate it from the go section. to if any? plants-here [ ask one-of plants-here [ die The code checks to see if a fish and plant occupy the same patch, and then allows the fish to only one plant. Check and see what happens now. We need to have the plants grow back. So add the following: grow-plants to if any? plants-here [ ask one-of plants-here [ die CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 3

to grow-plants if random 100 < 8 [ hatch 1 Run the model several times. You should notice that sometimes the plants disappear entirely and sometimes they overgrow the world. Why? What factors control populations in the real world? Let s change the code so that plants can only grow on empty patches: to grow-plants if not any? plants-here [ if random 100 < 8 [ sprout-plants 1 [ Run the model a few times and see what happens. Plots and monitors - outputs Now let s cre a monitor and a plot. From the Interface tab, select a monitor and place it in an open space. It will automatically open to the editing window. Name it plants and type count plants in the Reporter space. It should look like this: Now choose plot and place it an open space. Again it will open the editing window. Name the plot Populations. Change the first pen name to plants, the color to green and the pen update command to plot count plants. Add a second pen for the fish. It should look like this: CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 4

If you run the model now, you will note that the monitor is counting, but nothing is appearing on the plot. We need to add two lines of code for the plot to be updated. At the of the setup procedure, add the line reset-ticks and at the of the go procedure, add the line tick. cre-plants 200 cre-redfish 100 set shape "fish" set color red reset-ticks set energy energy - 1 grow-plants tick CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 5

Now run the model. What is the carry-capacity of your ecosystem? What variable(s) in the code results in this value? Experiment and discuss. Fish that reproduce and die Let s add some code to have the fish reproduce and die at a certain age. We give the fish attributes of age and energy, set some values when first setting up the world, then limits on the values they can reach before the fish die. The fish gain energy from ing the plants, loose energy when moving and reproducing. Finally, we add a section for reproduction. turtles-own [energy age cre-plants 200 cre-redfish 100 set shape "fish" set color red set energy random 50 set age random 20 reset-ticks set energy energy - 2 reproduce set age age + 1 if age > 20 [die if energy < 1 [die grow-plants tick to if any? plants-here [ ask one-of plants-here [ die CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 6

set energy energy + 5 to grow-plants if not any? plants-here [ if random 100 < 8 [ sprout-plants 1 [ to reproduce if age > 10 [ if energy > 30 [ if random 100 < 70 [ hatch 1 [ set energy 5 set age 0 rt random 360 set energy energy - 10 What happens to carry-capacity now? Additional things to try: 1. Add sliders to let users control some of the variables which are now constant in the code. 2. Add a second level consumer that s the red fish. 3. Add two second level consumers that compete for the red fish. The model Ocean Food Web is a version of the model with some of these options. Notice how plants are handled in the model. CAST---Module 5B: Building an Ocean Food Chain Pittsburgh Supercomputing Center 7