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

Support to export FMUs from DaeBuilder #3009

Closed
4 of 5 tasks
jaeandersson opened this issue Feb 13, 2023 · 1 comment
Closed
4 of 5 tasks

Support to export FMUs from DaeBuilder #3009

jaeandersson opened this issue Feb 13, 2023 · 1 comment
Assignees
Milestone

Comments

@jaeandersson
Copy link
Member

jaeandersson commented Feb 13, 2023

Missing features:

  • Support for generating FMU 2 instead of FMU 3
  • Forward derivative calculation support
  • Adjoint derivative calculation support
  • Python code for creating FMU from generated source files
  • Sparsity information in ModelStructure
@jaeandersson jaeandersson added this to the Version 3.6 milestone Feb 13, 2023
@jaeandersson jaeandersson self-assigned this Feb 13, 2023
jaeandersson added a commit that referenced this issue Feb 13, 2023
jaeandersson added a commit that referenced this issue Feb 13, 2023
Using pointers to Variable instead of Variable instances directly.
This makes it more efficiently to handle growing variable lists, especially for vector variable support (#3011).
jaeandersson added a commit that referenced this issue Feb 13, 2023
New constructor for Variable class
The class now will have a reference to its index in the variable_ vector.
jaeandersson added a commit that referenced this issue Feb 15, 2023
jaeandersson added a commit that referenced this issue Feb 15, 2023
Can now only be created via DaeBuilderInternal::new_variable
jaeandersson added a commit that referenced this issue Feb 16, 2023
Including conversion to/from FMI 2
jaeandersson added a commit that referenced this issue Feb 16, 2023
Default version is 3 with legacy support for FMI 2
jaeandersson added a commit that referenced this issue Feb 16, 2023
Towards a minimal working example.
jaeandersson added a commit that referenced this issue Feb 20, 2023
jaeandersson added a commit that referenced this issue Feb 20, 2023
jaeandersson added a commit that referenced this issue Feb 24, 2023
jaeandersson added a commit that referenced this issue Mar 7, 2023
…ntegrator representation

The DAE in FMU should contain y and not include backwards states, quadratures, algebraic variables etc
jaeandersson added a commit that referenced this issue Mar 15, 2023
Source file names are now named after model, as suggested in FMI 3.0 specification, section 2.4.10
In addition to source files, a buildConfiguration.xml is generated.
Added an example fmu_export.xml showing how to generate the ZIP file.
@jaeandersson
Copy link
Member Author

Closing without implementing support for FMI 2.0 (#3055). The implementation is really a proof-of-concept: Adding support for FMI 2.0 would add little value at the moment.

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