Example models to test the components
Information
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Test model for room mixing box
Information
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
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;
Automatically generated Fri Dec 13 11:43:19 2013.