This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial_5-using_a_general_variable [2019/11/18 13:34] 127.0.0.1 external edit |
tutorial_5-using_a_general_variable [2023/03/27 16:50] (current) dmytroh |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tutorial 5-Using a general variable ====== | + | ====== Tutorial 5 - Using a general variable ====== |
===== 2/5 ===== | ===== 2/5 ===== | ||
- | - Download the file [[Soil_Dose.eco|Soil_Dose.eco]] and open it in Ecolego by clicking the {{: | + | Ordered List Item |
- | The agricultural sub-system has a transfer named “Deposition”. The deposition rate is defined as a parameter, making it impossible to run a simulation with a time-varying deposition rate – for instance contamination during a limited time. You will create a [[General_Variable|General Variable]] that allows different ways of entering values for deposition. | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | \\ | + | - Download the file {{tutorial: |
+ | - The agricultural sub-system has a transfer named “Deposition”. The deposition rate is defined as a parameter, making it impossible to run a simulation with a time-varying deposition rate – for instance contamination during a limited time. You will create a [[General_Variable|General Variable]] that allows different ways of entering values for deposition. | ||
+ | - Open the [[Sub-system|sub-system]] // | ||
+ | - Rename the [[parameter|parameter]] //depRate// to // | ||
+ | - Create a [[General_Variable|General Variable]]. | ||
+ | - Edit the [[General_Variable|General Variable]]. | ||
+ | - Name it “depRate”. | ||
+ | - Make the [[General_Variable|General Variable]] a **vector** (dimension 1-dependency) | ||
+ | - In the list **Available objects**, move the [[Parameter|Parameter]] // | ||
+ | - Select the // | ||
+ | |||
+ | {{tutorial_5_1.png}} | ||
+ | {{tutorial_5_2.png}} | ||
+ | |||
+ | Edit the [[Transfer|Transfer]] // | ||
+ | |||
**Next** | **Next** | ||
Line 31: | Line 31: | ||
**Previous** | **Previous** | ||
- | * [[Tutorial_5-Re-useable_Components|Re-useable components]] | + | * [[Tutorial_5-Re-useable_Components|Re-useable components |
**References** | **References** | ||
* [[Tutorials|Back to Tutorials]] | * [[Tutorials|Back to Tutorials]] | ||
- | * [[Ecolego_Wiki|Home]] | + | * [[start|Home]] |