modelHalfPeriodRatio

Test model for calculating the half period ratio

Information

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.

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.HalfPeriodRatiohalPerRatCalculate the half period ratio
Buildings.Controls.OBC.CDL.Reals.Sources.PulsetOnSig1Block that generates signals for forming the signal of the length of On period
Buildings.Controls.OBC.CDL.Reals.Sources.PulsetOnSig2Block that generates signals for forming the signal of the length of On period
Buildings.Controls.OBC.CDL.Reals.AddtOnThe length of the on period
Buildings.Controls.OBC.CDL.Reals.Sources.PulsetOffThe length of the off period
Buildings.Controls.OBC.CDL.Logical.Sources.SampleTriggersamTriStop signal for tuning

Revisions

  • June 1, 2022, by Sen Huang:
    First implementation.