[TRNSYS-users] Error message 19

David BRADLEY d.bradley at tess-inc.com
Tue Aug 11 12:06:51 PDT 2020


Rabea,

   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:

myEquation = [9,5]*32

in the input file means the 5th output of UNIT 9 should be multiplied by 32.

 From time to time, I have seen projects in which there was an obviously 
incorrect UNIT number as in:

myEquation = [2387538998347,5]*32.

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.

kind regards,

  David


On 08/11/2020 09:54, Rabea Sandherr, BLV-EM via TRNSYS-users wrote:
> 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
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
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
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200811/fd504946/attachment.htm>


More information about the TRNSYS-users mailing list