This example illustrates how to use the sensible cooler model that takes as an input the leaving fluid temperature.
The model consist of a water volume with heat gain from the ambient. The set point of the water temperature is different between night and day. The heater tracks the set point temperature, except for the periods in which the water temperature is above the set point.
See Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u for a model that takes the heating power as an input.