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

Simulate with recompilation #52

Merged
merged 8 commits into from
Jan 20, 2022
Merged

Simulate with recompilation #52

merged 8 commits into from
Jan 20, 2022

Conversation

JKRT
Copy link
Owner

@JKRT JKRT commented Jan 14, 2022

This PR introduces true JIT compilation during simulation.

  • Models may recompile themselves if conditions are met (They can also modify themselves via their MetaModel)
  • Currently work in progress to adjust the MetaModel in the proper way and keep the start values consistent

@JKRT JKRT merged commit 9cacb35 into master Jan 20, 2022
@JKRT JKRT deleted the Simulate-with-recompilation branch January 20, 2022 21:34
Aether-create pushed a commit to Aether-create/OMBackend.jl that referenced this pull request Sep 10, 2024
* Added example with parameter change with recompilation

* Fixed some issues in scalarization. Fixed typing for the recompilation function.

* Fail fast to speedup CI

* Adds the SCode to the model if we are to perform recompilation

* Detect precompilation, add the SCode representation to the model in case of the directive

* Further fixes for recompilation

* Now only run the part of the MSL tests that are working

* All but three components of Mechanics.Translational is in operation
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

Successfully merging this pull request may close these issues.

1 participant