Add sprinkler
add_sprinklerAdd a complete FDS sprinkler head by creating its device, link-temperature property, and water-droplet particle, using defaults or custom K-factor, pressure, flow rate, and spray profile.
Instructions
Convenience: add a complete sprinkler head (FDS 6.10.1). Creates DEVC + PROP (QUANTITY=SPRINKLER LINK TEMPERATURE) + water-droplet PART (SPEC_ID=WATER VAPOR) from the project default spray profile (standard pendant K80: K 80 L/(min·bar^½), 1.0 bar, 68 °C, RTI 100, SPRAY_ANGLE 30/80, 10 m/s, 1000 µm, 5000 particles/s). Flow: give k_factor+operating_pressure (FDS derives Q=K√p), or flow_rate (optionally with pressure/K). K alone or pressure alone is rejected by FDS (ERROR 238). Upright heads also spray downward (only SMOKEVIEW_ID differs). profile_id picks another shared spray profile (e.g. ESFR or water mist from spr_upsert_spray_profile); spray / particle override any other &PROP / &PART key for this head (same keys as spr_upsert_spray_profile prop / part); activation opens it by time / CTRL / at t=0. [bulc-mcp rules] DEVC-001, DEVC-009, SPR-010 — bulc_knowledge_search ""
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sprinkler base ID (e.g. SPRK_1) | |
| rti | No | Response Time Index (m·s)^½ (default 100; quick response ≤ 50) | |
| xyz | Yes | Position [x,y,z] | |
| spray | No | Other &PROP keys for this head (spr_upsert_spray_profile.prop keys, e.g. {"spray_pattern_shape":"UNIFORM","offset":0.1}) | |
| k_factor | No | K-factor, metric L/(min·bar^½) (default 80; US gpm/psi^½ × 14.41) | |
| particle | No | Other &PART droplet keys for this head (spr_upsert_spray_profile.part keys, e.g. {"distribution":"LOGNORMAL","sigma_d":0.6,"age":600}) | |
| flow_rate | No | Flow rate in L/min (optional — default derives from K and pressure) | |
| head_type | No | pendant | upright | sidewall (default pendant) | |
| activation | No | How the head opens: link (heat, default), time (DEVC TIME + SETPOINT), ctrl (CTRL_ID), initial (open at t=0). | |
| profile_id | No | Shared spray profile id (default: project default profile) | |
| orientation | No | Spray axis (default [0,0,-1]; sidewall e.g. [1,0,0]) | |
| spray_angle | No | Spray angle [min,max] degrees from the axis (default [30,80]; 4 values = x/y ellipse) | |
| droplet_diameter | No | Median volumetric droplet diameter D_v0.5 in μm (default 1000) | |
| particle_velocity | No | Droplet exit speed (m/s, default 10) | |
| operating_pressure | No | Operating pressure (bar, default 1.0) | |
| particles_per_second | No | Computational droplets per second per head (default 5000) | |
| activation_temperature | No | Activation temp (°C, default 68) |