Validation test for the block Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.HalfPeriodRatio.
This testing scenario in this example is the same as that in Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TunMonitor. The lengths of the on period and the off period are sampled at 0.9s to calculate the half period ratio.