Mammoth Sample Model

40 views
Skip to first unread message

jieun kim

unread,
Nov 3, 2021, 2:17:08 AM11/3/21
to netlogo-devel
Hello!
 
I just wanted to ask what are the parameters for the 'cause of mammoth
deaths'? Are they the number of mammoths that have died from climate change
and human influence, or some other unit?
 
Thank you!

Michael Tamillow

unread,
Nov 3, 2021, 9:50:31 AM11/3/21
to jieun kim, netlogo-devel
Like most things in life, it’s complicated.

if any? mammoths-here [
      let r random 100
      if r < 3 [ die ] ; mammoths have a 3% chance of killing the human
      if r < 3 + odds-of-killing [
        ask one-of mammoths-here [ die ] ; successfully hunt a mammoth!
        set mammoths-killed-by-humans mammoths-killed-by-humans + 1
      ]

This part is like wolf-sheep predation. The next part is unrelated.

    ask mammoths [
    ; mammoths have a 5% chance of dying if they're over 30
    if age > 30 * 12 and random-float 100 < 5 [ die ]
    ; they also get another 5% chance of dying if their density is too high
    if density > 0.50 and random-float 100 < 5 [ die ]
    ; if they are on a patch affected by climate change, they get a 5% chance of dying
    if [ pcolor ] of patch-here = green + 3 and random-float 100 < 5 [
      set mammoths-killed-by-climate-change mammoths-killed-by-climate-change + 1
      die
    ]
    ; finally, all mammoths have a 0.33% chance of dying.
    if random-float 100 < 0.33 [ die ]

Sent from my iPhone

On Nov 3, 2021, at 1:17 AM, jieun kim <jkm...@gmail.com> wrote:

Hello!
--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/802900d2-8361-4fe1-97eb-83bcf69c26ddn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages