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
Next revision Both sides next revision
lesson_11 [2020/02/14 18:50]
argemiro
lesson_11 [2020/02/14 19:11]
argemiro
Line 54: Line 54:
 \\ \\
 {{ :​aaa3.png?​600 |}} {{ :​aaa3.png?​600 |}}
 +\\
 +  * On the top bar of the Functor integer value, click on the option Eport functor inputs and outputs, and, in the new window, double-click the icon for eduction (pencil) and enter the name "​crop"​. Click Ok:
 +\\
 +{{ :​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 / Update Submodel Properties as shown in the image below and click OK:
Line 60: Line 64:
   {{ :​aaa4.png?​600 |}}   {{ :​aaa4.png?​600 |}}
 \\ \\
 +Next, click OK:
 {{ :​aaa5.png?​600 |}} {{ :​aaa5.png?​600 |}}
 \\ \\
Line 71: Line 76:
 \\ \\
 \\ \\
-  * 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 inserting ​the number that corresponds to each crop on the Integer value functor, as the imagem ​bellow. To save the results to a file, grab three **Save Table** functors, place them on the sketch and connect to each Submodel (for the three crops). Open **Save Table** Functors, browse to the ''​Guidebook_Dinamica_5/​Models/​Set_2/​basics/​6_submodel''​ and write the file names (e.g. most_productive_year_for_crop_1.csv, ​ most_productive_year_for_crop_2.csv and most_productive_year_for_crop_3.csv).+  * 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. ​ 
 +\\ 
 +{{ :​aaa7.png?​600 |}} 
 +\\ 
 +  * To save the results to a file, grab three **Save Table** functors, place them on the sketch and connect to each Submodel (for the three crops). Open **Save Table** Functors, browse to the ''​Guidebook_Dinamica_5/​Models/​Set_2/​basics/​6_submodel''​ and write the file names (e.g. most_productive_year_for_crop_1.csv, ​ most_productive_year_for_crop_2.csv and most_productive_year_for_crop_3.csv).
 \\ \\
 \\ \\
Line 78: Line 87:
 <​note>​The red box highlights the window in which the crop should be chosen</​note>​ <​note>​The red box highlights the window in which the crop should be chosen</​note>​
 \\ \\
-{{ :guide_04.png?600 |}}+{{ :aaa8.png?700 |}}
 \\ \\
 \\ \\