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.
Hi there
I usually do the following to get a hysterisis around a set point T:
CONSTANTS 3 TSet = 35 dTOn = 1 dTOff = 2 EQUATIONS 4 on = LT(T, TSet - dTOn) off = GT(T, TSet + dToff) between = NOT(on)*NOT(off) ctrlOn = on + between*ctrlOnRecall UNIT 1 TYPE 150 PARAMETERS 3 1 1 1 INPUTS 1 ctrlOn 1 EQUATIONS 1 ctrlOnRecall = [1,1]
To - hopefully - make things less verbose I was thinking I could use type 2. However, I can't figure out how to set the INPUTS to get the equivalent behaviour.
Thanks for your help,
Damian
For a heating application you would assign your setpoint to the "upper input temperature" and connect the temperature that you are monitoring to the "lower input temperature." If you want a 2C deadband centered around the setpoint then you would set your upper deadband to 1C and your lower deadband to -1C.
For a cooling application the deadband definition stays the same but your setpoint would be assigned to the "lower input temperature" and the temperature you are monitoring would be connected to the "upper input temperature"
As a side note, there are a number of thermostat components (such as Type166 or Type108) in the standard library that allow you to define controllers with hysteresis without having to fight with Type2's settings.
kind regards,
David