WISDEM / WOMBAT

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

Bug fix/24 hour shift timing #96

Closed RHammond2 closed 1 year ago

RHammond2 commented 1 year ago

This PR fixes an issue where servicing equipment are waiting for the next shift despite having a start and end time of 0 and 24, respectively, to indicate a continuous shift. See the changelog for details.

codecov[bot] commented 1 year ago

Codecov Report

Merging #96 (0057ecf) into develop (f2d824f) will increase coverage by 0.01%. The diff coverage is 88.00%.

@@             Coverage Diff             @@
##           develop      #96      +/-   ##
===========================================
+ Coverage    54.88%   54.90%   +0.01%     
===========================================
  Files           21       21              
  Lines         3458     3475      +17     
  Branches       697      704       +7     
===========================================
+ Hits          1898     1908      +10     
- Misses        1447     1452       +5     
- Partials       113      115       +2     
Impacted Files Coverage Δ
wombat/core/port.py 16.45% <0.00%> (+0.20%) :arrow_up:
wombat/core/data_classes.py 85.66% <84.61%> (-0.03%) :arrow_down:
wombat/core/mixins.py 64.86% <100.00%> (+2.00%) :arrow_up:
wombat/core/service_equipment.py 60.30% <100.00%> (-1.05%) :arrow_down: