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

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

Citation

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], https://doi.org/10.6028/NIST.TN.2053 (Accessed April 26, 2024)
Created August 13, 2019