Bond Graph
Domains: Continuous. Size: 3-D. Kind: Block Diagrams, Bond Graphs.
This model is the multiport equivalent of the single I storage element. Consequently the constitutive equation must be written as a matrix-vector multiplication. The element has a preferred flow out causality. The corresponding constitutive equations then contain an integration. The element can also have the non-preferred effort out causality. The constitutive equations then contain a derivation, which can only be simulated when the Backward Differentiation Formula integration algorithm is available:
flow out causality (preferred):
state = int(p.e) + state(0);
p.f = inverse(I)*state;
output = state;
effort out causality:
state = I*p.f;
p.e = d state / dt;
output = state;
Ports |
Description |
p[3] |
Input port of the storage element (columnvector with size 3). |
Causality |
|
preferred effort out |
A flow out causality results in a derivative constitutive equation. |
Outputs |
|
output[3] |
The output signal is equal to the state (columnvector with size 3). |
Parameters |
|
I[3,3] |
The storage element constants (matrix of size [3,3]). |
Initial Values |
|
state(0)[3] |
The initial values of the storage element (columnvector with size 3). |
The preferred equation contains an inverted I matrix. The elements of this matrix should be chosen with care to prevent this matrix from becoming singular.