# Refinery Turnaround Planner AI Agent Connect

> Optimize refinery turnaround schedules by analyzing critical paths, resource needs, and inspection impacts.

## Overview
- **Category:** logistics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_tgXz2hRwLW2vrlKPdOGAEwopLAP5wjMeRbQhPjZf/ai-agent-connect
- **Tags:** refinery, maintenance, scheduling, critical-path, resource-optimization

## Description

This MCP server provides specialized planning tools for refinery turnaround management. It allows AI agents to calculate the `get_critical_path` to identify scheduling bottlenecks, use `calculate_resource_requirements` to ensure contractor availability meets demand, and `estimate_turnaround_duration` to predict completion timelines. Additionally, it can `simulate_scope_expansion` to evaluate how unexpected inspection findings might delay the entire operation.

## Tools

### calculate_resource_requirements
Estimates the total man-hours and equipment needs based on the scope

### estimate_turnaround_duration
Predicts the total time needed to complete the turnaround, accounting for potential inspection-driven delays

### get_critical_path
Identifies the sequence of tasks that dictates the total turnaround duration

### simulate_scope_expansion
Evaluates how the critical path and duration change when new inspection findings are added

## Prompt Examples

**Prompt:** 
```
What is the critical path for my current maintenance scope and dependencies?
```

**Response:** 
```
The critical path consists of tasks T1, T4, and T7, with a total duration of 14 days. The bottleneck is task T4.
```

**Prompt:** 
```
Will we have enough welders for this turnaround?
```

**Response:** 
```
No, there is a shortfall of 3 welders during the peak demand period in week 2.
```

**Prompt:** 
```
Estimate the turnaround duration if we expect some extra inspection findings.
```

**Response:** 
```
The estimated duration is 22 days, including a 4-day buffer for expected inspection findings.
```

## Frequently Asked Questions

**How does the tool identify the critical path?**
The `get_critical_path` tool analyzes the sequence of dependent tasks to find the longest chain of activities that determines the total turnaround duration.

**Can I simulate the impact of unexpected repairs?**
Yes, you can use `simulate_scope_expansion` to see how new inspection findings will change the critical path and increase the total duration.

**How are resource shortages handled?**
The `calculate_resource_requirements` tool compares the required man-hours and equipment against provided contractor availability to identify specific resource shortfalls.
