# Wellbore Heat Transfer Engine AI Agent Connect

> Calculates temperature profiles and thermal energy exchange in producing or injecting wells.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_XroVBiuPgh0RUunC6ut80tvb5zCk0WkDkxkMx6lX/ai-agent-connect
- **Tags:** thermal, wellbore, heat-transfer, geothermal, fluid-dynamics

## Description

This MCP server provides specialized thermal modeling for wellbore operations. It connects AI agents to advanced heat transfer calculations, allowing for the determination of temperature profiles at specific depths using `get_temperature_profile`. Users can measure total thermal energy exchange with `calculate_heat_exchange`, determine surface temperatures via `get_wellhead_temperature`, and predict time-dependent thermal changes using `simulate_transient_effect`. The engine accounts for geothermal gradients, fluid properties, and wellbore configurations to provide accurate thermal dynamics for geothermal and petroleum engineering workflows.

## Tools

### simulate_transient_effect
Predicts how the temperature profile changes over a specific period of time

### get_temperature_profile
Determines the temperature of the fluid at a specific depth within the well

### get_wellhead_temperature
Calculates the temperature of the fluid at the surface (wellhead)

### calculate_heat_exchange
Measures the total thermal energy gained or lost by the fluid over the entire length of the well

## Prompt Examples

**Prompt:** 
```
What is the temperature at 1500 meters depth for a well with a 100m total depth and a geothermal gradient of 0.03 deg/m?
```

**Response:** 
```
The temperature at 1500 meters is 55.2°C.
```

**Prompt:** 
```
Calculate the total heat loss for this well.
```

**Response:** 
```
The total heat loss for the well is 450.5 kJ.
```

**Prompt:** 
```
What will the wellhead temperature be if the bottom-hole temperature is 80°C?
```

**Response:** 
```
The estimated wellhead temperature is 62.4°C.
```

## Frequently Asked Questions

**How accurate are the temperature calculations?**
The engine uses Ramey's model and numerical heat transfer methods to provide high-fidelity temperature profiles based on the provided fluid properties and wellbore geometry.

**Can I simulate how temperature changes over time?**
Yes, you can use the `simulate_transient_effect` tool to predict how the temperature profile evolves over a specific duration.

**What inputs are required for heat exchange calculations?**
To use `calculate_heat_exchange`, you need to provide the well configuration, fluid properties, geothermal gradient, and the volumetric flow rate.
