<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Adrian -</p>
<p>A few things to check:</p>
<p>1) Can you run with the sample script from the Type169 description in the  MathematicalReference volume of the TRNSYS documentation set?</p>
<p>2) Are you trying to load external libraries in your script? (This does not work with the TRNSYS-Python link.)</p>
<p>3) Is the file containing your Python script named in all lower case letters?</p>
<p>Regards,</p>
<p>Tim</p>
<p> </p>
<div>
<pre>---<br />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</pre>
</div>
<p>On 2020-04-15 12:22, Adrian Riebel Brummer via TRNSYS-users wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr"><br />
<div>Dear TRNSYS users,</div>
<div> </div>
<div>I am trying to use Type 169 to connect my TRNSYS simulation with a Python script.</div>
<div> </div>
<div>I am getting the following error: The python script file failed to load.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>The file Type169.dll is linked to Python36.dll.</div>
<div> </div>
<div>Thanks for your help.</div>
<div> </div>
<div>Best regards,</div>
<div> </div>
<div>Adrian Riebel</div>
</div>
<br />
<pre>_______________________________________________
TRNSYS-users mailing list
<a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
</body></html>