You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the example fmpy/examples/custom_input.py very helpful, but wanted to use a FMI 3.0 FMU and it seems that the API changed.
I propose to add another example that uses a FMI 3.0 FMU.
The text was updated successfully, but these errors were encountered:
To get you started, I was able to just make a few simple swaps to my script for FMI2 (based on the custom_input.py file you mentioned). The items to change were:
fmi2.FMU2Slave to fmi3.FMU3Slave
Remove fmu.setupExperiment as that seems to have been removed.
setReal to setFloat64
getReal to getFloat64
Comment out derivative as that changed and I don't understand it yet.
First of all, thank you for this awesome project!
I found the example
fmpy/examples/custom_input.py
very helpful, but wanted to use a FMI 3.0 FMU and it seems that the API changed.I propose to add another example that uses a FMI 3.0 FMU.
The text was updated successfully, but these errors were encountered: