Serendip is an independent site partnering with faculty at multiple colleges and universities around the world. Happy exploring!

Reply to comment

kdilliplan's picture

Update

I continue to work on my Bottlenecking model as originally planned.  So far, I've managed to build a model that has turtles "breed" if they are old enough and if they're on the same patch.  An observer can set how many turtles to start with, how many turtles there can be at one time, how old the turtles have to be before they can reproduce, and their maximum lifespan.  I've included two different colors, set at random at the setup, which are passed directly on to their offspring as well as moniters to show the ratio of the colors in the population.  The bottleneck event can be triggered by hitting the button.  So far, I've set up a bottleneck event that kills large numbers of turtles based on location in the world, and one that kills them randomly based on ID number.  I'm still working on adding a genetic component into the model, but I haven't gotten there yet.

I've been having two main problems.  First, I've been trying to mess with the parameters so that the model makes sense in a biological context.  I suppose I could leave the sliders in so the user can choose the parameters, but I don't want the model to be too complicated.  The second problem has mostly to do with syntax.  I am having a hard time programming line graphs the way I want to.  I have been unsuccessful cannibalizing existing graph codes, and the NetLogo programming manual and dictionary are not as helpful as I'd like.  Is anyone else planning on having graphs in their models?  Might we work on this as a class?

Reply

To prevent automated spam submissions leave this field empty.
17 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.