sogno-platform / dpsim

Real-time power system simulator including powerflow, (dynamic) phasors and EMT
https://sogno.energy/dpsim/
Mozilla Public License 2.0
67 stars 49 forks source link

Reuse code for MNA matrix stamp operations #297

Closed georgii-tishenin closed 4 weeks ago

georgii-tishenin commented 1 month ago

Summary

This PR introduces the utility class MNAStampUtils for MNA matrix stamping operations. It standardizes and reuses the stamping logic for 1-phase and 3-phase EMT, DP and SP R, L, C components. The motivation is to make the codebase more maintainable and reduce redundancy.

Additional Context

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
10 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud