# Choke Performance Model AI Agent Connect

> Choke Performance Model MCP provides physics-based calculation engines for wellhead operations. It models critical and subcritical flow behaviors to determine how fluids move through chokes. Your AI client uses this to handle fluid compressibility and gas-liquid ratios for accurate multiphase stream modeling.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_P1FY6887acv2QBtlKDMJf2DA7OuqQ8sUsEIUGGZ2/ai-agent-connect
- **Tags:** fluid-dynamics, wellhead, flow-rate, pressure-drop, choke-analysis

## Description

You can use this MCP to run complex fluid dynamics calculations directly within your AI client. Instead of manually solving physics equations, you provide wellhead conditions and let your agent handle the math. It models both critical and subcritical flow behaviors using physics-based equations. This is particularly useful when you need to account for fluid compressibility or specific gas-liquid ratios in multiphase streams. Whether you are checking how a specific choke size is performing or need to know the exact pressure drop across a wellhead, this MCP provides the technical answers. It turns your AI into a specialized engineering tool for wellhead management.

## Tools

### analyze_choke_efficiency
This tool evaluates how effectively your current choke size and pressures are using the available orifice capacity.

### calculate_flow_rate
Use this to find the specific volume or mass flow rate of the fluid moving through the choke.

### calculate_flow_regime
This tool determines if your wellhead conditions are resulting in critical or subcritical flow.

### calculate_pressure_drop
This tool calculates the exact magnitude of pressure reduction occurring across the choke.

## Prompt Examples

**Prompt:** 
```
What is the flow regime for an upstream pressure of 2000 psi and downstream pressure of 500 psi with a compressibility of 0.8 and GLR of 10?
```

**Response:** 
```
The current conditions result in critical flow.
```

**Prompt:** 
```
Calculate the pressure drop if upstream pressure is 1500 psi and downstream pressure is 1200 psi.
```

**Response:** 
```
The pressure drop across the choke is 300 psi.
```

**Prompt:** 
```
What is the flow rate for a choke size of 15, upstream pressure of 3000 psi, downstream pressure of 1000 psi, temperature of 520 K, compressibility of 0.7, and GLR of 5?
```

**Response:** 
```
The calculated flow rate is 450.5 units per hour.
```

## Capabilities

### Flow Regime Identification
Your agent identifies if flow is critical or subcritical based on wellhead pressure.

### Pressure Drop Analysis
The AI calculates the reduction in pressure across the choke orifice.

### Multiphase Modeling
The tool accounts for gas-liquid ratios and fluid compressibility.

### Orifice Utilization
Your agent checks how well the choke size matches current pressure demands.

### Mass and Volume Flow
The MCP calculates specific flow rates for fluid streams.

## Use Cases

### Wellhead Optimization
Determine if a choke is being used efficiently based on current pressures.

### Flow Regime Monitoring
Check if changing wellhead pressures will shift the flow from critical to subcritical.

### Pressure Management
Calculate the exact pressure drop to ensure downstream equipment stays within limits.

### Multiphase Stream Analysis
Model how gas-liquid ratios impact the mass flow rate through the orifice.

## Benefits

- Replaces manual physics equation solving with direct AI queries.
- Accounts for complex fluid compressibility in multiphase streams.
- Provides immediate identification of critical versus subcritical flow states.
- Connects directly to your existing engineering workflow in Cursor or Claude.

## How It Works

Connect the MCP to your AI client and start asking technical questions about wellhead performance.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide wellhead parameters like upstream pressure and GLR to your agent.
3. The agent invokes the specific calculation tool needed.
4. The MCP runs the physics-based model and returns the result to your chat.

## Frequently Asked Questions

**How does this MCP handle multiphase fluids?**
It uses physics-based equations that account for fluid compressibility and gas-liquid ratios (GLR).

**Can I use this with Cursor or VS Code?**
Yes, any MCP-compatible client like Cursor, VS Code, or Claude can use this tool once connected via Vinkius.

**What kind of flow regimes can it identify?**
The MCP can determine whether wellhead conditions result in critical or subcritical flow.

**Does it calculate mass or volume flow?**
It can calculate both the volume and mass flow rates of the fluid passing through the choke.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately after connection.

**What is the difference between critical and subcritical flow?**
Critical flow occurs when the downstream pressure is low enough that the fluid reaches sonic velocity at the choke throat, making the flow rate independent of downstream pressure. Subcritical flow occurs when downstream pressure is high enough to prevent sonic velocity.

**How does this tool handle multiphase fluids?**
The tool accounts for multiphase characteristics by requiring fluid properties such as the gas-liquid ratio and compressibility in the input parameters.

**Can I use this with Claude Desktop?**
Yes, this MCP server can be connected to Claude Desktop, Cursor, VS Code, Windsurf, and any other MCP-compatible client via Vinkius Edge.
