Spr upsert spray profile
spr_upsert_spray_profileCreate, update, or delete shared FDS spray profiles for sprinkler and water-mist heads, with presets, validation, and head assignment.
Instructions
Create, update or delete a shared SPRAY PROFILE — the FDS 6.10.1 &PROP+&PART template (flow, spray pattern, droplet size distribution, breakup, drag, evaporation, surface film, parcels) that sprinkler and water-mist heads reference. Omit id (or give a new id) to create: it starts from preset (default std_pendant_k80) or copy_from. With an existing id, preset overwrites its values, prop/part merge keys and unset_prop/unset_part return keys to the FDS default. Presets: standard, quick response, ESFR, residential, water mist low (12 bar) / intermediate (21 bar) / high (70-100 bar) — spr_list_summary {include_presets:true}. assign_to links heads to the profile (pipe heads take its K, activation temperature and RTI). Every edit is checked like FDS (K or pressure alone = ERROR 238, no DIAMETER = 214, equal SPRAY_ANGLE = 231, bad EVAP_MODEL = 224) for the profile and every head using it; on error nothing changes. Per-head overrides: spr_set_head_spray.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Profile id. Existing = update; new or omitted = create | |
| name | No | Display name | |
| part | No | FDS 6.10.1 &PART water-droplet keys (lowercase FDS names; diameters in µm). Unset = FDS default. | |
| prop | No | FDS 6.10.1 &PROP spray keys (lowercase FDS names, FDS units). Unset = FDS default. | |
| delete | No | Delete the profile (refused while heads use it or if it is the last one) | |
| preset | No | Preset to start from (new) or to overwrite the values with (existing) | |
| assign_to | No | Link heads to this profile | |
| copy_from | No | New profile = copy of this profile id | |
| unset_part | No | part keys to remove (FDS default) | |
| unset_prop | No | prop keys to remove (FDS default) | |
| fds_part_id | No | Fixed &PART ID written for this profile (for PART_ID in AMPUA/MPUV devices; "" = derive) | |
| fds_prop_id | No | Fixed &PROP ID written for this profile ("" = derive) | |
| make_default | No | Make it the project default profile (new heads and heads without a profile follow it) | |
| advanced_part | No | Extra raw &PART 'KEY=VALUE' entries; [] clears | |
| advanced_prop | No | Extra raw &PROP 'KEY=VALUE' entries (checked against the FDS 6.10.1 key list); [] clears |