<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Rabea,</p>
<p> I think that if you delete the Type9 from your simulation and
then re-add it then the error might go away. TRNSYS refers to
outputs by two numbers separated by a comma. The first number
designates the UNIT number of the component producing the output
and the second number (after the comma) designates which output is
needed. Something like:</p>
<p>myEquation = [9,5]*32 <br>
</p>
<p>in the input file means the 5th output of UNIT 9 should be
multiplied by 32.</p>
<p>From time to time, I have seen projects in which there was an
obviously incorrect UNIT number as in:</p>
<p>myEquation = [2387538998347,5]*32.</p>
<p>Since the Studio assigns unit number and writes the equation
syntax, you can't manually correct the equation itself. However,
if you delete the component that corresponds with the bad unit
number, then add it back again then the error usually goes away.</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 08/11/2020 09:54, Rabea Sandherr,
BLV-EM via TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20200811143100.M71731@hochschule-trier.de">
<pre class="moz-quote-pre" wrap="">Dear TRNSYS-users,
I'm generating different TRNSYS-decks for a storage parameter fitting. To read
the measured data I'm using Type 9c. For one of the decks I get the error
message 19:
"The specified UNIT number exceeds the current maximum UNIT number allowed.
Either change the UNIT number that caused the problem or increase the size of
the maximum number of UNITS allowed in a simulation. This value (nMaxUnits) is
set in TrnsysConstants.f90. You will have to rebuild the TRNSYS DynamicLink
Library if you increase the value of nMaxUnits
Reported information : An equation refers to unit 3384 while the maximum
unit number is currently 1000. The equation starts with Qdot_load_meas_W ="
I use this type in every deck and the data files usually are all more or less
of the same type. I would prefer not to change the nMaxUnits value. Do you
have an idea what exactly causes the error and how I can prevent it?
Thank you very much in advance.
Best regards,
Rabea
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
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>