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

Issues with the simple cooling thermostat in TESS library

1 Posts
2 Users
0 Reactions
614 Views
0
Topic starter

Hello,

I have a question about the issue I am facing in my simulation. I am modeling a greenhouse energy system in TRNSYS, which includes a cooling and heating control system as part of the system. My question is very specific, as it is not related to software knowledge, but rather an issue with a component. Specifically, the simple thermostat component from the TESS library for cooling. As you may know, this component is very straightforward to use with requiring mainly a setpoint temperature and a monitoring temperature to provide a 0 or 1 control signal. My problem in the simulation is that, despite setting a setpoint of, for instance, 24 and a temperature variation of 4 to 40, the control signal sometimes outputs incorrect values. For example, for cooling, it should output 0 when the temperature is below 24 (with headband of 0), but there are time steps that it gives 1 for temperatures like 16, 22, 19, etc. It mostly provides a correct signal, but this should always be the case, and it is affecting my results. The same applies to the temperatures above 24, where it should always give one, while there are times when it provides 0.

Let me assure you that the logic is very simple, and I am 100% certain that the input data is correct, as I am outputting everything for debugging purposes. I am suspicious of the component itself and a bug in the system. Please advise me in this regard.

 

Best wishes,

Amir

1 Answer
0

@amir_i

What timestep are you using for your simulation? It should be on the order of 1-5 minutes. Lately I have been using 0.02 or 0.05 hours as my timestep.

The behavior that you describe sounds like the simulation is not converging at certain timesteps. When that happens the components can't all get to a state on which they agree and the simulation simply moves on to the next timestep after issuing a warning. If that situation happens too often then the simulation will error out. Almost always the cause of non convergence is too long a time step or too little thermal capacitance in the loop that is being controlled.

With greenhouses there is also a lot of moisture transfer between the plants and the air. I would recommend that you put a time delay (Type150 in the controllers folder or Type661 in the TESS Controllers library) on the air temperature of the zone before you pass that input to the evapotranspiration model. Since you'll have a short time step a slightly delayed air temperature won't impact your results.

kind regards,

 david

 

Share: