<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
There is a TRNSYS type allowing to call Matlab ; you find it under Utility\Calling External Programs\Matlab</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
If your Matlab version does not match the one used by the type you may have to update it from the </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
\TRNSYS18\Exe\DLLs<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
directory. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
See \TRNSYS18\Documentation\04-MathematicalReference.pdf, 4.11.20. Type 155: Calling External Programs: Matlab™ 4–678</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
for documentation.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Werner</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org> de la part de HuseyinGunhanOzcan via TRNSYS-users <trnsys-users@lists.onebuilding.org><br>
<b>Envoyé :</b> jeudi 12 mai 2022 09:44<br>
<b>À :</b> trnsys-users@lists.onebuilding.org <trnsys-users@lists.onebuilding.org><br>
<b>Cc :</b> HuseyinGunhanOzcan <ozcanhuseyingunhan@gmail.com><br>
<b>Objet :</b> [TRNSYS-users] Calling External Programs (MATLAB)</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Palatino Linotype"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="TR" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Dear all,</p>
<p class="x_MsoNormal">I hope you are all doing well. In a research study, we are trying to develop a mathematical model of battery system in Matlab simulation studio then to call this model to TRNSYS Simulation studio (co-simulation work).
</p>
<p class="x_MsoNormal">However, we could not find any information about “hoıw these models can communicate between each other (The details of MATLAB code for communication)”.  We would be very greatful if you can share your experience about this issuue and
 share some examples if you know.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Best regards.</p>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal"><b><i><span style="font-family:"Palatino Linotype",serif; color:#0D0D0D">Assist. Prof. Dr. Hüseyin Günhan ÖZCAN</span></i></b></p>
<p class="x_MsoNormal"><b><i><span style="font-family:"Palatino Linotype",serif; color:#0D0D0D">Bahçeşehir University</span></i></b></p>
<p class="x_MsoNormal"><b><i><span style="font-family:"Palatino Linotype",serif; color:#0D0D0D">Fac. of Eng. and Nat. Sci., Dept. of Energy Sys. Eng.</span></i></b><span style="color:#0D0D0D"></span></p>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>