Usually when trnsys gets stuck is because:
- The code run in an infinite loop (e.g. while loop with no exit condition from the loop)
- You created a dynamically allocated array without delete it at the end of the code
Trnsys gives you an error ending the simulation if:
- You have a division by 0 somewhere in the code
- You are accessing an array in wrong way (e.g. index is wrong)
I don’t have other ideas why it gets stuck. Take in consideration that the most common error could be a division by zero or infinite loop.
Good luck,
Sergio Pintaldi
From: Yosr ALLOUCHE [mailto:allouche.yosr@gmail.com]
Sent: Friday, 30 January 2015 8:14 AM
To: TRNSYS users mailing list at OneBuilding.org
Subject: [TRNSYS-users] New type creation in Trnsys
Dear All,
I created a new component in Trnsys, for that I used Compaq Visual Fortran V6.6.b as a compiler and Trnsys 16, I wrote all the equations and succeed to compile the program (Build/compile, then Build/Rebuild all) without no errors and no warnings, the dll was created successfully.
Now the thing is, when I tried to run the component in Trnsys, no errors appeared, but the TRNEXE was not responding!
Could any body help me please?
Yosr ALLOUCHE
Faculty of Engineering of the University of Porto
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org