<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Brian,<br>
Technically, there is nothing wrong with the way that you
implemented your inputs to Type60. The negative flow rate error is
showing up because of the order in which the components are called
(they are called in the same order in which they appear in the input
file). For reference, your input connections are:<br>
<br>
pump (Unit 6 - Type114) --> Flow Rate at Outlet 2 (Unit 4 -
Type60)<br>
pipe (Unit15 - Type32b) --> Flow Rate at Inlet 2 (Unit 4 -
Type60)<br>
<br>
At one of the iterations in the first timestep (before convergence
has been reached) the pump changes state and the tank gets called
before the pipe component does so as a result, the flow rate out of
the pump has changed but the flow rate out of the pipe hasn't yet
when the tank model is called.<br>
<br>
The fix is pretty simple: you can just revise your connections as
follows:<br>
<br>
pipe (Unit15 - Type32b) --> Flow Rate at Outlet 2 (Unit 4 -
Type60)<br>
pipe (Unit15 - Type32b) --> Flow Rate at Inlet 2 (Unit 4 -
Type60)<br>
<br>
best,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 2/17/2013 22:25, Brian Raichle
wrote:<br>
</div>
<blockquote
cite="mid:CAP==bF-M1OxQ1JU3Q54aYTDGpi5+s8D+0TsCkhg6k7eeWNLsoA@mail.gmail.com"
type="cite">Hello,<br>
I'm using a Type60c tank in a simple direct solar water heating
model. I get the "negative flow" error. The input/outputs are
defined as:<br>
inlet 1 flow: mains flow outlet 1 flow: -2<br>
inlet 2 flow: solar pump flow outlet 2 flow: solar pump flow<br>
Not sure where else to look. Any thoughts?<br>
Thanks,<br>
Brian<br clear="all">
<br>
-- <br>
Brian Raichle<br>
Department of Technology and Environmental Design<br>
Appalachian State University<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>