# Combined Heat and Power Calculator AI Agent Connect

> Combined Heat and Power Calculator MCP gives your AI client the math needed to analyze cogeneration systems. You can calculate energy balances, determine electrical and thermal efficiencies, and measure primary energy savings. It handles multi-period analysis by aggregating data over specific operating schedules, making it a technical tool for energy modeling.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_f6KjekQqOBuyl5vUdTx3FmvvGvaL2rAXMM8KZBHq/ai-agent-connect
- **Tags:** chp, cogeneration, efficiency, energy-balance, thermal-energy

## Description

You can use this MCP to perform technical analysis on Combined Heat and Power (CHP) systems. Instead of manually calculating energy distributions, you tell your AI client the fuel input and efficiency parameters, and it handles the math. You can determine how much electricity, useful heat, and waste is produced using the energy balance tool. If you need to check how well a system is performing, you can calculate specific electrical and thermal efficiency metrics. For environmental reporting, the MCP calculates primary energy savings and avoided utility energy. It also supports multi-period analysis, allowing your agent to aggregate data across different operating schedules to see how a system performs over time.

## Tools

### calculate_energy_balance
This tool calculates the distribution of electricity, useful heat, and losses within a system.

### calculate_environmental_impact
Use this to find primary energy savings and the amount of avoided utility energy.

### get_operating_summary
This tool aggregates data over specific operating schedules for multi-period analysis.

### calculate_efficiency_metrics
This tool finds the electrical and thermal efficiencies of your CHP setup.

## Prompt Examples

**Prompt:** 
```
Calculate the energy balance for a system with 1000 units of fuel input, 0.35 generator efficiency, a heat-to-power ratio of 1.5, a thermal load of 400, and 500 recoverable heat.
```

**Response:** 
```
The energy balance results are: net power of 350, useful heat of 400, and 0 rejected heat.
```

**Prompt:** 
```
What is the total efficiency if the electrical efficiency is 0.3 and thermal efficiency is 0.4?
```

**Response:** 
```
The total efficiency is 0.7.
```

**Prompt:** 
```
Calculate the environmental impact for a system with an energy balance of { "netPower": 350, "usefulHeat": 400, "rejectedHeat": 0, "totalLosses": 250, "isHeatRejected": false }, utility efficiency of 0.4, and an export rule of 'export'.
```

**Response:** 
```
The avoided utility energy is 525 and the primary-energy savings is 375.
```

## Capabilities

### Energy Distribution
Your agent calculates how fuel input splits into power, heat, and losses.

### Efficiency Auditing
The AI determines specific electrical and thermal efficiency percentages.

### Environmental Impact Modeling
Your client calculates primary energy savings and avoided utility energy.

### Multi-period Aggregation
The MCP summarizes data across different operating schedules.

## Use Cases

### System Sizing
Use the energy balance tool to see if a CHP system meets specific thermal and electrical loads.

### Performance Monitoring
Check efficiency metrics to see how actual system output compares to design specs.

### Carbon Footprint Analysis
Calculate avoided utility energy to support sustainability goals.

### Operational Planning
Use operating summaries to analyze how different schedules affect total energy output.

## Benefits

- Calculates energy balances without manual arithmetic.
- Provides primary energy savings data for environmental impact assessments.
- Aggregates multi-period data through operating summaries.
- Determines electrical and thermal efficiencies instantly.

## How It Works

Connect your AI client to the Vinkius hosted MCP to start running calculations.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your system parameters like fuel input and efficiency to your AI client.
3. The AI client calls the specific calculation tool in the MCP.
4. The MCP returns the technical results directly to your agent.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates energy balances, electrical and thermal efficiencies, primary energy savings, and avoided utility energy.

**How do I perform multi-period analysis?**
You use the get_operating_summary tool to aggregate data over specific operating schedules.

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

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately after connection.

**Can I calculate environmental impact?**
Yes, the calculate_environmental_impact tool determines primary energy savings and avoided utility energy.

**How do I calculate the total efficiency of my CHP system?**
You can use the `calculate_efficiency_metrics` tool. Provide the energy balance object obtained from `calculate_energy_balance` to receive the electrical, thermal, and total efficiency values.

**What is the difference between useful heat and rejected heat?**
Useful heat is the thermal energy captured for demand, while rejected heat is the surplus thermal energy that cannot be recovered by the system.
