Refined step-size adaptation for events. For a certain time interval, the Rosenbrock solver (KiSAO term 33) always tries to increase time t by the current adaptive step size h and calculates a new vector of quantities. After a successful step, the events and rules of the model are processed. If this causes a change in, h is first decreased and the Rosenbrock solver then calculates another vector using this adapted step size. The precision of the event processing is therefore determined by the minimum step size hmin. The adapt function is defined by Rosenbrock’s method.