Skip to content

Commit

Permalink
Removed commented anchor install cost method. Added to process_time
Browse files Browse the repository at this point in the history
  • Loading branch information
nRiccobo committed Jun 10, 2024
1 parent 65728e8 commit 8749076
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions ORBIT/phases/install/mooring_install/mooring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
'''

0 comments on commit 8749076

Please sign in to comment.