Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
lesson_11 [2020/02/14 19:24]
argemiro
lesson_11 [2020/02/17 13:20]
pedrog
Line 35: Line 35:
 \\ \\
 \\ \\
-You will see:+  * You will see:
 \\ \\
 \\ \\
Line 41: Line 41:
 \\ \\
 \\ \\
-===Now, We can use this submodel in an independent model===+===Using the submodel in an independent model===
 \\ \\
 +   * Previously, the submodel only calculated productivity for crop 3. Now, we must give the user the option to choose the crop to be analyzed. For this, it is necessary to create an entry where it will be possible to specify the crop to be analyzed (1, 2 or 3). 
 \\ \\
-   * Previously, the submodel only calculated productivity for crop 3. Now, we must give the user the option to choose the crop to be analyzed. For this, is necessary create an entry where it will be possible enter with that refers to crop to be analyzed (1, 2 or 3).  +\\ 
- \\ +<note important>​ 
- \\ +To edit the submodel creating this input for the submodel, you need to open the submodel by clicking on its name in the lateral bar
-<note important>​To edit the submodel creating this input for the submodel, you need to open the submodel by clicking on its name in the lateral bar</​note>​+</​note>​
 \\ \\
 \\ \\
Line 55: Line 56:
 {{ :​aaa3.png?​600 |}} {{ :​aaa3.png?​600 |}}
 \\ \\
-  * On the top bar of the Functor integer value, click on the option Export functor inputs and outputs, and, in the new window, double-click the editor icon (pencil) and enter the name "crop". Click Ok:+  * On the top bar of the Functor integer value, click on the option Export functor inputs and outputs, and, in the new window, double-click the editor icon (pencil) and enter the name "Crop". Click Ok:
 \\ \\
 {{ :​aaa6.png?​600 |}} {{ :​aaa6.png?​600 |}}
 \\ \\
-  * After including the changes, click on Apply changes / Update ​Submodel Properties as shown in the image below and click OK:+  * After including the changes, click on Apply changes / Edit Submodel Properties as shown in the image below and click OK:
 \\ \\
 {{ :​aaa10.png?​600 |}} {{ :​aaa10.png?​600 |}}
Line 72: Line 73:
 \\ \\
 \\ \\
-  * To insert our previously created Submodel, first, click on the Local Submodels tab and from the library window grab Calc Most Productive year Submodel ​and place it on the sketch. ​+  * To insert our previously created Submodel, click on the Local Submodels tab and from the library window grab the Calc Most Productive year submodel ​and place it on the sketch. This will import the submodel, click ok on the prompted warning.
 \\ \\
 \\ \\
-  * We want to calculate the most productive year for each crop; thus, we will use this Submodel 3 times, i.e. for the crops 1, 2 and 3. For this, Double click in each submodel loaded and inserts ​the number that corresponds to each crop choose, as the image bellow+  * We want to calculate the most productive year for each crop; thus, we will use this Submodel 3 times, i.e. for the crops 1, 2 and 3. For this, Double click in each submodel loaded and insert ​the number that corresponds to each crop, as the image below
 \\ \\
 {{ :​aaa7.png?​600 |}} {{ :​aaa7.png?​600 |}}