Maritime Management Platform

Lube Oil Analysis Module

End-to-end lube oil management for maritime fleets — from PDF upload to shore analysis, communication, and defect resolution — all in one unified platform. Built on FastAPI (Python) + React.

Two deployment modes: Vessel (100% offline capable) and Shore (cloud-based multi-vessel fleet management). Powered by StaunchTec.

  • Zero manual data entry — full PDF auto-extraction
  • 100% offline ready — vessel independent
  • Fleet-wide dashboard — all vessels, one screen
  • 5-layer vessel-to-shore communication
19
Feature Slides
2
Deployments
9
DB Tables
15+
API Endpoints

Request a Lube Oil Module Consultation

Discuss architecture, vessel configuration, offline sync, and fleet onboarding with our maritime platform specialists.

Overview

What Is the Lube Oil Module?

A purpose-built maritime platform covering the complete lube oil lifecycle — from intelligent PDF extraction to fleet-wide analytics and structured vessel-to-shore communication.

🚢

Two Deployment Modes

Vessel (Offline): installed on vessel server — 100% offline capable. Shore (Online/Cloud): multi-vessel fleet management for shore superintendents.

🧪

Lab Supported

Shell LubeAnalyst — extensible to other labs. Email auto-sync pulls reports daily on shore at 08:00, no manual download needed.

⚙️

FastAPI + React

Built on FastAPI (Python) backend with React frontend. Azure PostgreSQL + Blob Storage on shore. Local PostgreSQL + Azurite on vessel.

🔄

Complete Lifecycle

Upload → Auto-Extract → Analyse → Communicate → Resolve. Every stage tracked, audited, and synced between vessel and shore.

01

Upload PDF

02

Auto Extract

03

Analyse

04

Communicate

05

Resolve

System Architecture

Vessel & Shore Architecture

Three-environment architecture: Vessel (offline), Sync Bridge (bidirectional), and Shore (cloud) — working seamlessly together.

🛳️

Vessel (Offline)

100% Offline Capable
  • Local PostgreSQL on vessel server
  • Nginx-served React UI for crew
  • Azurite for local blob storage
  • Changes queued locally for sync
  • Local username/password auth

Sync Bridge

