<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am trying to run the simulation with a time step 
of less than 1 hr. I am getting an Range check error from trnsys. On further 
investigation I found that the error was coming from Type 56.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The simulation runs fine with a time step of 1 hr 
with no errors at all. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Further the time at which the error occurred 
followed a pattern.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Time step 1 min - Error in the 
beginning</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Time step 3 min - Error at *.05 
Hr</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2>Time step 6 min - Error at *.1 Hr</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Time step 9 min - Error in the 
beginning</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Time step 12 min - Error at *.2  
Hr</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Time step 15 min - Error at *.25  
Hr</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Where * is any hour depending on the startime of 
the simulation.</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>e.g When the start time was 0 min, read * as 
23.</FONT></DIV>
<DIV><FONT face=Arial size=2>Also when the error occurred in the beginning(time 
step 0,9 min) the listing file had and error </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>" The wall timebase must be an integer multiple of 
the simulation timestep'</FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I set the timebase to 1 in the BUIEdit's Output 
window as is recommended in the manual.</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>On debugging from type56 I found 
that one source of error was due to and array related to the building schedules 
getting out of bound. Particularly it was from the function </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>FUNCTION NPOS(TIME,NTIME,STIME)</FONT></DIV>
<DIV><FONT face=Arial size=2>Line 4203 of Open_TYPE56.for</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For the time step of 1 min and 9 min the error 
occurred at the line</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>T_OP(IZONE)=AOPT*TBAR(IZONE)+(1-AOPT)*T_OP(IZONE)/TOTAREA</FONT></DIV>
<DIV><FONT face=Arial size=2>Line 9901</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have no clue about why this is 
happening, can anyone please help me out with this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>Krishna</FONT></DIV></DIV></DIV></DIV></BODY></HTML>