<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Dear Users,</div><div><br></div><div>I have been able successfully to couple my code developed in MATLAB with TRNSYS using TYPE155. I'm modelling a wall system with Phase Change Materials. I used the Finite Control Volume method and it is 1 D heat transfer. The code iterate to get solution before supply it to TRNSYS. The problem is that TRNSYS model (the coupled TRNSYS-MATLAB model) runs slower than the same code in MATLAB only.    I used "optimize components order" in the global infos but no improvement.  Currently, the TRNSYS model has the wall and the weather component only with a time step  of 1 hour. <br></div><div><br></div><div><br></div><div>TRNSYS version:  16.01.0003 <br></div><div>MATLAB 2009b (32 bits). <br></div><div><br></div><div>I'm running the code on my machine which is a windows 7
 (64bits). <br></div><div><br></div><div>Any suggestions to speed up the simulation? <br></div><div><br></div><div>Regards,</div><div>Saleh <br></div></div></body></html>