Thank you, Vasilis!
I use GenOpt + E+, but your tutorial is very clear and effective!
I would ask you if you could explain how to couple GenOpt with Jgap, since it is quite tricky…
thank you so much!

Hi Salvo,
JGAP is a java code package and coupling it requires a new major tutorial. The information needed to couple a new optimization algorithm in GenOpt is to find the variables the algorithm needs to know (ie pop_size, mutation rate etc.) and how to start that optimization algorithm. You then build a new algorithm class which extends GenOpt’s optimizer class. You will use the methods of the optimizer class to retrieve the input values of GenOpt’s input files, to send the design variables for fitness function calculation, retrieve that results and print them to the screen.
If you have an algorithm to implement then send me more info so I can help you.
If you need a genetic algorithm for GenOpt send me a email and I can send you the JGAP algorithm or some others depending your problem.

I want to set up an optimization problem of daylighting performance，and optimum daylighting design varies based on climate andgeographic location, orientation, and surrounding exterior context. This optimization will use Genopt and Radiance. I have installed Radiance in win7 -64 and Genopt ，and then I want to know wether the Tutorial on GenOpt with Radiance can be useful in my situation.

Hi Vasileios!
Thank you for sharing your experience of working on Genopt, could you help me to create a configure file for Doe2.2, i created all files but cfg file, below is the doe22 installation and Execution Instructions. Thank you!

I am interested in learning how to couple JGAP or any other genetic algorithm tool to GenOpt. Would you be able to send me some material to start with? I do not know anything about coding but I have a bit of experience in how to set up GenOpt with different software. I have used it with E+ and TRNSYS and plan to perform an optimization study in E+ right now with GA.

Coupling GenOpt with an optimization package like JGAP requires programming skills. Coupling GenOpt with a simulation program is relatively easy and doesn’t require any coding, just text configuration files. Coupling an optimization package like JGAP requires deep understanding on how the specific package works and JAVA coding to extend the GenOpt classes. JGAP implementation has been used in a couple of research studies and I plan to upload the files in October with a worked example and some configuration guidence. If you are in a hurry or need help solving a specific problem, feel free to contact me via e-mail.

Try using MOBO optimization software. It has number of genetic algorithms in it. It should be quite easy to use, if you have prior experiense with GenOpt. MOBO can be coupled with number of building simulation tools (like GenOpt).

Hi,How are you?How can i download or see this tutorial?My M.Sc project is about building optimization.
I mean GenOpt & Energyplus
please help me.Can you aware me about this tutorial via my Gmail?
thankyou alot buddy.

ammmm,I am a new energyplus user,I am interested in learning how to model and optimize a building with E+ and GenOpt.
I will thank you to help or send me any link for tutorials or files to learn these softwares via my Gmail.
thankyou alot.

You should start learning EnergyPlus and when you feel confident enough you may continue learning model optimization. You will find lots of information on EnergyPlus in the dedicated page where you download the program as well. You may start learning model optimization via GenOpt by using this tutorial and running the examples that come preinstalled with GenOpt. Feel free to post back if you have any specific questions/problems!

Hi,
Really thanks for the tutorial it helps a lot even for DYMOLA, I don’t know if you could help me. GenOpt already makes the minimization, but only for one variable or in one point in time. Its a simple simulation of y=x1-x2 running from 0 to 2 seconds the lowest point being in second 1. But GenOpt only makes the minimization in second 2. Hope you could help. Thanks.

You may give me some more information because I didn’t understood your problem.
Is y=x1-x2 your cost function needing minimization?
Are x1 and x2 your design variables?
0 < x1,x2 < 2?
If so, you minimum y would be at x1=0 and x2=2 (y=-2)
What do you mean that it makes minimization in second 2? Do you have a multi-objective function? Are x1 and x2 your objective functions or your design variables? What is y?

I am using GenOpt to optimize a Dymola model I have.

When I run GenOpt, GenOpt returns my minimum cost function value as my initial cost function value. The cost function value does not change, but it should.

