Spr update pipe
spr_update_pipeUpdate properties of an existing pipe: diameter, standard, Hazen-Williams C, line number, and inline valves, including open/closed state, tags, and zones.
Instructions
Update properties of an existing pipe: diameter, pipe standard (C resets to the standard default), Hazen-Williams C, line number, and the inline valve list (replaces all valves; [] removes them; valveDetails sets open/closed, tag, zone). For many pipes use spr_set_pipes; to open/close one valve use spr_set_valves. [bulc-mcp rules] SPR-008, SPR-005, SPR-016 — bulc_knowledge_search ""
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pipe ID | |
| lineNo | No | Line number ("" removes it) | |
| valves | No | Replace the inline valves on this pipe: gate_valve | butterfly_valve | check_valve | alarm_valve | globe_valve | angle_valve ([] = none) | |
| cFactor | No | Hazen-Williams C used by the hydraulic calculation (e.g. 100 dry black steel, 120 wet steel, 150 CPVC/stainless) | |
| diameter | No | New nominal diameter (mm) | |
| material | No | Pipe standard id (schedule included). Building: KSD3507 | CPVC | STS304 | ASTM_SCH40. Marine/plant: JIS_G3454_STPG_SCH40/SCH80, KS_D3562_SPPS_SCH40/SCH80, JIS_G3452_SGP, JIS_G3459_SUS_SCH10S/SCH40, ASTM_A53_A106_SCH40/SCH80, DIN86019_CUNI10FE (CuNi 90/10), … (enum). C resets to the standard default unless cFactor is given. | |
| valveDetails | No | Valves with state: [{type, open (false = closed → pipe excluded), tag (e.g. WS-11U), zone (zone valve: open only in "all" and that zone), position 0..1}]. Overrides valves. |