Validation test for the block Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.SamplerWithResetThreshold.
This example considers a real input,u, and a boolean input, resSig
u changes from 0 to 1, triggering the sampling;
resSig changes into On, triggering the reset.