Math & Numbers
湿空气状态参数计算器(焓湿图)
由干球温度 + 一种湿度输入(相对湿度 φ、湿球温度、露点温度或含湿量 W)计算湿空气全部状态参数:含湿量 W、相对湿度 φ、露点、湿球、焓 h、比容 v、水蒸气分压 P_w、饱和水蒸气分压 P_ws。采用 Magnus 饱和蒸汽压公式,湿球经热力学 psychrometric 方程迭代求解。默认标准大气 101.325 kPa(可改)。温度支持 °C/K/°F,结果以 °C 输出。
json· JSON 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/psychrometric-properties' \
-H 'Content-Type: application/json' \
-d '{"dryBulb":25,"tempUnit":"°C","humidityInput":"rh","humidityValue":50,"humidityRatioUnit":"g/kg","pressure":101.325,"pressureUnit":"kPa","decimalPlaces":4}'API 参考
以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
请求端点
HTTP
POST https://api.elysiatools.com/zh/api/tools/psychrometric-properties请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| dryBulb | number | 是 | Dry-bulb (ambient air) temperature, in the selected Temperature Unit. |
| tempUnit | select | 否 | — |
| humidityInput | select | 否 | Which humidity parameter the Humidity Input Value represents. |
| humidityValue | number | 是 | Value of the selected Known Humidity Input. RH in % (0–100); wet-bulb / dew-point in the selected Temperature Unit; humidity ratio in the selected Humidity Ratio Unit. |
| humidityRatioUnit | select | 否 |
MCP 集成
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
服务配置
将以下内容加入你的 MCP 客户端配置:
mcp.json
{
"mcpServers": {
"elysiatools-psychrometric-properties": {
"name": "psychrometric-properties",
"description": "由干球温度 + 一种湿度输入(相对湿度 φ、湿球温度、露点温度或含湿量 W)计算湿空气全部状态参数:含湿量 W、相对湿度 φ、露点、湿球、焓 h、比容 v、水蒸气分压 P_w、饱和水蒸气分压 P_ws。采用 Magnus 饱和蒸汽压公式,湿球经热力学 psychrometric 方程迭代求解。默认标准大气 101.325 kPa(可改)。温度支持 °C/K/°F,结果以 °C 输出。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=psychrometric-properties",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}列出可用工具
连接到 SSE 端点后,列出已开放的工具:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}调用此工具
通过工具 id 调用,参数由其参数表构建:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "psychrometric-properties",
"arguments": {
"dryBulb": 25,
"tempUnit": "°C",
"humidityInput": "rh",
"humidityValue": 50,
"humidityRatioUnit": "g/kg",
"pressure": 101.325,
"pressureUnit": "kPa",
"decimalPlaces": 4
}
}
}可用逗号分隔的 toolId 在一个会话中串联多个工具,例如 /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp(最多 20 个)。
有问题或反馈?请联系 [email protected]