-
Notifications
You must be signed in to change notification settings - Fork 24
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
Input functions of the form (u,t) for CS FMUs #183
Comments
Sure, you can use
|
Basically one could also define a dedicated input function that gathers a fixed subset of values for every call (by calling |
Does this answer your issue? |
Sure, the answer works but it would be great if we have support for this in the API just like ME FMUs to maintain consistency. |
What method head do you have in mind? |
The method is the same as ME FMUs where the input function in this case can take in observables, i.e. variables in I am not sure if that is expensive or not. |
I think something in this direction could be done (specifing the value references to retrieve when giving the input function). Many FMI-Tools allow for the export of any variable in the system as observable value, so currently I am working with a model with only 6 states, but over 600 observables (would be really slow to retrieve them in every step) - but the suggested solution sems a good option. |
From #123, input functions of the form (u, t) was introduced.
For CS-FMUs, it was not defined as internal states are not really accessible during simulation.
But it is possible to access the observables and use it for computing the next inputs, for example in closed loop controllers.
Is it possible to add this type of input function for CS-FMUs?
@ThummeTo
The text was updated successfully, but these errors were encountered: