[TRNSYS-users] Help with matlab code to TRNSYS

David BRADLEY d.bradley at tess-inc.com
Tue Aug 25 08:45:13 PDT 2020


The most likely issue is that the Type155.dll in the .\Trnsys18\Exe\ 
directory is not compiled for the version of Matlab that you are using. 
Look in the .\Trnsys18\Exe\DLLs\ directory and extract the Type155.dll 
file from the *.zip file that corresponds to your version of Matlab. If 
you do not see your version of Matlab in that directory then send an 
email to your techsupport hotline and then can send you the appropriate 
file for your Matlab version.

kind regards,

  David


On 08/25/2020 10:08, saeid mohammadzadeh wrote:
> Dear Mr. David;
>
> Thank you so much for your email. Unfortunately, this example does not 
> work in my TRNSYS and gives the error of "64 and 32bit version....". 
> While both software was installed using the 64bit version.
>
> //Best Regards//
> /Saeid Mohammadzadeh Bina, Dr. (Eng.)/
> //-------------------------------------------------//
> /Akita University/
> /Graduate school of International Resource Sciences//.
> 1-1 Tegata gakuen-machi, Akita 010-8502, Japan/
> /Tel: //+815068665026 (Japan)/
> / +989141011757 (Iran)///
> /E-mail: //d9515254 at s.akita-u.ac.jp/ 
> <mailto:s.mohammadzadeh66 at gmail.com>//
> /mohammadzadehsaeid at yahoo.com <mailto:mohammadzadehsaeid at yahoo.com>/
> //-------------------------------------------------
>
> //
>
>
> On Tue, Aug 25, 2020 at 11:35 PM David BRADLEY <d.bradley at tess-inc.com 
> <mailto:d.bradley at tess-inc.com>> wrote:
>
>     Dr. Bina,
>
>      I would recommend that you first try to get the Matlab example
>     running before trying your own coupling. That will ensure that all
>     the potential connection problems are sorted out. The Type155
>     section of the 04-MathematicalReference manual (located in the
>     .\TrnsysXX\Documentation\ directory contains a knowledge base
>     about trouble shooting the connection.
>
>     kind regards,
>
>      David
>
>
>     On 08/25/2020 04:04, saeid mohammadzadeh via TRNSYS-users wrote:
>>     Dear users;
>>     Can anyone please help me how to call a matlab code to TRNSYS,
>>     step by step?
>>     I have a Matlab code that receives a time base data and delivers
>>     the output based on those input data. The main objective is to
>>     connect these two software that the input data of the Matlab
>>     comes from TRNSYS.
>>     Thank you so much in advance.
>>
>>     //Best Regards//
>>     /Saeid Mohammadzadeh Bina, Dr. (Eng.)/
>>     //-------------------------------------------------//
>>     /Akita University/
>>     /Graduate school of International Resource Sciences//.
>>     1-1 Tegata gakuen-machi, Akita 010-8502, Japan/
>>     /Tel: //+815068665026 (Japan)/
>>     / +989141011757 (Iran)///
>>     /E-mail: //d9515254 at s.akita-u.ac.jp/
>>     <mailto:s.mohammadzadeh66 at gmail.com>//
>>     /mohammadzadehsaeid at yahoo.com <mailto:mohammadzadehsaeid at yahoo.com>/
>>     //-------------------------------------------------
>>
>>     //
>>
>>     _______________________________________________
>>     TRNSYS-users mailing list
>>     TRNSYS-users at lists.onebuilding.org  <mailto:TRNSYS-users at lists.onebuilding.org>
>>     http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
>
>     -- 
>     ***************************
>     David BRADLEY
>     Principal
>     Thermal Energy Systems Specialists, LLC
>     3 North Pinckney Street - suite 202
>     Madison, WI  53703 USA
>
>     P:+1.608.274.2577
>     F:+1.608.278.1475
>     d.bradley at tess-inc.com  <mailto:d.bradley at tess-inc.com>
>
>     http://www.tess-inc.com
>     http://www.trnsys.com
>
-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200825/d9b11879/attachment-0001.html>


More information about the TRNSYS-users mailing list