{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Tether StackUp\n",
    "\n",
    "**Last Edit:** Mon Mar  5 10:42:18 2018\n",
    "\n",
    "Working from the load chart published March 2nd, 2018 by Okeanus. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Calculated Tether Cut Length: 405.10 meters\n"
     ]
    }
   ],
   "source": [
    "MinWraps        = 7\n",
    "LengthPerWrap   = 3.74 * 0.3048 #meters\n",
    "\n",
    "FlangeWidth     = 22*0.0254 #meters\n",
    "FORJToDrum      = FlangeWidth *2\n",
    "\n",
    "DeckRun         = 30 #meters\n",
    "\n",
    "AchievedDepth   = 300 #meters\n",
    "\n",
    "FloatedLen      = 30 #meters\n",
    "\n",
    "RetermLen       = 1.1*FloatedLen \n",
    "\n",
    "NoReterms       = 2\n",
    "\n",
    "# Total Stackup for single tether length\n",
    "\n",
    "Total = 0\n",
    "Total += MinWraps * LengthPerWrap\n",
    "Total += FORJToDrum\n",
    "Total += AchievedDepth\n",
    "Total += FloatedLen\n",
    "Total += NoReterms * RetermLen\n",
    "\n",
    "print(\"Calculated Tether Cut Length: {:.2f} meters\".format(Total))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now let's calculate cost "
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
