NTNU-IHB / FMI4cpp

FMI 2.0 implementation written in modern C++.
MIT License
93 stars 34 forks source link

How to simulate a model_exchange model? #126

Closed mycrocs closed 2 years ago

mycrocs commented 2 years ago

Should i wrap the me model to cs model first If i want to simulate a model_exchange model?

markaren commented 2 years ago

FMI4cpp provides the ME interface functions as per the standard. How you go about using that interface is up to you. Older versions had support for doing this, but I can't vouch for it's validity so it was removed.

mycrocs commented 2 years ago

Do you mean i need to assign the solver first and do something to run it like the older version did? I am new in this area. Are there any examples i can refer if i need to do so? Thanks.