# Thermal Storage Dispatch Calculator MCP. AI Agent Connect

> Thermal Storage Dispatch Calculator MCP lets your AI client handle complex thermal energy storage (TES) math. It calculates charge and discharge schedules based on your specific electrical tariffs, load profiles, and system constraints. You can run simulations to check system viability or quantify how much peak demand you're actually shaving.

## Overview
- **Category:** optimization
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_2baCoXwLtbrp4uVHod7trvf63C8kE278MaSGUh6t/ai-agent-connect
- **Tags:** thermal-storage, energy-management, dispatch-optimization, peak-shaving, load-profile

## Description

You can use this MCP to turn your AI client into a thermal energy storage specialist. Instead of manually calculating discharge windows or checking if a system configuration is physically possible, you provide the parameters. The MCP handles the heavy lifting of modeling energy losses and comparing baseline loads against augmented profiles. 

It works by taking your electrical tariffs and load profiles to generate optimized dispatch schedules. You can target specific goals like minimizing total cost or shaving peak demand. If you're unsure if a proposed system will work, you can run a single cycle simulation to see how efficiency and standing losses affect the final state of charge. It's a direct way to move from theoretical storage capacity to actionable, optimized operational schedules.

## Tools

### get_peak_impact_summary
This tool compares a baseline load profile against a storage-augmented profile to show exactly how much peak demand you've reduced.

### simulate_single_cycle
Use this to run a non-optimized simulation of one charge and discharge event to see how energy losses affect the system.

### validate_storage_parameters
This tool checks if your specific storage configuration is actually viable from an operational and physical standpoint.

### calculate_dispatch_schedule
This tool generates optimized dispatch schedules based on your specific environmental and system parameters.

## Prompt Examples

**Prompt:** 
```
Calculate an optimized dispatch schedule to minimize cost for a 100kWh storage system with a 50kW charge/discharge limit and 90% efficiency.
```

**Response:** 
```
The optimized schedule for your 100kWh system results in a total cost of $42.50, with a peak reduction of 15kW and a total displaced energy of 30kWh.
```

**Prompt:** 
```
Is a storage system with 50kWh capacity and 60kW charge power valid?
```

**Response:** 
```
The system configuration is invalid because the charge power exceeds the total capacity, which may lead to unrealistic operational constraints.
```

**Prompt:** 
```
Simulate a single cycle for a 50kWh storage with 10kWh charge and 5kWh discharge at 85% efficiency.
```

**Response:** 
```
The simulation shows a final SoC of 13.25kWh after accounting for efficiency and standing losses.
```

## Capabilities

### Schedule Optimization
Your agent uses this to create charge and discharge plans that minimize costs.

### System Validation
Your AI client checks if your hardware constraints are physically realistic.

### Performance Modeling
Your agent runs single cycle simulations to account for efficiency and standing losses.

### Peak Demand Analysis
Your agent quantifies the impact of storage on your baseline load profile.

## Use Cases

### Cost Minimization
An analyst uses the dispatch tool to find the cheapest times to charge and discharge storage based on current tariffs.

### Peak Shaving
A facility manager runs a peak impact summary to see how much they can reduce their demand charges.

### System Design Check
An engineer validates a new storage unit's capacity and power limits to ensure they aren't physically impossible.

### Efficiency Testing
A technician simulates a single cycle to see how much energy is lost to efficiency and standing losses.

## Benefits

- Reduces peak demand through optimized discharge timing.
- Minimizes operational costs by aligning storage with electrical tariffs.
- Identifies unrealistic system configurations before deployment.
- Models energy losses to provide accurate state of charge predictions.

## How It Works

You connect your AI client to Vinkius and start running energy calculations immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your system parameters, such as capacity, power limits, and efficiency.
3. Input your electrical tariffs and load profiles.
4. Ask your AI client to run a specific tool like calculate_dispatch_schedule.
5. Review the optimized schedule or performance summary provided by your agent.

## Frequently Asked Questions

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

**Can this MCP help with peak shaving?**
Yes, you can use the get_peak_impact_summary tool to quantify how much your storage reduces peak demand compared to a baseline load.

**How does the MCP handle energy losses?**
The simulate_single_cycle tool specifically accounts for efficiency and standing losses when modeling a charge and discharge event.

**Will it tell me if my storage design is impossible?**
Yes, the validate_storage_parameters tool checks if your configuration is physically and operationally viable.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use as soon as you connect your client.

**How can I minimize my electricity costs using this tool?**
You can use the `calculate_dispatch_schedule` tool with the `minimize_cost` objective. This will prioritize charging the storage during periods of low tariffs and discharging during high tariff periods.

**Can I check if my storage system configuration is valid?**
Yes, the `validate_storage_parameters` tool is designed to verify if your capacity, charge/discharge power, and efficiency settings are physically and operationally viable.

**How is peak demand reduction measured?**
You can use `get_peak_impact_summary` to compare your original load profile against the profile after storage dispatch to see the reduction in peak demand.
