gmlc-dispatches / dispatches

Primary repository for distributed dispatches software tools
https://dispatches.readthedocs.io/
Other
12 stars 34 forks source link

Solar PV unit model #196

Closed dguittet closed 1 year ago

dguittet commented 1 year ago

Addresses issue:

Adds solar PV unit model, tests, and option in flowsheet model

Summary/Motivation:

Changes proposed in this PR:

-

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.md and COPYRIGHT.md file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 96.39% and project coverage change: +0.08 :tada:

Comparison is base (42ca022) 89.41% compared to head (4eced5a) 89.49%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #196 +/- ## ========================================== + Coverage 89.41% 89.49% +0.08% ========================================== Files 65 67 +2 Lines 8145 8238 +93 ========================================== + Hits 7283 7373 +90 - Misses 862 865 +3 ``` | [Impacted Files](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches) | Coverage Δ | | |---|---|---| | [...s/case\_studies/renewables\_case/wind\_battery\_LMP.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy9jYXNlX3N0dWRpZXMvcmVuZXdhYmxlc19jYXNlL3dpbmRfYmF0dGVyeV9MTVAucHk=) | `96.79% <ø> (ø)` | | | [...se\_studies/renewables\_case/wind\_battery\_PEM\_LMP.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy9jYXNlX3N0dWRpZXMvcmVuZXdhYmxlc19jYXNlL3dpbmRfYmF0dGVyeV9QRU1fTE1QLnB5) | `75.26% <80.00%> (+0.13%)` | :arrow_up: | | [dispatches/unit\_models/solar\_pv.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy91bml0X21vZGVscy9zb2xhcl9wdi5weQ==) | `91.66% <91.66%> (ø)` | | | [...tches/case\_studies/renewables\_case/RE\_flowsheet.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy9jYXNlX3N0dWRpZXMvcmVuZXdhYmxlc19jYXNlL1JFX2Zsb3dzaGVldC5weQ==) | `95.89% <100.00%> (+0.22%)` | :arrow_up: | | [...es/case\_studies/renewables\_case/load\_parameters.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy9jYXNlX3N0dWRpZXMvcmVuZXdhYmxlc19jYXNlL2xvYWRfcGFyYW1ldGVycy5weQ==) | `100.00% <100.00%> (ø)` | | | [...studies/renewables\_case/tests/test\_RE\_flowsheet.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy9jYXNlX3N0dWRpZXMvcmVuZXdhYmxlc19jYXNlL3Rlc3RzL3Rlc3RfUkVfZmxvd3NoZWV0LnB5) | `96.33% <100.00%> (+0.87%)` | :arrow_up: | | [dispatches/unit\_models/\_\_init\_\_.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy91bml0X21vZGVscy9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [dispatches/unit\_models/tests/test\_solar\_pv.py](https://app.codecov.io/gh/gmlc-dispatches/dispatches/pull/196?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gmlc-dispatches#diff-ZGlzcGF0Y2hlcy91bml0X21vZGVscy90ZXN0cy90ZXN0X3NvbGFyX3B2LnB5) | `100.00% <100.00%> (ø)` | |

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