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.

Notifications
Clear all

USER written component_type

1 Posts
2 Users
0 Reactions
18 Views
0
Topic starter
Dear All,

I am trying to add a user-written component created by someone else into my simulation. I have the .f90, .TMF, and .BMP files. I placed the .f90 files in a folder named "MyType" and used Type Studio to create a .dll file, which was successful. I can see both the Debug and Release subfolders in the user library folder. I then placed the .TMF and .BMP files into the "Performa" folder, and I can see the newly created type in Simulation Studio. However, when I drag this type into the Simulation Studio it crashes.

My question is: are these the correct steps I took, and where might the problem be?

Thanks in advance

1 Answer
0

@adnan

What version of TRNSYS was the proforma created for? What version of TRNSYS are you using? 

It doesn't matter whether you add the proforma first and then the source code, or add the source code first and then the proforma. The Simulation Studio knows nothing of the underlying source code of a Type (or even if the code for that Type exists) until a simulation is run, so if the Studio is crashing just from dragging out the component, there is a problem somewhere within the proforma and/or its bitmap. 

Share: