User Tools

Site Tools


tutorial_1-creating_the_model_objects

Differences

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

Link to this comparison view

Next revision
Previous revision
tutorial_1-creating_the_model_objects [2019/11/18 13:34]
127.0.0.1 external edit
tutorial_1-creating_the_model_objects [2023/03/13 13:03] (current)
dmytroh
Line 1: Line 1:
-====== Tutorial 1-Creating the model objects ======+====== Tutorial 1 - Creating the model objects ======
  
  
Line 7: Line 7:
 **Creating a project** **Creating a project**
  
-  - Create a new project by clicking the {{:New24.png|New}}**New** button on the [[Toolbar|Toolbar]] or by selecting **File | New** from the [[Menu_bar|Menu bar]]. +  - Create a new project by clicking the {{:New24.png|New}}**New** button on the [[Menu_bar#Toolbar|toolbar]] or by selecting **File | New** from the [[Menu_bar|Menu bar]]. 
-  - Make sure that the [[Modeling_layout|Modeling layout]] is visible by clicking the {{:MatrixView24.png}} **Modelling** button on the [[Toolbar|Toolbar]].+  - Make sure that the [[Modeling_layout|Modeling layout]] is visible by clicking the {{:MatrixView24.png}} **Modelling** button on the [[Menu_bar#Toolbar|toolbar]].
  
 \\ \\
Line 39: Line 39:
  
   - Make sure that the [[Blocks_window|Blocks window]] is visible by selecting **Window | Blocks** from the [[Menu_bar|Menu bar]]. The window should list the three [[Block|Block]]s that you have already created: //Income//, //Sales// and //Fees//.   - Make sure that the [[Blocks_window|Blocks window]] is visible by selecting **Window | Blocks** from the [[Menu_bar|Menu bar]]. The window should list the three [[Block|Block]]s that you have already created: //Income//, //Sales// and //Fees//.
-  - Either select “Expression” from the **Type** drop-down list and click the {{:New24.png|New}}**New** button on the [[Title_bar|Title bar]], or right-click the window and select **Create | Expression** from the pop-up menu.+  - Either select “Expression” from the **Type** drop-down list and click the {{:New24.png|New}}**New** button on the [[windows#Title_bar|title bar]], or right-click the window and select **Create | Expression** from the pop-up menu.
   - In the table, click the **Name** field for the newly created [[Expression|Expression]] and write “Profit”.   - In the table, click the **Name** field for the newly created [[Expression|Expression]] and write “Profit”.
   - Next, click the **Value** field for the [[Expression|Expression]] and write “Income - Expenses”. Like before, Ecolego will discover unknown objects when you click //Enter//. The unknown object is “Expenses”; select “Expression” from the **Type** drop-down list. Click **Ok** to close the window.   - Next, click the **Value** field for the [[Expression|Expression]] and write “Income - Expenses”. Like before, Ecolego will discover unknown objects when you click //Enter//. The unknown object is “Expenses”; select “Expression” from the **Type** drop-down list. Click **Ok** to close the window.
Line 54: Line 54:
 **Using the [[Expression_editing_tool|Expression editing tool]]** **Using the [[Expression_editing_tool|Expression editing tool]]**
  
-  - Instead of writing the expression for the //Tax// [[Expression|Expression]] directly, right click the //Tax// block in the table and select **Edit** from the pop-up menu.+  - Instead of writing the equation for the //Tax// [[Expression|Expression]] directly, right click the //Tax// block in the table and select **Edit** from the pop-up menu.
   - Make sure that the **Values** tab is selected.   - Make sure that the **Values** tab is selected.
  
 |Note|Instead of double-clicking income, try to use auto-completion: write "i" and press space, use the arrow keys to select Income and press enter. Read more [[Expression_editing_tool|here]]| |Note|Instead of double-clicking income, try to use auto-completion: write "i" and press space, use the arrow keys to select Income and press enter. Read more [[Expression_editing_tool|here]]|
  
-  - Click the **Expression** field of the table. The [[Expression_editing_tool|Expression editing tool]] will appear to assist you when writing the expression. As you see, there is a list of all [[Block|blocks]] of your model. Double-click //Income// to add it to the expression. Click the asterix (’*’) on the key-pad, and then write “TaxRate” so that the full expression becomes “Income * TaxRate”. When you press //Enter// and the “Unknown values” window appears, select “Parameter” for //TaxRate//.+  - Click the **Equation** field of the table. The [[Expression_editing_tool|Expression editing tool]] will appear to assist you when writing the expression. As you see, there is a list of all [[Block|blocks]] of your model. Double-click //Income// to add it to the expression. Click the asterix (’*’) on the key-pad, and then write “TaxRate” so that the full expression becomes “Income * TaxRate”. When you press //Enter// and the “Unknown values” window appears, select “Parameter” for //TaxRate//.
   - Click **Ok** to close the windows.\\   - Click **Ok** to close the windows.\\
 \\ \\
Line 77: Line 77:
  
   * [[Tutorials|Back to Tutorials]]   * [[Tutorials|Back to Tutorials]]
-  * [[Ecolego_Wiki|Home]]+  * [[start|Home]]
  
  
tutorial_1-creating_the_model_objects.1574080464.txt.gz · Last modified: 2019/11/18 13:34 by 127.0.0.1