ghorwin / FMICodeGenerator

A Code Generator that creates native C/C++ code to build Functional Mock-Up Units (FMU) with support for FMI version 2.0 (rollback)
BSD 3-Clause "New" or "Revised" License
51 stars 25 forks source link

How to pass parameter to fmu? #44

Closed AlexLuya closed 1 year ago

AlexLuya commented 1 year ago

Does FMUChecker provide this feature?Or should I find another checker?

ghorwin commented 1 year ago

Of course, just define an FMU variable of type 'parameter'.

AlexLuya commented 1 year ago

Thanks,question is how to set value to "parameter" by FMUChecker?

ghorwin commented 1 year ago

Don't know FMUChecker in detail... maybe check the documentation of FMUChecker?

Otherwise use a real FMI Co-Simulation-Master, see for example (https://github.com/ghorwin/MasterSim)[MasterSim].