Skip to content

Conversation

@jayantpranjal0
Copy link
Contributor

Checklist

Additional context

Add any other context about the problem here.

@jayantpranjal0
Copy link
Contributor Author

@ChrisRackauckas

M = zeros(14, 14)
capacitance_matrix!(M, y0, 0.0)
f = ODEFunction(nand_rhs!, mass_matrix=M)
prob = ODEProblem(f, y0, tspan)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a DAEProblem formulation as well to test IDA, and should have an MTK version. See the other DAE benchmarks.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the 3 can all be generated from the same form so it shouldn't be too much more code, and the static array version isn't necessary here.

@ChrisRackauckas
Copy link
Member

Can you show the validation plots of the solution from the original benchmark specification vs the ones generated with this to eyeball that it's the same standard DAE?

@ChrisRackauckas
Copy link
Member

The validation plots look correct.

@ChrisRackauckas ChrisRackauckas closed this pull request by merging all changes into SciML:master in 15cdd7d Aug 2, 2025
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.

2 participants