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.
To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV
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.