Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predator Prey Model? #79

Open
idontgetoutmuch opened this issue Nov 8, 2020 · 2 comments
Open

Predator Prey Model? #79

idontgetoutmuch opened this issue Nov 8, 2020 · 2 comments

Comments

@idontgetoutmuch
Copy link

There are tantalising references to predator and prey but I can't find an actual model to run. Does such a model exist? I'd love it if there something similar to this: https://juliadynamics.github.io/Agents.jl/stable/examples/predator_prey/.

Yes I could try to write my own but I am new to Julia and to ABMs.

@rafaqz
Copy link
Member

rafaqz commented Nov 8, 2020

This isn't really an agent based modelling framework - grid cells (and their contents) are the focal point, not individuals. It is more often used for modelling populations of things or it could do size-structured populations.

But I'm putting together a predator-prey model currently! It's designed to work with heterogeneous intrinsic population growth rates as produces by GrowthMaps.jl. It doesn't model individual predation events, but population level interactions of predator and prey species, and environmental drivers.

It will be in the docs and hopefully a paper at some stage in the next few months.

@rafaqz
Copy link
Member

rafaqz commented May 7, 2021

@idontgetoutmuch there is a complete spatial predator-prey model defined here https://github.com/cesaraustralia/SpatialMechanisticModellingInJulia. The rules are in rules.jl, the plots.jl script will run it and plot the output and save a gif. You can run it live in the outputs.jl file.

I'll move it into the docs here after review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants