I have a set of five coupled ODEs.
Each ode has one or more additional parameters.
Each parameter however, is a function of ,say, voltage.
So, for example:
ODE 1: RHS = f(t,y) = a * exp(......)
where the value of 'a' is dependent on a specific voltage, i.e, a(voltage).
I need to (must) solve the ODEs and obtain the current solution at each time step!
Question 1 : How can I supply at each time step a different voltage to calculate the parameter 'a'?
Question 2a: How can I obtain the solution at each time step ?
Question 2b: Perform some operation(s) with the current solution at that time step and then advance to the next time step?
I've tried several stiff ODE algorithms but no luck. I'd now like to use the Intel ODE library to solve this problem.
Any pointers/help in how to do this is appreciated.