Prev: data files in embedded CTF archive
Next: Rotation matrix used for what in body sensor in simmechanics
From: Punit on 21 Jun 2010 22:38 Hello all, I have a SimHydraulics model which is stiff, so I'm using ode15s to solve the model. I want to compare the outputs of same model for a small change in a parameter (e.g. valve area). The problem is, the lengths of outputs (resultant force) for nominal parameter value and perturbed parameter are not the same, hence I can not compare the two outputs. Also I can not use the fixed time step integrator for this model. Earlier, when I had mathematical equations for the model, and I could input the time step for ode15s() solver. Is there any way of obtaining the outputs at specific time steps from a stiff model? I'm using " to workspace" block for getting the output in workspace. Thanks Sincerely, -Punit
From: Torsten Hennig on 21 Jun 2010 22:56 > Hello all, > I have a SimHydraulics model which is stiff, so I'm > using ode15s to solve the model. I want to compare > the outputs of same model for a small change in a > parameter (e.g. valve area). The problem is, the > lengths of outputs (resultant force) for nominal > parameter value and perturbed parameter are not the > same, hence I can not compare the two outputs. Also I > can not use the fixed time step integrator for this > model. Earlier, when I had mathematical equations for > the model, and I could input the time step for > ode15s() solver. > Is there any way of obtaining the outputs at specific > time steps from a stiff model? > I'm using " to workspace" block for getting the > output in workspace. > Thanks > Sincerely, > -Punit http://www.mathworks.com/access/helpdesk_r13/help/techdoc/ref/deval.html Best wishes Torsten.
From: Punit Tulpule on 22 Jun 2010 10:05
Torsten Hennig <Torsten.Hennig(a)umsicht.fhg.de> wrote in message <1633707539.6590.1277189813281.JavaMail.root(a)gallium.mathforum.org>... > > Hello all, > > I have a SimHydraulics model which is stiff, so I'm > > using ode15s to solve the model. I want to compare > > the outputs of same model for a small change in a > > parameter (e.g. valve area). The problem is, the > > lengths of outputs (resultant force) for nominal > > parameter value and perturbed parameter are not the > > same, hence I can not compare the two outputs. Also I > > can not use the fixed time step integrator for this > > model. Earlier, when I had mathematical equations for > > the model, and I could input the time step for > > ode15s() solver. > > Is there any way of obtaining the outputs at specific > > time steps from a stiff model? > > I'm using " to workspace" block for getting the > > output in workspace. > > Thanks > > Sincerely, > > -Punit > > http://www.mathworks.com/access/helpdesk_r13/help/techdoc/ref/deval.html > > Best wishes > Torsten. Thanks, -Punit |