[TRNSYS-users] Question about GenOpt for Trnsys

SUNLIANG CAO caosunliang at msn.com
Mon Apr 22 06:35:53 PDT 2013


Dear all,

I have a quesion about using GenOpt for TRNSYS.

In the GenOpt optimization commands file (e.g. "GenOpt-OptimizationCommands.txt"),  there might be some derived variables defined by "functions".

For example the codes like:

***********************************
Vary {

    Parameter {
        Name    = x;
        Min     = 0.00;
        Ini     = 0.20;
        Max     = 10.00;
        Step    = 0.10;
        Type    = CONTINUOUS;
    }
Function { 
        Name = S; 
        Function = "multiply( %x%, 20 )";
    }
*********************************

I have a question about the format of the  Function part. 

In the upper code, it is written as ***********Function = "multiply( %x%, 20 )";********** Is it possible to write the equation directly as:  Function = x*20?

What formats does this function follow (Java language? Fortran language?)? 

Thank you very much.

Kind Regards,
Sunliang Cao
















 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130422/d1069e37/attachment-0004.htm>


More information about the TRNSYS-users mailing list