[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Simulation stops with a run time error M6201 when run with large time step



Joynal,
  A MATH error is a generic Fortran message that is generated when an illegal operation (such as trying to take the LOG of a negative number) occurs in a piece of source code. Such errors should be trapped by the source code (for example by checking the sign of the argument before trying to take the log of that argument and generating a clean error message then cleanly exiting the subroutine) but such checks are not always made. The only way to find out why the MATH error is being generated is to run the simulation from the Fortran compiler/debugger. You can send the project and all files needed to run it to your distributor for some help with debugging it.
Kind regards,
 David
 

On 4/14/2014 09:05, Joynal Abedin wrote:

Dear TRNSYS users,

My model stops with MATH error half way through when I run it with a time step greater than 2 minutes but runs fine with 2min or less. I have tried varying the time base in TYPE56. I am simulation an multi-zone building with TYPE56 and HVAC systems using TYPE1231, TYPE114 pump, TYPE650 heat exchanger, TYPE24 integrators etc. etc.

What could I be doing wrong.

Thanks for your help.

 

Kind regards,

Joynal Abedin.

 

 

 



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com