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

Monitor the tuning process

Information

This block detects when a PID tuning period should start and end. Specifically, the tuning period is triggered to begin when either tOn or tOff becomes greater than 0. The tuning period is triggered to end when either tOn or tOff changes after the tuning period starts, as illustrated below:

image

Note:

This block monitors the values of tOn and tOff to detect the start and end of the tuning period. Rapid changes in these values can cause unreliable event triggering during variable time-step integration. To enhance robustness, a small tolerance eps is introduced. Increasing eps can help ensure correct event detection if any events are missed.

References

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

Revisions


Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos