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

Errors occuring when starting the simulation

13 Posts
2 Users
0 Reactions
624 Views
0
Topic starter

Hi everyone,

 

I'm doing my bachelor s degree thesis on the subject of wind turbines. For the last part I decided to do a simulation in Trnsys. I'm not very used with the software yet, so I don't know where the error is coming from. Can someone help me asap? Best regards,

A_Weiss A_Weiss 23/06/2023 1:33 pm

@alexa I would like to help, but I'm going to need more information. What version of TRNSYS are you using? What specific error are you getting? Is it a TRNSYS error (where the first message is something like "X error(s) were found in the .dck. Check the .lst file for more information!"), or is it a Fortran error (something like an invalid floating point operation, floating point division by zero, etc., where the error window shows up with a big red X in it)?

 

 

If it's a standard TRNSYS error, a message will be printed to the .lst file that gives more information about the error. You can read errors in the .lst file by either navigating to TrnsysXX/MyProjects/(ProjectName).lst and opening the .lst file in any text editor, or by clicking the 'Results, warnings, errors' button at the very bottom of the left tool bar in Simulation Studio. If it's a Fortran error, there's either a bug or some poor error handling in the code itself, and I would recommend sending your project to your distributor for debugging.

Alexa Topic starter 23/06/2023 2:00 pm

Hi,

The error is like this one: "X error(s) were found in the .dck. Check the .lst file for more information!". The thing is I have the assembly, but I don't know if I put the links in the correct way.

Alexa Topic starter 23/06/2023 2:01 pm

Could you please help me checking my input data and the connections?

2 Answers
0

Ah! Now we're getting somewhere!

 

The errors are all telling you that there's something wrong in your "Equa" equation block, specifically with the variables in the "WS2" equation. Where did you define height1, height2, and alpha? I'm guessing the errors are because you didn't define height1, height2, and alpha.  They need to be defined in the equation block on the lines above the line with the "WS2" equation.

Alexa Topic starter 23/06/2023 2:52 pm

@a_weiss Thank you! You're correct, but it seems it's not the only error, I ll check again 🙂

A_Weiss A_Weiss 23/06/2023 3:12 pm

@alexa It also looks like you're trying to use Type15 to read 'turbina.txt'. Type15-2 is only for reading weather data files in the TMY-2 format, a very specific format that has to include a lot of information in the right order with the right formatting. Use the Type 9 data reader instead to read in your windspeed from turbina.txt.

 

 

I also noticed you have both Type25 printers printing to files called 'licenta_simulare.out'. Rename one of them to something like **_2.out or **_power.out, or whatever you like. You can change the file name on the External Files tab of the Type 25 proforma window in Simulation Studio.

Alexa Topic starter 23/06/2023 3:34 pm

@a_weiss my system should look like this, but i still have the error in the equation. I changed everything, I ll try again, thank you so much for helping me.

0

@alexa What does your equation block look like? I'm expecting it to look something like the following, where "Windspeed" is the value connected from your turbina.txt file (the numbers are just placeholders, I have no idea what values are appropriate):

height2 = 30
height1 = 15
alpha = 0.5
ws2 = Windspeed*(height2/height1)^alpha
Share: