Returns the startTime, stopTime, tolerance, and interval based on the experiment annotation.


function getSimulationOptions
  input TypeName name;
  input Real defaultStartTime = 0.0;
  input Real defaultStopTime = 1.0;
  input Real defaultTolerance = 1e-6;
  input Integer defaultNumberOfIntervals = 500 "May be overridden by defining defaultInterval instead";
  input Real defaultInterval = 0.0 "If = 0.0, then numberOfIntervals is used to calculate the step size";
  output Real startTime;
  output Real stopTime;
  output Real tolerance;
  output Integer numberOfIntervals;
  output Real interval;
end getSimulationOptions;

Generated at 2021-01-20T02:00:23Z by OpenModelicaOpenModelica 1.17.0~dev-344-gc8233fa using GenerateDoc.mos