Differences

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

Link to this comparison view

Both sides previous revision Previous revision
select_lookup_table [2015/10/13 01:38]
admin
select_lookup_table [2026/08/28 03:32] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== Select Lookup Table ====== ​+====== Select Lookup Table ======
  
 ===== Description ===== ===== Description =====
  
-This container ​picks up a lookup table from a series of tables.+Container that picks one lookup table out of a series ​connected inside it, based on the current step. Each candidate table must be connected through a [[Number Table]] hook, whose number identifies the step at which that table takes over. A table begins being selected once the model step reaches its number, and remains selected until the step reaches the number ​of another connected table, allowing one lookup table to be swapped for another during a model'​s execution.
  
 ===== Inputs ===== ===== Inputs =====
 +
 +None.
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
 ^ Name  ^ Type  ^ Description ​ ^ Default Value  ^ ^ Name  ^ Type  ^ Description ​ ^ Default Value  ^
-| Step  | [[Positive Integer Value Type]] ​ | Current step or model iteration.  | 1  |+| Step  | [[Positive Integer Value Type]] ​ | Step used to pick the lookup table, automatically bound to the innermost compatible container.  | 1  |
  
 ===== Outputs ===== ===== Outputs =====
  
 ^ Name  ^ Type  ^ Description ​ ^ ^ Name  ^ Type  ^ Description ​ ^
-| Table  | [[Lookup Table Type]] ​ | lookup table. ​ |+| Table  | [[Lookup Table Type]] ​ | Selected ​lookup table. ​ |
  
 ===== Group ===== ===== Group =====
Line 21: Line 23:
 [[Functor List#Stack | Stack]] [[Functor List#Stack | Stack]]
  
-===== Notes ===== +===== Notes =====
  
-This container allows replacement of one lookup table with another during ​model execution. Any lookup table inside this container will begin to be used by a simulation according to its number identifier and will continue to be used until the model step reaches the number identifier of another lookup table inside ​the same container.+Only [[Number Table]] hooks connected to a lookup table can be used inside ​this container.
  
-Each lookup table inside ​the "​Select Lookup Table" must be provided by a corresponding [[Number Table]].+The selected ​lookup table is the one with the greatest number identifier that is still less than or equal to Step.
  
-===== Internal Name ===== +===== Internal Name =====
  
 SelectLookupTable SelectLookupTable