modelOnOffPeriod
Test model for calculating the length of the on period and the off period
Information
Validation test for the block Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.OnOffPeriod.
This example considers a relay switch output from a relay controller,relSwi.
-
At 0.06s,
relSwichanges from On to Off. -
At 0.7s,
relSwichanges into On. -
At 0.86s,
relSwichanges into Off.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.OnOffPeriod | onOffPer | Calculate the length of the on period and the off period | |
| Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime | modTim | Simulation time | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | relSwi | Control switch output | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | retSig | Reset signal |
Revisions
-
June 1, 2022, by Sen Huang:
First implementation.