It only became widely accepted knowledge that all matter in the world is made up of tiny elementary particles in the early 19th century.
Let's look at the the picture below. What do you think this image is a model of?
This is an introductory lesson for using certain types of computational models designed using a software called NetLogo.
In this lesson, students will learn:
how to computationally study the spread of wildfire
how to engage in the scientific inquiry practices of constructing knowledge in the context of an Emergent Systems Microworld (ESM)
how to engage computational thinking practices in context of an ESM. We will focus on four computational thinking practices: data practices, modeling and simulation practices, computational problem solving practices, and systems thinking practices
This curricular unit is co-designed by Teresa Granito and Sugat Dabholkar.
Several lessons in this curriculum use computational models designed using a piece of software called NetLogo. In this lesson, we will try to understand what these models are and how to use them.
This lesson specifically focuses on learning science with computational models of emergent natural phenomena. Emergent phenomena are ones in which simple interactions between agents and their environment result in complex patterns. For example, a flock of birds (see below).
In a flock of birds, most people assume that the "head" bird is a leader of the flock. However, flocks actually emerge from each bird following a simple set of rules regarding alignment, coherence and separation with neighboring birds. This means that the shape of a flock is emergent and not directed by any particular leader bird.
Learning Goals -
Let's get started!
Scientists use scientific modeling approaches to construct knowledge about the world. In this section, we explore the ideas behind scientific models.
It only became widely accepted knowledge that all matter in the world is made up of tiny elementary particles in the early 19th century.
Let's look at the the picture below. What do you think this image is a model of?
Some of you probably said it's a model of an atom. Others might say it's a model of a 'Neon atom', because it has 10 electrons. In fact, since we don't know the number of protons, it could be an ion of a different element!
The point is that these representations in a model allow us to think about natural phenomena (like atoms containing electrons) that are associated with the model in certain way. Can you think of what this particular model could be useful for?
Now, let's look at a computational model of a forest. Imagine that you have a drone with a camera that is hovering above a forest. In other words, this model shows a top-down view of a forest. Each green patch you see represents a tree. A red patch represents a burning tree.
Play with the model and make some observations.
What do you think a researcher or scientist could use this model for?
Make sure to change the density of trees in the model and observe the spread of the fire.
In this model, trees are called agents because their behaviors are programmed into the model using a set of rules.
An example of one such rule is a tree cannot move. Another is when a tree is on fire, it turns red.
How might you write a rule for a tree to model the spread of fire?
Based on your exploration of the model, can you guess how the density of trees affects the spread of the fire in the forest?
This 'fire model' is an example of an emergent systems microworld. It is modeled in terms of interactions between the agents (trees) and it allows us to observe emergent patterns like the spread of fire in the forest. Because it is a computational model, we can easily change parameters such as the density of trees and then study how that change affects the spread of fire in the forest. Although this is just a model, we can use that knowledge to make predictions regarding the spread of fire in a real forest.
However, this model does not include all the factors that affect the spread of fire in a real forest. Can you suggest some other factors that might affect the spread of a real forest fire and that could be added in this model?
Here's a version of a fire model that a team of researchers tried to modify, but it does not run as they expected. In fact, it's totally broken and does not run at all.
Can we help them fix it?
Setup the model. What is the mistake (or what you might hear people call a 'bug') in the researcher's model?
You probably noticed that after you press 'setup', you see blue colored trees. Maybe the bug in the code has something to do with the color of the trees. Maybe the color of the tree is set to 'blue' instead of 'green' by mistake.
Click on the bar that says 'NetLogo Code'. You can find it below the big square in the model.
Where does it say 'blue' in the code? And there does it say 'green' in the code?
You can fix that bug! Go to a line that say 'blue' where it should have been 'green'. Change the code.
Click on "Recompile code" and run the model again. Does it work now?
Can you explain why it did not work before?
These computational models, written in NetLogo, allow users to change the code and observe the effect of those changes. That is a very important feature of these Emergent Systems Microworlds: you can play with them and manipulate them by changing the parameters such as 'density' or by changing the code to see how the "microworld" you see is affected.
Now go back to the code and try to read some of it. The NetLogo language is designed to be easy to understand for humans. Pick a line in the code and paste it below. Try to explain how it affects the way the model would behave.
For example,
set initial-trees count patches with [pcolor = green]
This line sets a value for a variable 'initial-tree' by counting the patches that have pcolor (patch-color). This line is written in the NetLogo language that the NetLogo compiler understands.
Let's investigate how the density of the trees affects the spread of a forest fire.
We will first generate some data using the model and then visualize it using another computational tool called CODAP.
Let's follow an experimental design that is described below:
Research Question: How does density of trees in a forest affect spread of a forest fire?
Hypothesis: As the density of trees in the forest increases, the percentage of forest burned will increase linearly. (That means, if density of trees doubles, the percentage of forest burned will also double)
Let's test our hypothesis using the model.
Change the values of density systematically. Record the value of 'percentage forest burned' in the data table. Make sure that you press 'setup' button every time you do a trial. Make sure to run each different value of density twice and finally, make sure you record values for each experimental trial.
CODAP will automatically plot the average of the two values that you will record.
Write some observations about the graph of 'density' vs 'percentage burned'.
Do you think that the evidence that we gathered with our experiment supports our hypothesis?
Explain your answer to the previous question.
Spread of a forest fire is an emergent phenomenon. Below a certain density, the fire does not spread much, however when the density crosses a 'tipping point' or threshold, the fire engulfs almost all the forest.
The tipping point in this model falls within which of the following density ranges?
Can you give an example of another such phenomenon with a tipping point?
Hypothesis Testing
Hypothesis testing refers to procedures used by scientists to reject or fail to reject statistical hypotheses. It helps us attend to uncertainty and deal with random error in data collected during an investigation.
There are two types of statistical hypotheses:
Null hypothesis (H0): the hypothesis that there is no difference between two groups of data in an investigation and that the experimental observations are the result of chance.
Alternative hypothesis (HA): one of several hypotheses that experimental observations are the result of some nonrandom cause
© 2018 The College Board Quantitative Skills in the AP Sciences Hypothesis Testing 37 CHAPTER 3 Quantitative Skills in AP Biology
Explore a more detailed version of the fire model above.
Explain what "probability-of-spread" might mean in the model and how it would affect the behavior of the model.
Write a question that is of interest to you which can be investigated using this model.
An example of such a question would be: How does wind-speed affect the spread of fire?
Based on your exploration of the model, make a guess, and state it in the form of testable statements (hypotheses) – ones that you can test using the model. Write a null hypothesis and an alternative hypothesis for your research question.
Design an experiment to test your null hypothesis. Describe the independent and dependent variables and the control treatment for the null hypothesis you wrote.
Perform the experiment. Describe your observations and explain whether those support your null and alternative hypotheses or not.
Provide one example of how using this computational model would benefit researchers.
Provide one example of limitations that researchers might face while using this computational model.