<html>
<body>
Marijke,<br>
  There are two things you can try. The first thing to try is to set
the "debug mode" (field 9 in the Studio's simulation control
cards window) to TRUE. This will check whether any of your component's
outputs are being set to NaN (not a number) and whether your component is
overwriting the outputs of another component. If that doesn't lead you to
the solution then you should run your simulation through the Fortran
debugger and step one line at a time through the code, watching that
values of the variables as they change. It should be quite apparent where
the problem is coming from.<br>
Kind regards,<br>
 David<br><br>
At 10:23 8/13/2007, Marijke Steeman wrote:<br>
<blockquote type=cite class=cite cite="">Dear all, <br>
 <br>
When trying to use a new - made type in the studio, i get the error:
<br>
"range check error: an unexpected error occured and Trnsys will
abort". <br>
However, I had no problems with compiling the dll of the type in
Fortran<br>
and while running the type alone (not coupled with Trnsys) in Fortran I
<br>
also did not get any errors. <br>
I know that this error can be caused by dividing by zero, does anyone
<br>
know which other things can cause this problem and how I can try to <br>
find it in my For. file?<br>
 <br>
Thanks a lot.<br>
 <br>
Best regards,<br>
 <br>
<font face="Times New Roman, Times">ir-arch Marijke Steeman<br>
Universiteit Gent<br>
Vakgroep Architectuur en Stedebouw<br>
Jozef Plateaustraat 22<br>
9000 Gent<br>
tel 09 264 37 52<br>
fax 09 264 41 85<br>
<a href="mailto:marijke.steeman@ugent.be">marijke.steeman@ugent.be</a>
</font><font size=2><br>
</font>_______________________________________________<br>
TRNSYS-users mailing list<br>
TRNSYS-users@engr.wisc.edu<br>
<a href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users" eudora="autourl">
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a></blockquote>
<x-sigsep><p></x-sigsep>
****************************************************************************************<br>
Thermal Energy System Specialists (TESS), LLC <br>
David
BRADLEY                          
2916 Marketplace Drive - Suite 104 <br>
Partner                                       
Madison, WI 53719 <br>
Phone: (608) 274-2577 USA <br>
Fax: (608) 278-1475 <br>
E-mail: bradley@tess-inc.com <br>
Web Pages: 
<a href="http://www.tess-inc.com/" eudora="autourl">
http://www.tess-inc.com</a>    
and     
<a href="http://www.trnsys.com/" eudora="autourl">
http://www.trnsys.com<br><br>
</a>"Providing software solutions for today's energy engineering
projects" <br>
****************************************************************************************<br>
</body>
</html>