LBNL-ETA / SimulatorToFMU

42 stars 10 forks source link

Wrong results of DIY function use the _wrapper.py #42

Closed richman2024 closed 1 year ago

richman2024 commented 2 years ago

Hi,

When I want to export a FMU which function is defined by myself, the results are not correct. For example, just changed "+1" to "+2" in the "doTimeStep" function of the "simulator_wrapper.py". But the result of output didn't change(the result is 503). Could you help to describe how to export a FMU that contains DIY functions?

Thank you for your support in advance!

tsnouidui commented 2 years ago

What does DIY stand for? Which tool did you use to export your FMU? Which tool did you use to run the exported FMU? Could you share the code you have used to run the generated FMU