This repository collects the implementations of algorithms in the paper "A Hierarchical Structural Analysis Method for Complex Equation-oriented Models".
There are 6 files in this repository:
- dae_analysis.py - The scripts for hierarchical structural analysis of dae models.
- nla_analysis.py - The scripts for hierarchical structural analysis of nla models.
- SSMatching.py - The python implementation of Soares and Secchi's algorithm in "Structural analysis for static and dynamic models".
- read_graph.py - Generate graph from an edge list.
- plot_graph.py - Plot the graph.
- constant_def.py - Define constants used in the scripts.
- Load the script files in Python 2.7 environment.
- run dae_analysis.py or nla_analysis.py to analyze singularity of example models.