<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:14pt"><span id="result_box" class="" lang="en"><span class="hps">hello<br>Since</span> <span class="hps">January</span> <span class="hps">I have not</span> <span class="hps">received your</span> <span class="hps">email</span><br><span class="hps">I</span> <span class="hps">am a user</span> <span class="hps">of</span> <span class="hps">TRNSYS</span> <span class="hps">and I</span> <span class="hps">rely heavily on</span> <span class="hps">your forom </span><span class="hps"></span> <span class="hps">to</span> <span class="hps">improve my</span> <span class="hps">simuation</span></span><div><span><br></span></div><div> </div><div class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"><span style="FONT-SIZE:10pt;COLOR:teal;"><font face="Times New Roman">Mlle Naïma FEZZIOUI </font></span></div>  <div class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"><span
 style="FONT-SIZE:8pt;COLOR:#3366ff;FONT-FAMILY:Times;">Faculté des Sciences et Technologie</span></div>  <div class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"><span style="FONT-SIZE:8pt;COLOR:#3366ff;FONT-FAMILY:Times;">Département des Sciences </span></div>  <div class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"><span style="FONT-SIZE:8pt;COLOR:#3366ff;FONT-FAMILY:Times;">Université de Béchar</span></div>  <div class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"><span style="FONT-SIZE:8pt;COLOR:#3366ff;FONT-FAMILY:Times;">B.P 417, 08000</span></div>  <div class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"><b><span class="yui_3_7_2_28_1364925933865_88" style="FONT-WEIGHT:normal;FONT-SIZE:8pt;COLOR:#3366ff;FONT-FAMILY:Times;">Fax: 00213.49.81.52.44 </span></b><b><span style="FONT-SIZE:8pt;COLOR:#3366ff;FONT-FAMILY:Times;"></span></b></div><div><br></div>  <div style="font-family: verdana, helvetica, sans-serif; font-size: 14pt;"> <div style="font-family: times new
 roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">De :</span></b> "trnsys-users-request@cae.wisc.edu" <trnsys-users-request@cae.wisc.edu><br> <b><span style="font-weight: bold;">À :</span></b> trnsys-users@cae.wisc.edu <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Mercredi 30 janvier 2013 1h01<br> <b><span style="font-weight: bold;">Objet :</span></b> TRNSYS-users Digest, Vol 97, Issue 41<br> </font> </div> <br>----- Mail transféré -----<br><br>Send TRNSYS-users mailing list submissions to<br>    <a ymailto="mailto:trnsys-users@cae.wisc.edu" href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    <a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users"
 target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br>or, via email, send a message with subject or body 'help' to<br>    <a ymailto="mailto:trnsys-users-request@cae.wisc.edu" href="mailto:trnsys-users-request@cae.wisc.edu">trnsys-users-request@cae.wisc.edu</a><br><br>You can reach the person managing the list at<br>    <a ymailto="mailto:trnsys-users-owner@cae.wisc.edu" href="mailto:trnsys-users-owner@cae.wisc.edu">trnsys-users-owner@cae.wisc.edu</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of TRNSYS-users digest..."<br><br>Today's Topics:<br><br>   1. Re: SIMULINK function for TRNSYS (saleh saadi)<br>   2. Re: Solution to TRNSYS-MATLAB problem (saleh saadi)<br>   3. hey (Na?ma FEZZIOUI)<br><div id="yiv1576958307"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times,
 serif;font-size:12pt;">Dear Users,<br><br>I wanted to share my experience so far. <br><br>I have been able to create types in SIMULINK, build and compile and use them in TRNSYS.  <br>All thanks goes to the P. Riederer, W. Keilholz, V. Ducreux who wrote a paper titled "COUPLING OF TRNSYS WITH SIMULINK – A METHOD TO AUTOMATICALLY EXPORT AND USE TRNSYS MODELS WITHIN SIMULINK AND VICE VERSA". <br><div><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>If any decides to go through this route, then let me know if  help is needed.  <br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;
font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>thanks,</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Saleh <br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> saleh saadi <salehsnjsaadi404@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> "trnsys-users@cae.wisc.edu" <trnsys-users@cae.wisc.edu> <br> <b><span style="font-weight:bold;">Sent:</span></b> Friday, December 14, 2012 6:04 PM<br> <b><span
 style="font-weight:bold;">Subject:</span></b> Re: SIMULINK function for TRNSYS<br> </font> </div> <br>
<div id="yiv1576958307"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>No one has worked on this yet to offer advice!!!.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>thanks,</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Saleh <br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2">
 <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> saleh saadi <salehsnjsaadi404@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> "trnsys-users@cae.wisc.edu" <trnsys-users@cae.wisc.edu> <br> <b><span style="font-weight:bold;">Sent:</span></b> Monday, December 10, 2012 9:11 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> SIMULINK function for TRNSYS<br> </font> </div> <br>
