Modeling the interaction of predators and prey

Names of group members

// put your names here!

Goals of this assignment

The main goal of this assignment is to create an agent-based model to explore the interactions between a predator species and a prey species in an isolated environment. A second goal is to help you think about what you've learned since the beginning of this semester! You will do this by thinking about and modeling the interactions between coyotes and deer on North Manitou Island (part of Sleeping Bear Dunes National Lakeshore). Note that this is part of the last homework of the semester, and will help you get started on that homework assignment!

Core Question

Examine the Jupyter notebook for Homework 7, which you can find on the course D2L page. Fundamentally, the question we're trying to answer is how do you model the interactions between two species, including outside influences such as hunters? You're going to do this by developing an agent-based model of the interactions between coyotes, deer, and humans, and you will vary the parameters of the model to examine how the populations change in relation to each other.

Before you do anything else, read through the assignment for Homework 7. In today's class, we want you to think about the information you will need to solve this problem, including the rules that your agents must obey during the simulation. We want you to work with your group to figure out how to solve this problem and turn in joint notes today - however, the assignment that you turn in next week must be entirely your own work!


Thinking about the big picture

Spend some time talking to the people at your table and work out the details of your model. In particular, discuss:

  1. The information you need to have in order to implement the model.
  2. The rules that each of the agents will use to determine their actions. Be as specific as possible!

Make notes on this in the cell below, or do it using your table's whiteboard. If you use the whiteboard, take a picture and upload it with your notebook. If you want a second whiteboard to work on, please ask your TA!

// put the notes on your model here! (And don't forget to upload any whiteboard pictures!)

Before you move on:

Check in with an instructor and explain what you're doing!


Figuring out how to implement your model

Now, use the whiteboard to create pseudo-code that shows how the code will work. Don't worry about syntax - think about writing that code at the flowchart and function level. Take a picture of this pseudo-code and upload it with your notebook! In addition, think about:

  1. How you will start and end the simulation, and how you will evolve it from the starting state to the end.
  2. How you will visualize the state of your model as it evolves over time, including displaying the number of coyotes and deer over time!
  3. What code have you written from previous in-class or homework assignments, or that has been provided to you at some point, that might help you out? (Remember - reusing code is a very good idea!)

// put the notes on your model here! (And don't forget to upload any whiteboard pictures!)

Before you move on:

Check in with an instructor and explain what you're doing!


Thinking about models

How has the way that you've thought about models changed between the beginning of the semester and now? Please give as thorough of an answer as you can!

// put your answer here!

Wrapup

Do you have any lingering questions that remain after this project?

// put your answer here!

Turn it in!

Turn this assignment in to the Day 24 dropbox in the "in-class activities" folder.