Appendix C
The example gallery
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 | |
|
plot_02_maximum_matching.py |
Maximum matching and the minimum number of driver nodes | |
|
plot_03_path_finding_signal_sharing.py |
Source components: signal sharing, path finding and the exact minimum | |
|
plot_04_structural_vs_numeric.py |
Structural and numerical controllability | |
|
plot_05_interoperability.py |
Interoperability: NetworkX, files and role annotations | |
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 | |
|
plot_02_bipartite_view.py |
The bipartite view: matchings, dilations and edge classes | |
|
plot_03_control_cacti.py |
Control cacti: a picture of why a system is controllable | |
|
plot_04_structure_matrix.py |
The system matrix in block-triangular order | |
|
plot_05_depth_maps.py |
Control and observation depth maps | |
|
plot_06_operability_plane.py |
The operability plane | |
|
plot_07_dashboard.py |
An operability dashboard | |
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 | |
|
plot_02_control_profiles.py |
Control profiles of real and model networks | |
|
plot_03_driver_types.py |
Driver and sensor types of a design | |
|
plot_04_robustness.py |
Robustness of input and output configurations | |
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 | |
|
plot_02_network_sets.py |
Networks with and without system dynamics | |
|
plot_03_dynamics_heatmap.py |
Heat maps of node and edge dynamics | |
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 | |
|
plot_02_control_centrality.py |
Control centrality | |
|
plot_03_similarity.py |
Similarity of drivers, sensors and edges | |
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 | |
|
plot_02_heuristics.py |
Set covering and centrality-based placement | |
|
plot_03_annealing.py |
Simulated annealing: mCLASA and GDFCMSA | |
|
plot_04_method_comparison.py |
Comparing the five placement methods | |
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 | |
|
plot_02_celegans.py |
The frontal neural network of C. elegans | |
|
plot_03_dynamical_benchmarks.py |
State matrices of real dynamical systems | |