Bond-graph Modeling in Modelica
نویسنده
چکیده
This paper discusses a bond–graph model library implemented in Modelica. Modelica is a new language for physical systems modeling with main objective to facilitate exchange of models and simulation specifications. Bond graphs are a domain–independent way of modeling the dynamics of physical systems. Besides the presentation of the Modelica basic bond– graph library, also an application example is discussed, to test the usefulness of the library in practice. The translation of existing bond–graph models to Mode-lica was a straightforward process, indicating that Mode-lica has the proper features for bond–graph modeling. However, the implicitly generated sum–to–zero connection equations are not useful for bond–graph modeling and in fact can obscure model specification in Modelica. Our future aim is to build a Modelica import / export facility for our bond–graph / block–diagram modeling and simulation software 20-SIM. 1 INTRODUCTION The currently available modeling and simulation tools have their own proprietary model description languages, which complicate exchange of models between different tools. Having a real expressive and standardized model-ing language, exchange of models is really possible without losing non-trivial language constructs of the proprietary language from which the porting process starts. Modelica™ is a new language for physical systems mod-eling being developed in an international effort (Mode-lica, 1997; Mattsson et al., 1997). The main objective of this development is to facilitate the exchange of models, model libraries and simulation specifications. The Modelica design group covers a wide range of application domains, thus ensuring that the versatility of Mode-lica will be taken care of (Otter et al. Bond graphs are a domain-independent notion of physical systems modeling, where the physical processes are directly represented as vertices in a directed graph and the edges represent the ideal exchange of energy between the vertices. This domain independence makes bond graphs especially attractive in a multi-domain context. Furthermore , the equations associated with bond–graph elements can be automatically converted into simulation code, thus releasing the modeler of writing computable code as a simulation model. The contribution of this paper is the implementation of a library of bond–graph elements in Modelica. This work serves as a test on the versatility of the language. First, a brief overview of Modelica is given (section 2), and then the Modelica model library of bond–graph elements is presented (section 3). Section 4 presents an application example consisting of a computer–controlled physical system. In section 5, we draw conclusions. 2 MODELICA Modelica is a …
منابع مشابه
Object–oriented modeling with bond graphs and Modelica
A new modeling language, called Modelica, for physical systems modeling is being developed in an international effort. The main objective is to make it easy to exchange models and model libraries. The design of Modelica builds on non-causal modeling and the use of object-oriented constructs stemming from modern software development, (hierarchy, encapsulation) to facilitate reuse of models and m...
متن کاملThe Modelica Multi-bond Graph Library
Bond graphs have established themselves as a reliable tool for modeling physical systems. Multi-bonds are a bondgraphic extension that provides a general approach to modeling all kinds of multi-dimensional processes in continuous physical systems. This paper presents a Modelica library for modeling multi-bond graphs and their application to three-dimensional mechanical systems. A set of bondgra...
متن کاملThe Modelica Bond Graph Library
Bond graphs offer a domain-neutral graphical technique for representing power flows in a physical system. They are particularly powerful for representing systems that operate in multiple energy domains, such as thermal models of electronic circuits, mechanical vibrations in acoustic systems, etc. A bond graph library was created for Modelica with graphical Dymola support. The library is present...
متن کاملA Unified Way to Implement Multibody Systems Dynamics Models Using Bond Graph Representation
A detailed description of the bond graph representation for the most general type of constraint in multibody systems is presented. This representation has a tight correspondence with our recent object-oriented implementation of the mechanical constraint architecture on Modelica language. The implementation is based on the library of Modelica classes to simulate the sparse multibody systems dyna...
متن کاملEco-bond Graphs: an Energy-based Modeling Framework for Complex Dynamic Systems with a Focus on Sustainability and Embodied Energy Flows
This article presents a general methodology for modeling complex dynamic systems, focusing on sustainability properties that emerge from tracking energy flows. We adopt the embodied energy (emergy) concept that traces all energy transformations required for running a process. Energy can therefore be studied in terms of all energy previously invested up to the primary sources, and sustainability...
متن کامل