Welcome to the TRNSYS Users Forum.

The forum is a place where people can interact and have discussions about different topics involving the use of the TRNSYS software package. Here you can post topics for discussion or questions on using TRNSYS and get advice from other users or TRNSYS experts. This forum is not intended for detailed technical support. Users should contact their distributor’s hotline for such assistance.

Some tips for success on using the forum:

  • Follow the Forum Rules posted in Forum Administration.
  • There are categories for different types of topics and questions. Post your topic or question into the proper category.
  • Before posting a topic or question search the existing topics  (and the TRNSYS Users listserv archive or Post archive) to see if a similar topic or question has already been answered.
  • Use a descriptive topic name. Don’t use attention getting subjects, they don’t get attention and only annoy people.
  • State the version of TRNSYS and which add-ons your are using.
  • Include enough specific details for your topic of question to be answered. Just posting “Why am I getting an error?” without describing the specific error and what you are trying to do when you get the error will not receive a response that fixes your issue.
  • Remember when people help you, they are doing you a favor. Be patient, help people out by posting good descriptions of what you need help with, and be polite even if a response does not solve your issue.
  • Moderators may edit your post for clarity or move your topic to a more appropriate category.

Notifications
Clear all

TESS18 Type506 evaporative cooler output 8 problem (moisture addition rate)

3 Posts
2 Users
0 Reactions
47 Views
0
Topic starter

hello¡ good day. I am experiencing the following error when using the evaporative cooler (direct) from tess18 hvac library:

output 8 in type506 (and also type507) produces an error if they are requested. I think from tess17 version this new output has not been properly updated in the dlls... (i.e. these types in version 17 did not include this particular output: the moisture added.. perhaps that is the reason behind this problem).

Best regards.

 

JUAN FCO. BELMONTE

DavidBradley 10/02/2025 9:45 pm

@juanf-belmonte thanks for pointing this out. Oddly the code that is being distributed is correct. If you recompile that dll using the distributed code then the error will go away. In any case we'll get this fixed for the next TESS libraries update.
kind regards,
David

2 Answers
0
Topic starter

Thank you very much David for your quick response.

I have recompiled the source file Type506_v4.f90 (in the fortran environment embbeded in TRNSYS), which is the updated and correct version of the type but the problem remains (i have check that Type506_x64.dll files are created in DebugDLLs and ReleaseDLLs). Perhaps has something to do with the proforma, ... because each category of TESS library is call by one single dll. in this case i believe TESS_HV_v18_3_64d.dll, there is a way of compiling this entire library?

Exactly the reason of the error is:

TRNSYS Message 28 : The listed input referenced an output number beyond the allocated outputs for the connected type.
Reported information : Unit 48 Type 65 Input 20 Connected to Unit 44 Type 506 Output 8

 

Best regards.

0

@juanf-belmonte

Juan, I would guess that the TRNSYS engine is finding the HVAC library DLL before it finds the Type506_x64.dll file that you're creating. As a result Type506 has already been loaded by the time your dll is found. Unfortunately there is not an easy way to control the order in which dlls are loaded. One option is to change the name of the Type506 subroutine when you make your dll so that it is Type206 or something. You'll have to make a copy of the proforma and change the Type number in there as well. A bit of a pain in the neck. We can recompile you an HVAC library dll and post it for you to download. Can you please send an email to techsupport@tess-inc.com so that we have your email address?

thanks in advance,

 David

 

Share: