WISDEM / WOMBAT

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

Bug Fix: Ensure waiting times reach the end of the simulation #106

Closed RHammond2 closed 1 year ago

RHammond2 commented 1 year ago

This PR addresses an uncommon bug where a non-operational period coincides with the end of the simulation, but the logic continuously attempts to wait until the beginning of that day, instead of the end of the simulation.

codecov[bot] commented 1 year ago

Codecov Report

Merging #106 (cf66937) into develop (97f0cdf) will decrease coverage by 0.07%. The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #106      +/-   ##
===========================================
- Coverage    54.97%   54.91%   -0.07%     
===========================================
  Files           21       21              
  Lines         3587     3591       +4     
  Branches       726      727       +1     
===========================================
  Hits          1972     1972              
- Misses        1493     1497       +4     
  Partials       122      122              
Files Changed Coverage Δ
wombat/core/environment.py 76.89% <ø> (ø)
wombat/core/service_equipment.py 62.11% <0.00%> (-0.41%) :arrow_down: