LBL logo

Buildings.Examples.DualFanDualDuct.Controls.Examples

Example models to test the components

Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

NameDescription
Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox RoomMixingBox Test model for room mixing box


Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox

Test model for room mixing box

Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox

Information

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model RoomMixingBox "Test model for room mixing box"
  import Buildings;
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 Tue Jan 8 08:36:12 2013.