Skip to content

Modelica libraries for experimental tool-generic FMU import to solve the online-minimum problem (presented at the 17th meeting of the Modelica Users’ Group Saxony)

License

Notifications You must be signed in to change notification settings

beutlich/LastLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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 are 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

Modelica libraries for experimental tool-generic FMU import to solve the online-minimum problem (presented at the 17th meeting of the Modelica Users’ Group Saxony)

Topics

Resources

License

Stars

Watchers

Forks

Languages