This repository contains the releases of a program that runs TRNSYS simulations.
Go to the Releases page and download the latest trnsys_{version}_x64-setup.exe installer file.
- Double-click the downloaded
trnsys_{version}_x64-setup.exefile. - Follow the on-screen instructions to complete the installation. The default installation directory is
C:\Users\{Your Username}\AppData\Local\trnsys.
After installation, you will need to define the locations of the TRNSYS directories in a configuration file. The program will read this file at runtime.
-
Create a JSON file at
C:\Users\{Your Username}\.config\trnsys\directories.jsonwith the following format:{ "root": "C:\\Path\\To\\TRNSYS\\Root", "exe": "C:\\Path\\To\\TRNSYS\\Executable", "resources": "C:\\Path\\To\\TRNSYS\\Resources", "userTypes": [ "C:\\Path\\To\\User\\Type\\Directory", "C:\\Path\\To\\Another\\User\\Type\\Directory" ] } -
Replace the example paths with the actual locations on your computer. An example config for a hypothetical user named Angie would be:
{ "root": "C:/Users/Angie/source/repos/isentropic-dev/trnsys-core/build/x64/Debug/dist", "exe": "C:/Users/Angie/source/repos/isentropic-dev/trnsys-core/build/x64/Debug/dist", "resources": "C:/Users/Angie/source/repos/isentropic-dev/trnsys-core/Resources", "userTypes": [] }
Note: Only Mac computers with Apple silicon (M1, M2, and M3) are supported.
Go to the Releases page and download the latest trnsys_aarch64.app.tar.gz file.
-
Expand the downloaded
trnsys_aarch64.app.tar.gzfile by either:- Double-clicking the file, or
- Using the following terminal command:
tar -xzvf trnsys_aarch64.app.tar.gz
-
Move the
trnsys.appapplication to your preferred location, such as/Applications.
After installation, you will need to define the locations of the TRNSYS directories in a configuration file. The program will read this file at runtime.
-
Create a JSON file at
~/.config/trnsys/directories.jsonwith the following format:{ "root": "/Path/To/TRNSYS/Root", "exe": "/Path/To/TRNSYS/Executable", "resources": "/Path/To/TRNSYS/Resources", "userTypes": [ "/Path/To/User/Type/Directory", "/Path/To/Another/User/Type/Directory" ] } -
Replace the example paths with the actual locations on your computer.
Once installed, this program will automatically update itself when newer versions are available. The directory paths specified in the directories.json configuration file should remain intact across updates.