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

Transistor amplifier benchmark #372

Closed
wants to merge 1 commit into from

Conversation

AayushSabharwal
Copy link
Member

@AayushSabharwal AayushSabharwal commented Dec 15, 2021

Added the MTK version of transistor amplifier problem, from #359

I'm not sure how the solvers are set up, so everything below line 58 (tspan = (0.0, 0.2)) is from ChemicalAkzoNobel.jmd

@ChrisRackauckas
Copy link
Member

Copy/pasting the solvers is 👍. They should all have about the same setup, though they can be tweaked a little bit to avoid any instabilities that can show up (which messes up the plot), so a tolerance may be tweaked down or specific solvers can be commented out / moved to a separate plot to accommodate that. We'll see what this generates.

@ChrisRackauckas
Copy link
Member

Looks like it hits an error 😅

@AayushSabharwal
Copy link
Member Author

AayushSabharwal commented Dec 15, 2021

Weird. I'll try running this locally tomorrow and see if I can find the problem.

Out of curiosity, is there any specific reason this waits so long before executing the weave?

@AayushSabharwal
Copy link
Member Author

Line 56 seems to be the issue, it can't create the system

@ChrisRackauckas
Copy link
Member

@YingboMa does MTK support parsing linear mass matrices like that right now?

@YingboMa
Copy link
Member

MTK tries to transform the system so that it is an almost identity matrix, i.e. the semi-explicit form. I tried it on the latest MTK, but initialization of the DAE then fails.

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.

3 participants