Bounia,
There is some example code in the Type169 description of the 04-MathematicalReference manual. The example uses the line:
import TRNSYSpy as TRNSYS
rather than
import TRNSYSpy as trn
I have not used Type169 myself but based on experience with other links between TRNSYS and external tools it is almost always necessary to check the following:
- make sure you have administrator rightskind regards,
David
Is there anyone using type 169 to directly call a python script from simulation studio?
If someone can also help me by sending me an example to (bounialouenas93@gmail.com), I will be very grateful.
Could someone tell me why when i import python modules type 169 is not working.
For example:
If in my python script:
import TRNSYSpy as trn
lTRNSYSpy not found?
Thanking you dear user.
_______________________________________________ TRNSYS-users mailing list TRNSYS-users@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@tess-inc.com http://www.tess-inc.com http://www.trnsys.com