Difference between revisions of "CS382:Fire"
(→Lab) |
(→Lab) |
||
Line 57: | Line 57: | ||
== Lab == | == Lab == | ||
+ | [[Image:Goldstar.png|right|thumb|Nice work!]] | ||
This lab will consist of learning how to use NetLogo's wildfire model to see how minor changes in parameters can, under certain circumstances, producing wildly different results. | This lab will consist of learning how to use NetLogo's wildfire model to see how minor changes in parameters can, under certain circumstances, producing wildly different results. | ||
Line 66: | Line 67: | ||
# Open up NetLogo. Go to the model library and under the ''Earth Science'' category, open "Fire". | # Open up NetLogo. Go to the model library and under the ''Earth Science'' category, open "Fire". | ||
# Experiment with different values for the density. | # Experiment with different values for the density. | ||
− | ## Try 0%, then 99%. Record the results for each of these. | + | ## Try 0%, then 99%. Record the results for each of these. <font color="blue">Where are the results output in Netlogo?</font> |
## Take a guess at what will happen at 60%, then try it. Record your result. | ## Take a guess at what will happen at 60%, then try it. Record your result. | ||
## ''How close was your guess? How close was your lab partner's?'' | ## ''How close was your guess? How close was your lab partner's?'' | ||
Line 73: | Line 74: | ||
# Graph your data. | # Graph your data. | ||
# ''What does the graph look like?'' | # ''What does the graph look like?'' | ||
− | ## '''Possibilities: logarithmic, linear, exponential''' | + | ## '''Possibilities: logarithmic, linear, exponential''' <font color="blue">Will you have covered these earlier, or will you provide examples of each of these so they know what to look for?</font> |
# ''What might you be able to conclude from this?'' | # ''What might you be able to conclude from this?'' | ||
# Run it 10 times at {50,60,70}% and record the average for each set. | # Run it 10 times at {50,60,70}% and record the average for each set. | ||
Line 84: | Line 85: | ||
# Again, do this 10 times for {50,55,60,65,70}%, average each, and graph them. | # Again, do this 10 times for {50,55,60,65,70}%, average each, and graph them. | ||
## ''How did that change your graph?'' | ## ''How did that change your graph?'' | ||
+ | |||
+ | <font color="blue">For the teachers and TAs, could you provide examples of what these should look like?</font> | ||
==== Write-up ==== | ==== Write-up ==== | ||
* Write a description of what you did. | * Write a description of what you did. | ||
− | * Attach a printout of your data, including a graph or two | + | * Attach a printout of your data, including a graph or two <font color="blue">?</font> |
− | * Write a conclusion describing how this lab | + | * Write a conclusion describing how this lab <font color="blue">...?</font> |
==== Software ==== | ==== Software ==== |
Revision as of 19:24, 29 March 2009
Fire
Overview
This short unit about the spreading of forest fires is intended to teach some of the basics of using a simple pre-made model/simulation. While there are many benefits to using this model, the ability to physically verify the results proves to be difficult. It turns out that the rudimentary simulation of a wild fire spreading through a forest of varying densities can be implemented in a wide range of tools including NetLogo, AgentSheets, Vensim, Excel, and possibly others. Thus, this single model can teach the basics of simulation techniques like agent modeling, cellular automata, and systems dynamics without requiring students to relearn or rediscover what results to expect and allows them to focus on the methods and the techniques.
Background Reading for Teachers and TAs
- Geared a little bit towards the teachers and upper end students. Meant largerly as an intro into what we're looking at.
Agent-based modeling and simulation of wildland fire suppression
- Much more so geared towards the teachers than students. This is a fairly technical article and is meant to give an overview of an Agent-Based version of wildfires.
Reading Assignments for Students
- Parts of this article are fairly technical and mathematical, however I think there's a lot of good information here. Perhaps we could write up a summary.
- Some of the language might be tough for intro-students, however there's some fascinating information here on why cellular automata are important.
Reference Material
Lecture Notes
Lecture 1
- Brief cover of wildfires, to understand the basics of what we're going to try to model
- Fires can start any number of ways (lightning, careless smokers, etc.)
- Fires can spread in many ways (more lightning, wind, dense undergrowth, etc.)
- Start covering basic dynamic modeling methods (brief overview, we'll cover Cellular Automata later)
- Cellular Automata
- Cells of a grid can be in some state
- Think of a sheet of graph paper and you can either shade in a square or not
- One cell's state may or may not affect its neighbors
- Changes based on a set of rules
- Cells of a grid can be in some state
- Agent Modeling - Like we talked about in class, this may be too heavy for them before they actually see these, but if you show the models and then only give a few sentences about it, and ask the differences they saw rather than telling them about each type of modeling, it may go over better.
- Independent agents whose behavior is governed by sets of rules
- Systems Dynamics
- Sets of math equations govern the output of a set of graphs
- Output of equations is governed by rates
- Cellular Automata
Lecture 2
- More in-depth coverage of cellular automata
- Game Of Life - canonical example [GoL on Wikipedia]
- Grid where each cell can either be alive or dead
- Cells can either be alive or dead based on the number of living/dead cells around them
- This rule controls the entire simulation and can produce some seemingly complex results
- Grid where each cell can either be alive or dead
- The wildfire model we'll use is a special-case of the Game of Life
- Trees can either be alive, burning, or smoldering
- Alive trees can be caught on fire by neighboring burning trees and become burning
- Burning trees can catch neighboring alive trees on fire and can become smoldering after a certain time
- Smoldering trees can do nothing
- In the basic model, the average distance between trees (i.e. the forest's density) can be controlled
- Certain aspects can be seen by varying this control
- Lightning: where new fires can be started at a random location
- Wind: where fire has a tendency to spread in certain directions
- Wetness: where certain trees may have a decreased chance to catch on fire
- Duration of Burning: where burning trees may stay burning longer
- As with density, tuning these "knobs" can produce different behaviors
- Trees can either be alive, burning, or smoldering
Lab
This lab will consist of learning how to use NetLogo's wildfire model to see how minor changes in parameters can, under certain circumstances, producing wildly different results.
The structure of this lab is loosely based on this.
Data should be recorded in a spreadsheet for easy graphing.
Process
- Open up NetLogo. Go to the model library and under the Earth Science category, open "Fire".
- Experiment with different values for the density.
- Try 0%, then 99%. Record the results for each of these. Where are the results output in Netlogo?
- Take a guess at what will happen at 60%, then try it. Record your result.
- How close was your guess? How close was your lab partner's?
- Start taking some more data:
- Record the percent burned at 50%, 60%, 70%.
- Graph your data.
- What does the graph look like?
- Possibilities: logarithmic, linear, exponential Will you have covered these earlier, or will you provide examples of each of these so they know what to look for?
- What might you be able to conclude from this?
- Run it 10 times at {50,60,70}% and record the average for each set.
- Now graph the averages
- Does it look different?
- Will probably be closer to linear.
- What new conclusions can you make, if any?
- Record results for burning at {50,55,60,65,70}% and graph it when you have all of them.
- How did that change your graph?
- Again, do this 10 times for {50,55,60,65,70}%, average each, and graph them.
- How did that change your graph?
For the teachers and TAs, could you provide examples of what these should look like?
Write-up
- Write a description of what you did.
- Attach a printout of your data, including a graph or two ?
- Write a conclusion describing how this lab ...?
Software
- [NetLogo] version 4.0
Bill of Materials
As long as the students don't try to actually burn down a forest to validate these models, there is no cost for this lab.
Evaluation
CRS Questions
- Which of these is a reasonable method for simulating Wild Fires?
- A technique called "systematic dynamical conflagration"
- Going out back campus and ....
- Coding the all properties of trees into a computer program
- A technique called "cellular automata"
- What is another name for "Cellular Automata"?
- Automated Telecomune
- Tessellation Automata
- Biological Automated Simulation
- Systems Dynamics
- Who is credited for doing some of the first work in Cellular Automata?
- Stephen Wolfram
- John von Neumann
- Alan Turing
- Stanislaw Ulam
Quiz Questions
Fire's Metadata
Scheduling
This should be very early in the semester as it is a fairly simple and short topic. Given its simplicity, it should only be a single week.
Concepts and Techniques
This unit should teach the basics of using someone else's model, as well the importance of conducting multiple runs with different parameters in order to gain an accurate understanding of the effect of the model. The WildFire model used in this unit provides a brief introduction to the concepts of VVA (Verification/Validation/Accreditation). Specifically, a rough notion of how a WildFire spreads can be obtained using this model, but it should be stressed that this model is nowhere near accurate when compared to one would actually happen.
General Education Alignment
- Analytical Reasoning Requirement
- Abstract Reasoning - From the [Catalog Description] Courses qualifying for credit in Abstract Reasoning typically share these characteristics:
- They focus substantially on properties of classes of abstract models and operations that apply to them.
- This unit deals almost entirely will quantitative reasoning, and would be hard to expand into the abstract world.
- They provide experience in generalizing from specific instances to appropriate classes of abstract models.
- Parameter sweeping (one of the primary goals of this unit) can be used in almost every instance of computational simulations. In this sense it can be expanded from this specific model to others, yet it is more of a quantitative method of analysis than it is abstract.
- They provide experience in solving concrete problems by a process of abstraction and manipulation at the abstract level. Typically this experience is provided by word problems which require students to formalize real-world problems in abstract terms, to solve them with techniques that apply at that abstract level, and to convert the solutions back into concrete results.
- Analysis of this unit's support or not for this item.
- They focus substantially on properties of classes of abstract models and operations that apply to them.
- Quantitative Reasoning - From the [Catalog Description] General Education courses in Quantitative Reasoning foster students' abilities to generate, interpret and evaluate quantitative information. In particular, Quantitative Reasoning courses help students develop abilities in such areas as:
- Using and interpreting formulas, graphs and tables.
- This unit is intended to teach the student how to gather data using a specific tool and analyze that data to come to some conclusion.
- Representing mathematical ideas symbolically, graphically, numerically and verbally.
- The student will need to create a lab write-up in which they express why they went about collecting the necessary amount of data. They will also need to include examples of said data and an explanation of what conclusion(s) can be drawn from that data.
- Using mathematical and statistical ideas to solve problems in a variety of contexts.
- While this unit deals almost entirely with a single tool, the idea of parameter sweeping is necessary in every form of simulation and is thus applicable in a wide range of contexts.
- Using simple models such as linear dependence, exponential growth or decay, or normal distribution.
- This wildfire model clearly shows how the number of burned trees is directly dependent on certain features of the forest (density, wetness, etc) and how minor changes in those features can dramatically change the outcome.
- Understanding basic statistical ideas such as averages, variability and probability.
- At the end of this unit the student should be able to understand that one cannot make sufficiently accurate conclusions about a model with only a single data set.
- Making estimates and checking the reasonableness of answers.
- In the beginning of the lab portion of this unit, the student should take a guess at what the result will be when the density of the forest is varied. After running a number of trials, they should be able to easily assess the accuracy of they're answer as well as the reasonableness of their results from the lab.
- Recognizing the limitations of mathematical and statistical methods.
- The student should clearly note that this model of wildfires is far from indicative of how they actually happen. It should be stressed that this model is simply proof of concept for showing the profound effect a single variable can have on the overall results.
- Using and interpreting formulas, graphs and tables.
- Abstract Reasoning - From the [Catalog Description] Courses qualifying for credit in Abstract Reasoning typically share these characteristics:
- Scientific Inquiry Requirement - From the [Catalog Description] Scientific inquiry:
- Develops students' understanding of the natural world.
- After the completion of this unit, the student should understand the world's dependence on a surprisingly small number of variables even though this model is far from accurate.
- Strengthens students' knowledge of the scientific way of knowing — the use of systematic observation and experimentation to develop theories and test hypotheses.
- The entirety of this lab is to change a variable, observe the results, and repeat, eventually leading to having enough data to make reasonable theories on the model.
- Emphasizes and provides first-hand experience with both theoretical analysis and the collection of empirical data.
- The lab portion of this unit is exactly this: gathering numerical data in order to provide the basis for some sort of conclusion.
- Develops students' understanding of the natural world.
Scaffolded Learning
The NetLogo model(s) in question are easy to use and easy to witness the effect of changing parameters to obtain different results. As well there are fairly clear extensions for the student inclined towards taking those steps.
Inquiry Based Learning
This unit should be able to pique the curiosity of the student, most likely in the form of the question: "Why is that that a single variable can have such a dramatic effect on the output of a system?"
Fire's Mechanics
To Do
- Better CRS questions are needed.
- Quiz questions are needed.
Comments
- You have all of the required stuff for background reading but the template has shifted, just make sure you update it.
- Will redo with the new Lab template
- Don't forget to mark the correct answers by bolding them.
- Done.
- I don't understand all of this just because I'm not familiar with NetLogo (or Fire). But, is there a way to incorporate Charlie's idea of having different groups cover different parameters, and then getting all that data together and doing some kind of graphing to see the bigger picture? Perhaps as part of splitting up the 8 points.
- Yes. Will address with more detail in Lab rewrite.
- If we did some graphing with the results, that could strengthen this point. I don't know how much time we would have to teach them and what software though. Maybe bring this up in class or with Charlie.
- The plan would be to have results graphed in Excel/<some spreadsheet>
- Might want to start with a here's where we're going with this before starting about specifics of the wildfire model, esp. since this is their first unit out of foundations and they don't have a basis for the structure of a unit.
- Will address in rewrite of lecture notes
- Some "why we care" to tie it back together at the end, like how we can use it for estimating and planning, would be nice.
- Will address in rewrite of lecture notes
- This one might be a bit facetious. :P
- Possibly, but I don't believe the answer is immediately obvious from a first-year student. The point of the question is to introduce cellular automata, something very few college freshmen are going to have heard about before.
- Also VVA, if we're talking about how this model isn't a good indicator of real life. And don't forget cellular automata.
- Briefly addressed. Will elaborate more when this section gets rewritten.
- It would be nice if we had a set of extension questions for students interested in going further. Possibly trying to get certain situations to occur (a larger percentage of the time) by changing different variables. Or just trying to get certain situations to occur.
- I agree.
- I think there's also a lot to be said that the entire lab is based on tweaking parameters and so seeing what happens with different experiments.
- That is in fact the gist behind the question I pose in the Inquiry Based Learning section.
Authorship
- Fitz