Skip to content
Prev 326691 / 398502 Next

Differential problem

On 11-07-2013, at 13:53, Rapha?lle Carraud <raphaelle.carraud at oc-metalchem.com> wrote:

            
Doesn't run.
Since variable Pt is not defined when you calculate vector state. So define Pt <- ?. before xi as in the original example.

In the function reaction isn't variable P just Pt from the parameter vector?
If so then either do P <- Pt or just use Pt directly (but see next remark).
Obviously since dA  isn't defined outside of dval when the functions was defined.
And do parms=parameters if you want to use Pt (as I told you in the previous post).
These are warning messages.
You get plots.
So now is the time to start looking at initial values etc.

Since I know next to nothing about DAE's you are on your own here unless someone else comes up with suggestions.
Of course see above.

Berend