model RoomMixingBox
"Test model for room mixing box"
extends Modelica.Icons.Example;
Buildings.Examples.DualFanDualDuct.Controls.RoomMixingBox conMix(m_flow_min=1)
"Controller for mixing box";
Modelica.Blocks.Sources.Constant TH(k=273.15 + 20);
Modelica.Blocks.Sources.Constant TC(k=273.15 + 26);
Modelica.Blocks.Sources.Trapezoid TRoo(
amplitude=15,
rising=900,
width=900,
falling=900,
period=3600,
offset=273.15 + 15)
"Room temperature";
Modelica.Blocks.Sources.Trapezoid m_flow(
rising=900,
width=900,
falling=900,
period=3600,
amplitude=2,
offset=0,
startTime=3600)
"Mass flow rate";
equation
connect(TH.y, conMix.TRooSetHea);
connect(TC.y, conMix.TRooSetCoo);
connect(TRoo.y, conMix.TRoo);
connect(m_flow.y, conMix.mAir_flow);
end RoomMixingBox;