# Spacecraft Pressurant Mass Calculator AI Agent Connect

> Spacecraft Pressurant Mass Calculator MCP gives your AI client the physics-based tools needed to model gas states and determine pressurant requirements. It handles mass calculations, ullage profiles, and pressure drop predictions using both ideal and real-gas models to support spacecraft propulsion design.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_LMFMnjtGMjRClEUMFtm5on0coJPez60voSB6lxbP/ai-agent-connect
- **Tags:** spacecraft, propulsion, gas-laws, ullage, mass-calculation

## Description

You can use this MCP to handle the heavy lifting of gas law calculations during spacecraft propulsion design. Instead of manually running equations for mass and volume, you tell your AI client the initial and final tank conditions, and it calculates the necessary inert gas mass and storage requirements. It supports real-gas modeling, meaning it accounts for the compressibility factor Z to ensure your pressure predictions stay accurate under high-pressure conditions. You can track how empty space changes throughout a mission by generating ullage profiles or predict exactly how much pressure will drop as propellant is consumed. It even includes a validation step to make sure the gas properties and models you've selected are physically consistent before you rely on the output.

## Tools

### calculate_pressurant_requirements
This tool calculates the mass of gas required and the physical storage volume needed based on propellant depletion.

### calculate_pressure_drop
Use this to determine how much pressure reduces as propellant is consumed given a fixed mass of gas.

### get_ullage_profiles
This tool calculates the volume of the ullage space at various stages of propellant depletion.

### validate_gas_parameters
This tool checks if your selected gas properties and models are physically consistent.

## Prompt Examples

**Prompt:** 
```
Calculate the required pressurant mass for a 500L tank with 400L initial propellant, 50L final propellant, 300 bar initial pressure, 50 bar final pressure, 293K temperature, Helium (4.0026 g/mol) using the ideal model.
```

**Response:** 
```
The required pressurant mass is 1.245 kg with a storage volume of 0.00415 m³.
```

**Prompt:** 
```
What will the pressure drop be if I have 100L of initial ullage and 200L of final ullage, starting at 200 bar, with Helium at 293K?
```

**Response:** 
```
The final pressure will be 100 bar, resulting in a pressure drop of 100 bar.
```

**Prompt:** 
```
Show me the ullage volume profile for a 1000L tank with propellant volumes of 800, 500, and 200 liters.
```

**Response:** 
```
The ullage volumes are 200L, 500L, and 800L respectively.
```

## Capabilities

### Mass and Volume Modeling
Your agent calculates the specific mass of inert gas and the storage volume required for propellant driving.

### Real-Gas Calculations
Your agent uses compressibility factors to provide accurate pressure predictions for non-ideal gas behavior.

### Ullage Tracking
Your client generates volume profiles to monitor empty space throughout the mission lifecycle.

### Pressure Drop Prediction
Your agent predicts pressure reductions as propellant is consumed from the tank.

### Parameter Validation
Your agent verifies that gas properties and selected models are physically consistent.

## Use Cases

### Propellant Tank Sizing
Determine the exact mass of Helium or Nitrogen needed to drive propellant out of a tank.

### Mission Life Modeling
Track how ullage volume changes as propellant is depleted over time.

### Pressure Stability Analysis
Predict how much pressure will drop in a tank as the propellant level falls.

### Model Verification
Check that your chosen gas properties align with the mathematical models being used.

## Benefits

- Reduces manual calculation errors by using verified gas law models.
- Supports real-gas modeling with compressibility factors for high-pressure accuracy.
- Automates the generation of ullage profiles across multiple mission stages.
- Validates gas parameters to prevent physically impossible model inputs.

## How It Works

Connect your AI client to Vinkius to start running propulsion calculations immediately.

1. Connect your preferred MCP-compatible client like Claude or Cursor to Vinkius.
2. Provide your propellant and gas parameters to your AI agent.
3. Your agent calls the specific tool needed for the calculation.
4. The MCP executes the physics-based math and returns the results to your agent.
5. You receive the calculated mass, volume, or pressure data directly in your chat interface.

## Frequently Asked Questions

**Does this MCP support real-gas models?**
Yes, it includes support for real-gas models using the compressibility factor Z for more accurate pressure predictions.

**What kind of clients can I use with this MCP?**
You can use any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.

**Can I calculate the mass of gas needed for a specific tank size?**
Yes, the calculate_pressurant_requirements tool determines both the mass of gas required and the physical volume needed for storage.

**How does the tool handle ullage?**
The get_ullage_profiles tool calculates the volume of the empty space at different stages of propellant depletion.

**Can your agent check if my gas parameters are correct?**
Yes, the validate_gas_parameters tool verifies that your gas properties and model selections are physically consistent.

**What gas models are supported?**
The server supports both the 'ideal' gas model and the 'real' gas model, which utilizes a compressibility factor (Z) for high-pressure accuracy.

**How do I calculate the required gas mass?**
Use the `calculate_pressurant_requirements` tool, providing the tank volume, propellant volumes, pressures, temperature, and molecular mass.

**Can I model real-world gas behavior?**
Yes, by selecting the 'real' gas model and providing the appropriate compressibility factor in the tool inputs.
