.BondLib.UsersGuide.Overview.Connectors

Information

As bonds carry two physical variables, the effort, e and the flow, f, the bond graph connectors need to carry at least these two variables. Yet, also the direction of positive power flow is explicitly encoded in the bond models, and thereby also in the connectors. To this end, a (non-physical) directional variable, d, is associated with each bond:

d assumes a value of -1 at the connector, from which the bond emanates, and a value of +1 at the connector, where it ends.

All bond graph variables are declared as potential variables, i.e., rather than making use of the flow variables of Modelica, the bond graph library encodes the direction of flow explicitly using the d variable.

The bond graph connector is a grey dot. Its definition is given as follows:

The corresponding bond model has been encoded as:

It passes the physical variables along, like an electrical wire, and it defines the directional variable, d, at the two ends.

In the bond graph methodology, there are two types of nodes, called junctions, the 0-junction, which corresponds to a regular Modelica node, and the 1-junction, which offers the dual functionality.

The flows into a 0-junction add up to zero, whereas the efforts around a 0-junction are the same. Correspondingly, the efforts into a 1-junction add up to zero, whereas the flows around it are the same. This, by the way, is the reason, why the bond graph library doesn't make use of the Modelica flow variables, since Modelica offers only one type of nodes.

For example, the 1-junction with three bond connectors is defined as:

It inherits the effort and flow vectors from the (partial) ThreePortOne interface model:

which makes use of the directional d variables to decide on the sign in summing the efforts (or flows) into the junction.


Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos