Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Users Guide to Type277 Loosely Coupled Integration of TRNSYS with Java

Published

Author(s)

Farhad Omar

Abstract

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].
Citation
Technical Note (NIST TN) - 2053
Report Number
2053

Keywords

Co-simulations, TNRSYS-Java coupler, TRNSYS Type DLL, TRNSYS Type, TRNSYS-Java
Created August 13, 2019