# Flare System Sizing AI Agent Connect

> Sizing emergency relief flare systems using API 521 methodologies.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_z0FdUYfz0jY4qUpjyyifuFrVWxcwnOV51MioCNDZ/ai-agent-connect
- **Tags:** api-521, flare-sizing, thermal-radiation, gas-dispersion, emergency-relief

## Description

This MCP server provides specialized engineering tools for sizing emergency relief flare systems. It follows API 521 methodologies to calculate critical parameters including flare stack height, tip diameter, and safe radiation distances. Users can use `get_relief_profile` to analyze gas properties, `calculate_tip_diameter` to manage exit velocities, and `calculate_radiation_distance` to ensure safety limits are met. The `sizing_summary` tool orchestrates the full workflow to provide a complete stack height recommendation based on mass flow, gas composition, and wind speed.

## Tools

### calculate_tip_diameter
Determines the optimal diameter of the flare tip to manage exit velocity

### calculate_radiation_distance
Finds the minimum distance from the flare tip required to meet a specific radiation safety limit

### get_relief_profile
Calculates the fundamental properties of the relief stream based on mass flow and composition

### sizing_summary
Performs the complete sizing orchestration to provide a final stack height recommendation

## Prompt Examples

**Prompt:** 
```
Calculate the relief profile for a gas with 90% Methane and 10% Ethane at a mass flow of 5 kg/s.
```

**Response:** 
```
The relief profile shows a total molecular weight of 17.2 and a heat of combustion of 50.1 MJ/kg.
```

**Prompt:** 
```
What is the required tip diameter for a 10 kg/s mass flow with a max exit velocity of 0.5 m/s?
```

**Response:** 
```
The optimal tip diameter is 1.25 meters.
```

**Prompt:** 
```
Provide a full sizing summary for a 20 kg/s relief load with 100% Methane, a 15 kW/m2 radiation limit, and 5 m/s wind speed.
```

**Response:** 
```
The recommended stack height is 35 meters with a tip diameter of 0.8 meters to maintain a safe distance for personnel.
```

## Frequently Asked Questions

**What engineering standard does this tool follow?**
The tool follows the API 521 methodology for pressure-relieving and depressuring systems.

**How do I calculate the final stack height?**
You can use the `sizing_summary` tool, which orchestrates the diameter and radiation calculations to recommend a safe stack height.

**Can I account for wind speed in radiation calculations?**
Yes, the `calculate_radiation_distance` tool accounts for flame tilt caused by ambient wind speed.
