# Demand Shape Normalization Calculator AI Agent Connect

> Demand Shape Normalization Calculator MCP lets your AI client align mismatched demand profiles. It handles adjustments for duration, volume, and external drivers like weather or occupancy. You can strip out environmental noise or scale magnitudes to make different time-series datasets comparable for deep analytical work.

## Overview
- **Category:** analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_doTEEJ6EftDSRLwA11E2s5J93PJ6BhDN3o9WV2dv/ai-agent-connect
- **Tags:** normalization, demand-profile, time-series, regression, scaling

## Description

You often deal with load profiles that don't match up, whether it's because one site has different operating hours or another is affected by a heatwave. This MCP gives your agent the math needed to bring these profiles into alignment. Instead of manually adjusting datasets, you can tell your AI client to neutralize variances in volume or temporal duration. 

If you need to compare a target site to a reference site, you can use this to adjust for peak demand or total energy usage. You can also remove the influence of external variables like occupancy or weather to see the underlying demand pattern. It handles the heavy lifting of regression and scaling so you can focus on the actual insights. It even checks if two profiles are mathematically compatible before you try to run calculations on them, saving you from errors in your analysis pipeline.

## Tools

### apply_covariate_regression_normalization
This tool removes the influence of external variables from a demand profile. It uses regression to strip away factors like weather or occupancy from your time-series data.

### apply_scaling_normalization
This tool aligns the magnitude and energy of two different profiles. It uses specific scaling rules to make sure the volumes match your requirements.

### compare_profiles
This tool quantifies how similar a normalized profile is to a reference profile. It provides a mathematical measure of the match between the two datasets.

### validate_profile_compatibility
This tool checks if two profiles can be processed together. It ensures the data is mathematically compatible before you attempt normalization.

## Prompt Examples

**Prompt:** 
```
Scale this target profile [10, 20, 30] to match the total energy of this reference profile [5, 15, 25] using total_energy scaling.
```

**Response:** 
```
The target profile has been scaled. The resulting normalized profile is [12.5, 25, 37.5], with a scaling factor of 1.25.
```

**Prompt:** 
```
Compare the similarity between profile [1, 2, 3] and [1.1, 1.9, 3.1] using the rmse method.
```

**Response:** 
```
The RMSE between the two profiles is 0.1, indicating a very high match.
```

**Prompt:** 
```
Check if these two profiles are compatible: [10, 20] and [10, 20, 30].
```

**Response:** 
```
The profiles are incompatible because they have different lengths.
```

## Capabilities

### Covariate Regression
Your agent uses this to remove weather or occupancy effects from demand data.

### Magnitude Scaling
Your AI client uses this to align energy or peak demand levels between profiles.

### Similarity Quantification
Your agent uses this to measure how closely a profile matches a reference set.

### Compatibility Validation
Your AI client uses this to verify that two datasets can be mathematically compared.

## Use Cases

### Weather Normalization
Remove the impact of temperature spikes from electricity usage data to see true baseline demand.

### Site Comparison
Scale the energy usage of a small facility to match a larger one for direct profile comparison.

### Occupancy Adjustment
Strip out the influence of building occupancy levels from HVAC load profiles.

### Data Validation
Check if two time-series datasets have the same structure before running complex regressions.

## Benefits

- Removes environmental noise like weather from demand data.
- Aligns different energy profiles to a common magnitude.
- Prevents errors by validating data compatibility first.
- Provides mathematical similarity scores between datasets.

## How It Works

You connect the MCP to your AI client and then provide the time-series data for processing.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide the target and reference demand profiles to your agent.
3. Specify the normalization method, such as scaling or regression.
4. The MCP executes the math and returns the normalized data or similarity scores.

## Frequently Asked Questions

**How do I use this MCP with Claude?**
You connect your Claude client to Vinkius once. After that, you can ask Claude to perform normalization or scaling tasks using the tools provided in this MCP.

**Can I normalize data based on weather?**
Yes. You use the apply_covariate_regression_normalization tool to remove the influence of external variables like weather from your demand profiles.

**What happens if my profiles have different lengths?**
The validate_profile_compatibility tool will identify that they are incompatible, as mathematical alignment requires compatible data structures.

**Do I need to host the MCP myself?**
No. Vinkius hosts and manages the MCP for you. You connect your client and start using the tools immediately.

**Can this tool scale energy usage?**
Yes. The apply_scaling_normalization tool is designed to align the magnitude and energy of two profiles using specific scaling rules.

**How do I scale a profile to match the total energy of another?**
Use the `apply_scaling_normalization` tool and set the convention to 'total_energy'. This scales the target profile so its integral matches the reference.

**Can I remove the effect of temperature from my demand data?**
Yes, you can use `apply_covariate_regression_normalization` by providing temperature data as a covariate to strip its influence from the demand profile.

**How can I check if two profiles are compatible for comparison?**
You should use the `validate_profile_compatibility` tool to check if the profiles have matching lengths and valid numeric content before processing.
