  We propose Apricot as an object-oriented language for modeling hybrid
systems. The language combines the features in domain specific language and
object-oriented language, that fills the gap between design and implementation,
as a result, we put forward the modeling language with simple and distinct
syntax, structure and semantics. In addition, we introduce the concept of
design by convention into Apricot.As the characteristic of object-oriented and
the component architecture in Apricot, we conclude that it is competent for
modeling hybrid systems without losing scalability.
