Difference between revisions of "Defining hare population as a function of time"
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category: Foxes and Hares model]] | |
− | * | + | * 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. |
− | + | :[[Image:Attribute Other.jpg]] | |
− | + | * Select ‘Special’ from the Library popup menu, subsection control constructs and local variables. | |
− | + | :[[Image: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. |
− | + | :[[Image:Object finder dynamic.jpg]] | |
− | [[Image:Attribute dynamic.jpg]] | + | :[[Image:Attribute dynamic.jpg]] |
− | '''Expected: You should have this result.''' | + | '''Expected: You should have this result. Note in particular, the gray arrow pointing from Hares at end to Hares at start.''' |
− | [[Image:Foxes and Hares diagram 1.2.jpg]] | + | :[[Image: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.’ | * Select ‘Hares at end’. Select ‘Description’ from the Attribute popup menu. Type ‘The hare population at the end of each time period.’ | ||
− | [[Image:Attribute Hares at end.jpg]] | + | :[[Image:Attribute Hares at end.jpg]] |
* Select ‘Definition’ from the Attribute popup menu. Click on the definition field. | * Select ‘Definition’ from the Attribute popup menu. Click on the definition field. | ||
Line 29: | Line 29: | ||
'''Expected: Inputs popup menu should appear.''' | '''Expected: Inputs popup menu should appear.''' | ||
− | * | + | * Click on the inputs popup menu, and select ‘Hares at start’. |
− | [[Image:Attritbute Hares at end 1.1.jpg]] | + | :[[Image:Attritbute Hares at end 1.1.jpg]] |
* Click on the ‘Show result’ button on the tool palette. | * Click on the ‘Show result’ button on the tool palette. | ||
− | '''Expected: A result | + | '''Expected: A result table window should appear. Change to graph ''' |
− | [[Image:Result window.jpg]] | + | :[[Image:Result window.jpg]] |
+ | |||
+ | ==See Also== | ||
+ | * [[Tutorial: Dynamic system model]] | ||
+ | * [[Creating the Foxes and Hares model (based on chapter 7 of tutorial)]] |
Latest revision as of 09:20, 4 March 2020
- 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.
- Select ‘Special’ from the Library popup menu, subsection control constructs and local variables.
- 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.
Expected: You should have this result. Note in particular, the gray arrow pointing from Hares at end to Hares at start.
- Select ‘Hares at end’. Select ‘Description’ from the Attribute popup menu. Type ‘The hare population at the end of each time period.’
- 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’.
- Click on the ‘Show result’ button on the tool palette.
Expected: A result table window should appear. Change to graph
See Also
Comments
Enable comment auto-refresher