Nonlinear ecu in S-function
Nonlinear ecu in S-function
(OP)
Hi,
I'm trying to solve a nonlinear system with s-function sys=0.08.*Ca.*Cb, Ca is a vector wich I feed it from another s-function block and Cb has to be computed but after each iteration the upper limit must have the last value of Cb found, in fact to observe the effect of consuming one of the reactants in this case Cb. How can I feed dynamically de x0???
thks
I'm trying to solve a nonlinear system with s-function sys=0.08.*Ca.*Cb, Ca is a vector wich I feed it from another s-function block and Cb has to be computed but after each iteration the upper limit must have the last value of Cb found, in fact to observe the effect of consuming one of the reactants in this case Cb. How can I feed dynamically de x0???
thks