From: Steven Lord on 10 Jun 2010 15:54 "Ismael Ochoa" <iochoa(a)ieee.org> wrote in message news:huqk0b$oa4$1(a)fred.mathworks.com... > Torsten Hennig <Torsten.Hennig(a)umsicht.fhg.de> wrote in message > <262820466.309312.1276151537884.JavaMail.root(a)gallium.mathforum.org>... >> > How can I solve a ODE with limits in a state >> > variable.(windup limiter and non-windup limiter)? >> > Thanks >> >> So the solver should quit or the equations should change when a state >> variable reaches a certain value, >> or what do you mean ? >> Please explain in more detail. >> >> Best wishes >> Torsten. > > I mean, Solve ODE with saturation in one o two elements (state ariable). I > hear this is posible using events...... Look at the BALLODE demo and/or the NonNegative option you can set with ODESET. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com |