Understanding N2 diagrams
Channel: OpenMDAO
Date: 07/10/2022

The N2 diagram is a fantastic interactive tool to understand and debug your OpenMDAO models. If you're wondering how systems are organized, connected, or solved, an N2 is for you.

0:00 - Intro
0:55 - How to create an N2 diagram
1:31 - Diagram basics
5:50 - What the toolbar does
11:39 - A more complex example
13:55 - An even MORE complex example
15:43 - Conclusion

Accompanying course page:
https://openmdao.github.io/PracticalMDO/Notebooks/ModelConstruction/using_n2.html

Related lessons:
How to debug solvers: https://openmdao.github.io/PracticalMDO/Notebooks/ModelConstruction/how_to_debug_solvers.html
Understanding XDSM diagrams: https://openmdao.github.io/PracticalMDO/Notebooks/ModelConstruction/understanding_xdsm_diagrams.html

If you prefer a slightly more formal introduction to N2 diagrams, Ken previously presented on them, though they had a slightly different interface than we have now: https://youtu.be/rYiJ2lX3KDE