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

Calculate the half period ratio of a response of a relay controller

Information

This block calculates the half-period ratio of the output from a relay controller.

ρ = max(ton,toff)/ min(ton,toff),

where ton and toff are the lengths of the on period and the off period, respectively. An On period is defined as the period when the relay switch output of the relay controller is true. Likewise, an Off period is defined as the period when the relay switch output is false. See details of the relay switch output in Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Controller.

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