# Marginal Carbon Intensity Calculator AI Agent Connect

> Marginal Carbon Intensity Calculator lets your AI client analyze how changes in electricity demand affect grid emissions. It identifies the specific generator responsible for new loads by looking at emission factors, operating limits, and network loss factors. Use it to quantify carbon savings or check if your current grid capacity can handle new demand.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_aGu1CLEzTZM3BANn0DBLzgVthS3D2N6udOKoCKGd/ai-agent-connect
- **Tags:** carbon, electricity, emissions, grid, climate

## Description

You can use this MCP to model the environmental impact of electricity load changes in real time. Instead of guessing how a new factory or data center affects the grid, you can ask your agent to identify the specific marginal unit that will pick up the slack. The tool looks at generator emission factors and network loss factors to give you a precise picture of carbon intensity. 

It goes beyond simple estimates. You can check if your existing generator fleet has the capacity to handle a proposed load increase or decrease. If you are looking to decarbonize, you can use it to calculate exactly how much carbon you would save by replacing that marginal unit with a zero-emission source. It's a direct way to move from general sustainability goals to specific, data-backed grid impact reports.

## Tools

### identify_marginal_unit_only
Finds the specific generator responsible for the next increment of load on the grid.

### calculate_marginal_intensity
Determines the carbon intensity and total impact for a specific change in electricity demand.

### validate_system_capacity
Checks if the current fleet of generators can support a proposed increase or decrease in demand.

### calculate_avoided_emissions_impact
Quantifies the carbon savings achieved if the marginal unit's output is replaced by a zero-emission source.

## Prompt Examples

**Prompt:** 
```
What is the carbon intensity for a 50 kWh increase in demand with a 5% network loss?
```

**Response:** 
```
The marginal unit is Gas_Plant_A with an intensity of 0.45 kg CO2/kWh, accounting for 2.5 kWh of network losses.
```

**Prompt:** 
```
Which generator is the marginal unit for a 100 unit demand increase?
```

**Response:** 
```
The marginal unit is Coal_Generator_01.
```

**Prompt:** 
```
How much carbon can be avoided if we replace the marginal unit with solar?
```

**Response:** 
```
Replacing the marginal unit would result in 25.5 kg of avoided CO2 emissions.
```

## Capabilities

### Marginal Unit Identification
Your agent identifies which specific generator handles new electricity loads.

### Carbon Impact Reporting
The AI calculates the specific carbon intensity for demand shifts.

### Grid Capacity Validation
Your agent checks if the current generator fleet can meet new demand requirements.

### Emissions Savings Calculation
The tool quantifies carbon reduction when replacing marginal units with clean energy.

### Network Loss Analysis
The AI accounts for network loss factors when determining carbon intensity.

## Use Cases

### New Load Assessment
Determine the carbon footprint of adding a new data center to the existing grid.

### Decarbonization Planning
Calculate how much CO2 is avoided by replacing a coal marginal unit with solar power.

### Grid Reliability Checks
Verify if the current generator fleet can support a sudden increase in demand.

### Emission Impact Modeling
Model the carbon intensity of specific demand fluctuations including network losses.

## Benefits

- Identifies the specific generator responsible for load changes.
- Accounts for network loss factors in carbon calculations.
- Quantifies carbon savings from zero-emission replacements.
- Validates grid capacity against proposed demand shifts.

## How It Works

Connect your client to Vinkius to start running grid impact calculations immediately.

1. Connect your MCP-compatible client to Vinkius.
2. Ask your agent to identify the marginal unit for a specific load change.
3. Request a carbon intensity report or capacity validation.
4. Receive specific data on generators, emissions, and grid capacity.

## Frequently Asked Questions

**How does this MCP calculate carbon intensity?**
It analyzes generator emission factors, operating limits, and network loss factors to find the impact of the marginal unit.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**Does it account for electricity lost during transmission?**
Yes, the tool incorporates network loss factors into its intensity and impact calculations.

**Can it tell me if the grid is overloaded?**
Yes, the validate_system_capacity tool checks if the current generator fleet can handle proposed demand changes.

**How do I find out which generator is being used?**
You can use the identify_marginal_unit_only tool to find the specific generator responsible for the next increment of load.

**How is the marginal unit determined?**
The marginal unit is the generator with the highest emission factor that can accommodate the requested dispatch increment within its operating limits, after accounting for network losses.

**What does the network loss factor represent?**
It is a coefficient representing the additional electricity that must be generated to compensate for energy lost during transmission.

**Can I check if my grid has enough capacity for more demand?**
Yes, you can use the `validate_system_capacity` tool to check if the current generator fleet can handle a proposed demand increase.
