Skip to main content

Simulation Projects discussed at NESA Conference


Relections on the Classroom Use of Simulations, as discussed at the NESA Spring Educators Conference April 2012

Neil McCurdy, Ph.D. taught the Technology-Infused Project Learning Institute at the NESA Spring Educators Conference, April 1, 2012.
Dr. McCurdy now serves as Assistant principal at a new charter school in San Diego, Coleman Tech. He formerly taught at High Tech High with pairs of teachers (science & language), but he was dissatisfied because of lack of differentiation there.

He recommends using StarLogo TNG v1.5 (The Next Generation) software for teaching programming concepts while working on realistic projects. This particular Project-Based Learning emphasizes the additional level of abstraction presented in creating computer simulations. Although computer simulations are fun and engaging, they actually require students to exercise some higher-order thinking skills in mapping – read, abstracting – live behaviors onto a computer screen. That work also introduces students to the concept and need for modeling, in scientific investigation, and confirms the importance and thus relevance of simulation models in their education. In this case, the goal is to make a model that is externally valid, that tells us about the real world.

One example of a simulation project used in Dr. McCurdy's classroom is an H1N1flu simulation, wherein students must build a model of roaming agents that contract a disease and die within a certain specified time, but not before possibly infecting other agents, thus spreading the contagion.

Another example is of firefly synchronization, modeling the behavior of seemingly coordinated blinking of fireflies in the wild, in southest Asia. Given the hypothesis that males who cluster together and blink at the same time thereby attract more females, students first hypothesized that fireflies respond to the average signal of neighbors. Programming that hypothesis in StarLogoTNG demonstrates the inadequacy of the hypothesis. We can then provide additional simulation challenges: make the firefly models more agile, make some die or opt out of blinking altogether, introduce home region, or introduce boundaries. These efforts produce different results and require students to think analytically while engaging them in a seemingly realistic problem. When stretching students' attitudes to problem-solving, part of the trick is to give them as much choice as possible, while still keeping them learning the goals.

Other examples of problems that have well-developed precedents, thus will be relatively easy for me to try with my advanced students – building a computer simulation of Invasive species, or sustainable farming (a la Michael Pollan's poly-face farm1), foraging ants, screen savers, genetics, and ecoBattle – modeling a basic circle of life system with carnivores and herbivores. The invasive species model easily adapts for cross-curricular learning, if we team-teach with the biology teacher, to use species samples from bio class to create a model of invasive behavior.

At an advanced-student level, we can move one level higher in the order of thinking about our work, by presenting the project such as Sustainable Farming and requiring students to distribute the work among themselves so that they must reflect not only on the task but on the most efficient way of assembling its pieces. This is not a free-for-all, however, as the teacher provides the structure for determining value and efficiency – each group must make a piece of the project that works and adds value, and then sell that to the class. Take them through multiple iterations of a design/sell/integrate cycle. Only earn project “money” if you can explain their value. This is similar to the Free and Open Source Software model that produced Firefox, Java, and StarLogo itself!

Special notes and tips about the software: StarLogo does collisions by assigning each agent with a sequence number, starting with id=0. The lower number is the collider and higher number is collidee. Thus, sometimes need to run case twice if one breed has two types within it. StarLogo does not initialize variables! You must do it yourself. This often provides the teachable moment in programming class, where students realize the need for initializing variables. Dr. McCurdy suggests that we not use the “increment” function; rather, make students simply add by one, so as to understand the concept better. If checking values on countdown, use less-than or equal to, in case steps over zero.

Other free programming tools are available, but less optimal. For example,, for big projects. He notes that Alice cannot “create/hatch” anything; also it requires too much preparation to make objects. BYOB Scratch is too small, with just an 800x600-dot canvas. It also is too cutesy, and doesn't DO much, it just moves things in fancy directions. StarLogo is more fun and useful overall.

Other tasks are popular now with programming-minded students. Making mobile phone applications has become very attractive, but is quite difficult to organize in a school. According to Dr. McCurdy, Android app building is free but buggy, and requires lots of RAM. Iphone apps require MacBooks and OSX.

Note that Dr. McCurdy developed StarJava as a program more advanced than StarLogo—just a Java front-end to StarLogo, as a way to introduce advanced students to real programming where they could control more variables and use case logic.

While StarLogoTNG enables students to readily build computerized simulations of real-world behaviors, thereby engaging students in the use of abstract modeling. Live simulations of real-world behavior have long been tools in social studies classes, enabling teachers to engage students with more personalized views of global issues.

As a result of Dr. McCurdy's recommendation, we are now installing StarLogoTNG for use in our high school computer lab, both for teaching of basic programming concepts, but also frankly as a means of better engaging hesitant students and enticing them to further study of logic and programming.


1Popularized by Michael Pollan's book The Omnivore's Dilemma, Poly-face farm is described in the Washington Post, May 6, 2009 Travel section.

Comments

Popular posts from this blog

Review: The Road Less Traveled: The Secret Battle to End the Great War, 1916-1917

The Road Less Traveled: The Secret Battle to End the Great War, 1916-1917 by Philip D. Zelikow My rating: 5 of 5 stars View all my reviews

Kite Runner is with us again

 Six or so years ago, I taught The Kite Runner to three successive sets of tenth-graders, and marveled at the effect the novel had on me and on these adolescents.  That age is a marvelous time for a humanities teacher, as we see callous children grow out of their self-centered cocoons and flex their world-empathic feelers.  They grow into the world outside them and realize they truly have agency -- or will have agency and responsibility for human actions.  Amir, the main protagonist of Kite Runner is so identifiable with those adolescents learning to take responsibility for their callous actions.   And of course we think of Kite Runner now that Afghanistan once again plunges into Taliban rule -- we particularly worry about the fate of the Hazara (news stories already cite random executions of Hazara men).   We can only wring hands and pray that the Taliban will have to adapt and tolerate more than they did before -- but I am not optimistic. ...

Review: The Empathy Diaries: A Memoir

The Empathy Diaries: A Memoir by Sherry Turkle My rating: 5 of 5 stars I cannot stop talking about this book, and not just because the author is a favorite of mine, with her earlier books about the effect of technology on education and our psyches. She describes encounters with so many other famous writers and technologists -- she was Present at the Creation of our computer-saturated internet world. Note that the title is purposely plural: several personal points are interwoven into the chapters, sometimes repeating details that a "normal" book would elide. But she is a talented writer and psychologist: the very writing style is intended to affect the reader and illustrate psychological points. I did cringe at the repeated references to the Freudian incident with her stepfather (fear not, dear reader -- no outright abuse here, just psychological trauma unearthed by years of analysis, along with all-too-typical infidelity and familial...