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

Re: Max number of Units



Marco,
You are correct that the number of units allowed in a TRNSYS simulation is controlled by a parameter in the \trnsys15\include\param.inc file. More specifically, you need to change the value of NUNITS. The default value is probably 150 and not 80 and it is certainly fine to increase that value to over 200 if you want. The value of NUNITS is used to determine the size of a lot of other arrays inside the TRNSYS kernal so when you expand NUNITS, you will notice that the size of the trnlib.dll increases. The line that you need to change in param.inc. is:

CNB NUNITL = Maximum number of units (>75)
PARAMETER (NUNITL=200)

Cheers,
David



At 12:39 PM 5/12/2003 +0200, you wrote:

Hello,

I have read that the max number of units allowed is 80; should I need more
units, I have to change a parameter in the PARAM.INC file and recompile
TRNSYS. For the simulation I'm trying to make, I will need at least 200
units, does it make sense, or trying to run TRNSYS with such a number of
units is a waste of time?

Thanks,

Marco
*********************************************************************************
Thermal Energy System Specialists (TESS)
David BRADLEY 2916 Marketplace Drive - Suite 104
Project Engineer Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley@tess-inc.com
Web Page: www.tess-inc.com

"Providing software solutions for today's energy engineering projects"
**************************************************************************** *****