Hopsan / hopsan

Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Apache License 2.0
157 stars 43 forks source link

Improve and extend HDF5 export support #1515

Open hopsan-bot opened 6 years ago

hopsan-bot commented 6 years ago

Author Name: Peter Nordin (@peterNordin) Original Redmine Issue: 1515, https://flumes.iei.liu.se/redmine/issues/1515 Original Date: 2014/07/01


HDF5

http://en.wikipedia.org/wiki/Hierarchical_Data_Format ??HDF5 is a file format designed to store and organize large amounts of numerical data. ... the HDF format, libraries and associated tools are available under a liberal, BSD-like license for general use. HDF is supported by many commercial and non-commercial software platforms, including Java, MATLAB, Scilab, Octave, IDL, Python, and R. The freely available HDF distribution consists of the library, command-line utilities, test suite source, Java interface, and the Java-based HDF Viewer (HDFView).?? http://www.hdfgroup.org/

Ideas

Hopsan shall be able to export all simulation results to a HDF5 file.

Purpose

This will enable to use external tools to analyse and to present the simulation results. HDF5 files can be read by many tools in a fast and efficient way.

HopsanCLI shall use HDF5 to save results.

Purpose

The CLI shall produce the same result files as the GUI to ease work with external tools.

Hopsan shall export all simulation results to HDF5 automatically during / after simulation.

This shall be a configurable option.

Purpose

The results can directly be used by external tools to analyse and to present the simulation results.

Hopsan shall be able to save all simulation points (no decimation).

Hopsan shall save additionally to the simulation results information about Hopsan, the model, the simulation to the HDF5 file.

e.g.: system parameter, component parameter, ...

Purpose

This information will be useful for reproducibility and analysis.

Question: Shall all generations be saved in one file?

Hopsan shall be able to export plots to HDF5.

hopsan-bot commented 6 years ago

Original Redmine Comment Author Name: Peter Nordin (@peterNordin) Original Date: 2017/10/04 20:44:17 +0200


Use subtasks for individual improvements.