Skip to content

Commit

Permalink
Correct dimension in actuator model in data center package (#4005)
Browse files Browse the repository at this point in the history
* Corrected dimension of actPos

For #4004
  • Loading branch information
mwetter authored Sep 20, 2024
1 parent 5723bac commit 2f5a4a9
Showing 1 changed file with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ protected
Modelica.Blocks.Interfaces.RealOutput[numAct] y_actual "Actual valve position"
annotation (Placement(transformation(extent={{-28,66},{-12,82}})));

Modelica.Blocks.Nonlinear.SlewRateLimiter actPos(
Rising=1/strokeTime,
Falling=-1/strokeTime,
Td=10/strokeTime,
initType=initValve,
Modelica.Blocks.Nonlinear.SlewRateLimiter[numAct] actPos(
each Rising=1/strokeTime,
each Falling=-1/strokeTime,
each Td=10/strokeTime,
each initType=initValve,
y_start=yValve_start,
strict=true)
each strict=true)
if use_strokeTime
"Actuator position"
annotation (Placement(transformation(extent={{-48,80},{-40,88}})));
Expand All @@ -32,6 +32,11 @@ equation
annotation ( Documentation(revisions="<html>
<ul>
<li>
September 19, 2024, by Michael Wetter:<br/>
Corrected dimension of instance <code>actPos</code>.<br/>
This is for <a href=\"https://github.com/lbl-srg/modelica-buildings/issues/4004\">Buildings, #4004</a>.
</li>
<li>
August 26, 2024, by Michael Wetter:<br/>
Implemented linear actuator travel dynamics.<br/>
This is for <a href=\"https://github.com/lbl-srg/modelica-buildings/issues/3965\">Buildings, #3965</a>.
Expand Down

0 comments on commit 2f5a4a9

Please sign in to comment.