.Buildings.Fluid.Storage.Ice.ControlledTank

Information

This model implements an ice tank model with built-in idealized control that tracks the set point TSet for the temperature of the working fluid that leaves the tank, as shown in the figure below.

Schematics of the controlled tank

The model is identical to Buildings.Fluid.Storage.Ice.Tank, except that it takes as an input the set point for the temperature of the leaving working fluid. This temperature is maintained if the flow rate and temperatures allow sufficient heat flow rate between the tank and the working fluid.

The built-in control is an idealization of a tank that has a controller that bypasses some of the working fluid in order to meet the set point for the temperature of the leaving working fluid. The fluid from port_a to port_b has by default a first order response. If the tank has sufficient capacity for the given inlet temperature and flow rate, then the idealized control has no steady-state error. During transients, the set point may not be met exactly due to the first order response that approximates the dynamics of the heat exchanger.

Note that the setpoint is also tracked during charging mode. If the full flow rate should go through the tank during charging, which is generally desired, then set TSet to a high temperature, such as 20°C.

Usage

This model requires the fluid to flow from port_a to port_b. Otherwise, the simulation stops with an error.

Revisions


Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos