How to get system state during event handling?

Shot in the dark: probably a missing

    global check = integrator.u[1]

?

Good question, I’d expect some kind of parameter for user data, too.

1 Like