NREL / reV

Renewable Energy Potential (reV) Model
https://nrel.github.io/reV/
BSD 3-Clause "New" or "Revised" License
107 stars 24 forks source link

Supply Curve cleanup #316

Closed MRossol closed 3 years ago

MRossol commented 3 years ago

add avail_cap_frac as an explicit kwarg in supply_curve instead of hi…ding it inside transmission_costs update tests Update default avail_cap_frac to 1 from 0.1 Update default sink_tie_in_cost from 14000 to 1e11

codecov-commenter commented 3 years ago

Codecov Report

Merging #316 (799a045) into main (f3ef051) will increase coverage by 0.02%. The diff coverage is 89.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #316      +/-   ##
==========================================
+ Coverage   76.27%   76.30%   +0.02%     
==========================================
  Files         117      117              
  Lines       14708    14743      +35     
==========================================
+ Hits        11219    11250      +31     
- Misses       3489     3493       +4     
Flag Coverage Δ
unittests 76.30% <89.47%> (+0.02%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
reV/supply_curve/cli_supply_curve.py 29.70% <20.00%> (-0.10%) :arrow_down:
reV/config/supply_curve_configs.py 46.99% <50.00%> (+0.06%) :arrow_up:
reV/handlers/transmission.py 81.81% <100.00%> (+0.49%) :arrow_up:
reV/supply_curve/supply_curve.py 89.97% <100.00%> (ø)
reV/version.py 100.00% <100.00%> (ø)
tests/test_handlers_transmission.py 95.16% <100.00%> (+0.82%) :arrow_up:
tests/test_supply_curve_compute.py 96.99% <100.00%> (+0.35%) :arrow_up:
tests/test_supply_curve_wind_dirs.py 92.00% <100.00%> (+0.10%) :arrow_up:
reV/config/project_points.py 85.16% <0.00%> (+0.04%) :arrow_up:
reV/handlers/collection.py 72.07% <0.00%> (+0.09%) :arrow_up:
... and 1 more

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 f3ef051...799a045. Read the comment docs.