Skip to content
forked from beutlich/LastLib

Experimental Modelica library for tool-generic FMU import (presented at the 17th meeting of the Modelica Users’ Group Saxony)

License

Notifications You must be signed in to change notification settings

fmi-tools/LastLib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastLib

Experimental Modelica library for tool-generic FMU import to determine the online-minimum of a transient variable. It was first presented at the 17th meeting of the Modelica Users’ Group Saxony.

Library description

LastLib consists of tool-specific Modelica wrappers for the imported Last.fmu to obtain the value of the last valid simulation step.

An overview of the library and early experiments is provided in

Thomas Beutlich. Experiments and an FMI Idea on the Online-Minimum Problem. Presentation given at the 17th Modelisax Meeting, Dresden, Germany, November 2017. URL: tinyurl.com/lastlibfmu.

Supported Modelica tools

  • Dymola (both Linux and Windows)
  • OpenModelica (with C runtime)
  • SimulationX

Example

The primary use-case of LastLib is the calculation of the online-minimum. The provided example model MinimumTest.Test demonstrates the usage of the LastLib within the minimum block MinimumTest.Minimum.

Minimum Plot

License

LastLib is released under the terms of the Simplified BSD License.

Acknowledgement

  • The Last.fmu is based on the FMU SDK.

Development and contribution

You may report any issues with using the Issues button.

Contributions in shape of Pull Requests are always welcome.

About

Experimental Modelica library for tool-generic FMU import (presented at the 17th meeting of the Modelica Users’ Group Saxony)

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Modelica 67.5%
  • C 32.1%
  • Other 0.4%