This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial_-_time_events_-_monthly_max [2020/10/12 20:14] erik [Tutorial - Time events - Monthly maximum] |
tutorial_-_time_events_-_monthly_max [2023/03/15 09:36] (current) dmytroh |
||
---|---|---|---|
Line 15: | Line 15: | ||
- change the name to " | - change the name to " | ||
- In the **Values** screen | - In the **Values** screen | ||
- | - click the **Settings** button. | + | - Ensure that the **Dimension** is **Scalar** |
+ | - Click the **Settings** button. | ||
- Change the **Mode** to **Day of month**. | - Change the **Mode** to **Day of month**. | ||
- Enter the value 1 as the **Timepoint** in the table, which indicates the 1st of each month. | - Enter the value 1 as the **Timepoint** in the table, which indicates the 1st of each month. | ||
Line 26: | Line 27: | ||
- change the name to " | - change the name to " | ||
- In the **Values** screen | - In the **Values** screen | ||
+ | - Ensure that the **Dimension** is **Scalar** | ||
- select **Month_time_point** and click the **>** button. | - select **Month_time_point** and click the **>** button. | ||
- Close the window | - Close the window | ||
Line 39: | Line 41: | ||
**Run a simulation** | **Run a simulation** | ||
- | - Run a simulation, then plot _Soil_ | + | - Run a simulation, then plot **Soil** |
- The plot should look like this: | - The plot should look like this: | ||
- | {{ : | + | {{ : |
- | You can download the model {{ : | + | You can download the solution |
- | + | [[tutorial | |
- | ==== Base model ==== | + | [[tutorial - time events - monthly max with memory|Next]] |
- | + | ||
- | 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 {{ : | + | |
- | + | ||
- | 1. Edit [[simulation settings]]. Set | + | |
- | + | ||
- | * **Time unit**: Days | + | |
- | * **Time mode**: Time | + | |
- | * **Start time**: 0.0 | + | |
- | * **End time**: 100.0 | + | |
- | * **Start date**:2000-01-01 | + | |
- | + | ||
- | * **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//. | + | |
- | + | ||
- | 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 //" | + | |
- | + | ||
- | 5. Add a transfer from //Soil// to //Sky// and set its equation to //" | + | |
- | + | ||
- | 6. When run, the model will output a Sky and Soil concentration like this: | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Continue with [[tutorial - time events - monthly max|Next]] | + | |
===== See also ===== | ===== See also ===== |