Code covered by the BSD License  

Highlights from
Hybrid Integrator

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 142.36 KB File ID: #29325

Hybrid Integrator

by Ross Hatton

 

08 Nov 2010

Hybrid system integration based on the "event" functions in Matlab's ODE solvers.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
hybrid Ross Hatton 09 Nov 2010 10:39:16
physics Ross Hatton 09 Nov 2010 10:39:16
switching Ross Hatton 09 Nov 2010 10:39:16
simulation Ross Hatton 09 Nov 2010 11:56:26

Contact us at files@mathworks.com