.OpenModelica.Scripting.getSimulationOptions

Information

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

Interface

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 2022-06-29T00:33:29Z by OpenModelicaOpenModelica 1.20.0~dev-170-g821fd8f using GenerateDoc.mos