Sara, I am not sure if anyone replied to you. A MATH DOMAIN error is a generic Fortran error that is generated if you try to perform some illegal operation like taking the log or the square root of a negative number. In your case, I would guess that it is because the argument to a square root function is less than zero. I would recommend that you set up your Type in debugging mode, run your simulation, and step line by line through the code using the debugger so that you can determine why the square root argument is negative. Kind regards, David sara shaban wrote:
-- *********************************************************************** Thermal Energy System Specialists (TESS), LLC David BRADLEY 2916 Marketplace Drive - Suite 104 Partner Madison, WI 53719 USA P: +1.608.274.2577 F: +1.608.278.1475 E-mail: bradley@tess-inc.com Web Pages: http://www.tess-inc.com and http://www.trnsys.com *********************************************************************** |