LOOKUP2D

2-Dimensional lookup table
Inputs(2) i1 i2
Parameters(7) Column Method NotUsed Index Format NrRows NrColumns
Default Column=2, Method=1, NotUsed=0, Index=1, Format=0, NrRows=1, NrColumns=1,
Text1 File name
Text2 Not used
Select from Components/Blocks/Functions&Tables
Function 2-Dimensional lookup table from a text based data file.The first column and the first row are the indexing values of the table, the indicated position specifies the function.
Special Using the LookUp2D a twodimensional data file can be read, for example, the efficiency of Speed-Torque curves.
ParameterValueFunction
Column(p1)2 Not used.
Method(p2)0 No interpolation between the data points.
Method(p2)1 Linear interpolation between the data points.
Repetitive(p3)0 No repetition of the data points.
Repetitive(p3)1 The data points are repeated with the modulus equal to the highest value in the first column.
Index(p4)0 The inputs i1 and i2 of the Lookup2D block are used as index in the table. The input values i1 and i2 are rounded to its round integer value, which indicates the position in the table. In this case the values in the first column and first row are ignored.
Index(p4)1 The inputs i1 and i2 of the Lookup2D block are used as index in the first column and first row of the table.
Format(p5)0Standard format.
Format(p5)1Matlab-Fortran format.
Format(p5)2Standard format, with preceding format info.
Format(p5)3Matlab no EOLN

Format(p5)=0 Standard format.

0x1x2x3..xn
y1f11f12f13..f1n
y2f21f22f23..f2n
y3f31f32f33..f3n
y.........f.n
ymfm1fm2fm3fm.fmn



Format(p5)=1 Matlab-Fortran format, where fxy and fyx are changed.

0x1x2x3..xn
y1f11f21f31..fn1
y2f12f22f32..fn2
y3f13f23f33..fn3
y.........fn.
ymf1mf2mf3mf.mfnm



Format(p5)=2 Standard format, with preceding format info.
This first line is skipped.

Format info like m and n
0x1x2x3..xn
y1f11f12f13..f1n
y2f21f22f23..f2n
y3f31f32f33..f3n
y.........f.n
ymfm1fm2fm3fm.fmn

© 2024 CASPOC, All rights reserved. Home   |   Terms and Conditions   |   Legal   |   Export Compliance   |   Privacy Policy   |   Site Map