MARISENSE Documentation

Technical Documentation · API Reference · Maritime Systems Intelligence Framework

±4.3%
MSHI Accuracy
0.85
Min MSHI
92.1%
Anomaly Detection
1.0
Version
5+AI
Subsystems + AI

📖 Overview

"A maritime system is not a single unified domain — it is a collection of independent subsystems whose interaction must be governed through aggregation, not structural merging."

MARISENSE is a fully coupled, AI-augmented framework that treats maritime system health as a continuously governed composite indicator — not a static property frozen at the completion of a planning cycle.

A maritime system operating under dynamic conditions is not in static equilibrium. It is a continuously evolving collection of subsystems: Vessel Traffic, Port Operations, Ocean Environment, Maritime Safety, and Coastal Infrastructure. MARISENSE quantifies each subsystem independently and aggregates them into the Maritime System Health Index (MSHI).

🏗️ 5-Subsystem + AI Architecture

Subsystem 01 — VTS (Vessel Traffic System)

Macroscopic traffic flow model with AI correction (ε_V ≤ 0.05). Real-time AIS data integration and vessel density tracking.

Vessel Traffic Formula
VTS_score = 1 - (V_demand / C_capacity) + ε_V(t)
q = k·v · Fundamental diagram

Subsystem 02 — POS (Port Operations System)

Queuing theory-based efficiency model. Berth utilization and crane productivity metrics.

Port Operations Formula
POS_score = (Throughput_actual / Throughput_target) * (1 - T_wait/T_wait_max)
ρ = λ/(c·μ) · Traffic intensity

Subsystem 03 — OES (Ocean Environmental System)

Physical oceanography-based condition assessment. Wave, current, and wind scoring.

Ocean Environment Formula
OES_score = min(1 - H_s/H_limit, 1 - u/u_limit, 1 - w/w_limit)
H_s = 4√∫∫E(f,θ)dfdθ

Subsystem 04 — MSS (Maritime Safety System)

IMO Formal Safety Assessment (FSA) methodology. Incident probability modeling with Poisson process.

Maritime Safety Formula
MSS_score = 1 - (R_estimated / R_critical)
R = Σ P(I_k)·C(I_k)

Subsystem 05 — CIS (Coastal Infrastructure System)

Asset management-based condition rating (1-5 scale). Multi-attribute assessment.

Coastal Infrastructure Formula
CIS_score = 1 - (Condition_rating / Critical_rating)
H = Σ α_j·C_j

AISL — AI Enhancement Layer

Gradient boosting weight predictor. Mahalanobis anomaly detection (3σ). 48h MSHI forecast. AI is ONLY for optimization and anomaly detection — not subsystem merging.

AI Constraints
Σwᵢ = 1.0, wᵢ ≥ 0
MAH_dist² = (x - μ)ᵀ·Σ⁻¹·(x - μ) < 3σ
MSHI = w_V·VTS + w_P·POS + w_O·OES + w_M·MSS + w_C·CIS

MSHI — Maritime System Health Index

Weighted composite of all five subsystems. Continuous real-time maritime safety certification with 24-48h forecast.

MSHI Formula
MSHI = w_V·VTS + w_P·POS + w_O·OES + w_M·MSS + w_C·CIS
Optimized: MSHI ≥ 0.85 | Stressed: 0.70 ≤ MSHI < 0.85
Mitigation: 0.55 ≤ MSHI < 0.70 | Critical: MSHI < 0.55

📐 Core Equations

Eq. 1 — Vessel Traffic
VTS_score = 1 - (V/C) + ε_V
Congestion + AI correction
Eq. 2 — Port Operations
POS_score = (T_actual/T_target)·(1 - T_wait/T_wait_max)
Throughput + waiting time
Eq. 3 — Ocean Environment
OES_score = min(1 - H_s/H_limit, 1 - u/u_limit, 1 - w/w_limit)
Wave/current/wind minimum
Eq. 4 — Maritime Safety
MSS_score = 1 - R/R_crit
Risk-based scoring
Eq. 5 — Coastal Infrastructure
CIS_score = 1 - C_rating/C_crit
Condition rating
Eq. 6 — Maritime Health Index
MSHI = Σ w_i · Score_i
Σwᵢ = 1.0

⚙️ MSHI Governance Protocol

SignalConditionActionGovernance Level
🟢 OPTIMIZED MARITIME OPERATIONSMSHI ≥ 0.85Continue monitoring — normal operationNone
🟠 STRESSED SUBSYSTEM WARNING0.70 ≤ MSHI < 0.85Activate anomaly detection — alert responsible authorityLevel 1
🟠 SYSTEMIC MITIGATION PHASE0.55 ≤ MSHI < 0.70Apply balancing measures — traffic managementLevel 2
🔴 CRITICAL MARITIME BREACHMSHI < 0.55Declare emergency — operational shutdown — resource deploymentStop

📦 Installation

bash — pip install
pip install marisense-engine

# From source
git clone https://github.com/gitdeeper13/MARISENSE.git
cd MARISENSE
pip install -e .

# Quick test
python -c "from marisense import MarisenseAssessor; print('MARISENSE ready')"

🔧 API Reference

python — main interface
from marisense import MarisenseAssessor

# Initialize assessor
assessor = MarisenseAssessor()

# Run full MARISENSE pipeline
result = assessor.evaluate()

print(result.mshi_result.mshi)          # MSHI ∈ [0,1]
print(result.mshi_result.signal.value)  # OPTIMIZED | STRESSED_WARNING | MITIGATION | CRITICAL
print(result.subsystem_scores)        # {VTS,POS,OES,MSS,CIS} scores
print(result.ai_weights)              # AI-optimized weights Σ=1.0
print(result.anomaly_detected)        # Mahalanobis distance > 3σ

📊 Validation Summary

ScenarioMSHI AccuracyVTS ErrorOES ErrorAnomaly Detection
V1 — Northern European (container)±3.9%±3.4%±3.1%93.8%
V2 — Middle Eastern (tanker)±4.3%±4.1%±3.8%91.4%
V3 — Island Port±4.7%±4.5%±4.3%91.1%
MEAN±4.3%±4.0%±3.7%92.1%

👤 Author

🌊
Samir Baladi
Principal Investigator — Maritime Systems Intelligence
Samir Baladi is an interdisciplinary researcher at the intersection of maritime systems intelligence, computational modeling, and AI-assisted optimization for maritime infrastructure. Affiliated with the Ronin Institute and the Rite of Renaissance research program.
MARISENSE is the first project in the MARITIME-INTEL series (MARITIME-INTEL-01), applying independent subsystem governance principles to maritime health assessment with AI strictly bounded to enhancement and optimization.

📝 Citation

@software{baladi2026marisense, author = {Samir Baladi}, title = {MARISENSE: Maritime Systems Intelligence Framework — Independent Subsystem Modeling with AI-Enhanced Aggregation}, year = {2026}, version = {1.0.0}, publisher = {Zenodo}, doi = {10.5281/zenodo.20475603}, url = {https://doi.org/10.5281/zenodo.20475603}, note = {MARITIME-INTEL-01, Maritime Intelligence} }

"A maritime system is not a single unified domain — it is a collection of independent subsystems whose interaction must be governed through aggregation, not structural merging. MARISENSE treats each maritime subsystem as analytically separate, applying AI only as a bounded optimization layer for the final composite indicator." — MARISENSE v1.0.0