eng_pipe_wall
Pipe wall thickness (ASME B31.3) — Process piping wall thickness for internal pressure per ASME B31.3 304.1.2: t = PD/(2(SEW+PY)) plus corrosion allowance and mill tolerance, then checks Sch 10/40/80/160 for the given NPS (ASME B36.10M walls) and returns the lightest adequate schedule, the MAWP of every schedule, the D/6 thick-wall and P/SE > 0.385 limits, and a 1.5x hydrotest pressure. Built-in typical allowable stresses (to 800 F) for A106-B, A53-B, API 5L-B, A333-6 and A312 TP304/316/304L/316L. Required: p (design pressure, psig; barg with units=metric) and nps (e.g. 4, 1.5 or 1-1/2) or od (outside diameter, in or mm). Optional: temp (F or C, default 100 F), material (default a106-b), s (allowable stress psi or MPa, overrides material), quality (seamless, erw, efw-double, efw-single, furnace-butt) or e (joint factor), c (corrosion/thread allowance, in or mm), mill (mill tolerance %, default 12.5), y, w, units=metric. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"p": "<p>",
"nps": "<nps>"
},
"name": "eng_pipe_wall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes | e.g. 740 | |
| nps | Yes | e.g. 4 |