User Tools

Site Tools


tutorial_-_time_events

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
Last revision Both sides next revision
tutorial_-_time_events [2020/10/12 16:54]
erik
tutorial_-_time_events [2023/03/15 09:37]
dmytroh
Line 5: Line 5:
 ==== Base model ==== ==== Base model ====
  
-All examples are based on the following base model, which calculates a dummy plant concentration. You can download the model from {{ :base_event_model.eco |here}}+All examples are based on the following base model, which calculates a dummy value we can use for our event experiments. You can download the model from {{ :base_event_model.eco |here}}
  
 1. Edit [[simulation settings]]. Set 1. Edit [[simulation settings]]. Set
Line 20: Line 20:
 2. Create a material named //Poison// with the unit //mg//. 2. Create a material named //Poison// with the unit //mg//.
  
-3. Create two compartments //Sky// and //Soil//. Set the initial condition for //Sky// to be **100** (mg) of **Poison**.+3. Create two compartments //Sky// and //Soil//. Set the initial condition for //Sky// to be **500** (mg) of **Poison**.
  
 4. Add a transfer from //Sky// to //Soil// and set its equation to //"30+sin(time/5)*20+cos(time/3+2)*10"// 4. Add a transfer from //Sky// to //Soil// and set its equation to //"30+sin(time/5)*20+cos(time/3+2)*10"//
Line 26: Line 26:
 5. Add a transfer from //Soil// to //Sky// and set its equation to //"30+sin(time/3+2)*10+cos(time/7+3)*20"// 5. Add a transfer from //Soil// to //Sky// and set its equation to //"30+sin(time/3+2)*10+cos(time/7+3)*20"//
  
 +6. When run, the model will output a Sky and Soil concentration like this:
  
-==== Calculating maximum monthly concentration ====+{{ :time_event_tutorial_base_model_plot.png?700 |}}
  
-Let +Continue with [[tutorial - time events - monthly max|Next]]
  
-==== Killing plants at harvest ====+===== See also ===== 
 + 
 +  * [[tutorial - time events|First page]] 
 +  * [[tutorials|Tutorials]]
tutorial_-_time_events.txt · Last modified: 2023/08/10 13:39 by mina