<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Dear all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I have been using the combination of TRNSYS 16 with TRNOPT and GenOPT successfully for a long time for the sizing of renewable energy sources systems. All this time I usually had 2-8 variables for optimization. Today I wanted to optimize a system with 11 variables. I can add the variables to TRNOPT and then I can run GenOPT. The problem is that the cost function gives a result always between 0 and 1, where it should give a much higher number (the cost function is an equation in TRNSYS). If I modify the TRNOPT file to optimize 9 variables, leaving the rest the same, the cost function is then calculated and depicted in GenOPT window correctly. If I add one more variable then the problem occurs.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Has anyone else come across this problem? Is there any workaround? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Thank you in advance for your answers,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>George Kyriakarakos, Agricultural Engineer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>MSc Energy Systems & Renewable Energy Sources<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Agricultural University of Athens,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Dept. of Natural Resources and Agricultural Engineering<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Iera odos street, 75, Athens 11855, Greece<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Tel. +30.210.5294046 (direct), Fax: +30.210.5294023<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>Mobile +30.6942.046895<o:p></o:p></span></p><p class=MsoNormal><span lang=DE>e-mail: <gk@aua.gr><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>