Input and output design#

Input and output configurations that make a network controllable and observable.

The network mapping module of NOCAD turns the network of the state variables into a state-space model \((\mathbf{A},\mathbf{B},\mathbf{C},\mathbf{D})\) with \(\mathbf{A}=\mathbf{W}^{\mathsf T}\) and input and output matrices chosen so that the system is structurally controllable and observable with few inputs and outputs.

Four methods are available:

"matching"

The unmatched nodes of a maximum matching (Liu, Slotine and Barabási 2011). It ignores source strongly connected components that are perfectly matched internally, so the system may be uncontrollable; kept for comparison.

"signal_sharing"

Every unmatched node gets its own input, and every perfectly matched source SCC receives the signal of an existing input (Liu et al. 2013). The columns of \(\mathbf{B}\) may contain several non-zeros.

"path_finding"

The method of Leitold, Vathy-Fogarassy and Abonyi (2017): a perfectly matched source SCC is opened by exchanging one matched edge, so that the stem of its driver node continues through the SCC into an unmatched node outside; otherwise one matched edge inside the SCC is removed. Every input drives exactly one node.

"minimum"

The minimum number of dedicated inputs (every input drives one node), computed exactly as \(N+\beta-\nu(\mathcal{G}')\), where \(\beta\) is the number of source SCCs and \(\nu(\mathcal{G}')\) the size of a maximum matching of the bipartite graph extended by one slack vertex per source SCC. The count agrees with Commault and Dion (2013) and Pequito, Kar and Aguiar (2016); path finding attains it whenever its greedy choices do not compete for the same unmatched node.

Observability is the dual problem on the reversed network \(\mathcal{G}^{\mathsf T}\): sensor nodes are the driver nodes of the reversed network.

Maximum matching corrected by path finding or signal sharing, the exact minimum of dedicated inputs, state-space matrices and the InputOutputDesign estimator.

Classes#

InputOutputDesign([method])

Design inputs and outputs that make a network controllable and observable.

Functions#

maximum_matching_pf(adj)

Maximum matching corrected by the path-finding method (MATLAB maximumMatchingPF).

maximum_matching_ss(adj)

Maximum matching with signal sharing (MATLAB maximumMatchingSS).

maximum_matching_min(adj)

Matching whose unmatched nodes are a minimum set of dedicated driver nodes.

control_matching(adj[, method])

Control matching and the nodes receiving a shared input signal.

driver_nodes(adj[, method])

Driver nodes of a network (nodes that receive an input signal).

sensor_nodes(adj[, method])

Sensor nodes of a network: the driver nodes of the reversed network.

n_driver_nodes(adj[, method])

Number of driver nodes \(N_D\).

generate_matrices(adj[, method])

State-space matrices of a controllable and observable system on a network.

generate_matrices_pf(adj)

MATLAB generateMatricesPF: generate_matrices() with path finding.

generate_matrices_ss(adj)

MATLAB generateMatricesSS: generate_matrices() with signal sharing.

input_matrix(n_states, dedicated[, shared])

Input matrix \(\mathbf{B}\): one column per dedicated driver node; shared nodes receive the signal of the first input.

output_matrix(n_states, dedicated[, shared])

Output matrix \(\mathbf{C}\): one row per dedicated sensor node; shared nodes are added to the first output.

Constants#

METHODS

Built-in immutable sequence.