Skip to content
A set of FMUs for development, testing and debugging
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BouncingBall Add *_ref.opt files and copy FMUs to cross-check Feb 24, 2019
Dahlquist Add *_ref.opt files and copy FMUs to cross-check Feb 24, 2019
Feedthrough Add *_ref.opt files and copy FMUs to cross-check Feb 24, 2019
LinearTransform Add *_ref.opt files and copy FMUs to cross-check Feb 24, 2019
Resource
Stair Add *_ref.opt files and copy FMUs to cross-check Feb 24, 2019
VanDerPol Add *_ref.opt files and copy FMUs to cross-check Feb 24, 2019
include Implement get / setString() Feb 24, 2019
src Implement get / setString() Feb 24, 2019
.gitignore
CMakeLists.txt
CONTRIBUTING.md
LICENSE.txt Add initial set of Test FMUs Feb 20, 2019
README.md
appveyor.yml
logo.svg
run.py
test_build.py Bump version in build script to 0.0.1 Feb 28, 2019

README.md

Test FMUs logo

Test FMUs

A set of test models for development, testing and debugging of the Functional Mock-up Interface.

Repository structure

<model>

  • config.h - model specific types and definitions
  • FMI*.xml - model descriptions
  • model.c - implementation of the model

include

  • fmi*.h - FMI header files
  • model.h - generic model interface
  • slave.h - generic co-simulation interface
  • solver.h - solver interface

src

  • euler.c - forward Euler solver
  • fmi[1,2,3].c - FMI implementation
  • slave.c - generic co-simulation

Build the FMUs

To build the FMUs you need CMake and a supported build tool e.g. Visual Studio, Xcode or make:

  • download or clone the repository

  • open the CMakeGUI

  • click Browse Source... and select the cloned or downloaded and extracted repository (that contains CMakeLists.txt)

  • click Browse Build... and select the folder where you want build the FMUs

  • click Configure and select the generator for your IDE / build tool

  • select the FMI_VERSION you want to build and optionally the FMI_TYPE (only for FMI 1.0)

  • click Generate to generate the project files

  • click Open Project or open the project in your build tool

  • build the project

The FMUs will be in the dist folder inside the selected build folder.

License and Attribution

Copyright © 2019 Dassault Systemes. All rights reserved. The code is released under the 2-Clause BSD License. The Test FMUs are forked from the FMU SDK by QTronic. The stethoscope icon in the logo by srip is licensed CC-BY 3.0.

You can’t perform that action at this time.