User Tools

Site Tools


id

Differences

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

Link to this comparison view

Next revision
Previous revision
id [2019/11/18 13:34]
127.0.0.1 external edit
id [2023/02/28 15:12] (current)
dmytroh
Line 16: Line 16:
 Because only the ID of a block must be unique, the model may contain several blocks with the same [[Name|name]], as long as they are put in different [[Sub-system|sub-systems]]. Because only the ID of a block must be unique, the model may contain several blocks with the same [[Name|name]], as long as they are put in different [[Sub-system|sub-systems]].
  
-When referencing a [[Block|block]] in an equation by [[Name|name]], Ecolego first looks in the sub-system of the block whose equation you edit. If it there is no block with that name in the sub-system, the [[Root_sub-system|root sub-system]] is searched. If no block is found there either, an error message is presented.+When referencing a [[Block|block]] in an equation by [[Name|name]], Ecolego first looks in the sub-system of the block whose equation you edit. If it there is no block with that name in the sub-system, the [[parent_sub-system#Root sub-system|root sub-system]] is searched. If no block is found there either, an error message is presented.
  
 If you want to explicitly reference a block in another sub-system you must use the ID of the block. For instance, using the hierarchy above, if you want to create an [[Expression|expression]] in the sub-system //France// which uses the parameter //Price//, you must write the full ID of the parameter: If you want to explicitly reference a block in another sub-system you must use the ID of the block. For instance, using the hierarchy above, if you want to create an [[Expression|expression]] in the sub-system //France// which uses the parameter //Price//, you must write the full ID of the parameter:
Line 23: Line 23:
 ===== See also ===== ===== See also =====
  
-  * [[Parent_sub-system|Parent sub-system]] +  * [[Parent_sub-system|Parent sub-system and Root sub-system]]
-  * [[Root_sub-system|Root sub-system]]+
   * [[Name|Name]]   * [[Name|Name]]
   * [[Sub-system|Sub-system]]   * [[Sub-system|Sub-system]]
id.1574080455.txt.gz · Last modified: 2019/11/18 13:34 by 127.0.0.1