Alain, If you are using Type15 to read and process your weather data then you can get the hour of the day from that component. If you are not using Type15 for weather then you can use Type21 (Utility: Time Values: Type21). In order to run your heat pump when there is a water draw on your tank you will need to write an equation that looks something like the following: _onDraw_ = GT(mDraw,0) the variable "onDraw" will have a value of 1 when "mDraw" is greater than zero. You will need to make "mDraw" an input to the equation block and connect the flow rate of your water draw to it. Once you have all the different pieces of your control computed individually (control based on temperature, control based on time of day, control based on water draw) you will need to write an equation that combines them into a single control signal that has a value of 1 when the heat pump should be on and a value of 0 when the heat pump should be off. To combine them, you can either multiply them all together (in which case the heat pump will only be on if all of the individual control criteria are true) or you can use boolean functions to combine them in some other way. For example: _onHP_ = OR(OR(onDraw,onThermostat),onTimeOfDay) Regards, David On 5/12/2014 10:29, Alain Pascal Goumba
wrote:
-- *************************** David BRADLEY Principal Thermal Energy Systems Specialists, LLC 22 North Carroll Street - suite 370 Madison, WI 53703 USA P:+1.608.274.2577 F:+1.608.278.1475 d.bradley@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |