modelWetCoilCounterFlowPIControlAutoTuningFailure

Model that demonstrates the use of a heat exchanger with condensation and with autotuning PI feedback control (intentionally designed to fail)

Extends from Modelica.Icons.Example, Buildings.Fluid.HeatExchangers.Examples.BaseClasses.PartialWetCoilCounterFlow.

Information

This example is identical to Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning except that the configuration is intentionally designed to cause a failure, used to test error-handling mechanisms.

The autotuning is triggered twice.
  • The first one occurs at 100 seconds and it completes successfully, with the tuned PI parameters taking effect at 157 seconds.
  • The second one occurs at 2100 seconds. However, the tuning process yields negative control gains, thus the autotuning fails and a warning is issued. The PI gains remain unchanged from the previous tuning.

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.FirstOrderAMIGOconController
Buildings.Controls.OBC.CDL.Logical.Sources.ConstantresSigReset signal
Buildings.Controls.OBC.CDL.Logical.Sources.PulseautTunSigSignal for enabling the autotuning

Revisions

  • October 21, 2025, by Sen Huang:
    First implementation.