<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body>
Hi,<div><br></div><div>There is no need to use Type 155, if you want to use the GA of Matlab. The Type 155 used when your main program is TRNSYS. Consider you run TRNSYS for a duration and find the value of your objective function by TRNSYS now it is time for Matlab to direct your variables to be sent to your TRNSYS dck file for another TRNSYS run. In other words, you should call TRNSYS many time in Matlab. The Type 155 is for calling Matlab in one TRNSYS run for every time step of TRNSYS run. It is quite different.</div><div><br></div><div>Arian <br><br><br><a href="https://overview.mail.yahoo.com/?.src=iOS">Sent from Yahoo Mail for iPhone</a><br><br><p class="yahoo-quoted-begin" style="font-size: 15px; color: #715FFA; padding-top: 15px; margin-top: 0">On Tuesday, February 23, 2021, 9:14 AM, Farah Souayfane via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:</p><blockquote class="iosymail"><div id="yiv9579876289"><div dir="ltr">Dear TRNSYS users,<div><br></div><div>I have a question related to the link between TRNSYS and MATLAB to perform an optimization problem through TYPE 155.</div><div>TRNSYS is a simulator (objective functions evaluated in TRNSYS) and a genetic algorithm is used in matlab (optimal values found in Matlab and then processed to TRNSYS).</div><div>Are there any clear steps we should follow to do this co-simulation?</div><div>I have seen that first, we have to parametrize the .dck file? others used GENOPT in order to automate TRNSYS runs and generate deck .dck file and then Matlab is used as an optimizer.</div><div>Any suggestions regarding this?</div><div><br></div><div>Thank you and best regards,</div><div>Farah</div><div><br></div><div><br></div><div><br></div></div>
<br>
<div><hr></div>This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</div>_______________________________________________<br>TRNSYS-users mailing list<br><a ymailto="mailto:TRNSYS-users@lists.onebuilding.org" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a><br><a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a><br><blockquote></blockquote></blockquote></div>
</body></html>