From 3c84a01f1ad1ed7c5ab42315e96312976fb74671 Mon Sep 17 00:00:00 2001 From: Rob Hammond <13874373+RHammond2@users.noreply.github.com> Date: Tue, 2 May 2023 20:40:58 -0600 Subject: [PATCH] Release: v0.7 (#88) * Bug Fix: Fix Pandas Code Causing Warnings (#69) * fix groupby warning in energy availability * fix warnings in group by methods * fix bug in tow to port logging * fix warnings and issues with N tows logic * update docs notebooks * update changelog * Bug Fix: Negative Timeout Errors in Weather Delay (#70) * update pre-commit settings * fix issue where travel time is longer than weather delay * update changelog * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * update codecov version (#74) * Bug fix: interruption timing (#73) * fix issue with start undefined when waiting is interrupted * apply the same fix to cables * update comment * make error message more useful * Bug fix: Update pre commit workflow and versioning (#76) * first pass of updating pre-commit to use pyproject.toml and ruff * run new workflow on package * remove old pylint configs * add in pydocstyle * add pyupgrade * update settings * update changelog * update pre-commit and ruff dependency * fix typing * Bug fix: Duplicate log args & Improper port vessel management (#77) * fix bug with duplicate field and negative delay * properly manager AHV and TOW equipment * update changelog * Bug Fix: Only Process Weather Delays Once (#81) * add missing changelog commentary * fix doubled weather delay bug * update changelog * fix timing issue in test * Feature: Allow more weather columns (#82) * check for required columns in data * resort weather columns to get assumed ordering for desired positions * sort the columns * allow for more columns in data collection line * fix column reference * update changelog * Bug fix: Port Stops Processing Tow-To-Port (#83) * ensure in situ port deployments aren't dispatching TOW-only vessels * update type checking and move port dispatching outside of servicing equipment: * better handle tugboat vs port-based vessel distinction and dispatching * update to port_based * consolidate in situ repair dispatching to be port vs manager managed * fix bug in naming convention and improper reference * update changelog * apply dispatch logic to downtime based equipment * Bug Fix: Correct Intra-Site Travel (#84) * update docstring * fix logging issues with locations * remove print statement * parial fix * remove location setting from crew transfer altogether * update changelog * update timing in the servicing equipment tests * update gitignore for results files in testing that get saved * fix typo in folder name * update pre-commit configuration * Bug fix/layout impacts (#86) * fix issue where in situ port repairs don't check for servicing status * ensure equipment aren't deployed to in-service systems * remove double check * update the string traversal logic and switch to events to cable failures are properly completed * make sure simpy logic is processed correctly * ensure last turbine in string is addressed * simplify control flow * rename severity-based request get and fix bug in improper deployments * add halt requests method to in situ port-based repairs * shift servicing.succeed() to solely be managed by the manager * ensure event is created before interruption for time stopping * remove outdated try/except for process that should always work * restore try/except for cables * convert triggered to processed * convert triggered to processed and add error message for when System is improperly accessed * triggered -> processed and ensure that dispatched is used consistently * check for vessels being dispatched and yield all 3 checks simultaneously or don't start processes * remove old method and have halt_requests method called earlier in the repair process to ensure no entanglements * add another informative RuntimeError and remove old run_unscheduled method * add origin parameter to use custom try/except for interruptions * update changelog * add convenience functionality to StrategyMap * use new strategy methods and double check for requests that more dispatching isn't needed * make sure end node is always considered upstream and fix typo * ensure end nodes are properly handled during string re-powering * convert processed back to triggered * ensure processes are processed * ensure processes are processed and repair registration * remove prints and ensure cable failure repairs turn cables back on * use interruption api consistently * add better timining and logistics handling for multiple simultaneous requests * fix repair logic for proper timing * update for change in where failure occurs * update test for underlying API changes and compatibility * cleanup onsite vs at_site logic confusion * update test to reflect changes * add additional test case layout in place in-test creation * update changelog * add extra manager.get() to ensure request is gone from queue at end of repair * add 1 second waiting period after initializing request * add updated timing for new simulation mechanisms * expand on comment' * change dispatch-triggering request removal process * add warnings filter for odd pandas behavior * add better datetime handling for events and operations loading * update the deprecation warning for v0.8 * add deprecation note to example * add note in changes about availability impacts * udpate examples * update turbine operation reduction to all 0s * remove erroneously committed files * remove erroneously committed data * fix bug in equipment-labor cost breakdown * remove abstract and fix typo * update validations * fix bug in labor costs groupby * update sphinx-book-theme for weird error resolution * udpate sphinx mapping * update metrics demonstration for real run time * update docstring formatting * add reference page explaining examples on GH * update examples from latest docs build * unset notebooks to run * update wording in high-level description * fix issue with incorrect column creation method: * update changelog * udpate auto generated examples * bump version --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- wombat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wombat/__init__.py b/wombat/__init__.py index 5b1a3354..7a5b54f2 100644 --- a/wombat/__init__.py +++ b/wombat/__init__.py @@ -4,4 +4,4 @@ from wombat.core.library import create_library_structure -__version__ = "0.6.2" +__version__ = "0.7.0"