# Demand Charge Peak Shaving Calculator AI Agent Connect

> Demand Charge Peak Shaving Calculator MCP gives your AI client the math engine it needs for industrial energy management. It handles the heavy lifting of calculating peak load reductions, building battery dispatch schedules, and checking if your proposed energy plans actually work against physical constraints.

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

## Description

You can use this MCP to turn your AI agent into a specialized energy management consultant. Instead of guessing how much you can shave off your peak demand, you give your agent the tools to run precise calculations. It handles the math for estimating financial savings from load reductions and builds specific dispatch plans for your battery storage or controllable loads. 

It also acts as a safety check. You can use it to verify that a proposed schedule won't violate your operational limits or cause a massive demand spike immediately after the shaving event ends. This makes it easy to test different mitigation strategies in your AI client before you ever touch a real-world controller. It's built for anyone managing high-stakes industrial energy profiles who needs to move from raw data to actionable, feasible schedules quickly.

## Tools

### calculate_peak_reduction
This tool calculates how much you can reduce peak demand and the specific dollar amount you'll save.

### validate_constraints
This tool tests your proposed energy schedule against physical and operational limits to ensure it is actually doable.

### analyze_rebound_impact
This tool checks if your peak shaving activity will trigger a new, higher demand spike right after the event.

### generate_shaving_schedule
This tool creates a detailed dispatch plan for your storage assets and controllable loads to hit your target peak.

## Prompt Examples

**Prompt:** 
```
Calculate the savings if my peak demand is 500kW, the baseline is 600kW, and the tariff is $15/kW.
```

**Response:** 
```
The peak reduction is 100kW, resulting in total savings of $1,500.
```

**Prompt:** 
```
Generate a shaving schedule for a 500kW peak with a 450kW threshold using a 100kWh battery.
```

**Response:** 
```
The dispatch plan has been generated. The battery will discharge to maintain demand at 450kW, and the schedule is feasible.
```

**Prompt:** 
```
Check if my revised profile has a rebound effect.
```

**Response:** 
```
No rebound effect was detected in the revised profile.
```

## Capabilities

### Financial Estimation
Your agent uses this to turn kW reductions into actual cost savings based on your tariff.

### Asset Dispatching
Your agent builds specific instructions for batteries and controllable loads to mitigate peaks.

### Operational Validation
Your agent checks if a schedule is physically possible given your equipment constraints.

### Rebound Detection
Your agent identifies if a shaving event will cause a secondary peak spike.

## Use Cases

### Battery Storage Optimization
Use the agent to determine the best time to discharge a battery to hit a specific demand threshold.

### Demand Charge Mitigation
Calculate how much money you save by reducing your highest peak of the month.

### Operational Risk Assessment
Test a new load shedding plan to see if it violates any equipment constraints before implementation.

### Post-Event Analysis
Check if your peak shaving strategy caused a rebound spike that negates your savings.

## Benefits

- Calculates precise financial savings from peak demand reductions.
- Generates actionable dispatch plans for battery and load assets.
- Prevents operational errors by validating schedules against physical limits.
- Identifies hidden demand spikes caused by rebound effects.

## How It Works

You connect your AI client to Vinkius and immediately gain access to these energy calculation tools.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide your load profile, battery capacity, or tariff data to your agent.
3. The agent calls the specific calculation or scheduling tool.
4. The agent returns a feasible plan or a financial estimate.

## Frequently Asked Questions

**What can this MCP do for my energy costs?**
It calculates how much you can reduce your peak demand and tells you exactly how much money that reduction saves you based on your specific tariff.

**Can I use this to manage battery storage?**
Yes, the MCP includes a tool to generate dispatch schedules for energy storage assets to help mitigate peak demand.

**How does it handle operational limits?**
The validate_constraints tool allows your agent to check if a proposed energy schedule is actually feasible given your physical and operational constraints.

**What is a rebound effect in energy management?**
A rebound effect is when a peak shaving action causes a new, higher demand spike immediately after the event. This MCP has a tool specifically to detect this.

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

**How can I calculate my potential savings?**
You can use the `calculate_peak_reduction` tool by providing your load profile, the baseline peak, and the tariff per kW.

**What is a rebound effect?**
A rebound effect is a sudden increase in demand that occurs immediately after a peak-shaving event ends. You can detect this using `analyze_rebound_impact`.

**Can I check if my battery schedule is feasible?**
Yes, the `validate_constraints` tool checks your proposed schedule against physical limits like storage capacity and minimum load requirements.
