Math & Numbers
按 ASHRAE 简化稳态法估算制冷负荷:围护结构显热 Q_trans=Σ(A_i·U_i·ΔT)(每行输入「面积,U 值」),渗风/新风显热 Q_s=1.23·ACH·V·ΔT,潜热 Q_l=3010·ACH·V·ΔW(ΔW 为室内外含湿量差,由干球温度与相对湿度经 Magnus 公式算出)。总冷负荷=总显热+总潜热。温度支持 °C/K/°F(仅用于差值),面积支持 m²/ft²。ΔT 为室外高于室内,否则按显热方向自动取值。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/cooling-load-calculator' \
-H 'Content-Type: application/json' \
-d '{"surfaces":"50, 0.5\n10, 1.8","areaUnit":"m2","indoorTemp":24,"outdoorTemp":33,"tempUnit":"°C","indoorRH":50,"outdoorRH":70,"volume":120,"ach":0.5,"decimalPlaces":2}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/cooling-load-calculator| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| surfaces | textarea | 是 | One envelope surface per line as 'area,U-value'. U in W/(m²·K). Area in the selected Area Unit. Example line: 50, 0.5 |
| areaUnit | select | 否 | — |
| indoorTemp | number | 是 | Indoor dry-bulb temperature, in the selected Temperature Unit. |
| outdoorTemp | number | 是 | Outdoor dry-bulb temperature, in the selected Temperature Unit. |
| tempUnit | select | 否 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-cooling-load-calculator": {
"name": "cooling-load-calculator",
"description": "按 ASHRAE 简化稳态法估算制冷负荷:围护结构显热 Q_trans=Σ(A_i·U_i·ΔT)(每行输入「面积,U 值」),渗风/新风显热 Q_s=1.23·ACH·V·ΔT,潜热 Q_l=3010·ACH·V·ΔW(ΔW 为室内外含湿量差,由干球温度与相对湿度经 Magnus 公式算出)。总冷负荷=总显热+总潜热。温度支持 °C/K/°F(仅用于差值),面积支持 m²/ft²。ΔT 为室外高于室内,否则按显热方向自动取值。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cooling-load-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "cooling-load-calculator",
"arguments": {
"surfaces": "50, 0.5\n10, 1.8",
"areaUnit": "m2",
"indoorTemp": 24,
"outdoorTemp": 33,
"tempUnit": "°C",
"indoorRH": 50,
"outdoorRH": 70,
"volume": 120,
"ach": 0.5,
"decimalPlaces": 2
}
}
}有问题或反馈?请联系 [email protected]
| — |
| indoorRH | number | 是 | Indoor relative humidity (%). |
| outdoorRH | number | 是 | Outdoor relative humidity (%). |
| volume | number | 是 | Room (conditioned space) volume V in m³. |
| ach | number | 是 | Air-change rate ACH (1/h), combined infiltration/ventilation. Default 0.5. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}