[TRNSYS-users] Type 169 - The python script file failed to load

Tim McDowell mcdowell at tess-inc.com
Thu Apr 16 05:39:59 PDT 2020


 

Adrian - 

A few things to check: 

1) Can you run with the sample script from the Type169 description in
the MathematicalReference volume of the TRNSYS documentation set? 

2) Are you trying to load external libraries in your script? (This does
not work with the TRNSYS-Python link.) 

3) Is the file containing your Python script named in all lower case
letters? 

Regards, 

Tim 

---
Timothy P. McDowell
Executive Vice President
Thermal Energy System Specialists, LLC
3 N Pinckney St, Suite 202
Madison, WI 53703
office: 608-274-2577
cell: 608-225-5250

On 2020-04-15 12:22, Adrian Riebel Brummer via TRNSYS-users wrote: 

> Dear TRNSYS users, 
> 
> I am trying to use Type 169 to connect my TRNSYS simulation with a Python script. 
> 
> I am getting the following error: The python script file failed to load. 
> 
> I don't know what to do because the error message tells me no reasons why this could be happening. I have TRNSYS version 18.00.0015 and Python 3.6.8, both of them in 64 bits. 
> 
> The file Type169.dll is linked to Python36.dll. 
> 
> Thanks for your help. 
> 
> Best regards, 
> 
> Adrian Riebel 
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org [1]
 

Links:
------
[1]
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200416/3155f9b2/attachment.html>


More information about the TRNSYS-users mailing list