Input
  • rowIndexLookupVariable
  • columnIndexLookupVariable
Coefficient set
  • interpolationType
  • extrapolationType
  • rowIndexLookupTable
  • columnIndexLookupTable
  • outputLookupTable
Output
  • output
Description

The output value will determined by looking up an output value in the output lookup table. To calculate the output value the position of the output in the outputLookupTable must be calculated.

First the row position will be calculated. The input time series rowIndexLookupVariable provides the lookup value for the rowIndexLookupTable which is a simple 1-dimensional lookup table which will provide the row position. In the same way the column position will be calculated. The lookup value will be provided by the columnIndexLookupVariable time series and the column position will be calculated by doing a simple table lookup in the columnIndexLookupTable with the lookup value.

When the row position and the column position of the output value in the outputLookupTable are determined it is possible to calculate the output value. By doing a linear interpolation between the 4 surrounding nodes in the outputLookupTable the output value will determined.  

Configuration Example
config example twoDimensionalTable
   <transformation id="simpleTableLookup">
      <lookup>
         <twoDimensionalTable>
            <rowIndexLookupVariable>
               <variableId>H1</variableId>
            </rowIndexLookupVariable>
            <columnIndexLookupVariable>
               <variableId>H2</variableId>
            </columnIndexLookupVariable>
            <coefficientSet>
               <interpolationType>linear</interpolationType>
               <extrapolationType>extrapolate</extrapolationType>
               <rowIndexLookupTable>1 3 5</rowIndexLookupTable>
               <columnIndexLookupTable>1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6</columnIndexLookupTable>
               <outputLookupTable>
                  <lookupTableRow>.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6</lookupTableRow>
                  <lookupTableRow>14.4 16.22 16.65 17.04 17.32 17.56 17.80 17.99 18.14 18.32</lookupTableRow>
                  <lookupTableRow>24.4 26.22 26.65 27.04 27.32 27.56 27.80 27.99 28.14 28.32</lookupTableRow>
               </outputLookupTable>
            </coefficientSet>
            <output>
               <variableId>H3</variableId>
            </output>
         </twoDimensionalTable>
      </lookup>
   </transformation>
  • No labels