<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/155472</link>
    <title>MATLAB Central Newsreader - not converging</title>
    <description>Feed for thread: not converging</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 01 Sep 2007 01:10:33 -0400</pubDate>
      <title>not converging</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/155472#390326</link>
      <author>Steve </author>
      <description>Hello,&lt;br&gt;
&lt;br&gt;
I have a relatively complex Simulink model.  I decided to &lt;br&gt;
control the outputs using a simple proportional gain.  When &lt;br&gt;
I set the gain to zero, I get the same results as I did &lt;br&gt;
before adding the gains.  However, when I set the gain to &lt;br&gt;
where I need it to be (15,000), then I get &quot;not converging&quot; &lt;br&gt;
error.  In both cases, (as well as gains up to about 40), I &lt;br&gt;
used ODE15s with a min step of 1 and a max step of 10, and &lt;br&gt;
an error tolerance of 1e-09.  I'm curious as to why the &lt;br&gt;
gain would cause the system to not converge?&lt;br&gt;
&lt;br&gt;
I thought that maybe at the first time step, the error was &lt;br&gt;
large due to my initial conditions, which made my &lt;br&gt;
proportional control react heavily due to the gain, which &lt;br&gt;
blew the hole system up.  But when I set my initial &lt;br&gt;
conditions equal to the setpoint that I'm trying to control &lt;br&gt;
the outputs to, the same thing happened.&lt;br&gt;
&lt;br&gt;
Why is this, and is there a way around it besides reducing &lt;br&gt;
my minimum step size or relaxing my tolerance?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Steve</description>
    </item>
  </channel>
</rss>

