Main Content


Initial guess for time step size for scaling of absolute error tolerance


AbsoluteToleranceStepSize is a property of a SolverOptions object, which is a property of a Configset object. It is available for the ode solvers (ode15s, ode23t, ode45, and sundials).

When the AbsoluteToleranceScaling property is enabled, you can set the AbsoluteToleranceStepSize property to specify the initial guess for time step size for scaling. For details, Selecting Absolute Tolerance and Relative Tolerance for Simulation.


Use AbsoluteToleranceStepSize when a simulation is unsuccessful and generates numerically unstable solutions, and other corrective actions such as checking the model’s kinetics do not work. You might encounter unstable solutions if you have very stiff systems in which state values change rapidly at the beginning of a simulation. To solve this, iteratively decrease AbsoluteToleranceStepSize and simulate to find the optimal setting. As a starting point, try setting this property to AbsoluteTolerance * StopTime * 0.1.


Applies toObject: SolverOptions
Data typedouble
Data valuesScalar in units specified by TimeUnits property. Default is [].