<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear all,<br><br>I have a quesion about using GenOpt for TRNSYS.<br><br>In the GenOpt optimization commands file (e.g. "GenOpt-OptimizationCommands.txt"), there might be some derived variables defined by "functions".<br><br>For example the codes like:<br><br>***********************************<br>Vary {<br><br> Parameter {<br> Name = x;<br> Min = 0.00;<br> Ini = 0.20;<br> Max = 10.00;<br> Step = 0.10;<br> Type = CONTINUOUS;<br> }<br>Function { <br> Name = S; <br> Function = "multiply( %x%, 20 )";<br> }<br>*********************************<br><br>I have a question about the format of the Function part. <br><br>In the upper code, it is written as ***********Function = "multiply( %x%, 20 )";********** Is it possible to write the equation directly as: Function = x*20?<br><br>What formats does this function follow (Java language? Fortran language?)? <br><br>Thank you very much.<br><br>Kind Regards,<br>Sunliang Cao<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br> </div></body>
</html>