Skip to content

OpenModelica parameter estimation on top of OMSimulator

Notifications You must be signed in to change notification settings

OpenModelica/OMSysIdent

Repository files navigation

OMSysIdent - OpenModelica Parameter Estimation License: OSMC-PL

OMSysIdent is a module for the parameter estimation for linear and nonlinear parametric dynamic models (wrapped as FMUs) on top of the OMSimulator API. It uses the Ceres solver for the optimization task. It is part of the OpenModelica tool suite.

The module provides a Python scripting API as well a C API. They are documented in the OpenModelica User's Guide. Examples for using these APIs can be found below the testsuite directory.

Notice that this module was previously part of OMSimulator. It has been extracted out of the OMSimulator project and reorganized as a separate project in September 2020. As of 2020-10-07 the project is working on Linux but some more efforts are needed for migrating the Windows build and make the build and usage of the module more convenient.

Dependencies

  • OMSimulator
  • cmake
  • Optional - Python for using the Python scripting API
  • Included 3rdParty libraries
    • Ceres Solver
    • Eigen
    • gflags
    • glog

Build

Prerequisites:

  1. The OMSimulator project needs to be cloned and build.

  2. OMSysIdent needs to be cloned so that it shares the same parent directory with OMSimulator.

Linux

  1. Build the included 3rdParty libraries

    make -j4
  2. Build OMSysIdent

    mkdir build
    cd build
    cmake ..
    make -j4
    make install

Notice that make install will default to a relative installation at install/${PLATFORM_STRING} within the OMSysIdent project directory.

Windows

To Be Done