OMSimulator icon indicating copy to clipboard operation
OMSimulator copied to clipboard

FMI2 and FMI3 simultaneuously

Open robha67 opened this issue 1 year ago • 5 comments

Tools support the combination of FMI2 and FMI3 compliant FMUs packaged in an SSP. FMI2 is very well established and FMI2 will likely be relevant for a long time.

robha67 avatar Sep 27 '24 08:09 robha67

  • step 1: take an FMI2 component and connect it to an FMI3 component that has limited functionality - and see how it works : use example FMUs provided by the MA, @robbr48 provides some basic examples with HOPPSAN
  • step 2: connection between 2 FMI3 components supporting FMI3 features
  • step 3: which features do we prioritise from FMI3 : terminals, arrays - organise priorities once we start working with FMI3
  • step 4: remove TLM implementation and migrate to IUM

lenaRB avatar Oct 28 '24 14:10 lenaRB

2024-11-25: @robbr48 and @lochel are preparing to adress this issue by means of integrating, and debugging, the FMI4C library.

robha67 avatar Nov 25 '24 13:11 robha67

  • update to the API for the FMI4C to support multiple instances ongoing, should be completed soon - @robbr48 working on it

lenaRB avatar Apr 14 '25 12:04 lenaRB

@robha67 will check, should be solved now

lenaRB avatar Sep 17 '25 12:09 lenaRB

@robha67 here is an small example where i connect fmi2 and fmi3 https://github.com/OpenModelica/OMSimulator/blob/master/testsuite/CompositeModels/connectFmi2AndFmi3.py

arun3688 avatar Oct 15 '25 14:10 arun3688

The example above provided by @arun3688 demonstrates the CS functionality. ME remaining.

robha67 avatar Jan 07 '26 13:01 robha67