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 (Icon for runnable examples), Buildings.Fluid.HeatExchangers.Examples.BaseClasses.PartialWetCoilCounterFlow (Partial model that demonstrates use of a heat exchanger with condensation and with feedback control).
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.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T_a1_nominal (from PartialWetCoilCounterFlow) | 5 + 273.15 | |
| Modelica.Units.SI.Temperature | T_b1_nominal (from PartialWetCoilCounterFlow) | 10 + 273.15 | |
| Modelica.Units.SI.Temperature | T_a2_nominal (from PartialWetCoilCounterFlow) | 30 + 273.15 | |
| Modelica.Units.SI.Temperature | T_b2_nominal (from PartialWetCoilCounterFlow) | 15 + 273.15 | |
| Modelica.Units.SI.MassFlowRate | m1_flow_nominal (from PartialWetCoilCounterFlow) | 0.1 | Nominal mass flow rate medium 1 |
| Modelica.Units.SI.MassFlowRate | m2_flow_nominal (from PartialWetCoilCounterFlow) | 0.2*m1_flow_nominal*4200/1000*(T_a1_nominal - T_b1_nominal)/(T_b2_nominal - T_a2_nominal) | Nominal mass flow rate medium 2 |
Components
Revisions
-
October 21, 2025, by Sen Huang:
First implementation.