Reputation: 21
I am trying to use the fmi4cpp API in C++ to run a simulation from a FMU and I would like to set some input parameters. What's the best way to do that for (1) fixed parameters and (2) continuous inputs? I bumped into the fmi2SetReal function but I struggle finding practical examples.
Thank you very much.
Upvotes: 0
Views: 261
Reputation: 96
Using fmi4cpp, the call to fmi2SetReal is handled through the write_real
functions in your slave instance. Location in source
Upvotes: 1