integrated sim stuff
commit event detection on ode45 integration