[TRNSYS-users] New type creation in Trnsys
Yosr ALLOUCHE
allouche.yosr at gmail.com
Mon Feb 2 15:40:20 PST 2015
Dear Sergio,
Thanks a lot for your answer, actually the code was running in an infinite
loop condition as you said. Now it is fixed
Best regards
Yosr
2015-01-31 6:12 GMT+00:00 <Sergio.Pintaldi at csiro.au>:
> 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 at 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 at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
>
>
--
* Yosr ALLOUCHE*
*Energy Engineer / PhD Student*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20150202/b0ff4ec6/attachment-0002.htm>
More information about the TRNSYS-users
mailing list