This shows you the differences between two versions of the page.
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? | ||
+ | |||
Equations for Transfers: | Equations for Transfers: | ||
* // | * // | ||
Line 12: | Line 14: | ||
* // | * // | ||
- | Initial Conditions for compartment: | + | **Initial Conditions** for compartment: |
* For // | * For // | ||
* For // | * For // | ||
- | Init_population[Rabbits]= 1000 | + | Values for parameter Initial population: |
- | Init_population[Foxes]= 4 | + | * //Init_population[Rabbits]= 1000// |
+ | * //Init_population[Foxes]= 4// | ||
- | < | ||
- | <table xmlns=" | ||
- | < | ||
- | <td style=" | ||
- | <td style=" | ||
- | <td style=" | ||
- | </ | ||
- | < | ||
- | <td style=" | ||
- | <td style=" | ||
- | <td style=" | ||
- | </ | ||
- | < | ||
- | <td style=" | ||
- | <td style=" | ||
- | <td style=" | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | //'' | + | ====Option 2==== |
+ | Create only one compartment with name Animals. Create parameters | ||
+ | |||
+ | {{rabbitfoxmodel4.png}} | ||
+ | |||
+ | **Initial Conditions** for compartment: | ||
+ | * For //Animals[Rabbits] = 1000// | ||
+ | * For // | ||
+ | |||
+ | |||
+ | **dy/dt** for compartment: | ||
+ | * Rabbits: // | ||
+ | * Foxes: // | ||
Line 45: | Line 42: | ||
**Solution to the excersise** | **Solution to the excersise** | ||
- | + | * {{lotka-volterra.eco}} | |
- | * {{tutorial: | + | * old one {{tutorial: |