NREL-Sienna / PowerSimulationsDynamics.jl

Julia package to run Dynamic Power System simulations. Part of the Scalable Integrated Infrastructure Planning Initiative at the National Renewable Energy Lab.
https://www.nrel.gov/analysis/sienna.html
BSD 3-Clause "New" or "Revised" License
173 stars 42 forks source link

PSS2B model and test #339

Closed luisdi97 closed 1 year ago

luisdi97 commented 1 year ago

Hello, I'm adding the IEEE 421.5 2005 PSS2B IEEE Dual-Input Stabilizer Model, and a test for it.

codecov[bot] commented 1 year ago

Codecov Report

Merging #339 (3ca5e26) into main (4472eac) will increase coverage by 0.12%. The diff coverage is 93.93%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/339/graphs/tree.svg?width=650&height=150&src=pr&token=Af8jhDz6u9&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna)](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) ```diff @@ Coverage Diff @@ ## main #339 +/- ## ========================================== + Coverage 87.33% 87.46% +0.12% ========================================== Files 65 65 Lines 8450 8615 +165 ========================================== + Hits 7380 7535 +155 - Misses 1070 1080 +10 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `87.46% <93.93%> (+0.12%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | Coverage Δ | | |---|---|---| | [...rc/initialization/generator\_components/init\_pss.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2luaXRpYWxpemF0aW9uL2dlbmVyYXRvcl9jb21wb25lbnRzL2luaXRfcHNzLmps) | `92.07% <89.85%> (-1.16%)` | :arrow_down: | | [src/models/generator\_models/pss\_models.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL21vZGVscy9nZW5lcmF0b3JfbW9kZWxzL3Bzc19tb2RlbHMuamw=) | `94.13% <96.87%> (+1.35%)` | :arrow_up: |
jd-lara commented 1 year ago

@luisdi97 you can now update PSY that has the struct to restore the tests.