<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>David,</div>

<div> </div>

<div>Thank you very much. It works perfectly now. </div>

<div> </div>

<div>Best regards,</div>

<div> </div>

<div>Rabea</div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 11. August 2020 um 21:06 Uhr<br/>
<b>Von:</b> "David BRADLEY" <d.bradley@tess-inc.com><br/>
<b>An:</b> sandhera@hochschule-trier.de, "TRNSYS users mailing list at OneBuilding.org" <trnsys-users@lists.onebuilding.org><br/>
<b>Betreff:</b> Re: [TRNSYS-users] Error message 19</div>

<div name="quoted-content">
<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</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> </p>

<div class="moz-cite-prefix">On 08/11/2020 09:54, Rabea Sandherr, BLV-EM via TRNSYS-users wrote:</div>

<blockquote>
<pre class="moz-quote-pre">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" onclick="parent.window.location.href='mailto:TRNSYS-users@lists.onebuilding.org'; return false;" target="_blank">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>

<pre class="moz-signature">--
***************************
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" onclick="parent.window.location.href='mailto:d.bradley@tess-inc.com'; return false;" target="_blank">d.bradley@tess-inc.com</a>

<a class="moz-txt-link-freetext" href="http://www.tess-inc.com" target="_blank">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com" target="_blank">http://www.trnsys.com</a></pre>
</div>
</div>
</div>
</div></div></body></html>