Math & Numbers
Compute the Coefficient of Performance (COP) of a chiller / heat pump: COP = Q_c / W, where Q_c is the cooling capacity and W the work input (both in consistent power units; COP is dimensionless). Three modes: solve COP (given Q_c and W), solve cooling capacity (given COP and W), or solve input power (given COP and Q_c). Capacity in W/kW/BTU·h⁻¹/ton/kcal·h⁻¹, power in W/kW/hp; all converted to W internally.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/cop-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"cop","coolingCapacity":3500,"capacityUnit":"W","inputPower":1000,"powerUnit":"W","cop":0,"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/cop-calculator| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | No | Solve COP (needs Q_c and W), solve Cooling Capacity (needs COP and W), or solve Input Power (needs COP and Q_c). |
| coolingCapacity | number | Yes | Cooling capacity Q_c. Enter in the selected Capacity Unit. Required unless solving capacity. |
| capacityUnit | select | No | — |
| inputPower | number | Yes | Work input / electrical power W. Enter in the selected Power Unit. Required unless solving power. |
| powerUnit | select |
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-cop-calculator": {
"name": "cop-calculator",
"description": "Compute the Coefficient of Performance (COP) of a chiller / heat pump: COP = Q_c / W, where Q_c is the cooling capacity and W the work input (both in consistent power units; COP is dimensionless). Three modes: solve COP (given Q_c and W), solve cooling capacity (given COP and W), or solve input power (given COP and Q_c). Capacity in W/kW/BTU·h⁻¹/ton/kcal·h⁻¹, power in W/kW/hp; all converted to W internally.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cop-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": "cop-calculator",
"arguments": {
"mode": "cop",
"coolingCapacity": 3500,
"capacityUnit": "W",
"inputPower": 1000,
"powerUnit": "W",
"cop": 0,
"decimalPlaces": 4
}
}
}| No |
| — |
| cop | number | No | COP value (dimensionless). Required when solving capacity or power; ignored when solving COP. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]