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://nrel-sienna.github.io/PowerSimulationsDynamics.jl/stable/
BSD 3-Clause "New" or "Revised" License
175 stars 42 forks source link

add DEGOV (#357) #362

Closed m-bossart closed 9 months ago

m-bossart commented 10 months ago

adds DEGOV model and capability of adding time delays to massmatrix formulation.

github-actions[bot] commented 10 months ago
Performance Results Version Precompile Time
Main 2.02683557
This Branch 2.063898738
Version Execute Time
Main-Build ResidualModel 7.346802618
Main-Execute ResidualModel 19.51024517
Main-Build MassMatrixModel 0.61421815
Main-Execute MassMatrixModel 31.725576972
This Branch-Build ResidualModel 7.727489063
This Branch-Execute ResidualModel 19.622980931
This Branch-Build MassMatrixModel 0.625091172
This Branch-Execute MassMatrixModel 31.777282267

ResidualModel and MassMatrixModel performance results should be compared between versions and not between models due to the execution order of the tests

codecov[bot] commented 10 months ago

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (73a7147) 87.40% compared to head (370aed8) 87.42%. Report is 1 commits behind head on main.

:exclamation: Current head 370aed8 differs from pull request most recent head 658c393. Consider uploading reports for the commit 658c393 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362/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/362?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 #362 +/- ## ========================================== + Coverage 87.40% 87.42% +0.01% ========================================== Files 65 65 Lines 8999 9140 +141 ========================================== + Hits 7866 7991 +125 - Misses 1133 1149 +16 ``` | [Flag](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | `87.42% <89.50%> (+0.01%)` | :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. | [Files](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | Coverage Δ | | |---|---|---| | [src/base/device\_wrapper.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Jhc2UvZGV2aWNlX3dyYXBwZXIuamw=) | `87.50% <100.00%> (+0.11%)` | :arrow_up: | | [src/base/nlsolve\_wrapper.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Jhc2Uvbmxzb2x2ZV93cmFwcGVyLmps) | `63.00% <100.00%> (+1.14%)` | :arrow_up: | | [src/base/simulation.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Jhc2Uvc2ltdWxhdGlvbi5qbA==) | `94.54% <100.00%> (+1.24%)` | :arrow_up: | | [src/base/simulation\_inputs.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Jhc2Uvc2ltdWxhdGlvbl9pbnB1dHMuamw=) | `93.20% <100.00%> (+0.34%)` | :arrow_up: | | [src/base/small\_signal.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Jhc2Uvc21hbGxfc2lnbmFsLmps) | `87.58% <100.00%> (+0.16%)` | :arrow_up: | | [src/base/system\_model.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Jhc2Uvc3lzdGVtX21vZGVsLmps) | `100.00% <100.00%> (ø)` | | | [src/initialization/generator\_components/init\_tg.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2luaXRpYWxpemF0aW9uL2dlbmVyYXRvcl9jb21wb25lbnRzL2luaXRfdGcuamw=) | `95.78% <100.00%> (+0.30%)` | :arrow_up: | | [src/models/device.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL21vZGVscy9kZXZpY2Uuamw=) | `94.38% <100.00%> (-0.32%)` | :arrow_down: | | [src/models/generator\_models/avr\_models.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL21vZGVscy9nZW5lcmF0b3JfbW9kZWxzL2F2cl9tb2RlbHMuamw=) | `99.08% <ø> (ø)` | | | [src/models/generator\_models/machine\_models.jl](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL21vZGVscy9nZW5lcmF0b3JfbW9kZWxzL21hY2hpbmVfbW9kZWxzLmps) | `100.00% <ø> (ø)` | | | ... and [12 more](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/NREL-Sienna/PowerSimulationsDynamics.jl/pull/362/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna)