Calling Python from TRNSYS with CFFI
Description
This software package provides all the files required to use the component calling Python from TRNSYS (version 18) using CFFI. The coupling method allows importing existing Python libraries (such as numpy) in your Python modules, providing more flexibility than the existing standard TRNSYS component (Type 169).
The software is provided as a zip archive with all the required files to integrate the new component into your TRNSYS installation, including some examples. Please check the documentation included in the zip file (in the TRNLib\Documentation subdirectory) before trying the examples – they will only work “out of the box” if your Python version matches the one used to develop the component and is on Windows’ search path, but instructions are provided to install and/or configure different versions.
Files
CallingPython-Cffi v0.5 (2022-04-11).zip
Files
(6.0 MB)
Name | Size | Download all |
---|---|---|
md5:748756b4129bf9b70eb54e6d6c94e0c2
|
2.5 MB | Preview Download |
md5:e2da14ce1687c87154532bc1a41532d3
|
3.5 MB | Preview Download |