Conference article

A new Implementation of the N-D Lookup Tables

Torsten Sommer
Modelon GmbH, Munich, Germany

Markus Andres
Modelon GmbH, Munich, Germany

Stephan Diehl
Modelon GmbH, Munich, Germany

Download articlehttp://dx.doi.org/10.3384/ecp14096885

Published in: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Linköping Electronic Conference Proceedings 96:92, p. 885-891

Show more +

Published: 2014-03-10

ISBN: 978-91-7519-380-9

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

The HDF5Table library is an open-source solution for the efficient handling; exchange and interpolating access of typical datasets in system simulation. The library consists of C-functions; python scripts and examples and can be used with different applications like Modelica or Simulink. Furthermore a comprehensive set of tools that allows the user to create; migrate; edit; compare and manage the datasets is available.

The application range covers data import from measurements or other simulations; integration of datasets in preprocessing routines; the usage of the datasets in the simulation and the post processing of simulation results. To eliminate a major source of errors after data exchange between simulation tools or different companies and to validate the datasets each dataset can have a physical unit and quantity attached to it. The table data can be easily accessed with different methods for inter- and extrapolation. To persist and exchange the data sets a subset of the HDF5 standard is used. With the HDF5 API the data access is fast for large files with many variables containing millions of values and the datasets can be opened in many other tools.

Keywords

HDF5; lookup tables; unit and quantity safety; interpolation; extrapolation

References

[1] Modelica Language Specification Version 3.3, Section 12.7, https://www.modelica.org/documents/Modeli caSpec33.pdf

[2] Call for Quotation of an Open Source Implementation of the MSL Table Interpolation Blocks, https://www.modelica.org/news_items/calltexts-to-improve-modelica-2012/2012-12-20-Call-for-quotation-for-MSLtables.pdf/at_download/file

[3] HDF5 Dimension Scale API Reference, http://www.hdfgroup.org/HDF5/doc/HL/RM_H5DS.html

[4] Proposal for a Standard Time Series File Format in HDF5, http://www.bauschgall.de/ecp12076495_PfeifferBausch-GallOtter.pdf

[5] "A new method of interpolation and smooth curve fitting based on local procedures", Journal of ACM 17, 4 (1970), 589-602

[6] HDF5 Group Interface, http://www.hdfgroup.org/HDF5/doc/RM/RM_H5G.html

[7] Modelica Newsletter by Martin Otter https://www.modelica.org/publications/newsletters/2013-2#item227

[8] matplotlib, http://matplotlib.org/

[9] NumPy, http://www.numpy.org/

[10] PyDev, http://pydev.org/

[11] Eclipse Modeling Framework, http://www.eclipse.org/modeling/emf/

[12] EMF Compare, http://www.eclipse.org/emf/compare/

Citations in Crossref