Lesson 4 Activity 2 - Create your own model
In this lesson students will create the model from their original
design. There is a wide range of projects students could propose -
varying from simple to very difficult. Part of the task will be choosing
a project that can be completed within the given time frame.
Your challenge:
It is important to explore and become accustomed to programming without explicit instructions. So try out the challenges listed above or try to implement your own design and see how far you can get. Here are some suggestions to get started.
Agents and environment
Solutions:
If you get stuck or finish your project and would like to see how we made additions to the model, you can view these videos. BUT PLEASE, try to build your design first.
Changing the directional movement of ions:
Changing the speed of movement of ions:
Hydration of copper ions:
- Select an option or come up with one of your own.
- Using your original design for a computational science project, fill out the project design form.
- Implement your project design.
- View how to add features needed for the project alternatives
- changing the directional movement of ions in solution
- changing the speed of movement of ions in solution
- hydration of copper ions
Your challenge:
It is important to explore and become accustomed to programming without explicit instructions. So try out the challenges listed above or try to implement your own design and see how far you can get. Here are some suggestions to get started.
Agents and environment
- The
students should first create code that adds in their agents and any
modifications to the environment they want. This will usually include
adding new breeds, and creating agents (see cookbook page). New breed
specific variables can be created in the edit Breeds panel.
- Once agents are created, they will need to have their variables initialized. Agents have different shapes, colors, and sizes.
- Next, if changes to the environment are needed, agents can be created and used to edit the terrain during the start up phase.
- Agent behaviors can be implemented as procedures on the breed page corresponding to the agent.
- The
students should then create code that gives their chosen agents
behaviors and interactions with other agents and the environment.
- See the cookbook pages for descriptions of different interactions that can be implemented.
Solutions:
If you get stuck or finish your project and would like to see how we made additions to the model, you can view these videos. BUT PLEASE, try to build your design first.
Changing the directional movement of ions:
Changing the speed of movement of ions:
Hydration of copper ions: