
modelThermostaticMixingValve
A model for a thermostatic mixing valve
Information
This model implements a thermostatic mixing valve, which uses
a PI feedback controller to mix hot and cold fluid to achieve a specified
mixed water outlet temperature.
If the mixed water temperature cannot be provided within a tolerance of relTol,
averaged over the whole simulation period,
then an assertion warning will be written at the end of the simulation.
Parameters
| Type | Name | Default | Description |
| Modelica.Units.SI.MassFlowRate | mMix_flow_nominal | | Nominal mixed water flow rate to fixture |
| Buildings.Controls.OBC.CDL.Types.SimpleController | controllerType | Buildings.Controls.OBC.CDL.Types.SimpleController.PI | Type of controller |
| Control gains |
| Real | k | 1 | Gain of controller |
| Real | Ti | 0.5 | Time constant of integrator block |
| Real | Td | 0.1 | Time constant of derivative block |
| Advanced |
| Real | relTol | 0.005 | Relative tolerance on energy balance, if not met, a warning will be issued at end of simulation |
Contents
| Name | Description |
Medium | Water media model |
EnergyMeterprotected | Block that outputs integrated energy, bounded away from zero |
Revisions
-
December 7, 2023, by David Blum:
Added junction.
-
October 17, 2023, by Michael Wetter:
Revised implementation.
-
September 11, 2023 by David Blum:
Updated for release.
-
June 16, 2022 by Dre Helmns:
Initial Implementation.