1 of 15

SuperComputing Challenge Kickoff

October 2014

Learn the basics of coding in StarLogo in just 3 hours!

2 of 15

What is computer modeling?

  • Computer models are designed to simulate something that is or will happen in the real world.
  • Computer models use real-world information and data
  • They are then used to compare their data to data that is already observed to make predictions and do further experiments.

3 of 15

Abstraction

Think like an artist-

Determine the important parts of what you are trying to model.

4 of 15

Computational Science Cycle

5 of 15

How to get started on a project

computer model

do experiments & get data

compare computer model data to real-world data

6 of 15

How to get started on a project

Example- you’ve chosen to model a Zombie attack-

What are the necessary parts of a zombie model?

  • What absolutely MUST be in the model?
  • What are some parts that would be good to add but only later, after the basics are working?

Think-Pair-Share

  • Discuss with a neighbor- what are the basics that we should have in a model?
  • Make a list of priorities (1st get ….. done, then…?)

7 of 15

Getting Started- StarLogo Nova

Use Chrome

go to: www.slnova.org

Register (use a username and password you will remember! share with your teacher!)

Galleries

My Profile

create new project

Spaceland-

widgets

terrain

Blockland-

drawers

pages

login: demo50

password: taevsp2A

8 of 15

Getting Started-

Renaming and Adding Breeds

9 of 15

Getting Started- Setup World

after you have the code done, test it!

Hit RunCode then the Setup button.

10 of 15

Getting Started- Movement

The Wiggle!

  • movement that uses random
  • very common in computer models for things like molecules, animals and teenagers!

11 of 15

Getting Started- Clock

Adding a clock-

  • uses a logic block
  • allows for better data collection

Info about the clock must be in the Forever as well as set to 0 in the Setup.

12 of 15

Getting Started- Interactions

Agent-Agent interactions using a collision block

13 of 15

Getting Started- Data & Analysis

Sliders can act as variables and can allow for data collection at different settings.

14 of 15

Getting Started- Data & Analysis

15 of 15

Getting Started- Data & Analysis

Data Collection

Stop code

Data Box

Graphs