  Different approaches have been used in the development of system models. In
addition, modeling and simulation approaches are essential for design,
analysis, control, and diagnosis of complex systems. This work presents a
Simulink model for systems with mixed continuous and discrete behaviors. The
model simulated was developed using the bond graph methodology and we model
hybrid systems using hybrid bond graphs (HBGs), that incorporates local
switching functions that enable the reconfiguration of energy flow paths. This
approach has been implemented as a software tool called the MOdeling and
Transformation of HBGs for Simulation (MOTHS) tool suite which incorporates a
model translator that create Simulink models. Simulation model of a three-tank
system that includes a switching component was developed using the bond graph
methodology, and MoTHS software were used to build a Simulink model of the
dynamic behavior.
