# HyVisual: A Hybrid System Visual Modeler

### Christopher Brooks, Adam Cataldo, Edward A. Lee, J. Liu, Xiaojun Liu, Stephen Neuendorffer and Haiyang Zheng

###
EECS Department

University of California, Berkeley

Technical Report No. UCB/ERL M05/24

July 2005

### http://www.eecs.berkeley.edu/Pubs/TechRpts/2005/ERL-05-24.pdf

The Hybrid System Visual Modeler (HyVisual) is a block-diagram editor and simulator for continuous-time dynamical systems and hybrid systems. Hybrid systems mix continuous-time dynamics, discrete events, and discrete mode changes. This visual modeler supports construction of hierarchical hybrid systems. It uses a block-diagram representation of ordinary differential equations (ODEs) to define continuous dynamics, and allows mixing of continuous-time signals with events that are discrete in time. It uses a bubble-and-arc diagram representation of finite state machines to define discrete behavior driven by mode transitions.

In this document, we describe how to graphically construct models and how to interpret the resulting models. HyVisual provides a sophisticated numerical solver that simulates the continuous-time dynamics, and effective use of the system requires at least a rudimentary understanding of the properties of the solver. This document provides a tutorial that will enable the reader to construct elaborate models and to have confidence in the results of a simulation of those models. We begin by explaining how to describe continuous-time models of classical dynamical systems, and then progress to the construction of mixed signal and hybrid systems.

The intended audience for this document is an engineer with at least a rudimentary understanding of the theory of continuous-time dynamical systems (ordinary differential equations and Laplace transform representations), who wishes to build models of such systems, and who wishes to learn about hybrid systems and build models of hybrid systems.

HyVisual is built on top of Ptolemy II, a framework supporting the construction of such domain-specific tools. See Ptolemy II for more information.

BibTeX citation:

@techreport{Brooks:M05/24, Author = {Brooks, Christopher and Cataldo, Adam and Lee, Edward A. and Liu, J. and Liu, Xiaojun and Neuendorffer, Stephen and Zheng, Haiyang}, Title = { HyVisual: A Hybrid System Visual Modeler}, Institution = {EECS Department, University of California, Berkeley}, Year = {2005}, Month = {Jul}, URL = {http://www.eecs.berkeley.edu/Pubs/TechRpts/2005/9574.html}, Number = {UCB/ERL M05/24}, Abstract = {The Hybrid System Visual Modeler (HyVisual) is a block-diagram editor and simulator for continuous-time dynamical systems and hybrid systems. Hybrid systems mix continuous-time dynamics, discrete events, and discrete mode changes. This visual modeler supports construction of hierarchical hybrid systems. It uses a block-diagram representation of ordinary differential equations (ODEs) to define continuous dynamics, and allows mixing of continuous-time signals with events that are discrete in time. It uses a bubble-and-arc diagram representation of finite state machines to define discrete behavior driven by mode transitions. In this document, we describe how to graphically construct models and how to interpret the resulting models. HyVisual provides a sophisticated numerical solver that simulates the continuous-time dynamics, and effective use of the system requires at least a rudimentary understanding of the properties of the solver. This document provides a tutorial that will enable the reader to construct elaborate models and to have confidence in the results of a simulation of those models. We begin by explaining how to describe continuous-time models of classical dynamical systems, and then progress to the construction of mixed signal and hybrid systems. The intended audience for this document is an engineer with at least a rudimentary understanding of the theory of continuous-time dynamical systems (ordinary differential equations and Laplace transform representations), who wishes to build models of such systems, and who wishes to learn about hybrid systems and build models of hybrid systems. HyVisual is built on top of Ptolemy II, a framework supporting the construction of such domain-specific tools. See <a href="http://ptolemy.eecs.berkeley.edu/ptolemyII/">Ptolemy II</a> for more information.} }

EndNote citation:

%0 Report %A Brooks, Christopher %A Cataldo, Adam %A Lee, Edward A. %A Liu, J. %A Liu, Xiaojun %A Neuendorffer, Stephen %A Zheng, Haiyang %T HyVisual: A Hybrid System Visual Modeler %I EECS Department, University of California, Berkeley %D 2005 %@ UCB/ERL M05/24 %U http://www.eecs.berkeley.edu/Pubs/TechRpts/2005/9574.html %F Brooks:M05/24