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

[NB] udapte discrete state handling #11405

Merged
merged 5 commits into from
Oct 24, 2023

Conversation

kabdelhak
Copy link
Contributor

@kabdelhak kabdelhak commented Oct 19, 2023

  • only collect discrete states from LHS of when equations
  • collect pre variables for all variables and dont assume they are discrete states
  • update start/pre initial equations
  • update variable structure
  • update -d=backenddaeinfo

EDIT: i also added top-level inputs to the variable structure

@kabdelhak kabdelhak added the COMP/OMC/New Backend Issues and pull requests related to the new backend. label Oct 19, 2023
@kabdelhak kabdelhak self-assigned this Oct 19, 2023
@kabdelhak kabdelhak enabled auto-merge (squash) October 19, 2023 09:37
 - only collect discrete states from LHS of when equations
 - collect pre variables for all variables and dont assume they are discrete states
 - update start/pre initial equations
 - update variable structure
 - update -d=backenddaeinfo
 - remove unnecessary pointer to state (its stored in pre_post)
 - make it fixable
 - remove bug where it copied the backendinfo from its post var
 - testsuite update
@kabdelhak kabdelhak merged commit 69d9151 into OpenModelica:master Oct 24, 2023
2 checks passed
@kabdelhak kabdelhak deleted the nb-discrete-states branch October 24, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/OMC/New Backend Issues and pull requests related to the new backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant