# Pump Affinity Laws Calculator AI Agent Connect

> Pump Affinity Laws Calculator MCP gives your AI client the engineering math needed to predict how pump performance shifts. It handles the heavy lifting for calculating flow, head, and power requirements when you change impeller diameters or rotational speeds. Your agent can also check for cavitation risks and ensure your proposed changes stay within safe operating limits.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_8Is10SbgLW9iJ5fLWSUSlANf1Xa57jqXbq56klgu/ai-agent-connect
- **Tags:** pump, affinity-laws, fluid-dynamics, engineering-tools, mechanical

## Description

You can use this MCP to run quick, accurate engineering calculations for pump performance. Instead of manually applying affinity law formulas, you just tell your AI client what changed in the system. If you increase the rotational speed or swap in a larger impeller, the MCP calculates the resulting flow, head, and power requirements immediately. It also acts as a safety check. You can ask your agent to verify if a specific configuration will cause cavitation or if the new parameters exceed safe operating bounds. It's a direct way to move from theoretical changes to concrete performance data without manual math errors.

## Tools

### evaluate_cavitation_risk
This tool determines if a new operating configuration is likely to trigger cavitation issues.

### get_scaling_ratios
This tool provides a quick lookup of the dimensionless scaling factors used in affinity law math.

### validate_operating_limits
This tool checks if your requested changes stay within established safe engineering bounds.

### calculate_performance_scaling
This tool calculates new flow, head, and power values based on changes to pump speed and diameter.

## Prompt Examples

**Prompt:** 
```
Calculate the new flow and head if I increase the speed ratio to 1.2 and the diameter ratio to 1.1, starting from a flow of 100 m3/h and head of 50 m.
```

**Response:** 
```
The new flow is 132 m3/h and the new head is 72.6 m.
```

**Prompt:** 
```
What is the risk of cavitation if the original NPSH required was 5m, the speed ratio is 1.5, and the diameter ratio is 1.0?
```

**Response:** 
```
The cavitation risk is High.
```

**Prompt:** 
```
Check if a speed ratio of 1.5 and diameter ratio of 1.2 are within limits of 1.4 and 1.3 respectively.
```

**Response:** 
```
The requested changes are out of range due to a Speed violation.
```

## Capabilities

### Performance Scaling
Your agent uses this to predict how flow and head change with speed or diameter shifts.

### Cavitation Assessment
The AI uses this to identify if a configuration will likely cause cavitation.

### Safety Validation
Your agent checks proposed changes against safe engineering limits.

### Scaling Factor Lookup
The AI retrieves dimensionless scaling factors for affinity law calculations.

## Use Cases

### Impeller Upgrades
Calculate how a larger diameter impeller will change your system's flow and head.

### VFD Implementation
Predict the impact of changing rotational speeds on power consumption and flow.

### System Safety Checks
Verify that a proposed speed increase won't cause cavitation or exceed limits.

### Rapid Prototyping
Run multiple scaling scenarios quickly to find the optimal pump configuration.

## Benefits

- Reduces manual math errors in affinity law applications.
- Provides instant cavitation risk assessments.
- Validates engineering changes against safety bounds.
- Speeds up pump performance modeling.

## How It Works

Connect the MCP to your client and start asking engineering questions.

1. Connect your MCP-compatible client to Vinkius.
2. Input your current pump parameters and desired changes.
3. The AI agent invokes the necessary tool to run the math.
4. Receive specific results for flow, head, power, or risk levels.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates changes in flow, head, and power based on pump speed and diameter adjustments using affinity laws.

**Can it check for cavitation?**
Yes, it includes a tool specifically to evaluate if a new configuration is likely to cause cavitation.

**Does it validate safety limits?**
Yes, you can use it to check if your proposed changes stay within safe engineering bounds.

**Which AI clients can use this?**
You can use this MCP with any compatible client like Claude, Cursor, or Windsurf.

**Do I need to provide scaling factors?**
No, the MCP has a tool to provide those dimensionless scaling factors for you.

**What can I calculate with this tool?**
You can calculate scaled flow, head, and power using `calculate_performance_scaling`, check for cavitation risks with `evaluate_cavitation_risk`, and verify engineering limits with `validate_operating_limits`.

**Does this tool account for fluid density?**
Yes, the `calculate_performance_scaling` tool accepts a fluid density ratio to adjust power calculations.

**How do I know if my pump changes are safe?**
Use the `validate_operating_limits` tool to check if your speed and diameter ratios are within the specified maximum limits.