Bidirectional Auto-Sync
  • Bidirectional automatic sync
  • /api/sync/* endpoints
  • Version-controlled conflict resolution
  • Origin field: VESSEL / SHORE
  • Background worker with retry
🏢

Shore (Cloud)

Azure Cloud
  • Azure PostgreSQL (cloud database)
  • Azure Blob Storage for PDFs
  • Multi-vessel fleet view
  • Azure AD SSO authentication
  • Email auto-sync daily 08:00
PDF Intelligence

Intelligent PDF Upload & Auto-Extraction

Zero manual data entry. Upload a Shell LubeAnalyst PDF — the system extracts every parameter, diagnosis, and equipment hour automatically.

What Is Extracted Automatically

🚢
Vessel Info

Vessel name, IMO number, lab name, report date, oil source

⚗️
Chemistry Data

Viscosity, TAN, TBN, Flash Point, all wear metals, contamination, additives — per equipment

🔬
Lab Diagnosis

Health status and diagnosis text extracted from PDF narrative section

⏱️
Equipment Hours

Operational hours at time of sampling, per machinery

💾
JSON Backup

Complete raw extraction stored in JSONB column for future audit and re-processing

Storage & Safety

🔒
Azure Blob Storage

Secure 24-hour SAS URLs — no permanent public links ever exposed

🚫
Duplicate Prevention

Unique constraint on IMO + file name prevents accidental re-uploads

📦
Bulk Upload

Batch upload supported — onboard entire vessel history at once

📧
Shore Email Auto-Sync

Shell reports pulled every morning at 08:00 — no manual download needed

🖱️
Drag-and-Drop UI

Crew upload via simple drag-and-drop interface on vessel, no training needed

Chemistry Coverage

Full Chemistry Parameter Coverage

Every critical lube oil parameter captured automatically — across all four parameter groups — per equipment, per sample.

Physical Characteristics

  • Viscosity @ 40°C & 100°C (cSt)
  • Total Acid Number — TAN
  • Total Base Number — TBN
  • Flash Point (°C)

Wear Metals (ppm)

  • Iron (Fe), Chromium (Cr)
  • Tin (Sn), Lead (Pb)
  • Copper (Cu), Aluminium (Al)
  • Vanadium (V), Nickel (Ni)
  • Wear Particle Index (WPI)

Contamination

  • Water Content (%)
  • Sodium (Na), Silicon (Si)
  • Soot (%)
  • IC Index

Additives

  • Calcium (Ca), Zinc (Zn)
  • Phosphorus (P)
  • Magnesium (Mg), Boron (B)
  • Molybdenum (Mo), Barium (Ba)
Main Engine System Main Engine Cylinder Aux Engine #1 Aux Engine #2 Aux Engine #3 Aux Engine #4 Purifiers Steering Gear + More (configurable)
Fleet Dashboard

Fleet Dashboard — All Vessels at a Glance

Shore only. Matrix grid view: rows = vessels, columns = equipment types. Instant fleet health snapshot at a single glance.

📊

Matrix Grid View

Rows = Vessels, Columns = Equipment Types. Each cell shows: status + sample date + days elapsed. Click any cell to drill into full detail.

🔍

Smart Filters

Multi-vessel selector, equipment grouping, column sort, vessel name search. Overdue cells auto-flag with pulse animation for pending approvals.

📋

Summary Bar

Fleet totals: Normal | Warning | Critical count — instant health snapshot at top of screen for superintendent overview.

🔔

Drill-Down Modal

Click any cell to open full sample detail — chemistry table, PDF viewer, lab diagnosis, status history, and communications thread.

📈

3-Year Trend Charts

Historical trend analysis for all 4 parameter groups over a 3-year rolling window — detect deterioration before critical failure.

🚢

Vessel View (Offline)

Same matrix layout scoped to vessel only. Crew sees only their vessel. All features work 100% without internet connection.

Normal — all parameters within limits Warning — trending toward limit Action — investigate immediately Critical — maintenance mandatory
Health System

Six-Level Health Status System

Auto-extracted from lab PDF — manually updatable with full audit log. Every change triggers live feed event and targeted notifications.

Normal

All parameters within acceptable limits — equipment operating correctly.

Warning

One or more parameters trending toward limit — increased monitoring recommended.

Caution

Monitor closely — borderline readings detected. Early intervention may prevent escalation.

Action

Immediate attention required — investigate cause and take corrective action now.

Alert

Lab has flagged a specific measurable abnormality requiring documented response.

Critical

Severe condition — maintenance action is mandatory. Shore sign-off required for closure.

Communication

5-Layer Communication — Vessel to Shore

Structured, permanent, and role-isolated communication at every sample level. No separate email or messaging tool required.

1

Lab Diagnosis

Objective lab findings automatically parsed from the Shell LubeAnalyst PDF report — no manual typing.

Auto-extracted · All Roles
2

Officer Remarks

What crew observed, actions taken on board, maintenance activities performed. Written by vessel crew.

Vessel Crew · All Roles
3

Office Remarks

Shore instructions and feedback to vessel — forms the official communication record between office and ship.

Shore Superintendent · All Roles
4

Internal Remarks

Private notes for the internal shore team only. Never visible to vessel crew — enforced at API level.

Shore Only · Admin
5

Status Change Log

Timestamped audit trail: [Date] User: Message. Full decision history, permanent record, cannot be deleted.

System (auto) · All Roles
@
@Mention Notifications

Tag a user in remarks — instant targeted notification sent to them

📎
Evidence Attachment

Image or PDF linked directly to the sample (required for some closures)

50+
Quality Enforcement

Resolution remarks require 50+ characters — ensures thorough documentation

🔒
Permanent Record

All remarks preserved permanently — no edits or deletions allowed

Resolution Workflow

Structured Defect Resolution Workflow

Every closure requires vessel action, evidence, and shore approval — with a full immutable audit trail at every step.

01

Vessel Officer Action

  • Updates sample status
  • Uploads evidence (photo/PDF)
  • Writes 50+ char resolution remarks
  • Submits for shore approval
is_approval_pending = True
02

Shore Superintendent Review

  • Receives notification with vessel + equipment context
  • Reviews evidence attachment
  • Reviews all remarks layers
✅ ACCEPT

is_resolved = True. Case closed permanently.

❌ DECLINE

Sample stays open. Decline reason logged to chat.

03

Full Audit Trail

  • Every action timestamped with username
  • status_change_log permanent history
  • Cannot be deleted or modified
  • Acceptance: is_resolved = True
  • Full trail visible to shore
Key Features

Platform Features at a Glance

Everything from real-time alerts to smart configuration — built for the operational realities of maritime fleet management.

Automated Overdue Detection

Each equipment has a configured sampling interval (3 or 6 months). WARNING at due date, CRITICAL at +30 days. 15-day cooldown between alerts prevents spam. Alerts logged to Live Feed + notification to shore users.

📊

3-Year Historical Trend Analysis

Detect deterioration trends before they become critical failures. All 4 parameter groups charted over time. Status changes overlaid on timeline. Navigate between samples from chart view.

🔴

Live Feed — Real-Time Activity Stream

Single view of all fleet activity: NEW_REPORT, STATUS_CHANGE, EVIDENCE_UPLOAD, OVERDUE, MANDATORY. Per-user read state, deep-link navigation to any sample, priority badges (CRITICAL / WARNING / INFO / SUCCESS).

🔔

Targeted Notification System

Bell icon with live unread badge. Types: mention (someone @mentioned you), status_change (vessel health update), mandatory (action flagged). Syncs across offline/online environments — no notification is ever lost.

⚙️

Vessel Config — Admin Control Panel

Vessel registration (IMO, name, lab code), equipment type management, vessel-equipment mapping, name mapping (PDF translator for lab-specific naming), Excel bulk import for fleet onboarding.

🎯

Smart Auto-Flags

is_resampling_required — triggers fresh sample reminder. is_image_required — blocks closure until evidence uploaded. is_approval_pending — awaiting shore sign-off. is_resolved — fully closed with maintenance confirmed.

Access Control

Role-Based Access Control & Security

Three roles — Vessel Crew, Shore Superintendent, Admin — each scoped precisely to what they need. Authentication: Azure AD SSO (shore) | Local auth (vessel) | JWT token sessions.

🛳️ Vessel Crew

On-board officers & engineers

  • View own vessel only (admin assigned)
  • Upload lube oil reports (PDF)
  • Add officer remarks and evidence
  • Request sample closure (approval required)
  • Submit overdue justification
  • View chemistry data and trend charts

🏢 Shore Superintendent

Fleet manager / superintendent

  • View all assigned vessels (multi-vessel)
  • Full fleet dashboard access
  • Approve or decline sample closures
  • Add office and internal (private) remarks
  • Override and close samples directly
  • Access live feed and notifications

👑 Admin

System administrator

  • Full access — all vessels, all data
  • User management (activate/deactivate)
  • Assign vessels to users
  • Module permission management
  • Vessel config and equipment management
  • Data sync controls and email triggers
Offline Architecture

Offline-First Architecture with Smart Sync

The vessel runs an identical backend locally. All features work without internet. Sync happens automatically when connectivity is restored.

100%
Offline capable
Auto
Sync on reconnect
v#
Version conflict detection
0
Data loss guarantee

What is synced: LuboilReport, LuboilSample, Notifications, LuboilEvent (live feed), Event read states, Vessel equipment config. Endpoints: /api/sync/luboil-report, /api/sync/luboil-sample, /api/sync/notification, /api/sync/luboil-event.

Internet Lost at Sea

All operations continue — data written to local PostgreSQL on vessel.

Crew Works Normally

Upload reports, add remarks, change status — every action queued in SyncQueue.

Changes Queued

Background worker manages queue with retry on failure (exponential backoff).

Internet Restored

Sync worker detects connectivity and begins processing queue automatically.

Vessel Pushes to Shore

All queued records sent to shore backend via /api/sync/* endpoints.

Conflict Resolution

Version number tracked. Higher version wins — origin field tracks VESSEL vs SHORE. No data ever lost.

Why This Module?

Why the Lube Oil Module?

Four pillars that make this platform essential for any maritime fleet managing lube oil compliance and equipment health.

Operational
  • Zero Manual Entry — full PDF auto-extraction
  • 100% Offline Ready — vessel independent
  • Early Warning — automated overdue/wear alerts
  • Fleet Visibility — all vessels on one screen
Quality & Compliance
  • Full Audit Trail — every change timestamped
  • Evidence-Based Closure — mandatory uploads
  • 5-Layer Communication — formal vessel to shore
  • Status History — complete decision record
Efficiency
  • Email Auto-Intake (Shore) — daily Shell sync
  • Batch Downloads — ZIP export one click
  • Trend Analysis — 3-year predictive view
  • Live Feed — real-time fleet activity stream
Technical
  • Azure Blob PDF storage with secure SAS URLs
  • Version-controlled conflict-free sync
  • Role-based access — right data to right person
  • Scalable: unlimited vessels and equipment
Deployment

Implementation Methodology

Structured four-phase approach ensuring successful deployment and long-term operational reliability for your fleet.

01

Fleet Assessment & Planning

Evaluate vessel hardware, connectivity patterns, equipment types, lab partnerships, and compliance requirements.

02

Architecture Design & Configuration

Set up vessel-side local stack, Azure shore environment, equipment codes, name mapping, and user roles.

03

Deployment & Vessel Onboarding

Install vessel backend, configure sync engine, bulk import historical data via Excel, onboard crew with training.

04

Monitoring, Testing & Support

Continuous sync health monitoring, overdue alert tuning, periodic recovery testing, and long-term AMC support.

FAQ

Frequently Asked Questions

The Lube Oil Module is a maritime platform that manages the complete lube oil analysis lifecycle — from intelligent PDF upload and auto-extraction to fleet-wide dashboards, trend analysis, structured vessel-to-shore communication, and defect resolution with full audit trails.
Yes — 100% offline capable. The vessel runs an identical backend locally using its own PostgreSQL database and Azurite blob storage. All features (upload, view, communicate, resolve) work without internet. Changes are queued and automatically synced when connectivity is restored.
Shell LubeAnalyst is currently supported with full auto-extraction. The platform is designed to be extensible to other labs. The name mapping feature (PDF Translator) handles lab-specific naming variations and maps them to standardised equipment codes.
No — internal remarks (Layer 4) are enforced private at the API level. Shore users can toggle between external (vessel visible) and internal (shore only) threads. Vessel crew can never see or create shore-internal messages.
Every record has a version number. The higher version always wins — no data is silently overwritten. An "origin" field tracks whether a record originated from VESSEL or SHORE. If incoming version is lower than existing, the update is skipped (already newer locally). All conflicts are logged for review.

Discuss the Lube Oil Module on WhatsApp

Get quick answers on architecture, offline sync, vessel configuration, and fleet onboarding for your maritime organisation.


Available during business hours • Fleet & maritime enterprise enquiries welcome

Talk to Our Expert

Ready to See the Lube Oil Module in Action?

Speak with our maritime platform specialists to understand deployment, configuration, and live demo options for your fleet organisation.

WhatsApp