This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial_-_time_events [2020/10/12 16:47] erik created |
tutorial_-_time_events [2023/08/10 13:39] mina |
||
---|---|---|---|
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 | ||
+ | * **Time unit**: Days | ||
+ | * **Time mode**: Time | ||
+ | * **Start time**: 0.0 | ||
+ | * **End time**: 100.0 | ||
+ | * **Start date**: | ||
+ | * **Output options**: Produce additional output | ||
+ | * **Time points**: from start to end with a 1.0 increment | ||
+ | 2. Create a material named //Poison// with the unit //mg//. | ||
- | ==== Calculating maximum monthly concentration ==== | + | 3. Create two compartments //Sky// and //Soil//. Set the initial condition for //Sky// to be **500** (mg) of **Poison**. |
- | Let | + | 4. Add a transfer from //Sky// to //Soil// and set its equation to //" |
- | ==== Killing plants at harvest | + | 5. Add a transfer from //Soil// to //Sky// and set its equation to //" |
+ | \\ //*note: make sure that TC is **not** checked for both transfers// \\ | ||
+ | |||
+ | 6. When run, the model will output a Sky and Soil concentration like this: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Continue with [[tutorial - time events - monthly max|Next]] | ||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | * [[tutorial - time events|First page]] | ||
+ | * [[tutorials|Tutorials]] |