Defining hare population as a function of time

  • On the diagram, click on 'Hares at start' node to select it. Click on the key icon to open the Attribute panel. Click on the Description field, type ‘The hare population at the start of each time period.’ Press Alt+Enter.
  • Select Definition from the Attribute dropdown menu. Click on the expr popup menu, select ‘other’. Object finder window should appear.
Attribute Other.jpg
  • Select ‘Special’ from the Library popup menu, subsection control constructs and local variables.
Object special.jpg
  • Select Dynamic to open parameter box for Dynamic function(). Click on the Dynamic field. Type without quotes ‘100, Hares_at_end[Time-1]*(1+Hare_birth_rate)’. Click OK button.
Object finder dynamic.jpg
Attribute dynamic.jpg

Expected: You should have this result. Note in particular, the gray arrow pointing from Hares at end to Hares at start.

Foxes and Hares diagram 1.2.jpg
  • Select ‘Hares at end’. Select ‘Description’ from the Attribute popup menu. Type ‘The hare population at the end of each time period.’
Attribute Hares at end.jpg
  • Select ‘Definition’ from the Attribute popup menu. Click on the definition field.

Expected: Inputs popup menu should appear.

  • Click on the inputs popup menu, and select ‘Hares at start’.
Attritbute Hares at end 1.1.jpg
  • Click on the ‘Show result’ button on the tool palette.

Expected: A result table window should appear. Change to graph

Result window.jpg

See Also


You are not allowed to post comments.