<div id="yiv1576958307"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>TRNSYS Users, <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">I have developed some models in SIMULINK and planing to use some types in TRNSYS 16. <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">I tried using TYPE155 for the co-simulation between SIMULINK and TRNSYS via
 MATLAB  but I found it so slow. I found an article written back in 2009 about the possibility of linking the SIMULINK models with TRNSYS TYPEs using some S functions directly without using TYPE155. Is there a way to get access to this or an example? <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Your help is appreciated. <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">regards,</div><div style="color:rgb(0, 0,
 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Saleh AL Saadi </div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">PhD Student <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">University of Colorado Boulder <br></div></div></div></div><br><br> </div> </div>  </div></div></div><br><br> </div> </div>  </div></div></div><div id="yiv2093786877"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;">Just to add to the Maarten's advice. <br><br>Don't do that for all Matlab versions you have in your machine. I did this and took me two days of work to discover that the other version was the registered server. TRNSYS
 was not be able to open MATLAB engine. <br>So, <br>Do it only for the version that you have the DLL  for  (i.e., TYPE155.DLL). <br><br>regards,<br>Saleh <br><br><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Maarten Sourbron <Maarten.Sourbron@mech.kuleuven.be><br> <b><span style="font-weight:bold;">To:</span></b> "trnsys-users@cae.wisc.edu"
 <trnsys-users@cae.wisc.edu> <br> <b><span style="font-weight:bold;">Sent:</span></b> Monday, January 16, 2012 8:59 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> [TRNSYS-users] Solution to TRNSYS-MATLAB problem<br> </font> </div> <br>
<div id="yiv2093786877">


 
 
<style>
<!--
#yiv2093786877   
 filtered  {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
#yiv2093786877 filtered  {font-family:"MS Mincho";panose-1:2 2 6 9 4 2 5 8 3 4;}
#yiv2093786877 filtered  {panose-1:2 2 6 9 4 2 5 8 3 4;}
#yiv2093786877   
 p.yiv2093786877MsoNormal, #yiv2093786877  li.yiv2093786877MsoNormal, #yiv2093786877  div.yiv2093786877MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
#yiv2093786877  a:link, #yiv2093786877  span.yiv2093786877MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv2093786877  a:visited, #yiv2093786877  span.yiv2093786877MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv2093786877  pre
        {margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier New";}
#yiv2093786877  span.yiv2093786877EmailStyle17
        {font-family:Arial;color:windowtext;}
#yiv2093786877 filtered  {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
#yiv2093786877  div.yiv2093786877Section1
        {}
-->
</style>



<div>

<div class="yiv2093786877Section1">

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;">Hi all,</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;">  </span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">It took us quit a while to figure out why the
TRNSYS-MATLAB coupling did not work at some machines, while it did on others.</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">After trying and comparing all possible options,
recompiling the type155-dll, … the following appears to be the problem:</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">  </span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">Matlab has to be registered as a COM server.  Simply
run the following command in Matlab:</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">  </span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">regmatlabserver</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">  </span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">And it works on all machines…</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">Hopefully this helps to save time </span></font><font face="Wingdings" size="2"><span style="font-size:10.0pt;font-family:Wingdings;" lang="EN-GB">J</span></font><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB"></span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">  </span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">Kind regards,</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">Maarten</span></font></div> 

<div class="yiv2093786877MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;" lang="EN-GB">  </span></font></div> 

<pre><font face="Times New Roman" size="2"><span style="font-size:10.0pt;" lang="EN-GB">---<br>
PhD student<br>
Simulation of Thermal Systems Research group<br>
Departement Werktuigkunde-Department of Mechanical Engineering <br>
Katholieke Universiteit Leuven<br>
Celestijnenlaan 300A bus 2421<br>
3001 Heverlee (Leuven)<br>
T : 0032 (0)16 32 28 73<br>
F : 0032 (0)16 32 29 85<br>
E : </span></font><font face="Times New Roman"><span style=""><a rel="nofollow" ymailto="mailto:Maarten.Sourbron@mech.kuleuven.be" target="_blank" href="mailto:Maarten.Sourbron@mech.kuleuven.be"><span lang="EN-GB">Maarten.Sourbron@mech.kuleuven.be</span></a></span></font><span lang="EN-GB"></span></pre><pre><font face="Courier New" size="2"><span style="font-size:10.0pt;" lang="EN-GB"> </span></font><span lang="EN-GB"></span></pre> 

<div class="yiv2093786877MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;" lang="EN-GB">  </span></font></div> 

</div>

</div>


</div><br>_______________________________________________<br>TRNSYS-users mailing list<br><a rel="nofollow" ymailto="mailto:TRNSYS-users@cae.wisc.edu" target="_blank" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><br><a rel="nofollow" target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br><br><br> </div> </div>  </div></div></div><div id="yiv99790704"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top"><div>hey have a look http://bit.ly/Wd6fjq</div><br><br>Naïma</td></tr></tbody></table></div><br>_______________________________________________<br>TRNSYS-users mailing list<br><a ymailto="mailto:TRNSYS-users@cae.wisc.edu" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><br><a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users"
 target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br><br><br> </div> </div>  </div></body></html>