.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 2019-10-23T01:39:47Z by OpenModelicaOpenModelica 1.14.0~dev-26789-g1c369fe using GenerateDoc.mos