LibHybrid for System Identification Toolbox

A wrapper for hybrid system simulation with MATLAB System Identification Toolbox

https://github.com/MatteoRagni/libhybrid

You are now following this Submission

# libhybrid - A library for discretized Hybrid Dynamical Systems
This library implements an hybrid system in the form:
Flow map:
t'(k) = 1
j'(k) = 0
x'(t, j) = f(t, j, x(t, j), u(t, j) ,p)
for (t, j, x, u) in C
Jump map:
t(k + 1) = t(k)
j(k + 1) = j(k)
x(t, j + 1) = g(t, j, x(t, j), u(t, j), p)
for (t, j, x, u) in D

where:

* f is the flow map;
* g is the jump map;
* h is the output map;
* C is the flow set;
* D is the jump set.
* p are parameters.
* k is an engine time for the integration of t and j.

The flow map is discretized with a Runge Kutta 4 step. For the evolution of the system, both t and j are limited by horizons.

Cite As

Matteo Ragni (2026). LibHybrid for System Identification Toolbox (https://github.com/MatteoRagni/libhybrid), GitHub. Retrieved .

Acknowledgements

Inspired by: Hybrid Equations Toolbox

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.1.0.0

The example (bouncing_ball_example_m) shows how to use the library. The model is in bouncing_ball_example_c.c. The library now has a command (idnlhybrid) that allows to compile and prepare a model directly.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.