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

Add ability to provide additional guesses to linearize and family #3400

Open
AayushSabharwal opened this issue Feb 20, 2025 · 2 comments
Open
Assignees
Labels

Comments

@AayushSabharwal
Copy link
Member

Effectively, they should be more-or-less identical to ODEProblem constructors. Even linearization_function, which despite the name does construct an ODEProblem.

@B-LIE
Copy link

B-LIE commented Feb 21, 2025

Regarding the case you helped me with a couple of days ago (debugging hydropower model)... I believed it was solved and closed the issue, but when I re-ran the code, it still crashes :-o. I was wondering whether you use a different version of MTK/Symbolics than I do?

I'm on:

  • ModelingToolkit v9.64.0
  • Symbolics v6.29.1

I include the Julia code (renamed to *.txt because I am not allowed to upload *.jl files). I have extended the code in the file with what I thought/understood was your proposed solution...

If you have the time, please enlighten me (a) whether the problem is related to my versions of packages, or (b) I misunderstood your solution.

HydroPower_test.txt

@B-LIE
Copy link

B-LIE commented Feb 21, 2025

Aha. It seems like your proposed fix works with ModelingToolkit v9.64.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants