Signal threshold
State value at which adaptive zero-crossing algorithm can stop bracketing
Model Configuration Pane: Solver
Description
The Signal threshold parameter specifies a tolerance on the zero-crossing signal value for the adaptive zero-crossing detection algorithm. The tolerance on the signal value allows the adaptive zero-crossing detection algorithm to stop bracketing when the algorithm finds the time at which the signal value is close enough to zero.
Dependencies
To enable this parameter:
Set the solver Type to
Variable-step
.Set Zero-crossing control to either
Use local settings
orEnable all
.Set Algorithm to
Adaptive
.
Settings
auto
(default) | scalar numberBy default, the adaptive algorithm automatically determines the signal threshold. The signal threshold must be a scalar number greater than or equal to zero.
Using a signal threshold that is too small can slow down simulation.
Using a larger signal threshold can speed up simulation, especially in systems with strong chattering. Using a signal threshold that is too large can reduce the accuracy of simulation results.
Programmatic Use
Parameter: ZCThreshold |
Value:
"auto" | scalar number greater
than or equal to zero |
Default:
"auto" |
Version History
Introduced in R2008a