[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Importing into Matlab/Simulink and Using "callingmatlab.tpf" tuorial




Dear Martin,

The TRNSYS Developers from CSTB in France developed a way to import the TRNSYS Type into Matlab/Simulink for TRNSYS version 17. If I am not mistaken, according to our records, you are still using v 16.1? I do have a Type155.dll that should work for that version that I can send you in an ensuing email.

Best regards,

Matt Duffy

----- Original Message -----
From: "Martin Brosnan" <martin.brosnan1@student.dit.ie>
Sent: Tue, January 18, 2011 2:26
Subject: [TRNSYS-users] Importing into Matlab/Simulink and Using "callingmatlab.tpf" tuorial

To Whom It May Concern:

 

I am new to TRNSYS 16, and I have the following queries.

 

  1. Is it possible to im! port Type 60 into Matlab/Simulink as I want to simulate control?

Does TRNSYS tell Matlab the time step used in TRNSYS? Does it use an .dll or .m file?

 

2.       I have Matlab 2007a and am looking to use Type 155. From the tutorial I have run “calling matlab.tpf”
However I am getting the following errors:
 
 
ID
Severity:
Time (h):
Unit    :
Type:
 
15
Error
0
0
0
Message :Your input file uses Type 155 (Calling Matlab). "Type155.dll" was found but could not be loaded. Please make sure that a supported version of Matlab is installed and!
  that Matlab's "bin\win32" folder is on Windows' search path
17
Error
0
14
0
Total Fatal errors: 2
16
Error
3624.000
19
155
A TYPE was called in the TRNSYS input file but was either not linked into trndll.dll or was not found in an external dll. A dummy subroutine was called in its place. Please link the TYPE or remove it from the input file Reported information  : Type 155 was not found. Please make sure that Type155.dll is in the 'Userlib' folder
 
 
 
 
 
 
 
Comments on the above
Item 15: I am not sure if TRNSYS 16 supports Matlab 7.5.0 2007a, please advise.
Item 15: To the best of my knowledge the Matlab’s “bin\win32” folder is on Window’s search path, but would like to be sure, so can you please advise.
Item 16: Type155.dll is 
in the ‘Userlib’ folder.
 
I would really appreciate if you could help me on this.

 

Martin Brosnan.

MPhil Research Student.

 

Research Laboratory.

Room - KEG 36C.

School of Electrical Engineering Systems.

DIT Kevin St.

Dublin 8.

 

Ph: +353 (01) 4022814

Ph: +353 (087) 9025072

 


This message has been scanned! for content and viruses by the DIT Information Services E-Mail Scanning Service and is believed to be clean. http://www.dit.ie
 

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users