Hybrid Integrator

Hybrid system integration based on the "event" functions in Matlab's ODE solvers.
538 Downloads
Updated 8 Nov 2010

View License

In many cases, simulating a dynamical system is best achieved by defining several modes in which it can exist and modeling each mode independently. This approach is known as "hybrid modeling". There is significant academic literature on the subject, but at its most basic level, a hybrid model needs three pieces of information:

- Dynamic models for each domain.
- Rules for when to transition out of each domain.
- A transition graph dictating which domain the system should enter on leaving the previous domain.

Matlab supplies some basic low-level tools for evaluating hybrid systems of this form, and there are heavy-duty toolboxes such as http://www.dii.unisi.it/hybrid/toolbox/. The code provided here falls between these two levels and acts as a lightweight, high-level abstraction for simple-to-medium complexity hybrid systems.

This release also includes two demonstrations of hybrid_integrator.m applied to a bouncing ball: one modeled with a coefficient of restitution at impact, and a second with a spring-damper contact model.

Cite As

Ross Hatton (2024). Hybrid Integrator (https://www.mathworks.com/matlabcentral/fileexchange/29325-hybrid-integrator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0