Network-Based Controllability and Observability Analysis in PythonThe nocad toolbox

Every method of the toolbox has at least one runnable example script. The scripts generate or load their own networks, explain the method in their comments, and end with a study of the main parameters. The same scripts produce the gallery of the online documentation, the Jupyter notebooks, and every computed figure and code listing of this book. The tables below list them by folder of examples/, with the first figure of the book that each script produced.

C.1 Networks, matchings, and input/output design

Folder examples/01_basics/. The methods are described in chapter 3.

Script

Topic

Figure

plot_01_state_space_network.py

From a state-space model to the network of its state variables

2.3

   

plot_02_maximum_matching.py

Maximum matching and the minimum number of driver nodes

3.2

   

plot_03_path_finding_signal_sharing.py

Source components: signal sharing, path finding and the exact minimum

3.5

   

plot_04_structural_vs_numeric.py

Structural and numerical controllability

2.5

   

plot_05_interoperability.py

Interoperability: NetworkX, files and role annotations

2.7

   

C.2 Visualization of controllability and observability

Folder examples/02_visualization/. The methods are described in chapter 4.

Script

Topic

Figure

plot_01_scc_hierarchy.py

The SCC hierarchy: where inputs and outputs must go

4.3

   

plot_02_bipartite_view.py

The bipartite view: matchings, dilations and edge classes

4.7

   

plot_03_control_cacti.py

Control cacti: a picture of why a system is controllable

4.10

   

plot_04_structure_matrix.py

The system matrix in block-triangular order

4.14

   

plot_05_depth_maps.py

Control and observation depth maps

4.16

   

plot_06_operability_plane.py

The operability plane

4.19

   

plot_07_dashboard.py

An operability dashboard

4.21

   

C.3 Roles, profiles, and robustness

Folder examples/03_roles_robustness/. The methods are described in chapter 5.

Script

Topic

Figure

plot_01_node_roles.py

Node roles across all maximum matchings

5.2

   

plot_02_control_profiles.py

Control profiles of real and model networks

5.4

   

plot_03_driver_types.py

Driver and sensor types of a design

5.6

   

plot_04_robustness.py

Robustness of input and output configurations

5.7

   

C.4 Connection types and system dynamics

Folder examples/04_connection_types/. The methods are described in chapter 6.

Script

Topic

Figure

plot_01_connection_types.py

The seven connection types

6.2

   

plot_02_network_sets.py

Networks with and without system dynamics

6.4

   

plot_03_dynamics_heatmap.py

Heat maps of node and edge dynamics

6.6

   

C.5 System characterisation

Folder examples/05_measures/. The methods are described in chapter 7.

Script

Topic

Figure

plot_01_network_measures.py

System characterisation: network and node measures

7.2

   

plot_02_control_centrality.py

Control centrality

7.4

   

plot_03_similarity.py

Similarity of drivers, sensors and edges

7.5

   

C.6 Relative degree and placement

Folder examples/06_placement/. The methods are described in chapter 8.

Script

Topic

Figure

plot_01_relative_degree.py

Relative degree in the network

8.2

   

plot_02_heuristics.py

Set covering and centrality-based placement

8.4

   

plot_03_annealing.py

Simulated annealing: mCLASA and GDFCMSA

8.6

   

plot_04_method_comparison.py

Comparing the five placement methods

8.8

   

C.7 Applications

Folder examples/07_applications/. The methods are described in chapter 9.

Script

Topic

Figure

plot_01_heat_exchanger_network.py

Heat exchanger networks

9.3

   

plot_02_celegans.py

The frontal neural network of C. elegans

9.5

   

plot_03_dynamical_benchmarks.py

State matrices of real dynamical systems

9.7