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
Next revision Both sides next revision
tutorial_15-implementing_using_one_compartment [2023/04/03 16:11]
dmytroh
tutorial_15-implementing_using_one_compartment [2023/04/03 17:34]
dmytroh
Line 6: Line 6:
  
 ====Option 1==== ====Option 1====
 +{{rabbitfoxmodel3.png?600}}
 +
 Equations for Transfers: Equations for Transfers:
   * //AnimalBirth[Rabbits]=Animals·a//   * //AnimalBirth[Rabbits]=Animals·a//
Line 12: Line 14:
   * //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//
  
-Init_population[Rabbits]= 1000 +Values for parameter Initial population: 
-Init_population[Foxes]= 4+  * //Init_population[Rabbits]= 1000// 
 +  * //Init_population[Foxes]= 4//
  
-<HTML> 
-<table xmlns="http://www.w3.org/1999/xhtml" style="height: 240px; width: 240px; text-align: center; font-weight: bold;"> 
- <tr> 
-  <td style="width: 68px; height: 68px; background-color: #CAEACA;">Ecosystem</td> 
-  <td style="width: 68px; height: 68px;"> </td> 
-  <td style="width: 68px; height: 68px;"> </td> 
- </tr> 
- <tr> 
-  <td style="width: 68px; height: 68px;"> </td> 
-  <td style="width: 68px; height: 68px; background-color: #C0C0C0;"> </td> 
-  <td style="width: 60px; height: 60px;"> </td> 
- </tr> 
- <tr> 
-  <td style="width: 68px; height: 68px;"> </td> 
-  <td style="width: 68px; height: 68px;"> </td> 
-  <td style="width: 68px; height: 68px; background-color: #C0C0C0;"> </td> 
- </tr> 
-</table> 
-</HTML> 
  
-//''%%Figure 1 Ecolego matrix of one Compartment approach%%''//\\+====Option 2==== 
 +Create only one compartment with name Animals. Create parameters 
 + 
 +{{rabbitfoxmodel4.png}} 
 + 
 +**Initial Conditions** for compartment: 
 +  * For //Animals[Rabbits] = 1000// 
 +  * For //Animals[Foxes] = 4// 
 + 
 + 
 +**dy/dt** for compartment: 
 +  * Rabbits: //dAnimals/dt=Animals[Rabbits]·a-b·Animals[Rabbits]·Animals[Foxes]// 
 +  * Foxes: //dAnimals/dt=Animals[Rabbits]·Animals[Foxes]·e·b-c·Animals[Foxes]// 
  
  
Line 45: Line 42:
  
 **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.txt · Last modified: 2023/04/03 17:38 by dmytroh