WISDEM / WOMBAT

Windfarm Operations & Maintenance cost-Benefit Analysis Tool
https://wisdem.github.io/WOMBAT/
Apache License 2.0
21 stars 11 forks source link

Feature/basic plotting #121

Closed RHammond2 closed 1 year ago

RHammond2 commented 1 year ago

This PR adds in 3 experimental plotting routines to the WOMBAT utilities, and addresses a bug in the calculation of windfarm availability on both a time and production basis. Additionally, some typing bugs are also fixed (or ignored). See the CHANGELOG for details.

codecov[bot] commented 1 year ago

Codecov Report

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

Comparison is base (fe65800) 55.93% compared to head (4c0c2dc) 53.73%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #121 +/- ## =========================================== - Coverage 55.93% 53.73% -2.21% =========================================== Files 21 22 +1 Lines 3572 3726 +154 Branches 740 767 +27 =========================================== + Hits 1998 2002 +4 - Misses 1452 1602 +150 Partials 122 122 ``` | [Files](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM) | Coverage Δ | | |---|---|---| | [wombat/windfarm/system/system.py](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM#diff-d29tYmF0L3dpbmRmYXJtL3N5c3RlbS9zeXN0ZW0ucHk=) | `97.14% <100.00%> (+0.08%)` | :arrow_up: | | [wombat/windfarm/windfarm.py](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM#diff-d29tYmF0L3dpbmRmYXJtL3dpbmRmYXJtLnB5) | `93.29% <100.00%> (+0.03%)` | :arrow_up: | | [wombat/core/simulation\_api.py](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM#diff-d29tYmF0L2NvcmUvc2ltdWxhdGlvbl9hcGkucHk=) | `50.42% <0.00%> (-3.21%)` | :arrow_down: | | [wombat/core/environment.py](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM#diff-d29tYmF0L2NvcmUvZW52aXJvbm1lbnQucHk=) | `74.37% <15.38%> (-2.58%)` | :arrow_down: | | [wombat/core/post\_processor.py](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM#diff-d29tYmF0L2NvcmUvcG9zdF9wcm9jZXNzb3IucHk=) | `5.29% <5.26%> (-0.10%)` | :arrow_down: | | [wombat/utilities/plot.py](https://app.codecov.io/gh/WISDEM/WOMBAT/pull/121?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WISDEM#diff-d29tYmF0L3V0aWxpdGllcy9wbG90LnB5) | `0.00% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.