-
Notifications
You must be signed in to change notification settings - Fork 84
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
Change of fmiGetDerivatives/fmiSetContinuousStates/fmiGetContinuousStates for QSS #243
Comments
Comment by karl.wernersson on 23 May 2014 16:49 UTC In ModelStructure in the xmlFile all state derivatives are defined and an index is given to the scalar variable for each derivative. From there you would get the valueReference used to call fmi2GetReal to collect a single derivative. calling fmi2SetReal on a single state is planed to be supported for fmi 2.1 /Karl Wernersson |
Comment by tsnouidui on 23 May 2014 18:09 UTC |
Modified by otter on 30 May 2014 07:10 UTC |
Comment by torstenblochwitz on 10 Feb 2015 12:59 UTC According to Figure 6: Calling sequence of Model Exchange C functions. We have to check the rest of the specification for consistency and decide which is the expected behavior. |
Comment by anonymous on 10 Feb 2015 22:59 UTC fmi2Status fmi2SetXXX(..) I believe that continuous states do not fall under any of these categories. Thanks! |
Modified by tsnouidui on 4 Aug 2015 17:27 UTC |
Comment by fcasella on 19 Sep 2015 09:54 UTC The idea is that we need:
We'll keep you posted about the progress. |
Comment by fedebergero on 24 Sep 2015 13:20 UTC We have sketched the attached document and as you mentioned we need way to set some particular state variables and compute some other state derivatives. On the attach there is no prototype function for getting the higher order derivatives yet (needed for QSS2 / 3 / 4). When it comes to events much more is needed from an FMU, but on this stage we are just focusing on continuous systems. To resume, we should join forces on this matter! Fede |
Comment by tsnouidui on 6 Oct 2015 17:23 UTC I read the attachment and we should indeed join force here. Thierry |
Comment by torstenblochwitz on 15 Dec 2015 09:02 UTC |
Comment by cbertsch on 1 Jun 2018 13:06 UTC |
Comment by cbertsch on 11 Jun 2018 09:52 UTC |
Modified by cbertsch on 18 Jun 2018 10:13 UTC |
Would this be solved by implementing higher order derivatives as proposed in #372? |
Reported by tsnouidui on 30 Apr 2014 18:21 UTC
Hi all,
I am developping a master algorithm for FMUs for model-exchange which use the Quantized State Systems (QSS) integration methods for time integration. For this master algorithm to fully utilize the capability of these integration methods, it will be good if it is possible to retrieve single derivative of FMUs.
My question:
Why is it not possible similar to fmiGetReal() to provide fmiGetDerivatives() with the value reference of the derivative which should be retrieved/computed? My guess is that, the current specification is designed for traditional integration methods which work on the whole state vector at every integration step. This assumption is not valid for QSS methods.
The change will also imply the capability to support the setting/getting of individuals continuous states. This will require to provide fmiSetContinuousStates/fmiGetContinuousStates with the value references of the states that need to be set/get?
Thanks!
Thierry
Migrated-From: https://trac.fmi-standard.org/ticket/243
The text was updated successfully, but these errors were encountered: