MultiBondLib.Bonds

causal and acausal MultiBonds

Information


This package contains models of the three multibonds. 
The MultiBond represents the classic acausal multibond. 
eMultiBond and fMultiBond are causal multibonds, where
the flow variable is computed at the side marked by a stroke. The
effort variable is computed at the other side of the bond.

The cardinality of the multibond is shown in the middle of the multibond. A large N denotes the default cardinality. Pay attention that the cardinality of the multibond matches the cardinality of the connected bondgraphic elements

A multibond has to be connected to a multibondgraphic vertex element. It is not possible to connect two multibonds directly with each other.

Package Content

NameDescription
MultiBondLib.Bonds.MultiBond MultiBond the acausal multibond
MultiBondLib.Bonds.eMultiBond eMultiBond a causal multibond (flow computed at the tail)
MultiBondLib.Bonds.fMultiBond fMultiBond a causal multibond (flow computed at the head)
MultiBondLib.Bonds.Utilities Utilities make-up tools for multibonds


MultiBondLib.Bonds.MultiBond MultiBondLib.Bonds.MultiBond

the acausal multibond

MultiBondLib.Bonds.MultiBond

Information


This is the model for a non-causal bond. 

The cardinality of the multibond can be set through an parameter and is shown in the middle of the multibond icon.

The model invokes two multibondgraphic connectors determines their cardinality and assigns the values for the directional variable d: d is -1 at the tail and +1 at the head connector.


Parameters

TypeNameDefaultDescription
IntegernNCardinality of Bond

Connectors

TypeNameDescription
MultiBondConMultiBondCon1 
MultiBondConMultiBondCon2 

Modelica definition

model MultiBond "the acausal multibond" 
  final parameter Integer N = MBG_defaults.n;
  parameter Integer n = N "Cardinality of Bond";
  Interfaces.MultiBondCon MultiBondCon1(n=n);
  Interfaces.MultiBondCon MultiBondCon2(n=n);
protected 
  outer Defaults MBG_defaults;
equation 
  MultiBondCon1.e =   MultiBondCon2.e;
  MultiBondCon1.f =   MultiBondCon2.f;
  MultiBondCon1.d =   -1;
  MultiBondCon2.d =  +1;
end MultiBond;

MultiBondLib.Bonds.eMultiBond MultiBondLib.Bonds.eMultiBond

a causal multibond (flow computed at the tail)

MultiBondLib.Bonds.eMultiBond

Information


This is the model for a causal bond. The multibondgraphic flow variable is computed at the tail.

The cardinality of the multibond can be set through an parameter and is shown in the middle of the multibond icon.

The model invokes the two causal multibondgraphic connectors determines their cardinality and assigns the values for the directional variable d: d is -1 at the tail and +1 at the head connector.


Parameters

TypeNameDefaultDescription
IntegernNCardinality of Bond

Connectors

TypeNameDescription
fMultiBondConfMultiBondCon1 
eMultiBondConeMultiBondCon2 

Modelica definition

block eMultiBond "a causal multibond (flow computed at the tail)" 
  final parameter Integer N = MBG_defaults.n;
  parameter Integer n = N "Cardinality of Bond";
  Interfaces.fMultiBondCon fMultiBondCon1(n=n);
  Interfaces.eMultiBondCon eMultiBondCon2(n=n);
  
protected 
  outer Defaults MBG_defaults;
equation 
  fMultiBondCon1.e =   eMultiBondCon2.e;
  fMultiBondCon1.f =   eMultiBondCon2.f;
  fMultiBondCon1.d =   -1;
  eMultiBondCon2.d =  +1;
end eMultiBond;

MultiBondLib.Bonds.fMultiBond MultiBondLib.Bonds.fMultiBond

a causal multibond (flow computed at the head)

MultiBondLib.Bonds.fMultiBond

Information


This is the model for a causal bond. The multibondgraphic flow variable is computed at the head.

The cardinality of the multibond can be set through an parameter and is shown in the middle of the multibond icon.

The model invokes the two causal multibondgraphic connectors determines their cardinality and assigns the values for the directional variable d: d is -1 at the tail and +1 at the head connector.


Parameters

TypeNameDefaultDescription
IntegernNCardinality of Bond

Connectors

TypeNameDescription
eMultiBondConeMultiBondCon1 
fMultiBondConfMultiBondCon2 

Modelica definition

block fMultiBond "a causal multibond (flow computed at the head)" 
  final parameter Integer N = MBG_defaults.n;
  parameter Integer n = N "Cardinality of Bond";
  Interfaces.eMultiBondCon eMultiBondCon1(n=n);
  Interfaces.fMultiBondCon fMultiBondCon2(n=n);
protected 
  outer Defaults MBG_defaults;
equation 
  eMultiBondCon1.e =   fMultiBondCon2.e;
  eMultiBondCon1.f =   fMultiBondCon2.f;
  eMultiBondCon1.d =   -1;
  fMultiBondCon2.d =  +1;
end fMultiBond;

HTML-documentation generated by Dymola Thu Aug 31 09:47:33 2006.