Questions tagged [fmi]

FMI stands for Functional Mockup Interface. It is a standard for model exchange and co-simulation.

Functional Mock-up Interface (FMI) is a tool independent standard to support both model exchange and co-simulation of dynamic models using a combination of xml-files and compiled C-code (see overview in PDF or PPT format). The first version, FMI 1.0, was published in 2010. The FMI development was initiated by Daimler AG with the goal to improve the exchange of simulation models between suppliers and OEMs. As of today, development of the standard continues through the participation of 16 companies and research institutes. FMI is supported by over 50 tools and is used by automotive and non-automotive organizations throughout Europe, Asia and North America.

Additional information can be found at the FMI website.

191 questions
0
votes
1 answer

FMU export of c code with structure as an input argument

My research project group is trying to export matlab code as FMU. One of the way we came up with is generating c code from matlab script and export c code as FMU. I am curious if there is any tool for packaging c code as an FMU? If there is not, is…
0
votes
0 answers

FMU Generation in Adams to co-simulate with MATLAB ERROR

When I try to Export an Adams 2013.2 Model as a .fmu file for co-simulation I get an error that reads: "ERROR: A problem occured while generating FMU. The FMU file is not generated proplerly." I have tried changing variables around but to no…
0
votes
1 answer

FMU from Simulink model can't handle inputs?

I have been working on a way to export models from Simulink to a FMU, which we will open source when we have a not-so-buggy version. Me and a collegue finally got a working version and extracted our first FMU from just a zip. As it turns out, we…
Kvixen
  • 47
  • 7
0
votes
2 answers

Directional derivatives error (FMU for model exchange)

I'm using FMUs generated by OpenModelica from FMPy and PyFMI. When I try to get directional derivatives from the FMUs, there are crashes (with both libraries). The FMUs are generated from console: c:\openmodelica1.13.0-dev-64bit\bin\omc -n=1…
Neotake
  • 79
  • 7
0
votes
1 answer

OpenModelica FMU for Model Exchange - Parallelized?

Is the FMU for Model Exchange code (generated by OpenModelica) parallelized? If I want parallelization, must I run different FMUs for Co-Simulation in parallel? Thanks
Neotake
  • 79
  • 7
0
votes
1 answer

ImportError with pyfmi

I am tying to use pyfmi on our universities Linux HPC cluster. Building the FMILibrary and also installing pyfmi does not throw any error. However I get the below error message when trying to import pyfmi in python: File…
Markus
  • 63
  • 6
0
votes
0 answers

Set "advanced" FMU parameters in Matlab

I have implemented some FMUs via the FMI-Toolbox in my Simulink model. I'm currently trying to set the values from the "Advanced" tab in the FMU settings, in particular the sampling interval. From my understanding, the parameters and start values…
0
votes
0 answers

PyFMI: During load_fmu() call for FMU 2.0, Python stopped working with exception code 0xc0000005

I am using PyFMI as a FMU master for testing my tool which is acts as a FMU 2.0 slave. When i call load_fmu('fmuFile.fmu', log_level=5) function for loading the fmu, python.exe is crashing . When i check event viewer it is showing the exception…
0
votes
1 answer

Array parameters in FMI 2.0

In FMI 2.0, array parameters are serialized to scalar variables. Importing tools can display them as arrays, but their size is fixed and their handling is inefficient. Better array support is currently in development by a working group of the FMI…
0
votes
1 answer

simulation error of FMU with FMU_SDK

I tried to export the fmu that I created from the file.c and XML But I do not know why I have this problem when I try to simulate" Illegal element outputs"
Mary13
  • 3
  • 2
0
votes
3 answers

using the FMU in fmu_sdk

I have a small code in C that I want to use to call the IMF functions of fmu_sdk in order to be able to export my model in FMU. If you could tell me how the functions I need to use, here is my program: best regards Mary
Mary13
  • 3
  • 2
0
votes
1 answer

FMI - C standard library version differences cause linking errors

I have a publicly-available FMU for which I am trying to link the embedded .so file with the rest of my program. (This is contained within the .fmu file if you view as an archive.) During the linking phase I am getting the following undefined…
0
votes
1 answer

EnergyPlus FMU in Simulink

I am trying to integrate a building modeled in EnergyPlus inside Simulink. Wanting to start simple I began from the example files provided by the developers of the .fmu software LINK and successfully generated a .fmu file of a building. I then…
mccoy89
  • 21
  • 6
0
votes
1 answer

Run FMU simulation using FMI Library

I have an FMU zip file which I exported from Openmodelica. I am a quite newbie with FMUs and FMI and could not find the way in the documentation how to run a simulation using FMI Library. In FMU SDK, it is easier to run an FMU zip file through…
0
votes
1 answer

IOException in Rhapsody FMI

I'm trying to generate an FMU of a block in IBM Rational Rhapsody using it's FMI profile, but everytime I generate de FMU I get the following error: FMUPlugin.OnMenuItemSelect ("FMU\Generate FMU") Export menu All Checks Terminated…
m.dorian
  • 489
  • 1
  • 6
  • 24
1 2 3
12
13