# Petrochemical Complex Planner AI Agent Connect

> Optimize product slates, unit capacities, and feedstock mixes for integrated petrochemical complexes.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Beiosvbdy2JFUY67XDu2qThKUlUtUkd0nZ8rrbmH/ai-agent-connect
- **Tags:** petrochemical, optimization, value-chain, feedstock, production-planning

## Description

This MCP server provides specialized tools for modeling integrated petrochemical value chains. It allows AI agents to calculate the most profitable product mix using `plan_product_slate`, verify if production targets are physically possible with `validate_unit_capacities`, and quantify the economic gains of byproduct reuse via `calculate_integration_benefits`. Additionally, it helps minimize costs by identifying the ideal feedstock combination through `optimize_feedstock_mix`.

## Tools

### calculate_integration_benefits
Quantifies the economic advantage of using byproducts within the complex instead of selling them as standalone products

### optimize_feedstock_mix
Identifies the best combination of different feedstock types to minimize costs while meeting production targets

### plan_product_slate
Determines the most profitable mix of products based on current market conditions and feedstock constraints

### validate_unit_capacities
Checks if a proposed product slate is physically achievable given the constraints of the plant equipment

## Prompt Examples

**Prompt:** 
```
What is the most profitable product mix for 1000 units of Naphtha given Ethylene is $800 and Propylene is $600?
```

**Response:** 
```
The optimal product slate consists of 600 units of Ethylene and 400 units of Propylene, yielding a total value of $680,000.
```

**Prompt:** 
```
Is it possible to produce 500 units of Ethylene if my primary cracker has a capacity of 450 units?
```

**Response:** 
```
No, the production plan is infeasible because the required throughput exceeds the capacity of the primary cracker.
```

**Prompt:** 
```
What is the benefit of using byproduct Ethane as feedstock instead of selling it?
```

**Response:** 
```
Integrating the byproduct Ethane as feedstock provides a net benefit of $50,000 compared to selling it at market price.
```

## Frequently Asked Questions

**How can I determine the best product mix?**
You can use the `plan_product_slate` tool, which analyzes feedstock availability, market prices, and demand limits to find the most profitable combination of products.

**Can I check if my production plan is feasible?**
Yes, the `validate_unit_capacities` tool checks your proposed product volumes against the physical limits of your plant equipment to identify potential bottlenecks.

**How do I calculate the value of integrating byproducts?**
Use the `calculate_integration_benefits` tool to compare the value of selling byproducts as standalone items versus using them as feedstocks for other units.
