Elysia Tools Docs
ZH
语言
ZHESPTRUFRDEEN
返回主站
浏览工具

Math & Numbers

泵 NPSH(净正吸入压头)计算与汽蚀校核

计算泵的可用净正吸入压头 NPSH_a = (p_surface - p_vapor)/(ρ·g) + H_static - h_friction(单位 m)。液面压力与蒸汽压均为绝对压力;H_static 为正表示灌注(液面高于泵),为负表示吸上(液面低于泵)。再与泵曲线给出的 NPSH_r 比较,给出裕量 margin = NPSH_a - NPSH_r 与比值 ratio = NPSH_a/NPSH_r,并判定为 safe(安全)、marginal(临界,裕量 < 0.5 m)或 cavitation likely(易发生汽蚀)。若 NPSH_r = 0,则仅输出 NPSH_a。压力支持 Pa/kPa/bar/atm/psi,长度支持 m/ft,密度支持 kg/m³/g/cm³/lb/ft³。

json· JSON 结果打开工具

快速开始

用三种语言从你的代码中调用此工具。

cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/pump-npsh-calculator' \
  -H 'Content-Type: application/json' \
  -d '{"surfacePressure":1,"pressureUnit":"atm","vaporPressure":2.34,"vaporPressureUnit":"kPa","staticHead":2,"staticHeadUnit":"m","frictionLoss":0.5,"frictionUnit":"m","density":1000,"densityUnit":"kg/m3","gravity":9.81,"npshRequired":3,"npshUnit":"m","decimalPlaces":4}'

API 参考

以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。

请求端点

HTTP
POST https://api.elysiatools.com/zh/api/tools/pump-npsh-calculator

请求参数

参数名类型必填说明
surfacePressurenumber是Absolute pressure at the liquid surface (p_surface). Enter in the selected Pressure Unit.
pressureUnitselect否—
vaporPressurenumber是Absolute vapor pressure of the liquid at pumping temperature (p_vapor). Enter in the selected Vapor Pressure Unit.
vaporPressureUnitselect否—
staticHeadnumber是

MCP 集成

将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。

服务配置

将以下内容加入你的 MCP 客户端配置:

mcp.json
{
  "mcpServers": {
    "elysiatools-pump-npsh-calculator": {
      "name": "pump-npsh-calculator",
      "description": "计算泵的可用净正吸入压头 NPSH_a = (p_surface - p_vapor)/(ρ·g) + H_static - h_friction(单位 m)。液面压力与蒸汽压均为绝对压力;H_static 为正表示灌注(液面高于泵),为负表示吸上(液面低于泵)。再与泵曲线给出的 NPSH_r 比较,给出裕量 margin = NPSH_a - NPSH_r 与比值 ratio = NPSH_a/NPSH_r,并判定为 safe(安全)、marginal(临界,裕量 < 0.5 m)或 cavitation likely(易发生汽蚀)。若 NPSH_r = 0,则仅输出 NPSH_a。压力支持 Pa/kPa/bar/atm/psi,长度支持 m/ft,密度支持 kg/m³/g/cm³/lb/ft³。",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pump-npsh-calculator",
      "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": "pump-npsh-calculator",
    "arguments": {
  "surfacePressure": 1,
  "pressureUnit": "atm",
  "vaporPressure": 2.34,
  "vaporPressureUnit": "kPa",
  "staticHead": 2,
  "staticHeadUnit": "m",
  "frictionLoss": 0.5,
  "frictionUnit": "m",
  "density": 1000,
  "densityUnit": "kg/m3",
  "gravity": 9.81,
  "npshRequired": 3,
  "npshUnit": "m",
  "decimalPlaces": 4
}
  }
}
可用逗号分隔的 toolId 在一个会话中串联多个工具,例如 /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp(最多 20 个)。
浏览工具打开工具

© 2026 Elysia Tools. 开发者文档。

返回主站浏览工具
Elevation of liquid surface above pump centerline (H_static). Positive if liquid level is above the pump (flooded suction), negative for suction lift. Enter in the selected Static Head Unit.
staticHeadUnitselect否—
frictionLossnumber否Suction-line friction head loss (h_friction), already computed. Enter in the selected Friction Loss Unit.
frictionUnitselect否—
densitynumber否Liquid density (ρ). Enter in the selected Density Unit.
densityUnitselect否—
gravitynumber否Gravitational acceleration g in m/s².
npshRequirednumber否The pump's required NPSH (NPSH_r) from its curve. Enter in the selected NPSH Unit. If 0, the cavitation comparison is skipped and only NPSH_a is reported.
npshUnitselect否—
decimalPlacesnumber否—

响应格式

JSON 结果

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}

有问题或反馈?请联系 [email protected]