From 8749076ea76dde32d346bd2fd77902e5711bfe67 Mon Sep 17 00:00:00 2001 From: nriccobo Date: Mon, 10 Jun 2024 11:13:32 -0600 Subject: [PATCH] Removed commented anchor install cost method. Added to process_time --- .../phases/install/mooring_install/mooring.py | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/ORBIT/phases/install/mooring_install/mooring.py b/ORBIT/phases/install/mooring_install/mooring.py index 296d82fc..a8997f39 100644 --- a/ORBIT/phases/install/mooring_install/mooring.py +++ b/ORBIT/phases/install/mooring_install/mooring.py @@ -268,7 +268,7 @@ def install_mooring_line(vessel, depth, **kwargs): ------ vessel.task representing time to install mooring line. """ - + install_time = 0.005 * depth yield vessel.task_wrapper( @@ -319,28 +319,3 @@ def release(**kwargs): """Dummy method to work with `get_list_of_items_from_port`.""" return "", 0 - -''' # commented anchor_install_time because this overwrites what is called from process_times.yaml . - def anchor_install_time(self, depth): - """ - Returns time to install anchor. Varies by depth. - - Parameters - ---------- - depth : int | float - Depth at site (m). - """ - - if self.anchor_type == "Suction Pile": - fixed = 11 - - elif self.anchor_type == "Drag Embedment": - fixed = 5 - - else: - raise ValueError( - f"Mooring System Anchor Type: {self.anchor_type} not recognized." - ) - - return fixed + 0.005 * depth -''' \ No newline at end of file