Z-tool: Open-Source Frequency-Domain Analysis Toolbox for EMT Models
![](https://cdn.prod.website-files.com/6716a44edf5aa3dba66569c8/679b28d1a32b430c3893f868_pyscv.png)
![](https://cdn.prod.website-files.com/6716a44edf5aa3dba66569c8/679b28d1a32b430c3893f868_pyscv.png)
Etch - The Energy Transmission Competence Hub - have released an open-source Python-based implementation for the stability analysis of AC/DC power systems.
The PSCAD-based tool is available to download free here
The core functionalities are impedance/admittance characterization and small-signal stability assessment. The analysis relies on an existing system model in the EMT simulation software PSCAD.
The following features are currently implemented and validated:
- Voltage perturbation-based admittance scan at several nodes, including MMC-based systems and black-box components
- Stability assessment via Generalized Nyquist Criteria applicable to standalone-stable MIMO systems
- Oscillation mode identification via eigenvalue decomposition (EVD) and bus participation factors
- Passivity assessment and Singular Value Decomposition functions
The flowchart below summarizes a common usage of the tool for stability studies, including frequency-domain system identification (frequency_sweep) and several stability analysis functions (stability_analysis):
![](https://cdn.prod.website-files.com/6716a44edf5aa3dba66569c8/679b28e9f7c6c3a26d84dc94_679b27110e28f6ad0164b40c_flowchart.png)
![](https://cdn.prod.website-files.com/6716a44edf5aa3dba66569c8/679b28e9f7c6c3a26d84dc9a_679b27215d6cc1a33024c42b_Ztool_summary.png)