Iker Marino Bilbao wrote:
When I try to run any project, it appears the following error: "Did not find TrnDLL.dll", and hence it's impossible to carry out any kind of simulation. I have checked that this problem appears just when I have Matlab installed in the same PC. I need to have the two programs installed at the same time, because I want to build and applications that employs the both of them. I'm not able to solve the problem and maybe someone could help me.
TRNSYS 16 should not interact with Matlab unless you are running a project with Type 155. I would suggest the following steps for troubleshooting:
If you are trying to run a project with Type 155 (calling MAtlab):- Make sure that your Matlab "bin\win32" directory is on windows' search path (C:\Matlab\bin\win32 by default) and that you are using a supported version of Matlab (R13 or R14)
If you are not running a project with Type 155:- You could try removing Type155.dll from your Trnsys16\UserLib directory (really remove it, renaming it won't help). If it solves your problem please report it to your distributor with a description of your system and installed programs, it is a bug. - Check the log file for an indication of what the problem might be. E.g. when you run begin.tpf (in Examples\Begin), the file should look like the attached file. Please send your log file to your distributor if you cannot run Begin.tpf
Kind regards, Michaël Kummert -- _________________________________________________________ Michaël Kummert Solar Energy Laboratory - University of Wisconsin-Madison 1303 Engr Res Bldg, 1500 Engineering Drive Madison, WI 53706 Tel: +1 (608) 263-1589 Fax: +1 (608) 262-8464 E-mail: kummert@engr.wisc.edu SEL Web Site: http://sel.me.wisc.edu TRNSYS Web Site: http://sel.me.wisc.edu/trnsys
TRNSYS - the TRaNsient SYstem Simulation program
The Solar Energy Lab at the University of Wisconsin - Madison, USA
Le Centre Scientifique et Technique du Batiment, Sophia Antipolis, France
Transsolar Energietechnik GmBH, Stuttgart, Germany
Thermal Energy System Specialists, Madison Wisconsin, USA
Release 16.00.0036
Simulation log for: "C:\Program Files\Trnsys16\Examples\Begin\Begin.dck"
*** Notice at time : 0.000000
Generated by Unit : Not applicable or not available
Generated by Type : Not applicable or not available
Message : The following Types were loaded from TRNDll.dll: Type109, Type3, Type1, Type6, Type24, Type25, Type65, Type14
*** Notice at time : 0.000000
Generated by Unit : Not applicable or not available
Generated by Type : Not applicable or not available
Message : "Type155.dll" was found but not loaded since Type 155 is not used in the input file.
*** Notice at time : 0.000000
Generated by Unit : Not applicable or not available
Generated by Type : Not applicable or not available
Message : "Type62.dll" was found but did not contain any components from the input file.
*** Notice at time : 0.000000
Generated by Unit : Not applicable or not available
Generated by Type : Not applicable or not available
TRNSYS Message 199 : TRNSYS found at least one user DLL in the UserLib directory. (Note: Only DLL's including Types that are used in the simulation are loaded)
Reported information : 0 user DLLs were loaded after searching in "C:\Program Files\Trnsys16\UserLib"
*** End of the simulation
Total Notices : 4
Total Warnings : 0
Total Fatal Errors : 0
Total TRNSYS Calculation Time : 1.6700 seconds
Calculation time inside the Types : 0.2800 seconds
TRNSYS Calculation Time Breakdown by Unit Number
Unit 2 : 0.180000 seconds
Unit 3 : 0.000000 seconds
Unit 4 : 0.010000 seconds
Unit 5 : 0.030000 seconds
Unit 6 : 0.010000 seconds
Unit 7 : 0.040000 seconds
Unit 8 : 0.010000 seconds
Unit 9 : 0.000000 seconds
TRNSYS Calculation Time Breakdown by Type Number
Type 1 : 0.010000 seconds
Type 3 : 0.000000 seconds
Type 6 : 0.030000 seconds
Type 14 : 0.000000 seconds
Type 24 : 0.010000 seconds
Type 25 : 0.040000 seconds
Type 65 : 0.010000 seconds
Type 109 : 0.180000 seconds
TRNSYS Iterative Call Breakdown by Unit Number
Unit 2 : 2834 calls
Unit 3 : 2954 calls
Unit 4 : 2954 calls
Unit 5 : 2953 calls
Unit 6 : 1419 calls
Unit 7 : 1419 calls
Unit 8 : 1419 calls
Unit 9 : 2835 calls