Party Hat Chemistry

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

For an introduction to using AgentSheets applets view the introduction to AgentSheets applets.

In that 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.

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) you simulation will start to look 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 Information



This applet was generated using AgentSheets® Version 2.6.3 with Ristretto®.

AgentSheets, Inc.

[help | more applets]