CURENT / andes

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

Fix PSS #411

Closed jinningwang closed 1 year ago

jinningwang commented 1 year ago

Add effective online status ue into PSS

sonarcloud[bot] commented 1 year 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

codecov[bot] commented 1 year ago

Codecov Report

Base: 17.46% // Head: 78.42% // Increases project coverage by +60.95% :tada:

Coverage data is based on head (76c0b3c) compared to base (f61f73c). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #411 +/- ## ============================================ + Coverage 17.46% 78.42% +60.95% ============================================ Files 67 181 +114 Lines 8937 14821 +5884 ============================================ + Hits 1561 11623 +10062 + Misses 7376 3198 -4178 ``` | [Impacted Files](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui) | Coverage Δ | | |---|---|---| | [andes/models/pss/ieeest.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL3Bzcy9pZWVlc3QucHk=) | `100.00% <100.00%> (ø)` | | | [andes/models/pss/pssbase.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL3Bzcy9wc3NiYXNlLnB5) | `100.00% <100.00%> (ø)` | | | [andes/models/pss/st2cut.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL3Bzcy9zdDJjdXQucHk=) | `100.00% <100.00%> (ø)` | | | [andes/models/vcomp/ieeevc.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL3Zjb21wL2llZWV2Yy5weQ==) | `100.00% <0.00%> (ø)` | | | [andes/models/dynload/zip.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL2R5bmxvYWQvemlwLnB5) | `97.77% <0.00%> (ø)` | | | [andes/linsolvers/suitesparse.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbGluc29sdmVycy9zdWl0ZXNwYXJzZS5weQ==) | `66.66% <0.00%> (ø)` | | | [andes/models/dc/node.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL2RjL25vZGUucHk=) | `100.00% <0.00%> (ø)` | | | [andes/models/exciter/ieeet1.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL2V4Y2l0ZXIvaWVlZXQxLnB5) | `100.00% <0.00%> (ø)` | | | [andes/models/exciter/esac5a.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL2V4Y2l0ZXIvZXNhYzVhLnB5) | `100.00% <0.00%> (ø)` | | | [andes/models/exciter/exac4.py](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui#diff-YW5kZXMvbW9kZWxzL2V4Y2l0ZXIvZXhhYzQucHk=) | `100.00% <0.00%> (ø)` | | | ... and [160 more](https://codecov.io/gh/cuihantao/andes/pull/411?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hantao+Cui)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

jinningwang commented 1 year ago

Test results:

ST2CUT

Turn off PSS

image

Turn off the corresponding Exciter

image

IEEEST

Turn off PSS

image

Turn off the corresponding Exciter

image

Test file

PSS_test.zip

cuihantao commented 1 year ago

Thanks a lot, Jinning!

cuihantao commented 1 year ago

Thanks a lot, Jinning!