Math & Numbers
按 Stefan-Boltzmann 定律计算黑体/灰体热辐射:黑体辐射力 E_b=σ·T⁴(W/m²)、总辐射功率 Q_rad=ε·σ·A·T⁴(W);可选环境温度 T₀ 时再算净辐射 Q_net=ε·σ·A·(T⁴-T₀⁴)(W)。σ=5.670374419e-8 W/(m²·K⁴);ε 为发射率(0<ε≤1,黑体 ε=1);T 为绝对温度(K),°C、°F 需先换算为 K(注意是绝对温度而非温差);A 为辐射面积。面积支持 m²/cm²。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/heat-radiation-calculator' \
-H 'Content-Type: application/json' \
-d '{"emissivity":1,"temperature":300,"tempUnit":"K","area":1,"areaUnit":"m2","coldTemperature":0,"decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/heat-radiation-calculator| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| emissivity | number | 是 | Emissivity ε of the surface (0 < ε ≤ 1). Use ε = 1 for an ideal blackbody. |
| temperature | number | 是 | ABSOLUTE temperature T of the radiating surface, in the selected Temperature Unit. Must be > 0 K after conversion. |
| tempUnit | select | 否 | Unit of the surface temperature. This is an ABSOLUTE temperature, not a difference: °C→K adds 273.15, °F→K uses (T-32)·5/9+273.15. |
| area | number | 否 | Radiating surface area A, in the selected Area Unit. |
| areaUnit | select |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-heat-radiation-calculator": {
"name": "heat-radiation-calculator",
"description": "按 Stefan-Boltzmann 定律计算黑体/灰体热辐射:黑体辐射力 E_b=σ·T⁴(W/m²)、总辐射功率 Q_rad=ε·σ·A·T⁴(W);可选环境温度 T₀ 时再算净辐射 Q_net=ε·σ·A·(T⁴-T₀⁴)(W)。σ=5.670374419e-8 W/(m²·K⁴);ε 为发射率(0<ε≤1,黑体 ε=1);T 为绝对温度(K),°C、°F 需先换算为 K(注意是绝对温度而非温差);A 为辐射面积。面积支持 m²/cm²。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=heat-radiation-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": "heat-radiation-calculator",
"arguments": {
"emissivity": 1,
"temperature": 300,
"tempUnit": "K",
"area": 1,
"areaUnit": "m2",
"coldTemperature": 0,
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| — |
| coldTemperature | number | 否 | Optional surrounding (cold) temperature T₀, in the same Temperature Unit as T. When provided, the net radiative exchange Q_net = ε·σ·A·(T⁴-T₀⁴) is also computed. Leave blank to skip. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}