Usually you have to use some combination of thermostat models
(which compare a temperature to a set point), differential
controllers (which operate based on a temperature difference
instead of on absolute values), and equations, which combine the
outputs of the individual thermostats together. You'll probably
need to use some of the boolean functions such as GT(:,:). It
returns a 1 if the first argument is greater than the second.
There are also functions such as AND(:,:), which will return a 1
only if both of the arguments are 1. I would start out by creating
a truth table using your input variables (house temperature, tank
temperature, collector temperature) and fully define how the valve
should be set for all sensed temperatures. From there the truth
table can be turned into one or more equations. kind regards, David
On 05/14/2022 03:57, berkane ahlem via
TRNSYS-users wrote:
-- *************************** David BRADLEY Principal Thermal Energy System Specialists, LLC 3 North Pinckney Street - suite 202 Madison, WI 53703 USA P:+1.608.274.2577 d.bradley@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |