Biology Portal

   


AgentSheets Party Hat Chemistry Model

Background

This model provides an introduction to the agent-based modeling of chemical reactions, rates and equilibrium by reproducing the Party Hat Chemistry Classroom Activity in the form of an AgentSheets applet.

In the classroom activity, each student is given a die, a party hat and a rule sheet. The hat represents a chemical transformation, so students can be in either the "hat off" or "hat on" state. The rules might say something like, "If you roll a 1 or a 2, put your hat on." On each time-step (turn) the class rolls their dice and uses the rules to determine what to do.

To get started using AgentSheets applets, view the introduction to AgentSheets applets. This link assumes that you already have some familiarity with with running the AgentSheets application.

In the applet below, if you open the Simulation Properties Editor you will see a number of parameters that are chances or counts. Counts are simply keeping track of how many agents are in each state. These values are plotted on a chart titled "Reaction Progress" (which will open when you take a time-step). Chance properties reflect the number of rolls of the die that will cause you to take an action. For example if the "hat_on_chance" property is 2, this is equivalent to the rule above that says, "If you roll a 1 or a 2, put your hat on." There are some other properties that keep track of how many times transformation events occur, which are plotted on the "Conversions" chart. Finally there is a property called "diffusion", if you set it to 1 (or any positive value) your simulation will start to act a little more like a chemical reaction.

When you run the model for the first time click the "Step-Forward" button once. It is the button to the right of the "Run" button. This will cause two plot windows to open. Move the plot windows off to the side so that you can see the whole worksheet and the plot windows at the same time.

More detailed instructions on using this model can be found in the Model Guide, which you can download at the bottom of this page.

Applet

Applet

Zip archive of the directory containing the applet version of the Party Hat Chemistry AgentSheets model. Agents put on and take off hats to represent chemical conversions.

applet.zip
Size: 196991 bytes


Model Source Files

Zip archive of the project directory for the Party Hat Chemistry AgentSheets model. Agents put on and take off hats to represent chemical conversions.

model.zip
Size: 12336 bytes


Guide

This MS Word document provides a detailed description of the AgentSheets Party Hat Chemistry model and it's use.

guide.doc
Size: 54272 bytes


Tutorial

MS Word document (for download) providing step-by-step instructions for building the Party Hat Chemistry model in AgentSheets.

tutorial.doc
Size: 462336 bytes



Related resources:

Party hat Chemistry Classroom Activity

Word document describing the Party Hat Chemistry classroom activity.

ASpartyHat.doc
Size: 66048 bytes


Classroom Lesson Plan

Lesson plan for middle and high school audiences that introduces chemical reactions, rates, equilibrium, random processes, and predictability using an agent-based model to demonstrate and explore these concepts.

PartyHatChemistry.xml


Tutorial

MS Word document (for download) providing step-by-step instructions for building the Party Hat Chemistry model in AgentSheets.

tutorial.doc
Size: 462336 bytes