Math & Numbers
Compute transformer or feeder voltage regulation from equivalent-circuit parameters: ΔU% ≈ (I·R·cosφ ± I·X·sinφ)/U·100. Returns both the approximate (linear) and exact (phasor) values; supports lagging, unity and leading power factor.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/voltage-regulation-calculator' \
-H 'Content-Type: application/json' \
-d '{"ratedVoltage":230,"R":0.5,"X":1.2,"loadCurrent":20,"powerFactor":0.8,"loadType":"lagging","decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/voltage-regulation-calculator| Name | Type | Required | Description |
|---|---|---|---|
| ratedVoltage | number | Yes | Rated terminal voltage at the considered side (primary or secondary). |
| R | number | Yes | Equivalent series resistance (transformer winding or line). |
| X | number | Yes | Equivalent series reactance (leakage reactance or line reactance). |
| loadCurrent | number | Yes | — |
| powerFactor | number | Yes |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-voltage-regulation-calculator": {
"name": "voltage-regulation-calculator",
"description": "Compute transformer or feeder voltage regulation from equivalent-circuit parameters: ΔU% ≈ (I·R·cosφ ± I·X·sinφ)/U·100. Returns both the approximate (linear) and exact (phasor) values; supports lagging, unity and leading power factor.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=voltage-regulation-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "voltage-regulation-calculator",
"arguments": {
"ratedVoltage": 230,
"R": 0.5,
"X": 1.2,
"loadCurrent": 20,
"powerFactor": 0.8,
"loadType": "lagging",
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| 0 < cosφ ≤ 1. Ignored (forced to 1) when Load Type is Unity. |
| loadType | select | No | — |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}