This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This converter uses the Modelica CombiTable format to read in a 1-D table function from file. For more explanation regarding the 1-D Modelica CombiTable interpolation see Modelica.Blocks.Tables.CombiTable1Ds.
For more convenience, the input u to and the ouput from the lookup table can be converted into different units. This typically applies to rates and times which in non-technical modeling will typically not be referenced in SI-units (e.g., s
).
The Modelica CombiTable format can be generated by Wolfram Mathematica using Export[]:
Export[ filename, { {"TableName1", table1}, {"TableName2", table2}, ... }, "MCTT" ]
where table1, table2, ...
are 2-dimensional arrays. By default all lookup data are assumed to be included in a single file whose name is given by the global parameter lookupDataFileURI
.
TableFunctionVector, LinearTimeTable