# Process Simulation Setup AI Agent Connect

> Execute steady-state chemical process simulations, mass/energy balances, and equipment sizing.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_p7Ui54BadZJnhRrlzIFA07zkVCaGNA8t0hzAFqu1/ai-agent-connect
- **Tags:** chemical-engineering, thermodynamics, mass-balance, process-modeling, equipment-sizing

## Description

This MCP server provides a complete suite for chemical engineering process modeling. It allows AI agents to execute steady-state simulations using `run_flowsheet_simulation`, verify component compatibility via `validate_component_properties`, determine physical dimensions with `calculate_equipment_sizing`, and diagnose solver stability using `analyze_convergence_health`. It bridges the gap between theoretical thermodynamic models and practical equipment design.

## Tools

### validate_component_properties
Verifies that the selected components are compatible with the chosen thermodynamic model

### analyze_convergence_health
Diagnoses why a simulation failed or provides insight into the stability of a converged run

### calculate_equipment_sizing
Provides specific physical dimensions for equipment based on an existing simulation result

### run_flowsheet_simulation
Executes a full steady-state simulation of a defined process

## Prompt Examples

**Prompt:** 
```
Run a simulation for a flowsheet with ID 'hydrocarbon_recovery' using 'Real' thermodynamics and these components: Methane, Ethane.
```

**Response:** 
```
The simulation for 'hydrocarbon_recovery' has converged successfully. Mass balances and energy balances have been calculated for all streams.
```

**Prompt:** 
```
Check if Water and Ethanol are compatible with the 'Ideal' thermodynamic model.
```

**Response:** 
```
The components are compatible with the selected thermodynamic model.
```

**Prompt:** 
```
What are the dimensions for equipment ID 'C-101' using the provided simulation results and a safety factor of 1.2?
```

**Response:** 
```
The calculated diameter for column C-101 is 2.5 meters with a height of 15.0 meters, including the 1.2 safety factor.
```

## Frequently Asked Questions

**How do I ensure my components are compatible with the model?**
You can use the `validate_component_properties` tool to check if your chemical species are compatible with the selected thermodynamic framework before running a full simulation.

**What happens if the simulation fails to converge?**
If the status is 'diverged', you should use `analyze_convergence_health` to identify bottleneck nodes and receive recommendations for improving stability.

**Can I calculate the size of a reactor or column?**
Yes, once you have a converged simulation result, you can use `calculate_equipment_sizing` to determine physical dimensions and material requirements.
