# Relief Valve Sizing AI Agent Connect

> Calculates pressure relief valve requirements using API 520/521 standards.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_c0Yoc0AGunI67h8FeKDsIaBFQDYw2U3iTrSYOIrA/ai-agent-connect
- **Tags:** api-520, api-521, pressure-relief, valve-sizing, safety-engineering

## Description

This MCP server provides professional engineering tools for sizing pressure relief valves (PRV) according to API 520/521 standards. It allows users to retrieve technical design limits via `get_equipment_specs`, determine required flow rates with `calculate_relief_capacity`, calculate minimum orifice areas using `size_valve_orifice`, and perform final safety checks with `validate_scenario_safety`. It covers critical scenarios including fire, blocked outlet, and thermal expansion.

## Tools

### calculate_relief_capacity
Determines the required mass or volumetric flow rate based on a specific relief scenario

### get_equipment_specs
Retrieves the technical design limits for a specific piece of protected equipment

### size_valve_orifice
Calculates the minimum required orifice area for a relief valve

### validate_scenario_safety
Performs a final check to ensure the proposed valve sizing provides adequate protection

## Prompt Examples

**Prompt:** 
```
What are the design limits for equipment ID VSL-101?
```

**Response:** 
```
The design pressure for VSL-101 is 150 psig with an allowable overpressure of 10%.
```

**Prompt:** 
```
Calculate the required capacity for a blocked outlet scenario on equipment VSL-101.
```

**Response:** 
```
The required relief capacity for the blocked outlet scenario on VSL-101 is 450 kg/s.
```

**Prompt:** 
```
What is the minimum orifice area needed for a capacity of 500 kg/s at a set pressure of 100 psi for gas?
```

**Response:** 
```
The minimum required orifice area is 2.45 square inches, which corresponds to an API orifice designation of 'E'.
```

## Frequently Asked Questions

**Which standards does this tool follow?**
The tool follows the API 520 and API 521 international standards for pressure-relieving devices.

**How do I verify if my valve sizing is safe?**
You can use the `validate_scenario_safety` tool to check if the proposed orifice area and set pressure provide adequate protection for your specific equipment.

**Can I calculate capacity for fire scenarios?**
Yes, the `calculate_relief_capacity` tool includes logic to handle fire-induced overpressure scenarios.
