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
Last revision Both sides next revision
constants_editing_tool [2023/02/13 11:05]
daria removed
constants_editing_tool [2023/02/14 11:02]
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**.
 +
 +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. 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.
  
-{{:Constant_editing_tool.png|Screenshot}} 
 The editor contains two tools. By using the buttons in the toolbar you can select which tools to show. The editor contains two tools. By using the buttons in the toolbar you can select which tools to show.
 +{{:constants_edit_tool.png?500|Constants editing tool}}
  
 ===== Keypad Keypad ===== ===== Keypad Keypad =====
Line 12: Line 15:
 Use the keypad with the mouse to enter a value or an operator without having to use the keyboard. Use the keypad with the mouse to enter a value or an operator without having to use the keyboard.
  
-|&& |The logical operator AND is used in conditions. For instance (time>100 && Comp1<1000)*TF.           +|**&&** |**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 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 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)"+|**~=** |**The logical operator NOT EQUALS is used in conditions. For instance "(height~=0)*(volume/height)".**  | 
-|<--|Backspace                                                                                           +|**<--**|**Backspace.**                                                                                          
-|<  |The logical operator LESS THAN is used in conditions. For instance "(Comp1<Max_Conc)*TF"          | +|**** |**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 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 OR EQUAL is used in conditions. For instance "(time>=10)*TF".**     | 
-|>  |The logical operator GREATER THAN is used in conditionsFor instance "(time>time_for_accident)*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                                                     | +|**<-** |**Left. Move the cursor one character to the left.**                                                     |                                                      
-|^  |The power functionFor instance, "10^a" is an alternative way of writing "power(10,a)"           | +|**^**  |**The power function For instance, "10^a" is an alternative way of writing "power(10,a)"**            | 
-|-> |RightMove the cursor one character to the right                                                   |+|**->** |**Right Move the cursor one character to the right.**                                                   |
  
 =====  Unit conversion ===== =====  Unit conversion =====
Line 35: Line 38:
   * **Apply** - Copies the results into the selected cell in the table.   * **Apply** - Copies the results into the selected cell in the table.
  
-===== See also ===== 
  
-  * [[Expression_editing_tool|Expression editing tool]]+ 
 +In case of calculated blocks such as [[connector]|connector]], [[expression]|expression]] next columns are presented in the **Editor** 
  
  
 + **Item** – presents the name of block or function.
  
 + **Value** –  in case of blocks presents Value. 
  
 + **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.txt · Last modified: 2023/02/14 15:42 by daria