Math & Numbers
用 Magnus 饱和蒸汽压公式计算空气露点温度:P_ws(T)=0.6108·exp(17.27·T/(T+237.3)),P_w=φ·P_ws,T_dp=237.3·ln(P_w/0.6108)/(17.27−ln(P_w/0.6108))。同时输出饱和水蒸气分压 P_ws、实际水蒸气分压 P_w 与绝对湿度 ρ_v。支持三种输入:相对湿度 φ(自然通风湿球)、August 自然通风湿球 T_w、通风湿球 T_wa(Assmann)。温度支持 °C/K/°F,结果以 °C 输出。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/dew-point-calculator-hvac' \
-H 'Content-Type: application/json' \
-d '{"dryBulb":25,"tempUnit":"°C","humidityMode":"rh","humidityValue":50,"pressure":101.325,"pressureUnit":"kPa","decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/dew-point-calculator-hvac| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| dryBulb | number | 是 | Dry-bulb (ambient air) temperature, in the selected Temperature Unit. |
| tempUnit | select | 否 | — |
| humidityMode | select | 否 | What the Humidity Value represents: relative humidity (φ), August natural-ventilated wet-bulb (T_w), or aspirated/Assmann wet-bulb (T_wa). |
| humidityValue | number | 是 | Value of the selected Humidity Input Mode. RH in % (0–100); wet-bulb temperatures in the selected Temperature Unit. |
| pressure | number | 否 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-dew-point-calculator-hvac": {
"name": "dew-point-calculator-hvac",
"description": "用 Magnus 饱和蒸汽压公式计算空气露点温度:P_ws(T)=0.6108·exp(17.27·T/(T+237.3)),P_w=φ·P_ws,T_dp=237.3·ln(P_w/0.6108)/(17.27−ln(P_w/0.6108))。同时输出饱和水蒸气分压 P_ws、实际水蒸气分压 P_w 与绝对湿度 ρ_v。支持三种输入:相对湿度 φ(自然通风湿球)、August 自然通风湿球 T_w、通风湿球 T_wa(Assmann)。温度支持 °C/K/°F,结果以 °C 输出。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=dew-point-calculator-hvac",
"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": "dew-point-calculator-hvac",
"arguments": {
"dryBulb": 25,
"tempUnit": "°C",
"humidityMode": "rh",
"humidityValue": 50,
"pressure": 101.325,
"pressureUnit": "kPa",
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| Total atmospheric pressure P, in the selected Pressure Unit. Default 101.325 kPa (sea level). |
| pressureUnit | select | 否 | — |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}