Is return False enabled in do_step()? #243
Replies: 6 comments 3 replies
-
When The issue is really that I suppose the caller then wonder what is wrong, and calls a second FMI function It is not clear to me what |
Beta Was this translation helpful? Give feedback.
-
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "moose-fmi/test/tests/controls/moose_fmu/test_fmu.py", line 24, in Python code to reproduce this error |
Beta Was this translation helpful? Give feedback.
-
#244 should make FMPy happy. |
Beta Was this translation helpful? Give feedback.
-
To see if this resolves the issue without waiting for a new release.
|
Beta Was this translation helpful? Give feedback.
-
I tested it and ran into a platom error as below. The current version of pythonfmu is Version: 0.6.8. I believe it is the latest one.
|
Beta Was this translation helpful? Give feedback.
-
It works perfectly now! I need to rebuild the package because I don't use Ubuntu(I have Rocky Linux), but after that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on wrapping our solver with fmu to do co-simulation. In my fmu, I would like to return False in do_step(), but it will result in error "[ERROR] FMI function not supported: fmi2GetBooleanStatus". I need this because our solver is running on side and connecting to fmu via localhost. I want to control the start and stop of the commnunication between this two and end fmu if the connection is end.
Is that supported? Or is there any workaround?
Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions