powsybl / powsybl-open-loadflow

An open source loadflow based on PowSyBl
Mozilla Public License 2.0
48 stars 7 forks source link

Export admittance and Jacobian matrices #1086

Open AnkurArohi opened 2 months ago

AnkurArohi commented 2 months ago

Describe the current behavior

Currently there is no provision of extracting without setting a breakpoint in code flow the matrices regarding the admittance and connectivity. The same is also the condition of Jacobian matrix. In order to increase the transperency of the software one would like to be able to analyse and maybe use the admittance matrix, Jacobian matrix and if possible aslo the injection matrix as an input to other software or services.

Describe the expected behavior

Before the NR algorithm is triggered there is always the provision of the Admittance matrix which is able to depict the topological situation of the network. Similarly when one has the Jacobian matrix it would be nice to able to analyse the values from the matrix.

Describe the motivation

The motivation is to further validate the connectivity matrix formed in powsybl and to be able to compare this with SCADA or other software to see if the network formed can be validated so for example to make sure that the CGMES export was correct and it has all the network elements as expected.

This should validate the network model

Extra Information

No response