User Tools

Site Tools


constants_editing_tool

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
constants_editing_tool [2023/02/14 10:12]
daria
constants_editing_tool [2023/02/14 15:42] (current)
daria
Line 1: Line 1:
 ====== Constants editing tool ====== ====== Constants editing tool ======
  
-Is appeared when in the [[editing_values]|Values window]]  **Toogle** tab is clicked and presented by table **Editor**.+Is appeared when in the [[editing_values]|Values window]]  **Toogle** tab is clicked and presented by table **Editor** in the consntant blocks such as [[parameter]|parameter]] etc.. 
 +The constants editing tool appears when a table cell is clicked that contains a number. It can be hidden by clicking the **Toggle** button, as shown in the screen shot below.
  
-In the consntant blocks such as [[parameter]|parameter]] etc. in the Constants editing tool is presented **Keypad** and **Unit conversion**. +The editor contains two toolsBy using the buttons in the toolbar you can select which tools to show. 
 +{{:constants_edit_tool.png?500|Constants editing tool}}
  
-**Unit conversion** allows user to convert [[units]|built-in units]] units mannualy.+===== Keypad Keypad =====
  
 +|Note|For more information about conditions see [[Expression_syntax|expression syntax]]|
  
 +Use the keypad with the mouse to enter a value or an operator without having to use the keyboard.
  
-In case of calculated blocks such as [[connector]|connector]], [[expression]|expression]] next columns are presented in the **Editor** +|**&&** |**The logical operator AND is used in conditions. For instance (time>100 && Comp1<1000)*TF.**          | 
 +|**||** |**The logical operator OR is used in conditions. For instance (time<10 || time>90)*TF.**        | 
 +|**== **|**The logical operator EQUALS is used in conditions. For instance "(plantType==Vegetable)*TF".**        | 
 +|**~=** |**The logical operator NOT EQUALS is used in conditions. For instance "(height~=0)*(volume/height)".** 
 +|**<--**|**Backspace.**                                                                                          | 
 +|**< ** |**The logical operator LESS THAN is used in conditions. For instance "(Comp1<Max_Conc)*TF".**           | 
 +|**<= **|**The logical operator LESS THAN OR EQUAL is used in conditions. For instance "(Comp1<=Max_Conc)*TF".** | 
 +|**>=** |**The logical operator GREATER THAN OR EQUAL is used in conditions. For instance "(time>=10)*TF".**     | 
 +|**> ** |**The logical operator GREATER THAN is used in conditions For instance "(time>time_for_accident)*TF".** | 
 +|**<-** |**Left. Move the cursor one character to the left.**                                                     |                                                      
 +|**^**  |**The power function For instance, "10^a" is an alternative way of writing "power(10,a)". **            | 
 +|**->** |**Right Move the cursor one character to the right.**                                                   |
  
 +=====  Unit conversion =====
  
- **Item** – presents the name of block or function.+This tool lets you convert a numerical value from one unit to another (compatible) unit.
  
- **Value** –  in case of blocks presents Value+  * **From** - The original unit 
 +  **Value** - The original value 
 +  * **To** - The target unit 
 +  * **Result** - The converted value 
 +  * **Apply** - Copies the results into the selected cell in the table.
  
- **Unit**  –  in case of blocks presents the unit of block. 
  
- **Full name** – in case of blocks presents the Full name of block. In case of function the name of function is presented.  
  
- **Description** – presents the description of function in case of functions and description of block (if it is able).  
  
- **Type** – in case of block shows type of block (Compartment, Expression etc.) and in case of function type is functions.  
- 
-Presents the list of all available in Ecolego [[Function|functions]] with short description as well all presented blocks in the model (except [[connector]|connectors]], [[model_input]|inputs]] and [[model_output]|outputs]]). 
- 
-User selects the needed function or block from the list and doubleclick on in in the **Editor**. After that block or function is inserted into the** Value** column.  
  
constants_editing_tool.1676365940.txt.gz · Last modified: 2023/02/14 10:12 by daria