-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
95 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
Buildings/Controls/OBC/Utilities/PIDWithAutotuning/Types/SimpleController.mo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
within Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Types; | ||
type SimpleController = enumeration( | ||
PI | ||
"PI controller", | ||
PID | ||
"PID controller") | ||
"Enumeration defining PI, or PID simple controller type" | ||
annotation (Evaluate=true,Documentation(info="<html> | ||
<p> | ||
Enumeration to define the type of the controller. | ||
Possible values are: | ||
</p> | ||
<table border=\"1\" summary=\"Explanation of the enumeration\"> | ||
<tr> | ||
<th>Enumeration</th> | ||
<th>Description</th></tr> | ||
<tr><td><code>PI</code></td> | ||
<td> | ||
Controller with proportional and integral terms. | ||
</td></tr> | ||
<tr><td><code>PID</code></td> | ||
<td> | ||
Controller with proportional, integral and derivative terms. | ||
</td></tr> | ||
</table> | ||
</html>",revisions="<html> | ||
<ul> | ||
<li> | ||
August 18, 2023, by Jianjun Hu:<br/> | ||
First implementation. | ||
</li> | ||
</ul> | ||
</html>")); |
37 changes: 37 additions & 0 deletions
37
Buildings/Controls/OBC/Utilities/PIDWithAutotuning/Types/package.mo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
within Buildings.Controls.OBC.Utilities.PIDWithAutotuning; | ||
package Types "Package with type definitions" | ||
annotation ( | ||
Documentation( | ||
info="<html> | ||
<p> | ||
This package contains type definitions. | ||
</p> | ||
</html>"), | ||
Icon( | ||
graphics={ | ||
Rectangle( | ||
lineColor={200,200,200}, | ||
fillColor={248,248,248}, | ||
fillPattern=FillPattern.HorizontalCylinder, | ||
extent={{-100.0,-100.0},{100.0,100.0}}, | ||
radius=25.0), | ||
Rectangle( | ||
lineColor={128,128,128}, | ||
extent={{-100.0,-100.0},{100.0,100.0}}, | ||
radius=25.0), | ||
Polygon( | ||
origin={-12.167,-23}, | ||
fillColor={128,128,128}, | ||
pattern=LinePattern.None, | ||
fillPattern=FillPattern.Solid, | ||
points={{12.167,65},{14.167,93},{36.167,89},{24.167,20},{4.167,-30},{14.167,-30},{24.167,-30},{24.167,-40},{-5.833,-50},{-15.833,-30},{4.167,20},{12.167,65}}, | ||
smooth=Smooth.Bezier, | ||
lineColor={0,0,0}), | ||
Polygon( | ||
origin={2.7403,1.6673}, | ||
fillColor={128,128,128}, | ||
pattern=LinePattern.None, | ||
fillPattern=FillPattern.Solid, | ||
points={{49.2597,22.3327},{31.2597,24.3327},{7.2597,18.3327},{-26.7403,10.3327},{-46.7403,14.3327},{-48.7403,6.3327},{-32.7403,0.3327},{-6.7403,4.3327},{33.2597,14.3327},{49.2597,14.3327},{49.2597,22.3327}}, | ||
smooth=Smooth.Bezier)})); | ||
end Types; |
1 change: 1 addition & 0 deletions
1
Buildings/Controls/OBC/Utilities/PIDWithAutotuning/Types/package.order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SimpleController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ FirstOrderAMIGO | |
AutoTuner | ||
Relay | ||
SystemIdentification | ||
Types | ||
Validation |