Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handling of events in testFMI3ME (fmi4c_test_fmi3.c) #83

Open
GarronFish opened this issue Feb 6, 2025 · 0 comments
Open

handling of events in testFMI3ME (fmi4c_test_fmi3.c) #83

GarronFish opened this issue Feb 6, 2025 · 0 comments

Comments

@GarronFish
Copy link

In the testFMI3ME function in fmi4c_test_fmi3.c the events are handled in a different way to that described in the pseudo code in https://fmi-standard.org/docs/3.0/#_code_example:~:text=See%20fmi3GetAdjointDerivative.-,3.3.%20Code%20Example,-In%20the%20following

The testFMI3ME code does not appear to deal with events during a simulation (events at initialization are handled) and event detection is done but the part where fmi3_updateDiscreteStates is called appears to be missing. Am I misunderstanding something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant