# Reservoir Simulation Upscaling AI Agent Connect

> Upscale fine-scale geological models to simulation grids.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Yq3Dlkt0a8h4XKgGw7sjh6dy3Av6ZVsjoEpyTu7V/ai-agent-connect
- **Tags:** reservoir, upscaling, permeability, porosity, geology

## Description

This MCP server provides tools to transform high-resolution geological data into coarser grids for reservoir simulation. It enables the calculation of effective properties like porosity, Net-to-Gross (NTG), and permeability. Users can apply analytical methods via `upscale_permeability_simple` or perform advanced simulations using `upscale_permeability_flow_based` to capture complex heterogeneity and anisotropy.

## Tools

### upscale_ntg
Determines the Net-to-Gross ratio for a coarse-scale cell

### upscale_permeability_flow_based
Estimates effective permeability by simulating local flow

### upscale_permeability_simple
Calculates effective permeability using analytical averaging methods

### upscale_porosity
Calculates the coarse-scale porosity for a defined volume of fine-scale cells

## Prompt Examples

**Prompt:** 
```
Calculate the coarse-scale porosity for these fine cells: porosities [0.2, 0.25, 0.18] and volumes [10, 15, 5].
```

**Response:** 
```
The coarse-scale porosity is 0.216.
```

**Prompt:** 
```
What is the Net-to-Gross ratio if the fine cell volumes are [10, 10, 10] and the first two cells are reservoir rock?
```

**Response:** 
```
The Net-to-Gross ratio is 0.667.
```

**Prompt:** 
```
Use arithmetic averaging for permeabilities [10, 20, 30].
```

**Response:** 
```
The effective permeability is 20.
```

## Frequently Asked Questions

**What is the difference between the permeability methods?**
The `upscale_permeability_simple` tool offers arithmetic, harmonic, and power-average methods for analytical estimation, while `upscale_permeability_flow_based` uses local numerical simulation to better account for spatial heterogeneity.

**How is porosity calculated?**
Porosity is calculated as a volume-weighted average of the fine-scale cells using the `upscale_porosity` tool.

**Can I calculate Net-to-Gross (NTG)?**
Yes, the `upscale_ntg` tool determines the ratio of productive reservoir rock volume to the total volume of the coarse cell.