Hello,
thanks for the tutorial. Am working on GenOpt coupled with TRNSYS.
when you run an optimization GenOpt write an output file with optimisation variables and objectives function values obtain at each steps. how can specify more parameters to be write in the file for each steps? is it possible to write a different simulation result file for each steps of the optimization process.??
Pierre

Hi Pierre,
If I remember correctly, you can specify as many design variables and as many functions you want to. GenOpt won’t check if you used a result in the objective function calculation. So, yes you can specify more result variables in “ObjectiveFunctionLocation“ section meaning more names and delimiters. Those names will be printed in the log file.
You need to alter GenOpt’s code (java) if you want them to be written to a different file. It’s not hard but it seems unnecessary because GenOpt’s results are delimited and easy to work on.

Hello, I installed GenOpt on my system. It was written in tutorial that it is needed to select File, then Start, and then open initialization file. Unfortunately, I could not open this file. Would you please help me how to open it.

Thanks a lot for the tutorial, I am working with TRNSYS and Genopt. Do you know a place to star to couple both using TRNSYS 17 and the latest version of GenOpt? Because I am getting a lot of error messages using TRNOPT, and it is caused by a type used for the Building Simulation within TRNSYS.
Mario

Hi,
I have a really big problem with compiling Genopt for the version with absolute value. Is there any way you could send me your complied programm. That would be wonderful.

It is truly a nice and helpful piece of information. I am glad that you simply shared this helpful info with us. And also thank you for your detailed explain.

Thank you, Vasilis!

I use GenOpt + E+, but your tutorial is very clear and effective!

I would ask you if you could explain how to couple GenOpt with Jgap, since it is quite tricky…

thank you so much!

Hi Salvo,

JGAP is a java code package and coupling it requires a new major tutorial. The information needed to couple a new optimization algorithm in GenOpt is to find the variables the algorithm needs to know (ie pop_size, mutation rate etc.) and how to start that optimization algorithm. You then build a new algorithm class which extends GenOpt’s optimizer class. You will use the methods of the optimizer class to retrieve the input values of GenOpt’s input files, to send the design variables for fitness function calculation, retrieve that results and print them to the screen.

If you have an algorithm to implement then send me more info so I can help you.

If you need a genetic algorithm for GenOpt send me a email and I can send you the JGAP algorithm or some others depending your problem.

Dear Vasilis

I want to set up an optimization problem of daylighting performance，and optimum daylighting design varies based on climate andgeographic location, orientation, and surrounding exterior context. This optimization will use Genopt and Radiance. I have installed Radiance in win7 -64 and Genopt ，and then I want to know wether the Tutorial on GenOpt with Radiance can be useful in my situation.

Hi Vasileios!

Thank you for sharing your experience of working on Genopt, could you help me to create a configure file for Doe2.2, i created all files but cfg file, below is the doe22 installation and Execution Instructions. Thank you!

http://www.google.com.hk/url?sa=t&rct=j&q=doe22.bat&source=web&cd=1&cad=rja&ved=0CDAQFjAA&url=%68%74%74%70%3a%2f%2f%64%6f%65%32%2e%63%6f%6d%2f%64%6f%77%6e%6c%6f%61%64%2f%64%6f%65%2d%32%32%2f%52%45%41%44%4d%45%2e%50%44%46&ei=wwC0UYLiNcXLkgWB4YH4Bw&usg=AFQjCNG750dy8H3_qZWVquDkBLOKiuoovw

Dear Vasilis,

I am interested in learning how to couple JGAP or any other genetic algorithm tool to GenOpt. Would you be able to send me some material to start with? I do not know anything about coding but I have a bit of experience in how to set up GenOpt with different software. I have used it with E+ and TRNSYS and plan to perform an optimization study in E+ right now with GA.

Thank you for all your help in advance.

Hi Amir,

Coupling GenOpt with an optimization package like JGAP requires programming skills. Coupling GenOpt with a simulation program is relatively easy and doesn’t require any coding, just text configuration files. Coupling an optimization package like JGAP requires deep understanding on how the specific package works and JAVA coding to extend the GenOpt classes. JGAP implementation has been used in a couple of research studies and I plan to upload the files in October with a worked example and some configuration guidence. If you are in a hurry or need help solving a specific problem, feel free to contact me via e-mail.

