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

HYGOV Model #237

Closed jinningwang closed 2 years ago

jinningwang commented 2 years ago

Developed model HYGOV, and prepared example file and demo.

codecov[bot] commented 2 years ago

Codecov Report

Merging #237 (80e13d9) into develop (7397f96) will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #237      +/-   ##
===========================================
+ Coverage    78.47%   78.49%   +0.02%     
===========================================
  Files          150      151       +1     
  Lines        12774    12829      +55     
===========================================
+ Hits         10024    10070      +46     
- Misses        2750     2759       +9     
Impacted Files Coverage Δ
andes/models/__init__.py 100.00% <ø> (ø)
andes/models/governor/__init__.py 100.00% <100.00%> (ø)
andes/models/governor/hygov.py 100.00% <100.00%> (ø)
andes/core/discrete.py 78.36% <0.00%> (-1.57%) :arrow_down:
tests/test_snapshot.py 100.00% <0.00%> (ø)
tests/test_known_good.py 100.00% <0.00%> (ø)
andes/models/exciter/exst1.py 100.00% <0.00%> (ø)
andes/models/distributed/pvd1.py 100.00% <0.00%> (ø)
andes/models/synchronous/genbase.py 89.33% <0.00%> (ø)
andes/models/synchronous/plbvfu1.py 100.00% <0.00%> (ø)

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 7397f96...80e13d9. 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

jinningwang commented 2 years ago

Question about HYGOV.

The velocity and position limits in PSSE doc are shown below: image

However, the separate version in Neplan doc is: image

There is a derivative in the model, which is challenging. Shall we just apply a antiwindup of the gate position in the PSSE format? Or do you have any more suggestion?

Regards, Jinning

jinningwang commented 2 years ago

HYGOV models are in the new PR, this one will be closed.