Sprinkler demand gpm
sprinkler_demand_gpm
SPR-19-AREA-01 density-area sprinkler demand
Scores if within ±3% of the reference value.
Calculates source-bound fire-water metrics from a deterministic SSC-19 task-owned source pack. The template combines sprinkler density-area demand, hose allowance, sprinkler head discharge, hydrant water-supply curve, riser Hazen-Williams loss, elevation pressure loss, pump boost, tank storage duration, and an overall synthetic pass score.
with-tool: The model is given an executable Python calculator script.
Standards
One template produces many comparable benchmark tasks while keeping the scoring contract fixed.
01
The reusable contract shown on this page.
02
An archetype and site context are sampled.
03
Inputs may be hidden at harder tiers.
04
The model responds with the declared outputs.
Inputs the model receives, and the outputs it is scored on.
19 inputs
Included directly in every task prompt.
Sprinkler design area
sprinkler_design_area_ft2
SPR-19-AREA-01 remote sprinkler design area
Sprinkler density
sprinkler_density_gpm_ft2
HAZ-19-STORAGE-01 selected sprinkler density
Hose allowance
hose_allowance_gpm
CRIT-19-AHJ-01 hose allowance added to sprinkler demand
Sprinkler head k factor
sprinkler_head_k_factor_gpm_sqrt_psi
SPR-19-HEAD-01 sprinkler K factor
Minimum head pressure
minimum_head_pressure_psi
SPR-19-HEAD-01 minimum remote-head pressure
Installed remote head count
installed_remote_head_count
SPR-19-AREA-01 installed remote-area head count
Hydrant static pressure
hydrant_static_pressure_psi
HYD-19-TEST-01 hydrant static pressure
Hydrant residual pressure
hydrant_residual_pressure_psi
HYD-19-TEST-01 hydrant residual pressure at test flow
Hydrant test flow
hydrant_test_flow_gpm
HYD-19-TEST-01 measured hydrant test flow
Target residual pressure
target_residual_pressure_psi
CURVE-19-SUPPLY-01 target residual pressure for available flow
Riser pipe length
riser_pipe_length_ft
PIPE-19-RISER-01 riser pipe length
Riser fitting equivalent length
riser_fitting_equivalent_length_ft
PIPE-19-RISER-01 aggregate fitting equivalent length
Riser pipe internal diameter
riser_pipe_internal_diameter_in
PIPE-19-RISER-01 pipe internal diameter
Hazen williams c
hazen_williams_c
PIPE-19-RISER-01 Hazen-Williams C factor
Elevation gain
elevation_gain_ft
ELEV-19-ZONE-01 elevation gain from supply boundary to remote area
Pump boost pressure
pump_boost_pressure_psi
PUMP-19-BOOST-01 selected fire-water pump boost pressure
Remote area allowance
remote_area_allowance_psi
CRIT-19-AHJ-01 allowance above minimum head pressure for remote-area checks
Required duration
required_duration_min
TANK-19-STORAGE-01 fire-water storage duration
Available storage
available_storage_gal
TANK-19-STORAGE-01 available fire-water storage
21 outputs
sprinkler_demand_gpm
SPR-19-AREA-01 density-area sprinkler demand
Scores if within ±3% of the reference value.
total_fire_demand_gpm
Sprinkler demand plus CRIT-19-AHJ-01 hose allowance
Scores if within ±3% of the reference value.
sprinkler_head_discharge_gpm
SPR-19-HEAD-01 discharge per sprinkler head at minimum pressure
Scores if within ±3% of the reference value.
required_remote_head_count
Required remote-area head count from sprinkler demand and per-head discharge
Scores if within ±3% of the reference value.
remote_head_count_margin
Installed remote-area heads minus required remote-area heads
Scores if within ±3% of the reference value.
pressure_drop_test_psi
HYD-19-TEST-01 static minus residual pressure at test flow
Scores if within ±3% of the reference value.
supply_curve_coefficient
CURVE-19-SUPPLY-01 hydrant flow coefficient using exponent 0.54
Scores if within ±3% of the reference value.
available_flow_20psi_gpm
CURVE-19-SUPPLY-01 available flow at the target residual pressure
Scores if within ±3% of the reference value.
water_supply_flow_margin_gpm
Available flow at target residual pressure minus total fire demand
Scores if within ±3% of the reference value.
residual_pressure_at_demand_psi
Residual supply pressure on the hydrant curve at total fire demand
Scores if within ±3% of the reference value.
friction_loss_per_ft_psi
PIPE-19-RISER-01 Hazen-Williams friction loss per foot at total fire demand
Scores if within ±0.1% of the reference value.
equivalent_length_ft
Riser pipe length plus equivalent fitting length
Scores if within ±3% of the reference value.
total_friction_loss_psi
PIPE-19-RISER-01 total friction pressure loss
Scores if within ±3% of the reference value.
elevation_pressure_loss_psi
ELEV-19-ZONE-01 elevation pressure loss
Scores if within ±3% of the reference value.
available_riser_pressure_psi
Residual demand pressure minus riser friction and elevation losses
Scores if within ±3% of the reference value.
boosted_riser_pressure_psi
Available riser pressure after PUMP-19-BOOST-01 boost
Scores if within ±3% of the reference value.
required_riser_pressure_psi
Minimum remote-head pressure plus CRIT-19-AHJ-01 allowance
Scores if within ±3% of the reference value.
pressure_margin_psi
Boosted riser pressure minus required riser pressure
Scores if within ±3% of the reference value.
required_storage_gal
Total fire demand times required storage duration
Scores if within ±3% of the reference value.
storage_margin_gal
Available storage minus required storage
Scores if within ±3% of the reference value.
overall_pass_score
1.0 when head count, flow, pressure, and storage margins are non-negative
Scores if within ±0.1% of the reference value.
Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.
For this template, difficulty scales through parameter and scenario ranges rather than hidden information.
The exact instruction and parameter contract used to generate this task, pinned to the published library source.
/workspace
Teal lines show Jinja input conditions, not task visibility policy. A line renders only when that input or tool is visible.
1You are a fire protection engineer checking a task-owned synthetic SSC-19 fire-water, sprinkler demand, riser pressure, pump boost, and storage package.2 3Use only the task-owned synthetic source pack values shown below for numeric grading. NFPA 13, NFPA 291, EPA EPANET, FM property loss prevention data sheets, and AHJ fire-protection workflows shape the context only; this instance does not run hydraulic network software, parse real hydrant-test forms, verify a code clause, prove AHJ approval, or prove full fire-protection compliance.4 5## Scene6 7- Fire-water design case: `CASE-SSC19-FIRE-001`8- Hazard and storage basis: `HAZ-19-STORAGE-01`9- Hydrant test form: `HYD-19-TEST-01`10- Water-supply curve: `CURVE-19-SUPPLY-01`11- Sprinkler layout and remote area: `SPR-19-AREA-01`12- Sprinkler head schedule: `SPR-19-HEAD-01`13- Riser schematic: `PIPE-19-RISER-01`14- Elevation zone record: `ELEV-19-ZONE-01`15- Fire-water pump boost schedule: `PUMP-19-BOOST-01`16- Fire-water storage tank: `TANK-19-STORAGE-01`17- AHJ design criterion: `CRIT-19-AHJ-01`18- Fire-water memo: `MEMO-19-FIRE-WATER-01`19 20## Sprinkler Demand Basis21 22| Item | Value |23|------|-------|24| Remote sprinkler design area | {{ sprinkler_design_area_ft2 }} ft2 |25| Sprinkler density | {{ sprinkler_density_gpm_ft2 }} gpm/ft2 |26| Hose allowance | {{ hose_allowance_gpm }} gpm |27| Sprinkler K factor | {{ sprinkler_head_k_factor_gpm_sqrt_psi }} gpm/sqrt(psi) |28| Minimum remote-head pressure | {{ minimum_head_pressure_psi }} psi |29| Installed remote-area head count | {{ installed_remote_head_count }} |30 31Sprinkler checks:32 33- Sprinkler demand equals design area times sprinkler density.34- Total fire demand equals sprinkler demand plus hose allowance.35- Sprinkler head discharge equals `sprinkler_head_k_factor_gpm_sqrt_psi x sqrt(minimum_head_pressure_psi)`.36- Required remote-head count equals `ceil(sprinkler_demand_gpm / sprinkler_head_discharge_gpm)`.37- Remote-head count margin equals installed remote head count minus required remote-head count.38 39## Water Supply And Riser Basis40 41| Item | Value |42|------|-------|43| Hydrant static pressure | {{ hydrant_static_pressure_psi }} psi |44| Hydrant residual pressure | {{ hydrant_residual_pressure_psi }} psi |45| Hydrant test flow | {{ hydrant_test_flow_gpm }} gpm |46| Target residual pressure | {{ target_residual_pressure_psi }} psi |47| Riser pipe length | {{ riser_pipe_length_ft }} ft |48| Riser fitting equivalent length | {{ riser_fitting_equivalent_length_ft }} ft |49| Riser pipe internal diameter | {{ riser_pipe_internal_diameter_in }} in |50| Hazen-Williams C | {{ hazen_williams_c }} |51| Elevation gain | {{ elevation_gain_ft }} ft |52 53Water-supply and riser checks:54 55- Pressure drop at test flow equals static pressure minus residual pressure.56- Supply curve coefficient equals `hydrant_test_flow_gpm / pressure_drop_test_psi^0.54`.57- Available flow at the target residual pressure equals `supply_curve_coefficient x (hydrant_static_pressure_psi - target_residual_pressure_psi)^0.54`.58- Water-supply flow margin equals available flow at target residual pressure minus total fire demand.59- Residual pressure at total fire demand equals `hydrant_static_pressure_psi - (total_fire_demand_gpm / supply_curve_coefficient)^(1 / 0.54)`.60- Friction loss per foot equals `4.52 x total_fire_demand_gpm^1.85 / (hazen_williams_c^1.85 x riser_pipe_internal_diameter_in^4.87)`.61- Equivalent length equals riser pipe length plus fitting equivalent length.62- Total friction loss equals friction loss per foot times equivalent length.63- Elevation pressure loss equals `0.433 x elevation_gain_ft`.64- Available riser pressure equals residual pressure at demand minus total friction loss and elevation pressure loss.65 66## Pump Boost And Storage Basis67 68| Item | Value |69|------|-------|70| Selected fire-water pump boost | {{ pump_boost_pressure_psi }} psi |71| Remote-area pressure allowance | {{ remote_area_allowance_psi }} psi |72| Required storage duration | {{ required_duration_min }} min |73| Available fire-water storage | {{ available_storage_gal }} gal |74 75Pump and storage checks:76 77- Boosted riser pressure equals available riser pressure plus selected fire-water pump boost.78- Required riser pressure equals minimum remote-head pressure plus remote-area pressure allowance.79- Pressure margin equals boosted riser pressure minus required riser pressure.80- Required storage equals total fire demand times required storage duration.81- Storage margin equals available storage minus required storage.82- Overall pass score is `1.0` only when remote-head count margin, water-supply flow margin, pressure margin, and storage margin are all non-negative; otherwise it is `0.0`.83 84## Output Format85 86Write a compact memo to `/workspace/output.md`. Include a source-boundary statement that this is a task-owned synthetic source pack. Explain the calculations briefly, preserve the object IDs above, and state whether the baseline source pack passes the current docs-only checks.87 88Do not claim authority approval, accepted project evidence, hydraulic software export validity, full standards compliance, executable real source-pack parsing, generated EPANET/fire-model evidence, generated benchmark readiness, or benchmark readiness.89 90Include a fenced JSON block with exactly these numeric keys:91 92```json93{94 "sprinkler_demand_gpm": <numeric_value>,95 "total_fire_demand_gpm": <numeric_value>,96 "sprinkler_head_discharge_gpm": <numeric_value>,97 "required_remote_head_count": <numeric_value>,98 "remote_head_count_margin": <numeric_value>,99 "pressure_drop_test_psi": <numeric_value>,100 "supply_curve_coefficient": <numeric_value>,101 "available_flow_20psi_gpm": <numeric_value>,102 "water_supply_flow_margin_gpm": <numeric_value>,103 "residual_pressure_at_demand_psi": <numeric_value>,104 "friction_loss_per_ft_psi": <numeric_value>,105 "equivalent_length_ft": <numeric_value>,106 "total_friction_loss_psi": <numeric_value>,107 "elevation_pressure_loss_psi": <numeric_value>,108 "available_riser_pressure_psi": <numeric_value>,109 "boosted_riser_pressure_psi": <numeric_value>,110 "required_riser_pressure_psi": <numeric_value>,111 "pressure_margin_psi": <numeric_value>,112 "required_storage_gal": <numeric_value>,113 "storage_margin_gal": <numeric_value>,114 "overall_pass_score": <numeric_value>115}116```117 Each generated task is drawn from one of these realistic scenario bands.
Site contexts ground each scenario in a real locale the model can use to infer hidden values.
ssc19_fire_water_case
Fire-water sprinkler storage case with hydrant test, hazard basis, riser, pump boost, and storage tank
sprinkler-storage-hazard-check-ssc19-fire-water-case-preview — easy difficulty, all inputs given.
Fire-water sprinkler storage case with hydrant test, hazard basis, riser, pump boost, and storage tank. sprinkler-storage-hazard-check. Required outputs: sprinkler_demand_gpm, total_fire_demand_gpm, sprinkler_head_discharge_gpm, required_remote_head_count, remote_head_count_margin, pressure_drop_test_psi
Scenario context and visible inputs.
Executable tool: fire-water-sprinkler-storage-package_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"sprinkler_demand_gpm": <number>,
"total_fire_demand_gpm": <number>,
"sprinkler_head_discharge_gpm": <number>,
"required_remote_head_count": <number>,
"remote_head_count_margin": <number>,
"pressure_drop_test_psi": <number>,
"supply_curve_coefficient": <number>,
"available_flow_20psi_gpm": <number>,
"water_supply_flow_margin_gpm": <number>,
"residual_pressure_at_demand_psi": <number>,
"friction_loss_per_ft_psi": <number>,
"equivalent_length_ft": <number>,
"total_friction_loss_psi": <number>,
"elevation_pressure_loss_psi": <number>,
"available_riser_pressure_psi": <number>,
"boosted_riser_pressure_psi": <number>,
"required_riser_pressure_psi": <number>,
"pressure_margin_psi": <number>,
"required_storage_gal": <number>,
"storage_margin_gal": <number>,
"overall_pass_score": <number>
}