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
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.HalfPeriodRatio | halPerRat | Calculate the half period ratio | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Pulse | tOnSig1 | Block that generates signals for forming the signal of the length of On period | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Pulse | tOnSig2 | Block that generates signals for forming the signal of the length of On period | |
| Buildings.Controls.OBC.CDL.Reals.Add | tOn | The length of the on period | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Pulse | tOff | The length of the off period | |
| Buildings.Controls.OBC.CDL.Logical.Sources.SampleTrigger | samTri | Stop signal for tuning |
Revisions
-
June 1, 2022, by Sen Huang:
First implementation.