Skip to content

Commit c80ddbe

Browse files
committed
Avoid warning for interactive functions.
1 parent 14d1a91 commit c80ddbe

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

OpenIPSL/Examples/Tutorial/Example_1/modal_analysis.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ algorithm
1111
// Modelica.Utilities.Streams.print(String(ss));
1212
// Check eigenvalues of the open-loop
1313
Modelica.Math.Matrices.eigenValues(ss.A);
14-
annotation (Documentation(info="<html>
14+
annotation (__Dymola_interactive=true,
15+
Documentation(info="<html>
1516
<p>This function linearizes the equations of the example system and extracts the eigenvalues from the state matrix A.</p>
1617
<p>The main goal of this function is to identify the unstable eigenvalues, or modes, which are going to be the focus of the next text system, in Example 2.</p>
1718
</html>"));

OpenIPSL/Examples/Tutorial/Example_2/root_locus.mo

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ algorithm
1515
Modelica_LinearSystems2.Utilities.Plot.rootLocusOfModel(pathToPlantModel, {
1616
Modelica_LinearSystems2.Records.ParameterVariation(
1717
Name="G1.avr.K0",
18-
grid=Modelica_LinearSystems2.Types.Grid.Equidistant,
18+
grid=Modelica_LinearSystems2.Utilities.Types.Grid.Equidistant,
1919
Value=200,
2020
Min=0,
2121
Max=200,
2222
nPoints=50)});
23-
annotation (Documentation(info="<html>
23+
annotation (__Dymola_interactive=true,
24+
Documentation(info="<html>
2425
<p>This function varies the AVR gain and, for each value, it linearizes the equations of the example system and extracts the eigenvalues from the state matrix A. By doing so, it stores all the poles of the system and how their loci change with the parametric variation corresponding to AVR gain.</p>
2526
<p>The main goal of this function is to identify for what values of the AVR gain, the system is stable and the poles have adequate damping.</p>
2627
</html>"));

OpenIPSL/Examples/Tutorial/Example_4/Experiments/RunAndCompare.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ algorithm
5151
range={0.0, 10.0, -0.5, 2.0}, erase=false, grid=true, subPlot=103,
5252
colors={{238,46,47}}, displayUnits={"1"},
5353
axes={2});
54-
54+
annotation(__Dymola_interactive=true);
5555
end RunAndCompare;

OpenIPSL/Examples/Tutorial/Example_4/Utilities/saveTotalSMIBModel.mo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ function saveTotalSMIBModel "Save the SMIB package as a total model"
44
output Boolean ok "= true, if successful";
55
algorithm
66
ok := saveTotalModel("SMIBTotal.mo", "SMIB", true);
7+
annotation(__Dymola_interactive=true);
78
end saveTotalSMIBModel;

0 commit comments

Comments
 (0)