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: Ensure subassembly and cable timeouts can't be reached for non-modeled areas #92

Closed RHammond2 closed 1 year ago

RHammond2 commented 1 year ago

In the latest release, sometimes previously unreachable code blocks in run_single_failure and run_single_maintenance have been inappropriately reached following an interruption. By adding an if/else block in place of a single if, the errors can no longer be reached.