Skip to content

Commit

Permalink
Connected new input
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Nov 17, 2017
1 parent 42435d0 commit 0f203da
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
within Buildings.Examples.DualFanDualDuct.Controls.Examples;
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"
Expand All @@ -24,7 +25,10 @@ extends Modelica.Icons.Example;
amplitude=2,
offset=0,
startTime=3600) "Mass flow rate"
annotation (Placement(transformation(extent={{-80,-40},{-60,-20}})));
annotation (Placement(transformation(extent={{-80,-30},{-60,-10}})));
Buildings.Controls.OBC.CDL.Logical.Sources.Constant yFan(k=true)
"Fan control signal"
annotation (Placement(transformation(extent={{-80,-60},{-60,-40}})));
equation

connect(TH.y, conMix.TRooSetHea) annotation (Line(
Expand All @@ -40,9 +44,11 @@ equation
color={0,0,127},
smooth=Smooth.None));
connect(m_flow.y, conMix.mAir_flow) annotation (Line(
points={{-59,-30},{-40,-30},{-40,4},{-22,4}},
points={{-59,-20},{-40,-20},{-40,6},{-22,6}},
color={0,0,127},
smooth=Smooth.None));
connect(yFan.y, conMix.yFan) annotation (Line(points={{-59,-50},{-32,-50},{
-32,2},{-22,2}}, color={255,0,255}));
annotation (
__Dymola_Commands(file="modelica://Buildings/Resources/Scripts/Dymola/Examples/DualFanDualDuct/Controls/Examples/RoomMixingBox.mos"
"Simulate and plot"),
Expand Down

0 comments on commit 0f203da

Please sign in to comment.