# Asphaltene Precipitation Predictor AI Agent Connect

> Asphaltene Precipitation Predictor provides specialized thermodynamic modeling to predict asphaltene stability in crude oil. Your AI client uses this MCP to calculate onset pressures, determine aggregation states, and evaluate the risks associated with gas injection or fluid commingling. It helps you manage deposition risks caused by pressure drops, temperature shifts, or mixing different crude streams.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_aNisDQ8kfLvj2reesCQnk4FUI3HzpMfRtdRzRo19/ai-agent-connect
- **Tags:** asphaltenes, crude-oil, thermodynamics, reservoir-engineering, precipitation-prediction

## Description

You can use this MCP to run complex thermodynamic models directly within your AI client. Instead of manually calculating stability margins, you can ask your agent to identify exactly when asphaltene precipitation begins in a specific oil system. It handles the heavy lifting of predicting how gas injection changes fluid stability and how mixing different crude oils might trigger unexpected deposition. This is built for reservoir and production engineers who need to mitigate risks from pressure drops or temperature changes. You get specific data on flocculation states and aggregation risks, allowing you to make decisions about fluid management and injection strategies before they impact your production hardware.

## Tools

### get_onset_pressure
This tool identifies the specific pressure where asphaltene precipitation starts for a given oil system.

### evaluate_gas_injection_impact
Use this to predict how adding a specific gas changes the stability of asphaltenes in the fluid.

### predict_flocculation_state
This tool determines if the current fluid state will cause asphaltenes to aggregate into clusters.

### assess_commingling_risk
This tool evaluates the risk of precipitation when you mix two different crude oils.

## Prompt Examples

**Prompt:** 
```
What is the onset pressure for an oil with these molar fractions: {"C1": 0.1, "C2": 0.2, "Asphaltenes": 0.7} at 80 degrees Celsius with solubility parameters {"a1": 1.5, "a2": 0.5}?
```

**Response:** 
```
The onset pressure for this oil system is 250.5 bar with a stability margin of 15.2 bar.
```

**Prompt:** 
```
Will injecting methane at a 0.15 ratio into this oil composition {"C1": 0.5, "C2": 0.5} at 50 degrees Celsius cause precipitation?
```

**Response:** 
```
Yes, the injection will cause precipitation with a stability change of 0.45.
```

**Prompt:** 
```
What is the flocculation risk for an oil with density 0.85 and viscosity 5.2 at 40 bar and 60 degrees Celsius?
```

**Response:** 
```
The current state is 'Aggregating' with a flocculation index of 0.65 and a High risk level.
```

## Capabilities

### Onset Pressure Calculation
Your agent calculates the exact pressure point where precipitation begins.

### Gas Injection Modeling
The AI predicts how specific gas additions impact asphaltene stability.

### Aggregation Analysis
Your client determines if fluids are in a state that causes asphaltene clustering.

### Fluid Mixing Assessment
The MCP evaluates precipitation risks when commingling different crude streams.

## Use Cases

### Gas Injection Planning
Predict if adding gas to a reservoir will trigger asphaltene precipitation.

### Commingling Operations
Check if mixing two different crude streams will cause deposition issues.

### Pressure Drop Monitoring
Determine the onset pressure to avoid precipitation during pressure declines.

### Fluid Stability Testing
Assess the flocculation state of a fluid under specific temperature and pressure conditions.

## Benefits

- Calculates onset pressure margins for specific oil compositions.
- Predicts aggregation states to identify flocculation risks.
- Models the impact of gas injection on fluid stability.
- Evaluates risks when mixing different crude oil types.

## How It Works

You connect the MCP to your AI client and start running thermodynamic queries.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide oil composition and thermodynamic parameters to your agent.
3. The agent calls the specific tool needed for your calculation.
4. The MCP executes the thermodynamic model and returns the result.
5. Your agent presents the stability data or risk assessment to you.

## Frequently Asked Questions

**What can this MCP do for crude oil analysis?**
It predicts asphaltene onset pressure, flocculation states, gas injection impacts, and commingling risks.

**Which AI clients can use this MCP?**
You can use it with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You just connect your client and start using the tools.

**Can I use this to predict deposition in flowlines?**
Yes, by using the tools to assess flocculation states and onset pressures caused by pressure or temperature changes.

**How does it handle gas injection modeling?**
The evaluate_gas_injection_impact tool predicts how a specific gas addition changes the stability of the asphaltenes.

**What is the Onset of Precipitation Pressure (OPP)?**
OPP is the specific pressure at which asphaltenes begin to form solid aggregates. You can find this value using the `get_onset_pressure` tool.

**How does gas injection affect asphaltene stability?**
Injecting gases like methane or CO2 can reduce the solubility of asphaltenes. The `evaluate_gas_injection_impact` tool predicts the resulting stability change.

**Can I predict risks when mixing two different oils?**
Yes, the `assess_commingling_risk` tool evaluates the compatibility and precipitation probability when mixing different crude oil compositions.
