-
Notifications
You must be signed in to change notification settings - Fork 164
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
Functions missing derivative functions, that are already present #1909
Comments
Modified by beutlich on 16 Feb 2016 14:16 UTC |
Comment by hubertus on 16 Feb 2016 14:35 UTC
I have chosen the latter, and I think most tools are fine with that. Note that one has to do either one or the other. But: this code was written when Dymola was the only tool that supported the Media library. So I'd like to use this ticket to get input from all tool developers:
Note that the derivative functions are historical, Dymola supported that before supporting SmoothOrder. |
Comment by beutlich on 16 Feb 2016 14:46 UTC |
Comment by hansolsson on 17 Feb 2016 16:37 UTC
The cases where a function has a smooth derivative, but it cannot be computed using automatic differentiation of the algorithm as it is written is pretty rare (but I am sure some have found those cases). |
Comment by jmattsson on 18 Feb 2016 08:25 UTC |
As again pointed here by @thorade the derivative or smoothOrder annotation, respectively, is missing for s0_Tlow. |
Reported by veje.johannes on 16 Feb 2016 10:04 UTC
In Media.IdealGases.Common.Functions there are three functions where the corresponding derivative function is available but not implemented.
These three functions are; h_T, h_Tlow, and s0_Tlow with the corresponding functions: h_T_der, h_Tlow_der, and s0_Tlow_der.
For a fourth function, cp_Tlow, the derivative function is implemented.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1909
The text was updated successfully, but these errors were encountered: