CURENT / andes

Python toolbox / library for power system transient dynamics simulation with symbolic modeling and numerical analysis 🔥
https://ltb.curent.org
Other
211 stars 110 forks source link

pandapower interface enhancement #300

Closed jinningwang closed 2 years ago

jinningwang commented 2 years ago

1) Add option for user-defined controllable of _to_pandapower() 1) Fix test for pandapower interface 1) Other minor edits

Hantao,

I did not include controllable in the make_link_table. First, the info has been included in to_pandapower(). Second, one can see if there is a governor from the link_table.

Regards, Jinning

codecov[bot] commented 2 years ago

Codecov Report

Merging #300 (ec9f674) into develop (ec619ab) will decrease coverage by 0.02%. The diff coverage is 68.75%.

@@             Coverage Diff             @@
##           develop     #300      +/-   ##
===========================================
- Coverage    78.58%   78.56%   -0.03%     
===========================================
  Files          157      157              
  Lines        13325    13331       +6     
===========================================
+ Hits         10472    10474       +2     
- Misses        2853     2857       +4     
Impacted Files Coverage Δ
andes/interop/pandapower.py 85.54% <64.28%> (-1.96%) :arrow_down:
tests/test_pandapower.py 93.93% <100.00%> (+0.18%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ec619ab...ec9f674. Read the comment docs.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information