Welcome to the TRNSYS Users Forum.

The forum is a place where people can interact and have discussions about different topics involving the use of the TRNSYS software package. Here you can post topics for discussion or questions on using TRNSYS and get advice from other users or TRNSYS experts. This forum is not intended for detailed technical support. Users should contact their distributor’s hotline for such assistance.

Some tips for success on using the forum:

  • Follow the Forum Rules posted in Forum Administration.
  • There are categories for different types of topics and questions. Post your topic or question into the proper category.
  • Before posting a topic or question search the existing topics  (and the TRNSYS Users listserv archive or Post archive) to see if a similar topic or question has already been answered.
  • Use a descriptive topic name. Don’t use attention getting subjects, they don’t get attention and only annoy people.
  • State the version of TRNSYS and which add-ons your are using.
  • Include enough specific details for your topic of question to be answered. Just posting “Why am I getting an error?” without describing the specific error and what you are trying to do when you get the error will not receive a response that fixes your issue.
  • Remember when people help you, they are doing you a favor. Be patient, help people out by posting good descriptions of what you need help with, and be polite even if a response does not solve your issue.
  • Moderators may edit your post for clarity or move your topic to a more appropriate category.

Quickly search TRNS...
 
Notifications
Clear all

Quickly search TRNSYS examples

1 Posts
1 Users
0 Reactions
906 Views
YuichiYasuda
(@yuichiyasuda)
Eminent Member
Joined: 3 years ago
Posts: 16
Topic starter  

TRNSYS provides many example .tpf files.

These examples are very useful for checking how to use components that you are using for the first time or that you don't often use.
However, finding the specific .tpf you're looking for among the many examples can be quite difficult. It's like looking for a needle in a haystack.

To address this, I created a script that allows you to search for .tpf files by specifying a Type number.

This script searches .dck files to locate those that include the desired component. Due to the nature of the script, it may not support all .tpf files.
Even so, this script significantly improves the efficiency of locating .tpf files.

https://github.com/TRNSYSJP/findtype

TRNSYSにはたくさんの.tpfの例が用意されています。
はじめて使うコンポーネントや、普段使わないコンポーネントの使い方を確認するのにとても有用です。
ところが、たくさんある例のなかから目当ての.tpfを探し出すのは大変です。これは干し草の山から針を探すようなものです。
そこで、Type番号を指定して.tpfを探し出すスクリプトを作成しました。
このスクリプトは.dckファイルから目当てのコンポーネントを含むファイルを探し出します。このスクリプトの仕組み上、すべての.tpfには対応できません。それでも.tpfを探す効率が劇的に向上します。

日本語話者の方は日本語版のREADME.md、ブログをご参照ください。

リポジトリのREADME.md(日本語版)
https://github.com/TRNSYSJP/findtype/blob/main/README%20-%20jp.md

コンポーネントの使用例を探す
https://www.kankyoukei.com/2025/07/find-trnsys-examples.html

 

This topic was modified 10 months ago by YuichiYasuda

   
Quote
Share: