Connection types#
Connection types: node and edge dynamics in the network of the state variables.
The physical topology of a system (pipes, wires, reactions) is not the network of its state variables. The balance equations of mass, energy and momentum usually make a state variable depend on itself (self-influence, a self-loop: the outflow of a tank depends on its level) and make the interaction between two variables depend on both of them (interaction, a symmetric pair of edges: the flow between connected vessels depends on the level difference). Leitold, Vathy-Fogarassy and Abonyi (2017) listed the seven possible patterns of the \(2\times2\) block
and showed that adding these dynamics changes the number of driver and sensor nodes drastically for networks that are not dynamical systems, but not for real state-space models.
type |
pattern (edge \(x_i\to x_j\) always present) |
meaning |
|---|---|---|
|
no further entry |
logical link |
|
self-loop on the source \(x_i\) |
source capacity |
|
self-loop on the target \(x_j\) |
accumulation |
|
both self-loops |
|
|
edge \(x_j\to x_i\) too |
interaction |
|
interaction and one self-loop |
|
|
interaction and both self-loops |
|
Self-influence, interactions and the dynamics heat maps.
Functions#
|
Type ( |
Number of connected node pairs of every type. |
|
|
Add self-loops (self-influence) to the given nodes (all nodes by default). |
|
Add the reverse of the given edges (all edges by default): interactions. |
|
Turn every edge of the network into a connection of the given type. |
|
Nodes without a self-loop. |
|
Edges \(x_i\to x_j\) that are missing while \(x_j\to x_i\) exists, as (i, j) pairs. |
|
Add |
|
Driver and sensor counts as self-influence and interactions are added (MATLAB |
|
Share of driver and sensor nodes when every edge is turned into each connection type. |
Constants#
(loop on source, loop on target, reverse edge) for every type |