AbsoluteToleranceScaling

Control scaling of absolute error tolerance during simulation

Description

AbsoluteToleranceScaling 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).

AbsoluteToleranceScaling controls how the software determines the largest allowable absolute error at any step in a simulation.

When AbsoluteToleranceScaling Is Enabled

When the AbsoluteToleranceScaling property is enabled, the software uses the AbsoluteTolerance value as the absolute error tolerance for all state values whose size is of order 1. For all other state values, it scales the absolute error tolerance for each state value individually, based on that state value's maximum absolute value during simulation and the value of AbsoluteTolerance.

When AbsoluteToleranceScaling Is Disabled

When the AbsoluteToleranceScaling property is disabled, the software uses the AbsoluteTolerance value as the absolute error tolerance for all state values, for example, amounts for all species.

Characteristics

Applies toObject: SolverOptions
Data typelogical
Data values1, 0, true, or false. Default is true.
AccessRead/write

Was this topic helpful?