.Buildings.ThermalZones.Detailed.Examples.FFD.NaturalConvectionWithControl

Information

This model tests the coupled simulation of Buildings.ThermalZones.Detailed.CFD with the FFD program by simulating natural convection in an empty room with a PI controller and a heater to maintain the temperature at room center to be 2°C.

The configuration of the simulation is the same as Buildings.ThermalZones.Detailed.Examples.FFD.Tutorial.NaturalConvection, except that a heater with PI controller is added to maintain the desired room temperature.

The temperature at the central room is sent to the PI controller as measured temperature. Based on the difference of set temperature and measured temperaure PI controller sends signal to the heater to yield the heat flow. The heat flow is then injected into the room through the heat port as convective heat flow. After receving the heat flow from Modelica, the FFD uniformly distributes it into the space.

Please note that roo.yCFD[1] is the temperature at the center of the room and roo.yCFD[2] is the velocity magnitude at the center of the room.

Figure (a) shows the velocity vectors and temperature contours in degree Celsius on the X-Z plane at Y = 0.5 m as simulated by the FFD.

image

Figure (a)

Revisions


Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos