Seaport marine operations departments, harbor towage and salvage companies, offshore Single Point Mooring (SPM) / FSO tanker terminals, and maritime pilotage authorities at Mombasa (Kilindini & Kipevu Oil Terminal), Lamu Port (LAPSSET), Dar es Salaam, Tanga, Zanzibar, and Djibouti orchestrate high-risk vessel berthing, unberthing, and shifting maneuvers around the clock. Coordinating ship agent Notices of Arrival (NOA), compulsory pilot boarding, Azimuth Stern Drive (ASD) tractor tug assignments, tidal Under-Keel Clearance (UKC) windows, and tugboat marine gasoil (MGO) consumption via VHF radio and paper pilot chits leads to under-powered tug bollard-pull allocations in strong channel currents, missed high-water berthing windows costing shipowners $35,000/day in demurrage, unbilled tug standby/escort hours, and pilfered tugboat bunker fuel.
At devManue, we engineer custom Harbor Tugboat Towage, Marine Pilotage Dispatch, Bollard-Pull Telemetry & Port Marine Tariff ERP platforms. Our architecture ingests AIS / Vessel Traffic Service (VTS) tracks, enforces port-rule tug bollard-pull and UKC safety matrices, streams ASD tug engine RPM and Coriolis fuel flowmeters, captures digital Pilot/Master e-Chits on waterproof tablets, and automates Gross Registered Tonnage (GRT) marine tariff invoicing.
1. Vessel Displacement, Windage & Minimum Tug Bollard-Pull Safety Matrix
Berthing a $294\text{-meter}$ Post-Panamax container ship or a $150,000\text{-DWT}$ Aframax product tanker requires sufficient combined static Bollard Pull ($BP$, in metric tonnes) from assisting ASD tugs to counteract beam wind forces, channel current drag, and shallow-water bank suction. Assigning two $40\text{-tonne}$ tugs when hydrodynamic wind/current calculations require $130\text{ tonnes}$ of effective bollard pull risks catastrophic quay-wall or STS gantry crane collisions. Simultaneously, deep-draft vessels ($>13.5\text{ m}$) can only transit the entrance channel when astronomical tide height minus squat and wave response preserves the port's mandatory $10\%\text{–}15\%$ Under-Keel Clearance (UKC).
Our PostgreSQL schema models vessel particulars, harbor tug fleets, movement pilotage/towage chits, and GRT-tiered marine tariff rules:
-- PostgreSQL Schema for Port Marine Pilotage, Harbor Tugs & Towage Tariff Chits
CREATE TABLE harbor_tug_vessels (
tug_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
tug_name VARCHAR(64) UNIQUE NOT NULL, -- e.g. MT MWOKOZI II (ASD 80T)
propulsion_type VARCHAR(24) NOT NULL, -- ASD_AZIMUTH, VOITH_SCHNEIDER, TWIN_SCREW
certified_bollard_pull_tonnes NUMERIC(5, 1) NOT NULL, -- e.g. 80.0 tonnes
firefighting_class VARCHAR(16) NOT NULL DEFAULT 'FIFI_1',
main_engine_hours NUMERIC(10, 1) NOT NULL DEFAULT 0.0,
availability_status VARCHAR(24) NOT NULL DEFAULT 'AVAILABLE'
);
CREATE TABLE marine_pilotage_towage_movements (
movement_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
vessel_imo_no VARCHAR(16) NOT NULL,
vessel_name VARCHAR(120) NOT NULL,
vessel_grt INTEGER NOT NULL,
vessel_loa_m NUMERIC(6, 2) NOT NULL,
vessel_draft_m NUMERIC(5, 2) NOT NULL,
movement_type VARCHAR(24) NOT NULL, -- INWARD_BERTHING, OUTWARD_SAILING, INTER_BERTH_SHIFT, DEAD_SHIP_TOW
target_berth_code VARCHAR(24) NOT NULL, -- e.g. BERTH-21-CT2, KOT-OIL-JETTY
channel_depth_chart_datum_m NUMERIC(5, 2) NOT NULL,
tide_height_m NUMERIC(4, 2) NOT NULL,
calculated_ukc_m NUMERIC(4, 2) NOT NULL,
required_bollard_pull_tonnes NUMERIC(6, 1) NOT NULL,
assigned_bollard_pull_tonnes NUMERIC(6, 1) NOT NULL,
pilot_on_board_at TIMESTAMPTZ,
first_line_ashore_at TIMESTAMPTZ,
tugs_cast_off_at TIMESTAMPTZ,
total_tariff_usd NUMERIC(12, 2) NOT NULL DEFAULT 0.00
);2. Hydrodynamic Bollard-Pull, UKC Squat & Marine Tariff Engine in Python
As a ship accelerates in a confined harbor channel, Bernoulli pressure drop beneath the hull causes vessel squat ($S_{\text{max}} \approx \frac{C_b \cdot V_k^2}{100}$), reducing actual Under-Keel Clearance. Below is our Python marine dispatch and billing engine that verifies dynamic UKC, computes required tug bollard pull from submerged hull area and windage, and calculates GRT-tiered pilotage and towage charges (including night/holiday and dead-ship multipliers):
from dataclasses import dataclass
from decimal import Decimal, ROUND_HALF_UP
@dataclass
class MarineMovementDispatchPlan:
estimated_squat_m: Decimal
net_dynamic_ukc_m: Decimal
ukc_safe_for_transit: bool
required_bollard_pull_tonnes: Decimal
min_asd_tugs_count: int
pilotage_fee_usd: Decimal
towage_fee_usd: Decimal
total_marine_dues_usd: Decimal
def evaluate_berthing_ukc_bollard_pull_and_tariff(
vessel_grt: int,
vessel_dwt_tonnes: Decimal,
vessel_loa_m: Decimal,
vessel_draft_m: Decimal,
block_coeff_cb: Decimal,
transit_speed_knots: Decimal,
channel_charted_depth_m: Decimal,
predicted_tide_m: Decimal,
wind_speed_knots: Decimal,
is_night_or_holiday: bool = False,
is_dead_ship_cold_move: bool = False,
) -> MarineMovementDispatchPlan:
"""
Calculates confined-channel Barrass squat, dynamic UKC (>=10% of draft),
required tug static bollard pull, and GRT-tiered Port Marine Tariff.
"""
# Confined channel squat approximation: S = (Cb * V_k^2) / 50 (in meters)
squat_m = ((block_coeff_cb * (transit_speed_knots ** 2)) / Decimal("50.0")).quantize(
Decimal("0.01"), rounding=ROUND_HALF_UP
)
available_water_m = channel_charted_depth_m + predicted_tide_m
net_ukc_m = (available_water_m - vessel_draft_m - squat_m).quantize(
Decimal("0.01"), rounding=ROUND_HALF_UP
)
min_required_ukc_m = (vessel_draft_m * Decimal("0.10")).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
ukc_ok = net_ukc_m >= max(Decimal("1.00"), min_required_ukc_m)
# Empirical harbor towage bollard pull: BP = (DWT / 100000) * 60 + wind surcharge + 20T safety margin
base_bp = ((vessel_dwt_tonnes / Decimal("100000.0")) * Decimal("60.0")) + Decimal("25.0")
wind_bp = max(Decimal("0"), (wind_speed_knots - Decimal("15.0")) * Decimal("1.5"))
req_bp = (base_bp + wind_bp).quantize(Decimal("0.1"), rounding=ROUND_HALF_UP)
tugs_needed = 1 if vessel_loa_m < Decimal("135.0") else (2 if req_bp <= Decimal("110.0") else 3)
# GRT-tiered Pilotage + per-tug Towage tariff
grt_dec = Decimal(str(vessel_grt))
base_pilotage = Decimal("350.00") + (grt_dec * Decimal("0.085"))
base_towage_per_tug = Decimal("950.00") + (grt_dec * Decimal("0.065"))
raw_towage = base_towage_per_tug * Decimal(str(tugs_needed))
surcharge_mult = Decimal("1.00")
if is_night_or_holiday:
surcharge_mult += Decimal("0.25")
if is_dead_ship_cold_move:
surcharge_mult += Decimal("0.50")
pilot_usd = (base_pilotage * surcharge_mult).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
tow_usd = (raw_towage * surcharge_mult).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
return MarineMovementDispatchPlan(
estimated_squat_m=squat_m,
net_dynamic_ukc_m=net_ukc_m,
ukc_safe_for_transit=ukc_ok,
required_bollard_pull_tonnes=req_bp,
min_asd_tugs_count=tugs_needed,
pilotage_fee_usd=pilot_usd,
towage_fee_usd=tow_usd,
total_marine_dues_usd=(pilot_usd + tow_usd),
)3. ASD Tugboat Fuel Telemetry & Towing Winch Line-Tension Safety
Bunker fuel (Marine Gasoil MGO) accounts for over $45\%$ of a harbor tug fleet's operating cost. Because an ASD tug idles at the jetty for $40\text{ minutes}$ and then surges to $100\%$ twin-Caterpillar/Niigata engine load for $25\text{ minutes}$ during ship swinging, flat hourly fuel norms fail to detect fuel siphoning. Our ERP pairs differential Coriolis fuel meters with CAN-bus engine load and GPS/AIS movement state—flagging any fuel burn exceeding $18\text{ L/hr}$ while moored at the tug berth, while logging render-and-recover towing winch line tension peaks to schedule Dyneema/HMPE tow-pennant replacements before line parting occurs.
| Harbor Towage & Pilotage Metric | Legacy Spreadsheets & Manual Tallying | devManue Custom Enterprise ERP |
|---|---|---|
| Tug Bollard-Pull & UKC Dispatch | Subjective VHF assignment; deep-draft vessels delayed or dispatched with insufficient tug power. | Automated Barrass squat UKC check and DWT/windage bollard-pull allocation matrix. |
| Pilot & Tug Master Job Chits | Paper chits signed on the ship bridge; 5–10 day delay before marine billing receives timestamps. | Waterproof bridge e-Chit tablet with AIS auto-timestamps (Pilot On-Board, Make-Fast, Cast-Off). |
| Tugboat MGO Bunker Fuel Control | Manual sounding-rod dip logs; idle vs. full-bollard-pull fuel burn variance masks siphoning. | Coriolis flowmeter telemetry correlated against engine RPM load profile and AIS towage task. |
| Marine Tariff Surcharge Capture | Missed billing on tug standby delays, cancelled pilot bookings, and night/holiday cold moves. | Automated Port Tariff rule engine capturing 100% of GRT tiers, detention hours, and surcharges. |
Related Enterprise ERP & Engineering Guides
- Marine Dredging & Multibeam Bathymetric Channel Survey ERP — Feeding updated approach-channel hydrographic chart soundings into port UKC passage planning.
- Shipyard Drydock & Marine Vessel MRO ERP — Scheduling mandatory 5-year class drydocking and azimuth thruster overhauls for harbor tugs.
- Port Container Terminal & ICD Yard Operations ERP — Synchronizing vessel berthing timestamps with STS crane discharge and container yard planning.
- Electric Motorcycle (e-Boda) Battery-Swapping Network, Smart Charging Cabinet & LFP Pack SoH Lifecycle ERP — How to architect an Electric Motorcycle (e-Boda) Battery-Swapping Network & LFP Battery Lifecycle ERP: CAN-bus BMS cell-voltage.
- Custom Maritime Port, Towage & Pilotage ERP — Partner with devManue to digitize your port VTS dispatch, tugboat telemetry, and marine billing.