MODELING AND SIMULATION OF HYBRID SYSTEMS IN MATLAB

Abstract Earlier research in the modeling and simulation of hybrid systems led to the development of a general hybrid systems modeling language (HSML) that has been described elsewhere. Effort is underway to implement this concept in software. First, the standard matlab model framework and integration algorithms were extended to support state-event handling in continuous-time components, including approaches for dealing with vector-field conflicts and changing model order and structure. More recently, further extensions have been made to handle embedded discrete-time components. In this paper we describe the algorithmic implementation of the HSML ideas and language constructs for dealing with state events and embedded discrete-time modules in MATLAB. An example will be presented to show the efficacy of these extensions.