Skip to content

Commit

Permalink
Merge pull request #1799 from lbl-srg/issue1798_stateMachine_nIn
Browse files Browse the repository at this point in the history
Set nIn=0 in state machine initial steps if there is no input
  • Loading branch information
mwetter authored Mar 2, 2020
2 parents ec67c19 + b69a757 commit 682a06c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Buildings/Controls/DemandResponse/Client.mo
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ model Client "Demand response client"
annotation (Placement(transformation(extent={{100,40},{120,60}})));

protected
Modelica.StateGraph.InitialStep initialStep
Modelica.StateGraph.InitialStep initialStep(nIn=0)
annotation (Placement(transformation(extent={{-80,70},{-60,90}})));
inner Modelica.StateGraph.StateGraphRoot stateGraphRoot
annotation (Placement(transformation(extent={{60,60},{80,80}})));
Expand Down
2 changes: 1 addition & 1 deletion Buildings/Examples/VAVReheat/Controls/ModeSelector.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within Buildings.Examples.VAVReheat.Controls;
model ModeSelector "Finite State Machine for the operational modes"
Modelica.StateGraph.InitialStep initialStep
Modelica.StateGraph.InitialStep initialStep(nIn=0)
annotation (Placement(transformation(extent={{-80,20},{-60,40}})));
Modelica.StateGraph.Transition start "Starts the system"
annotation (Placement(transformation(extent={{-50,20},{-30,40}})));
Expand Down

0 comments on commit 682a06c

Please sign in to comment.