# Fractional Flow Equation Toolset AI Agent Connect

> Calculate fractional flow curves, breakthrough saturation, and gravity effects in reservoir displacement.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4Sw4oROYV816SgnSOarFsB9Qk8x2GHg9pcJCF7CN/ai-agent-connect
- **Tags:** reservoir, petroleum, fluid-flow, physics, displacement

## Description

This MCP server provides specialized reservoir engineering tools to model displacement processes. It allows users to generate fractional flow curves using `calculate_fractional_flow_curve`, determine breakthrough characteristics via `perform_welge_analysis`, and compute gravity corrections with `calculate_gravity_correction`. It also enables comparing displacement efficiency between different scenarios using `compare_displacement_efficiency`.

## Tools

### calculate_fractional_flow_curve
Generates a series of water cut values across a range of water saturations

### calculate_gravity_correction
Computes the specific gravity component for inclined reservoirs

### compare_displacement_efficiency
Evaluates how different viscosity ratios or gravity effects impact the sweep efficiency

### perform_welge_analysis
Determines the breakthrough characteristics using the tangent method

## Prompt Examples

**Prompt:** 
```
Calculate the fractional flow curve for a water-oil system with water viscosity 1.0, oil viscosity 2.0, and a gravity factor of 0.1.
```

**Response:** 
```
The fractional flow curve has been generated with water saturations ranging from 0.2 to 0.8, showing a water cut that increases from 0.05 to 0.85.
```

**Prompt:** 
```
What is the breakthrough saturation if the initial water saturation is 0.2 and the flow curve is provided?
```

**Response:** 
```
The breakthrough saturation is 0.45, with a water cut at breakthrough of 0.32 and an average saturation of 0.55.
```

**Prompt:** 
```
Calculate the gravity correction for water density 1000, oil density 800, height 10, angle 30, and permeability 0.1.
```

**Response:** 
```
The calculated gravity factor is 0.0866.
```

## Frequently Asked Questions

**How do I calculate the water cut at breakthrough?**
You can use the `perform_welge_analysis` tool. Provide the fractional flow curve data and the initial water saturation to find the water cut at breakthrough.

**Can I account for inclined reservoirs?**
Yes, use `calculate_gravity_correction` to compute the gravity factor based on fluid densities, reservoir height, and inclination angle.

**How do I compare two different displacement scenarios?**
Use the `compare_displacement_efficiency` tool by providing the base flow curve and the comparison flow curve.
