Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Users Guide to Type277 Loosely Coupled Integration of TRNSYS with Java



Farhad Omar


The purpose of this document is to provide instructions for using a newly developed TRNSYS component (Type277). Type277 enables the loosely-coupled integration of a TRNSYS model with Java software environments using socket communication. The bi-directional flow of information is facilitated through a Client-Server architecture in Java. Type277 is compiled in both 32-bit and 64-bit dynamic link libraries to support the integration of simulation models that are developed in TRNSYS17 and TRNSYS18 releases. An application of Type277 is demonstrated by modifying an existing simulation model (PVT) included with standard TRNSYS releases. To ensure a reliable transfer of information, the data are serialized using Google’s protocol buffers [1].
Technical Note (NIST TN) - 2053
Report Number


Co-simulations, TNRSYS-Java coupler, TRNSYS Type DLL, TRNSYS Type, TRNSYS-Java


Omar, F. (2019), Users Guide to Type277 Loosely Coupled Integration of TRNSYS with Java, Technical Note (NIST TN), National Institute of Standards and Technology, Gaithersburg, MD, [online], (Accessed May 19, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created August 13, 2019