Αυτό το άρθρο υπάρχει μόνο στην αγγλική γλώσσα.
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!
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 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.
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
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.
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.
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?
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.??
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 !!
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.
Your email address will not be published. Required fields are marked *