Skip to content

Evaluating FMU binary #2779

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

Closed
12 of 13 tasks
jaeandersson opened this issue May 10, 2021 · 0 comments
Closed
12 of 13 tasks

Evaluating FMU binary #2779

jaeandersson opened this issue May 10, 2021 · 0 comments
Assignees
Milestone

Comments

@jaeandersson
Copy link
Member

jaeandersson commented May 10, 2021

Allow integrating general-purpose FMUs into CasADi expressions with derivative information exploited:

  • Loading FMU DLLs
  • Avoid reinitializing FMU when not necessary (i.e. when called inside an ODE integrator)
  • Exploit Jacobian sparsity information
  • FMU specific finite differencing support, exploiting information about variable bounds and nominal values, as well as the ability to reevaluate FMUs cheaply if only a small subset of the input changes
  • Validation of AD using FD support
  • Automatic step size selection for FD
  • Support different FD schemes
  • Graph coloring support for Jacobian calculation
  • Smaller buffers in Fmu, including only relevant subset of variables in FMU
  • Make FmuFunction independent of DaeBuilder after creation
  • Parallel Jacobian/adjoint calculation - OpenMP
  • Parallel Jacobian/adjoint calculation - std::thread
  • Support for forward directional derivatives cf. Forward sensitivities in FMU interface #3054
@jaeandersson jaeandersson added this to the Version 3.6 milestone May 10, 2021
@jaeandersson jaeandersson self-assigned this May 10, 2021
jaeandersson added a commit that referenced this issue May 11, 2021
jaeandersson added a commit that referenced this issue May 11, 2021
Only differentiable inputs and outputs for now
jaeandersson added a commit that referenced this issue May 13, 2021
jaeandersson added a commit that referenced this issue May 13, 2021
jaeandersson added a commit that referenced this issue May 13, 2021
jaeandersson added a commit that referenced this issue May 19, 2021
…r FmuFunction

Initial implementation: Should be done in a dedicated class
jaeandersson added a commit that referenced this issue Jun 16, 2021
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
Replaced with improved diagnostics when in validation mode
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
Will be refactored/generalized, then merged back into runtime
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
To allow it to be used for Hessian calculation
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jcotem pushed a commit to jcotem/casadi that referenced this issue Sep 12, 2022
jaeandersson added a commit that referenced this issue Mar 6, 2023
jaeandersson added a commit that referenced this issue Apr 15, 2023
jaeandersson added a commit that referenced this issue Apr 15, 2023
Accidentally uploaded wrong version
jaeandersson added a commit that referenced this issue Apr 27, 2023
Second-order integrator sensitivities
Use precompiled FMU by default, e.g. from Dymola
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