# Tanker Loading Rate Optimizer AI Agent Connect

> Optimizes tanker loading rates by balancing vessel capacity, shore infrastructure, and safety constraints.

## Overview
- **Category:** logistics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_B9sPd12nHYzz3LRIUVYOLyB5UALwhqheD9AwOP9r/ai-agent-connect
- **Tags:** tanker, loading, optimization, maritime-safety, logistics-engine

## Description

This MCP server provides specialized tools for maritime logistics and terminal operations. It calculates safe loading speeds by accounting for vessel capacity, shore tank availability, and pipeline limits. It specifically addresses critical safety factors such as Vapor Recovery Unit (VRU) capacity and static electricity prevention during initial filling. Users can use `get_maximum_safe_loading_rate` to find optimal speeds, `calculate_line_fill_metrics` to estimate pipeline preparation, `analyze_backpressure_risk` to prevent manifold damage, and `validate_loading_plan` for a complete operational safety check.

## Tools

### analyze_backpressure_risk
Evaluates if the requested loading rate will cause pressure to exceed safe limits at the vessel connection

### calculate_line_fill_metrics
Estimates the time and volume required to fill the transfer pipeline before vessel loading commences

### get_maximum_safe_loading_rate
Determines the highest permissible loading rate that respects all safety and infrastructure constraints

### validate_loading_plan
Performs a holistic check of a proposed loading operation against all operational parameters

## Prompt Examples

**Prompt:** 
```
What is the maximum safe loading rate for a 50,000 m3 vessel with 60,000 m3 available in the shore tank, a 1,500 m3/h pipeline, and a 1,200 m3/h VRU capacity?
```

**Response:** 
```
The maximum safe loading rate is 1,200 m3/h, limited by the VRU capacity.
```

**Prompt:** 
```
How long will it take to fill a 500 m3 pipeline if I am loading at 250 m3/h?
```

**Response:** 
```
It will take 2 hours to fill the pipeline, using 500 m3 of product.
```

**Prompt:** 
```
Is a loading rate of 1,500 m3/h safe for a 100m pipeline with a 200mm diameter and a 5 bar pressure limit?
```

**Response:** 
```
No, the estimated pressure is 5.8 bar, which exceeds the 5 bar limit.
```

## Frequently Asked Questions

**How does the tool handle static electricity safety?**
The `get_maximum_safe_loading_rate` tool includes an `isInitialFilling` parameter. When active, it enforces low-velocity thresholds to prevent static charge buildup during initial contact.

**Can I check if my loading rate will damage the vessel manifold?**
Yes, you can use `analyze_backpressure_risk` to evaluate if the requested rate will cause pressure to exceed the manifold's maximum allowable limit.

**What happens if the Vapor Recovery Unit (VRU) is a bottleneck?**
The `get_maximum_safe_loading_rate` tool considers the `vrpCapacity` input. If the VRU capacity is lower than the pipeline capacity, the tool will return the VRU limit as the constraint reason.
