<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How did I get an algebraic loop error, when the diagnostic was set to warning?</title>
	<atom:link href="http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/</link>
	<description>This blog is about Simulink.</description>
	<lastBuildDate>Tue, 14 Feb 2012 17:41:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Asier</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-1661</link>
		<dc:creator>Asier</dc:creator>
		<pubDate>Thu, 29 Dec 2011 14:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-1661</guid>
		<description>I&#039;ve just solved an algebraic loop by changing tehe name of a block from &quot;Antialiasing&quot; to &quot;Subsystem&quot;. Answer to that? It&#039;s just curiosity. I think i&#039;ll neveer understand this program...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just solved an algebraic loop by changing tehe name of a block from &#8220;Antialiasing&#8221; to &#8220;Subsystem&#8221;. Answer to that? It&#8217;s just curiosity. I think i&#8217;ll neveer understand this program&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahmoud Moussa</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-1565</link>
		<dc:creator>Mahmoud Moussa</dc:creator>
		<pubDate>Fri, 23 Sep 2011 13:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-1565</guid>
		<description>The problem in my point of view was solved easily by putting &quot;unit delay&quot; inside the loop

Simulink library browser--&gt;Discrete--&gt;unit delay

After doing that, no problem message appeared
Try this, may be it can help

All the best
Mahmoud Moussa</description>
		<content:encoded><![CDATA[<p>The problem in my point of view was solved easily by putting &#8220;unit delay&#8221; inside the loop</p>
<p>Simulink library browser&#8211;&gt;Discrete&#8211;&gt;unit delay</p>
<p>After doing that, no problem message appeared<br />
Try this, may be it can help</p>
<p>All the best<br />
Mahmoud Moussa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gladis suarez</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-1453</link>
		<dc:creator>gladis suarez</dc:creator>
		<pubDate>Fri, 29 Apr 2011 23:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-1453</guid>
		<description>hello, I have a program which in the simulink matlab 2007 run well , but when I want run it in the simulink matlab 2008 the simulations stops with the error: Trouble solving algebraic loop containing &#039;test1_L/Fuel cell/transfortation&#039; at time 0.  Stopping simulation.  There may be a singularity in the solution.  If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances). how I can solve this problem, thanks</description>
		<content:encoded><![CDATA[<p>hello, I have a program which in the simulink matlab 2007 run well , but when I want run it in the simulink matlab 2008 the simulations stops with the error: Trouble solving algebraic loop containing &#8216;test1_L/Fuel cell/transfortation&#8217; at time 0.  Stopping simulation.  There may be a singularity in the solution.  If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances). how I can solve this problem, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-965</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 02 Feb 2010 03:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-965</guid>
		<description>I am not sure of your implementation of the D flip flop, and I am not sure how it is causing an algebraic loop error.  There is flip flop library in the Simulink Extras library.  You may be able to try using that.</description>
		<content:encoded><![CDATA[<p>I am not sure of your implementation of the D flip flop, and I am not sure how it is causing an algebraic loop error.  There is flip flop library in the Simulink Extras library.  You may be able to try using that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sisir kalita</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-952</link>
		<dc:creator>sisir kalita</dc:creator>
		<pubDate>Thu, 21 Jan 2010 06:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-952</guid>
		<description>how D flip flop can be designed in simulink... we r facing problem while simuliting using NAND gate as it shows algebric loop error..</description>
		<content:encoded><![CDATA[<p>how D flip flop can be designed in simulink&#8230; we r facing problem while simuliting using NAND gate as it shows algebric loop error..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamamd</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-899</link>
		<dc:creator>Mohamamd</dc:creator>
		<pubDate>Wed, 18 Nov 2009 15:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-899</guid>
		<description>Hi Suth,
I try to simulate a load tap-changing transformer in simulink but its control part has to be impelented in stateflow, I did it but simulating the system I get this error message,
Trouble solving algebraic loop containing &#039;handy_ltc23/Three-Phase OLTC Regulating Transformer/Chart&#039; at time 5.033333333333321.  Stopping simulation.  There may be a singularity in the solution.  If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
The point is that I have to use stateflow for its control part and I can&#039;t refuse that, inside the stateflow chart I just want to update a variable one unit every 4 sec, can Not I do it?
I&#039;ll be very grateful if you give me a key
regards
Mohamamd</description>
		<content:encoded><![CDATA[<p>Hi Suth,<br />
I try to simulate a load tap-changing transformer in simulink but its control part has to be impelented in stateflow, I did it but simulating the system I get this error message,<br />
Trouble solving algebraic loop containing &#8216;handy_ltc23/Three-Phase OLTC Regulating Transformer/Chart&#8217; at time 5.033333333333321.  Stopping simulation.  There may be a singularity in the solution.  If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)<br />
The point is that I have to use stateflow for its control part and I can&#8217;t refuse that, inside the stateflow chart I just want to update a variable one unit every 4 sec, can Not I do it?<br />
I&#8217;ll be very grateful if you give me a key<br />
regards<br />
Mohamamd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samad</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-859</link>
		<dc:creator>samad</dc:creator>
		<pubDate>Wed, 23 Sep 2009 08:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-859</guid>
		<description>hi javad
if you have any problem please write me with my Email.
I hope that i can help you with your mat/simu problem.</description>
		<content:encoded><![CDATA[<p>hi javad<br />
if you have any problem please write me with my Email.<br />
I hope that i can help you with your mat/simu problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javadaein</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-790</link>
		<dc:creator>javadaein</dc:creator>
		<pubDate>Tue, 30 Jun 2009 13:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-790</guid>
		<description>unfortunately mathworks can not be accessed in iran. I dont know why mathworks guys do that but I can&#039;t solve my simulink related problems.</description>
		<content:encoded><![CDATA[<p>unfortunately mathworks can not be accessed in iran. I dont know why mathworks guys do that but I can&#8217;t solve my simulink related problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amin</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-490</link>
		<dc:creator>Amin</dc:creator>
		<pubDate>Thu, 14 Aug 2008 18:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-490</guid>
		<description>Hi Seth!
I&#039;m very confused. in the Simulink document
http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f7-8243.html#f7-19688
solving simple algebraic loops with The Algebraic Constraint block and find z1 = 0, z2 = 1.
i solve this example without this block and find z1 = -1, z2 = 1;
Which answer is correct?</description>
		<content:encoded><![CDATA[<p>Hi Seth!<br />
I&#8217;m very confused. in the Simulink document<br />
<a href="http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f7-8243.html#f7-19688" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f7-8243.html#f7-19688</a><br />
solving simple algebraic loops with The Algebraic Constraint block and find z1 = 0, z2 = 1.<br />
i solve this example without this block and find z1 = -1, z2 = 1;<br />
Which answer is correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-428</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Fri, 18 Jul 2008 03:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/03/how-did-i-get-an-algebraic-loop-error-when-the-diagnostic-was-set-to-warning/#comment-428</guid>
		<description>@Pedro - Simulink does uses Newton&#039;s method to perform a search for the solution.  If you have trouble getting it to converge, note the algebraic variable, and place an IC block (initial condition) at the output port of that block.  You can then provide an initial guess for the solver, and may improve your results.  The result from the last solution is used as the initial guess of the next step, and should allow the model to move forward in time.  Good luck!

@Paul J - Thanks for the rant.  You are right... the second type of algebraic loop are the ones that cause me the most frustration too.  In some cases I find conflicting specifications are to blame.  If a subsystem is marked as Atomic, Simulink must be able to compute all of the outputs at the same time.  If there are dependencies on inputs, and those have a direct feed-through path back to the outputs, there is a sorting problem to be handled.  Thanks for contributing to the discussion!</description>
		<content:encoded><![CDATA[<p>@Pedro &#8211; Simulink does uses Newton&#8217;s method to perform a search for the solution.  If you have trouble getting it to converge, note the algebraic variable, and place an IC block (initial condition) at the output port of that block.  You can then provide an initial guess for the solver, and may improve your results.  The result from the last solution is used as the initial guess of the next step, and should allow the model to move forward in time.  Good luck!</p>
<p>@Paul J &#8211; Thanks for the rant.  You are right&#8230; the second type of algebraic loop are the ones that cause me the most frustration too.  In some cases I find conflicting specifications are to blame.  If a subsystem is marked as Atomic, Simulink must be able to compute all of the outputs at the same time.  If there are dependencies on inputs, and those have a direct feed-through path back to the outputs, there is a sorting problem to be handled.  Thanks for contributing to the discussion!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

