Skip to content

Commit 432058a

Browse files
committed
ModelicaReference: add AutoCompletion subpackage
To start with, add an experiment annotation as an example.
1 parent bd59644 commit 432058a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ModelicaReference/package.mo

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,9 +871,12 @@ Evaluate is for example used for axis of rotation parameters in the Modelica.Mec
871871
</html>"));
872872
end Evaluate;
873873
874-
class experiment "experiment"
874+
record experiment "experiment"
875875
extends ModelicaReference.Icons.Information;
876-
876+
Real StartTime(unit = "s") "Default start time of simulation";
877+
Real StopTime(unit = "s") "Default stop time of simulation";
878+
Real Interval(unit = "s", min = 0) "Resolution for the result grid";
879+
Real Tolerance(unit = "1", min = 0) "Default relative integration tolerance";
877880
annotation (Documentation(info="<html>
878881
<p>
879882
Define default experiment parameters

0 commit comments

Comments
 (0)