[sundials-users] [LLNL/sundials] Usind IDA with nonlinear terms (Issue #711)

9 views
Skip to first unread message

Dan Ibanez

unread,
May 28, 2025, 1:56:42 AMMay 28
to SUNDIAL...@listserv.llnl.gov
ibaned created an issue (LLNL/sundials#711)

Hello,

I don't have a lot of experience with SUNDIALS IDA but I've been using it successfully for a fairly complex set of circuit equations recently. The only trouble I'm having now is with equations where the residual is of the form:

r[eeq] = yp[eeq] - (y[veq] * y[ieq])

Trying to express the power of a circuit component as the product of its voltage and current.
Is this something that SUNDIALS IDA supports and if so do I need to use different APIs to support nonlinear terms?

Thank you!


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <LLNL/sundials/issues/711@github.com>



To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV

Dan Ibanez

unread,
May 28, 2025, 3:13:12 PMMay 28
to SUNDIAL...@listserv.llnl.gov
ibaned left a comment (LLNL/sundials#711)

Yes, there are other ODEs for those two equations as well (algebraic for voltage veq and differential for current ieq). I've put diagnostics into my residual callback and notice that the residual for the energy equation eeq is quite high (10000 compared to 1.0e-13 for others) when the solver fails


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you commented.Message ID: <LLNL/sundials/issues/711/2917345551@github.com>

Reply all
Reply to author
Forward
0 new messages