Try using MOBO optimization software. It has number of genetic algorithms in it. It should be quite easy to use, if you have prior experiense with GenOpt. MOBO can be coupled with number of building simulation tools (like GenOpt).

MOBO cab be downloaded from http://ibpsa-nordic.org/tools.html

Matti Palonen

Hi,How are you?How can i download or see this tutorial?My M.Sc project is about building optimization.

I mean GenOpt & Energyplus

please help me.Can you aware me about this tutorial via my Gmail?

thankyou alot buddy.

Hi, I fixed a language presentation problem of my site. You may use the tutorial information and post back if you have any questions.

ammmm,I am a new energyplus user,I am interested in learning how to model and optimize a building with E+ and GenOpt.

I will thank you to help or send me any link for tutorials or files to learn these softwares via my Gmail.

thankyou alot.

You should start learning EnergyPlus and when you feel confident enough you may continue learning model optimization. You will find lots of information on EnergyPlus in the dedicated page where you download the program as well. You may start learning model optimization via GenOpt by using this tutorial and running the examples that come preinstalled with GenOpt. Feel free to post back if you have any specific questions/problems!

Hi dear Vasileios Machairas,Thanks very very much to guide me.Thanks.

Hi,

Really thanks for the tutorial it helps a lot even for DYMOLA, I don’t know if you could help me. GenOpt already makes the minimization, but only for one variable or in one point in time. Its a simple simulation of y=x1-x2 running from 0 to 2 seconds the lowest point being in second 1. But GenOpt only makes the minimization in second 2. Hope you could help. Thanks.

You may give me some more information because I didn’t understood your problem.

Is y=x1-x2 your cost function needing minimization?

Are x1 and x2 your design variables?

0 < x1,x2 < 2? If so, you minimum y would be at x1=0 and x2=2 (y=-2) What do you mean that it makes minimization in second 2? Do you have a multi-objective function? Are x1 and x2 your objective functions or your design variables? What is y?

Hi Vasileios,

I am using GenOpt to optimize a Dymola model I have.

When I run GenOpt, GenOpt returns my minimum cost function value as my initial cost function value. The cost function value does not change, but it should.

Do you know what may be my issue?

Regards,

Bryan

Hello,

thanks for the tutorial. Am working on GenOpt coupled with TRNSYS.

when you run an optimization GenOpt write an output file with optimisation variables and objectives function values obtain at each steps. how can specify more parameters to be write in the file for each steps? is it possible to write a different simulation result file for each steps of the optimization process.??

Pierre

Hi Pierre,

If I remember correctly, you can specify as many design variables and as many functions you want to. GenOpt won’t check if you used a result in the objective function calculation. So, yes you can specify more result variables in “ObjectiveFunctionLocation“ section meaning more names and delimiters. Those names will be printed in the log file.

You need to alter GenOpt’s code (java) if you want them to be written to a different file. It’s not hard but it seems unnecessary because GenOpt’s results are delimited and easy to work on.

thanks!!! I’ll check !!

Hello, I installed GenOpt on my system. It was written in tutorial that it is needed to select File, then Start, and then open initialization file. Unfortunately, I could not open this file. Would you please help me how to open it.

Thanks a lot for the tutorial, I am working with TRNSYS and Genopt. Do you know a place to star to couple both using TRNSYS 17 and the latest version of GenOpt? Because I am getting a lot of error messages using TRNOPT, and it is caused by a type used for the Building Simulation within TRNSYS.

Mario

Hi,

I have a really big problem with compiling Genopt for the version with absolute value. Is there any way you could send me your complied programm. That would be wonderful.

whats the next post??

It is truly a nice and helpful piece of information. I am glad that you simply shared this helpful info with us. And also thank you for your detailed explain.

and by researchers to evaluate new lighting and daylighting technologies.