[TRNSYS-users] Problem with Genopt (and Trnopt) with more than 9variables

Jeff Thornton thornton at tess-inc.com
Fri Feb 1 07:23:18 PST 2008


<For example, I’ve made a deck with one equation and ten variables :
Error=abs(a)+abs(b)+abs(c)+abs(d)+abs(e)+abs(f)+abs(g)+abs(h)+abs(i)+abs(j)
Where a, b, c, d, e, f, g, h, i, j are variables (initial value =1, min
value=0, maxvalue=10, step=0.5)>

>From the output listing, it looks like GenOpt is getting a result back
from TRNSYS that isn't right.  Your first iteration in GenOpt (where all
10 variables are set to 1.0) should return a value of 10 and instead
returns a value of 1.  Please check your equation carefully in TRNSYS and
make sure its giving you the correct result before running GenOpt.  It may
be that the line is too long or something else that is causing the TRNSYS
problem.  Please let us know what you find.

Jeff

Jeff Thornton
President - TESS, LLC

2916 Marketplace Drive - Suite 104
Madison WI 53719 USA

Phone: 608-274-2577
Fax: 608-278-1475
E-mail: thornton at tess-inc.com
Web: www.tess-inc.com




More information about the TRNSYS-users mailing list