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

The simulation initialization would benefit from a major refactoring #573

Open
fwitte opened this issue Nov 19, 2024 · 0 comments
Open

The simulation initialization would benefit from a major refactoring #573

fwitte opened this issue Nov 19, 2024 · 0 comments

Comments

@fwitte
Copy link
Member

fwitte commented Nov 19, 2024

The general approach for this would be the following:

  • Directly mark specified variables as solved, and such variables, that can be calculated from combination of specifications.
  • Based on that, every sub-Jacobian of the components, connections, buses etc. will get some kind of duplication (bad in principle, but there will be a way), where it is indicated, which derivatives are constant and which not.
  • The derived system Jacobian (with the constants and non-constants) allows to simplify the variable space based on the constant relationships.
  • These two steps could in principle be repeated until there is nothing remaining to eliminate
  • Independent of that, an automatic analysis should be carried out in the preprocessing, which determines, which "subsystems" of the Jacobian are fully determined, and which ones are not. This should allow to give hints to the user, what variables are already determined, which ones are not and which ones are potentially also over-determined.
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