This block implements the control logic for the district heat exchanger, which realizes the interface between the building system and the district system.
The input signal u is yielded by the supervisory
controller, see Buildings.DHC.ETS.Combined.Controls.Supervisory.
The primary and secondary circuits are enabled to operate if this
input signal is greater than zero and the return position of at
least one isolation valve is greater than 90%. When enabled,
u, which is mapped to modulate in sequence the mixing
valve (from full bypass to closed bypass for a control signal
varying between 0% and 30%) and the pump speed (from the minimum to
the maximum value for a control signal varying between 30% and
100%), andu.Note that the valve on the secondary side is needed to stabilize the control of the system when the secondary mass flow rate required to meet the heat or cold rejection demand is below the flow rate corresponding to the minimum pump speed.