Building a Dynamic Lookup
Table
Because all the values defining a Lookup Table must be constants, the definition of the table cannot change dynamically.
In some situations, however, you may need to change the definition of the table as a function of time. There are two ways to build dynamic lookup table logic:
-
You can define multiple Lookup Table elements, and use if,then logic to switch between the different tables as a function of time; or
-
You can use a vector A one-dimensional array. to define a lookup table. GoldSim provides several array A collection of variables that share common output attributes and can be manipulated in GoldSim elements or input expressions. functions that allow you to interpolate into the entries in a vector. Since vector entries can change with time, this allows you to use this functionality to create a dynamic lookup table.
Learn more
- Building a Dynamic Lookup Table
- Controlling Interpolation and Extrapolation for a Lookup Table
- Importing 1-D Lookup Table Data from a Text File
- Importing 2-D Lookup Table Data from a Text File
- Importing 3-D Lookup Table Data from a Text File
- Returning the Minimum or Maximum Value of the Dependent Variable
- Specifying Data in a 1-D Lookup Table Manually
- Specifying Data in a 2-D Lookup Table Manually
- Specifying Data in a 3-D Lookup Table Manually
- Steps for Defining a Lookup Table