Cylinder Cooling

Use the SmartCooling library developed by the Austrian Institute of Technology to construct a control system in which the temperature of a cylinder is regulated using a PI controller and a pump. The SmartCooling library is compatible with the Modelica Standard Library, as is shown in the model below.

The Model

A constant block is used to set the desired temperature of the cylinder, and the difference between that signal and its actual temperature acts as an input to the PI controller. Based on that input, the pump activity is regulated to reach and maintain the desired temperature. At 50 seconds, a disturbance in the form of an external heat flow starts affecting the system.
The environment components represent the surrounding environment in terms of temperature and pressure. Heat is transferred between the pipe and cylinder via a component for linear heat convection.

Simulation Results

Here, dynamic diagrams have been built into the connection lines that correspond to either heat flow or mass flow. The thickness of these lines depends directly on the size of the flow. Also, the color of the cylinder indicates its temperature, ranging from high (red) to low (gray).
The difference in temperature between the cylinder and the reference temperature is largest in the beginning, which results in a higher heat flow initially (indicated by the thickness of the connection lines between the cylinder, convection element, and the heatPipe). The changing color of the cylinder visualizes the cooling process. The image to the left also shows the cylinder temperature.

Model cooling circuits with the SmartCooling library

Construct a cooling circuit with a controller using components like pumps, convection, and sensors. Model the surrounding environment with ready-to-use models.