Skip to content

Commit

Permalink
added start values to avoid Dymola translation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hcasperfu committed Oct 17, 2024
1 parent 40b0f48 commit 073ad76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ model FixedEvaporating
Modelica.Blocks.Logical.Hysteresis hys(
uLow = mWor_flow_min,
uHigh = mWor_flow_min + mWor_flow_hysteresis,
u = mWor_flow_internal)
u = mWor_flow_internal,
y(start = false))
"Hysteresis for turning off cycle when working fluid flow too low";

protected
Expand Down
2 changes: 1 addition & 1 deletion IBPSA/Fluid/CHPs/OrganicRankine/ConstantEvaporation.mo
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ model ConstantEvaporation "Organic Rankine cycle as a bottoming cycle"
iconTransformation(extent={{-10,-10},{10,10}},
rotation=0,
origin={110,-90})));
Modelica.Blocks.Interfaces.BooleanOutput on_actual
Modelica.Blocks.Interfaces.BooleanOutput on_actual(start = false)
"Actual on off status of the cycle" annotation (Placement(transformation(
extent={{100,-20},{140,20}}), iconTransformation(extent={{100,-10},{
120,10}})));
Expand Down

0 comments on commit 073ad76

Please sign in to comment.