Dynamical analysis and observer-based boundary optimal control of a counterflow heat exchanger | Synapse