Skip to content

Commit

Permalink
Changed to full path for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkumar-narasimhan committed May 5, 2023
1 parent 4813c74 commit e62cba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modelica/Blocks/Continuous.mo
Expand Up @@ -770,8 +770,8 @@ to compute u by an algebraic equation.
"Time constant of Integrator block" annotation (Dialog(enable=
controllerType == .Modelica.Blocks.Types.SimpleController.PI or
controllerType == .Modelica.Blocks.Types.SimpleController.PID));
parameter SI.Time Td(min=0)=0.1
"Time constant of Derivative block" annotation (Dialog(enable=
parameter SI.Time Td(min=0)=0.1 "Time constant of Derivative block"
annotation (Dialog(enable=
controllerType == .Modelica.Blocks.Types.SimpleController.PD or
controllerType == .Modelica.Blocks.Types.SimpleController.PID));
parameter Real yMax(start=1) "Upper limit of output";
Expand Down Expand Up @@ -881,7 +881,7 @@ to compute u by an algebraic equation.
gainPID.y = y_start;
end if;
equation
assert(abs(k) >= Constants.small, "Controller gain must be non-zero.");
assert(abs(k) >= Modelica.Constants.small, "Controller gain must be non-zero.");
if initType == Init.InitialOutput and (y_start < yMin or y_start > yMax) then
Modelica.Utilities.Streams.error("LimPID: Start value y_start (=" + String(y_start) +
") is outside of the limits of yMin (=" + String(yMin) +") and yMax (=" + String(yMax) + ")");
Expand Down

0 comments on commit e62cba7

Please sign in to comment.