TRNFlow airflow network diagram

This article introduces a tool for drawing airflow network diagrams from TRNFlow bui files.

Display airflow network in browser

This tool draws an airflow network in html format from a TRNFlow bui file (.bui, .b17, .b18) and displays it in a browser.

Actually, I developed and released a similar TRNFlow tool before.

That one was a bit of a pain to set up, so this time I’ve created a tool that’s a bit easier to use.

Airflow Network Diagram Tool

This diagram is an example of an airflow network diagram created using the tool from the TRNFlow example, “C:\TRNSYS18\Examples\TRNFLOW_example\Restaurant_TRNFlow.bui”.

The symbols that appear are..

You can create an airflow network diagram like the one above.

The HTML is generated based on the airflow network defined in the TRNFlow window.

It’s a simple tool, but it makes it easy to check the connection between nodes and Airlink, and the settings for each node and Airlink.

Main Features

  • Displays external, auxiliary and thermal airnodes and airlinks
  • Displays setting information as hover text for nodes and airlinks

Nodes

As shown in the image, hovering over a node displays information about that node. In this example, the Thermal Air Node definition is displayed.

Airlink

As with nodes, information about airlinks is displayed at the mouse pointer location. In this example, the definition of Crack is shown.

Download and extract

Download and extract from the link.

How to use

As this is a command line tool, please specify the program and TRNFlow bui file (.bui, .b17, .b18) at the command prompt.

plot_airlink.exe  bui_file

When you run it, a file of the airflow network diagram will be generated in html format and displayed in your browser.

Note: An Internet connection is required.

This utility uses Python and pyvis. An Internet connection is required to retrieve the display related templates from the Internet when the program is run.

Example: Drawing a example of TRNFlow’s airflow network diagram.

plot_airlink.exe C:\TRNSYS18\Examples\TRNFLOW_example\Restaurant_TRNFlow.bui

Errors and Problems

If you experience any problems or errors when using the tool, please leave a comment on this article.

Test Environment

The article has been confirmed to work properly under the following conditions.

  • Windows11 Pro(64bit, 24H2)
  • TRNSYS18.06.0002(64bit)
  • TRNFlow Version 1.4(19.11.2009)
Pocket

Leave a Comment

Your email address will not be published. Required fields are marked *