User Tools

Site Tools


tutorial_15-implementing_using_one_compartment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial_15-implementing_using_one_compartment [2023/04/03 16:13]
dmytroh
tutorial_15-implementing_using_one_compartment [2023/04/03 17:38] (current)
dmytroh
Line 6: Line 6:
  
 ====Option 1==== ====Option 1====
 +
 +Create parameters according to table below:
 +
 +^Parameter          ^Unit      ^Value ^Description                                                     ^
 +|a                  |1/year    |0.04  |the natural growth rate of rabbits in the absence of predation  |
 +|c                  |1/year    |0.2   |the natural death rate of foxes in the absence of food (rabbits)|
 +|b                  |1/(year F)|5.0E-4|the death rate per encounter of rabbits due to predation        |
 +|e                  |F/R       |0.1   |the efficiency of turning predated rabbits into foxes           |
 +|Init_population                  |n         |Initial animal population        |
 +
 +Values for parameter Initial population:
 +  * //Init_population[Rabbits]= 1000//
 +  * //Init_population[Foxes]= 4//
 +
 +Create source, sink, compartments and transfer according to picture below:
 {{rabbitfoxmodel3.png?600}} {{rabbitfoxmodel3.png?600}}
  
Line 14: Line 29:
   * //AnimalDeath[Foxes]=c·Animals//   * //AnimalDeath[Foxes]=c·Animals//
  
-Initial Conditions for compartment:+**Initial Conditions** for compartment:
   * For //Animals[Rabbits] = Init_population//   * For //Animals[Rabbits] = Init_population//
   * For //Animals[Foxes] = Init_population//   * For //Animals[Foxes] = Init_population//
  
-Values for parameter Initial population: 
-  * Init_population[Rabbits]= 1000 
-  * Init_population[Foxes]= 4 
  
  
  
-<HTML> +====Option 2==== 
-<table xmlns="http://www.w3.org/1999/xhtml" style="height: 240px; width: 240px; text-align: center; font-weight: bold;"> +Create parameters according to table below: 
- <tr> + 
-  <td style="width68px; height: 68px; background-color: #CAEACA;">Ecosystem</td> +^Parameter          ^Unit      ^Value ^Description                                                     ^ 
-  <td style="width: 68px; height: 68px;"> </td> +|a                  |1/year    |0.04  |the natural growth rate of rabbits in the absence of predation 
-  <td style="width: 68px; height: 68px;"> </td> +|c                  |1/year    |0.2   |the natural death rate of foxes in the absence of food (rabbits)| 
- </tr> +|b                  |1/(year F)|5.0E-4|the death rate per encounter of rabbits due to predation        | 
- <tr> +|e                  |F/R       |0.1   |the efficiency of turning predated rabbits into foxes           | 
-  <td style="width: 68px; height: 68px;"> </td> + 
-  <td style="width68px; height: 68px; background-color: #C0C0C0;"> </td> +Create only one compartment with name //Animals// 
-  <td style="width60px; height: 60px;"> </td> + 
- </tr> +{{rabbitfoxmodel4.png}} 
- <tr> + 
-  <td style="width: 68px; height: 68px;"> </td> +**Initial Conditions** for compartment
-  <td style="width68px; height: 68px;"> </td> +  * For //Animals[Rabbits] 1000/
-  <td style="width: 68px; height: 68px; background-color: #C0C0C0;"> </td> +  * For //Animals[Foxes] 4// 
- </tr> + 
-</table> +**dy/dt** for compartment
-</HTML>+  * Rabbits: //dAnimals/dt=Animals[Rabbits]·a-b·Animals[Rabbits]·Animals[Foxes]/
 +  * Foxes: //dAnimals/dt=Animals[Rabbits]·Animals[Foxes]·e·b-c·Animals[Foxes]//
  
-//''%%Figure 1 Ecolego matrix of one Compartment approach%%''//\\ 
  
  
Line 50: Line 62:
  
 **Solution to the excersise** **Solution to the excersise**
- +  * {{lotka-volterra.eco}} 
-  * {{tutorial:Lotka-Volterra.eco?linkonly}}+  * old one {{tutorial:Lotka-Volterra.eco?linkonly}}
  
  
tutorial_15-implementing_using_one_compartment.1680531221.txt.gz · Last modified: 2023/04/03 16:13 by dmytroh