.Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.OnOffPeriod

Calculate the lengths of the on period and the off period

Information

This block processes a relay switch output and calculates the length of the on period, tOn, and the length of the off period, tOff, as shown below.

image

Note that tOn is sampled when the relay switch output becomes false. Likewise, tOff is sampled when the relay switch output becomes true.

References

J. Berner (2017). "Automatic Controller Tuning using Relay-based Model Identification." Department of Automatic Control, Lund University.

Revisions


Generated at 2025-06-30T18:20:57Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos