{
 "schema": "nativebim.showcase-sprinkler-plenum-report/1",
 "notice": "Preliminary sprinkler layout and hydraulic screening, not engineering and not for construction. Heads, pipe sizes and pressures come from simplified rules and configurable default values taken from public summaries of NFPA 13, not from the standard itself; a qualified fire protection designer lays out and calculates the system under the edition the authority having jurisdiction adopts. Outputs are drafts for review by the licensed professional of record.",
 "command": "node tools/showcase/build.js sprinkler-plenum",
 "method": "Light hazard, wet pipe, standard-coverage pendent heads on a uniform grid per bay; a tree pipe system routed orthogonally from one source; Hazen-Williams friction with fittings as equivalent lengths, elevation, Q = K sqrt(P) at each head, junctions balanced exactly by Newton's method; the hydraulically most remote design area against a supply curve with the hose stream allowance added.",
 "supply": {
  "static": 550000,
  "residual": 420000,
  "flow": 0.025,
  "assumption": true
 },
 "governingRoom": "105",
 "rooms": [
  {
   "number": "101",
   "name": "Open office west",
   "heads": [
    {
     "index": 0,
     "at": [
      2,
      1.62,
      2.7
     ],
     "area": 17.52,
     "S": 4,
     "L": 4.38,
     "minFlow": 0.0011897783333333334,
     "inDesignArea": true,
     "moved": {
      "from": [
       2,
       2
      ],
      "by": 28
     },
     "flow": 0.0022461780662039084,
     "pressure": 283799.01966162364,
     "required": 79625.9521389063
    },
    {
     "index": 1,
     "at": [
      5.9,
      2,
      2.7
     ],
     "area": 16.4,
     "S": 4.1,
     "L": 4,
     "minFlow": 0.0011137194444444446,
     "inDesignArea": true,
     "moved": {
      "from": [
       6,
       2
      ],
      "by": 34
     },
     "flow": 0.001992381150765117,
     "pressure": 223289.02405823246,
     "required": 69770.86880251739
    },
    {
     "index": 2,
     "at": [
      10,
      2,
      2.7
     ],
     "area": 16.4,
     "S": 4.1,
     "L": 4,
     "minFlow": 0.0011137194444444446,
     "inDesignArea": true,
     "flow": 0.0016255904481815126,
     "pressure": 148643.11716856714,
     "required": 69770.86880251739
    },
    {
     "index": 3,
     "at": [
      2,
      6,
      2.7
     ],
     "area": 17.52,
     "S": 4,
     "L": 4.38,
     "minFlow": 0.0011897783333333334,
     "inDesignArea": true,
     "flow": 0.0019200308516032097,
     "pressure": 207366.66399983328,
     "required": 79625.9521389063
    },
    {
     "index": 4,
     "at": [
      6,
      6,
      2.7
     ],
     "area": 16,
     "S": 4,
     "L": 4,
     "minFlow": 0.0010865555555555557,
     "inDesignArea": true,
     "flow": 0.0010865555555555557,
     "pressure": 66408.91736111109,
     "required": 66408.91736111113
    },
    {
     "index": 5,
     "at": [
      10,
      6,
      2.7
     ],
     "area": 16,
     "S": 4,
     "L": 4,
     "minFlow": 0.0010865555555555557,
     "inDesignArea": true,
     "flow": 0.0012130332091330699,
     "pressure": 82769.03811335666,
     "required": 66408.91736111113
    }
   ],
   "designArea": {
    "heads": [
     0,
     1,
     2,
     3,
     4,
     5
    ],
    "count": 6,
    "area": 99.84,
    "designArea": 139.35456000000002,
    "seed": 0,
    "candidates": 1
   },
   "hydraulics": {
    "sourcePressure": 322581.81796432624,
    "sourceFlow": 0.010083769281442372,
    "hoseStream": 0.00630901964,
    "demandFlow": 0.016392788921442372,
    "governingHead": 4,
    "iterations": 5,
    "supply": {
     "static": 550000,
     "residual": 420000,
     "flow": 0.025,
     "available": 490452.6961034265,
     "margin": 167870.87813910027,
     "ok": true
    }
   },
   "pipes": [
    {
     "chain": 0,
     "parent": -1,
     "head": null,
     "diameter": 0.05,
     "length": 2.295,
     "dz": -0.125,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 0,
     "equivalentLength": 5.295,
     "flow": 0.010083769281442372,
     "velocity": 5.135621523647242,
     "friction": 34042.72839907892
    },
    {
     "chain": 1,
     "parent": 0,
     "head": 0,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0022461780662039084,
     "velocity": 4.575876381452115,
     "friction": 6700.816803409285
    },
    {
     "chain": 2,
     "parent": 0,
     "head": null,
     "diameter": 0.05,
     "length": 0.476,
     "dz": 0,
     "elbows": 0,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 3.476,
     "flow": 0.007837591215238464,
     "velocity": 3.9916524282842127,
     "friction": 14013.762154196738
    },
    {
     "chain": 3,
     "parent": 2,
     "head": 3,
     "diameter": 0.025,
     "length": 4.931,
     "dz": -0.075,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 7.930999999999999,
     "flow": 0.0019200308516032097,
     "velocity": 3.9114547317963795,
     "friction": 69119.4103110029
    },
    {
     "chain": 4,
     "parent": 2,
     "head": null,
     "diameter": 0.04,
     "length": 3.298,
     "dz": 0,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 4.098,
     "flow": 0.005917560363635255,
     "velocity": 4.709044914586122,
     "friction": 29108.48080029628
    },
    {
     "chain": 5,
     "parent": 4,
     "head": null,
     "diameter": 0.032,
     "length": 4.854,
     "dz": 0,
     "elbows": 3,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 9.654,
     "flow": 0.003925179212870138,
     "velocity": 4.880559955076854,
     "friction": 95052.7987989355
    },
    {
     "chain": 6,
     "parent": 5,
     "head": 2,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0016255904481815126,
     "velocity": 3.311625667469533,
     "friction": 3681.677543037212
    },
    {
     "chain": 7,
     "parent": 5,
     "head": null,
     "diameter": 0.025,
     "length": 3.725,
     "dz": 0,
     "elbows": 0,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 5.225,
     "flow": 0.0022995887646886258,
     "velocity": 4.684683762928385,
     "friction": 63598.621070200184
    },
    {
     "chain": 8,
     "parent": 7,
     "head": 5,
     "diameter": 0.025,
     "length": 0.35,
     "dz": -0.075,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 1.6,
     "flow": 0.0012130332091330699,
     "velocity": 2.471170961512357,
     "friction": 5957.135528047546
    },
    {
     "chain": 9,
     "parent": 7,
     "head": 4,
     "diameter": 0.025,
     "length": 4.35,
     "dz": -0.075,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 7.35,
     "flow": 0.0010865555555555557,
     "velocity": 2.213512801416028,
     "friction": 22317.256280293095
    },
    {
     "chain": 10,
     "parent": 4,
     "head": 1,
     "diameter": 0.025,
     "length": 0.581,
     "dz": -0.075,
     "elbows": 2,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 2.581,
     "flow": 0.001992381150765117,
     "velocity": 4.058845550942555,
     "friction": 24088.569452307416
    }
   ],
   "sizing": {
    "routedDiameter": 0.05,
    "passes": 2,
    "upsized": 6,
    "minMargin": 0,
    "notes": [
     "pass 1: the sizing reached DN50, over the routed DN40; routed again"
    ],
    "sizes": [
     0.025,
     0.032,
     0.04,
     0.05
    ]
   },
   "routing": {
    "length": 25.01,
    "bends": 12,
    "tees": 5,
    "runs": 11
   },
   "layoutChecks": {
    "ok": true,
    "violations": []
   }
  },
  {
   "number": "102",
   "name": "Meeting room 1",
   "heads": [
    {
     "index": 0,
     "at": [
      13.5,
      1.62,
      2.7
     ],
     "area": 13.14,
     "S": 3,
     "L": 4.38,
     "minFlow": 0.0008923337500000002,
     "inDesignArea": true,
     "moved": {
      "from": [
       13.5,
       2
      ],
      "by": 13
     },
     "flow": 0.0014850219683651374,
     "pressure": 124047.57636714753,
     "required": 48263.301052176
    },
    {
     "index": 1,
     "at": [
      16.5,
      1.62,
      2.7
     ],
     "area": 13.14,
     "S": 3,
     "L": 4.38,
     "minFlow": 0.0008923337500000002,
     "inDesignArea": true,
     "moved": {
      "from": [
       16.5,
       2
      ],
      "by": 16
     },
     "flow": 0.001291559009181622,
     "pressure": 93832.01292364942,
     "required": 48263.301052176
    },
    {
     "index": 2,
     "at": [
      13.5,
      6,
      2.7
     ],
     "area": 13.14,
     "S": 3,
     "L": 4.38,
     "minFlow": 0.0008923337500000002,
     "inDesignArea": true,
     "flow": 0.0009646740074185822,
     "pressure": 52346.02165813266,
     "required": 48263.301052176
    },
    {
     "index": 3,
     "at": [
      16.5,
      6,
      2.7
     ],
     "area": 13.14,
     "S": 3,
     "L": 4.38,
     "minFlow": 0.0008923337500000002,
     "inDesignArea": true,
     "flow": 0.0009262905812581572,
     "pressure": 48263.30105217598,
     "required": 48263.301052176
    }
   ],
   "designArea": {
    "heads": [
     0,
     1,
     2,
     3
    ],
    "count": 4,
    "area": 52.56,
    "designArea": 139.35456000000002,
    "seed": 0,
    "candidates": 1
   },
   "hydraulics": {
    "sourcePressure": 175686.88885082895,
    "sourceFlow": 0.004667545566223499,
    "hoseStream": 0.00630901964,
    "demandFlow": 0.010976565206223499,
    "governingHead": 3,
    "iterations": 4,
    "supply": {
     "static": 550000,
     "residual": 420000,
     "flow": 0.025,
     "available": 521645.80705370364,
     "margin": 345958.9182028747,
     "ok": true
    }
   },
   "pipes": [
    {
     "chain": 0,
     "parent": -1,
     "head": null,
     "diameter": 0.032,
     "length": 1.804,
     "dz": -0.134,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 0,
     "equivalentLength": 3.724,
     "flow": 0.004667545566223499,
     "velocity": 5.8036167888369485,
     "friction": 50534.91457669837
    },
    {
     "chain": 1,
     "parent": 0,
     "head": 0,
     "diameter": 0.025,
     "length": 0.066,
     "dz": -0.066,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5659999999999998,
     "flow": 0.0014850219683651374,
     "velocity": 3.0252619118767083,
     "friction": 3065.144806768651
    },
    {
     "chain": 2,
     "parent": 0,
     "head": null,
     "diameter": 0.032,
     "length": 0.967,
     "dz": 0,
     "elbows": 0,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 2.8870000000000005,
     "flow": 0.0031825235978583614,
     "velocity": 3.9571434539512618,
     "friction": 19275.679031580792
    },
    {
     "chain": 3,
     "parent": 2,
     "head": null,
     "diameter": 0.025,
     "length": 4.096,
     "dz": 0,
     "elbows": 0,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 5.596,
     "flow": 0.0018909645886767395,
     "velocity": 3.852241427195337,
     "friction": 47411.16534143448
    },
    {
     "chain": 4,
     "parent": 3,
     "head": 2,
     "diameter": 0.025,
     "length": 1.317,
     "dz": -0.066,
     "elbows": 2,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 3.317,
     "flow": 0.0009646740074185822,
     "velocity": 1.965217750437569,
     "friction": 8079.855142768246
    },
    {
     "chain": 5,
     "parent": 3,
     "head": 3,
     "diameter": 0.025,
     "length": 2.383,
     "dz": -0.066,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 5.382999999999999,
     "flow": 0.0009262905812581572,
     "velocity": 1.8870236767577684,
     "friction": 12162.57574872492
    },
    {
     "chain": 6,
     "parent": 2,
     "head": 1,
     "diameter": 0.025,
     "length": 2.099,
     "dz": -0.066,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 3.3489999999999993,
     "flow": 0.001291559009181622,
     "velocity": 2.6311424077584094,
     "friction": 14005.029218685966
    }
   ],
   "sizing": {
    "routedDiameter": 0.032,
    "passes": 1,
    "upsized": 1,
    "minMargin": 0,
    "notes": [],
    "sizes": [
     0.025,
     0.032
    ]
   },
   "routing": {
    "length": 12.732,
    "bends": 7,
    "tees": 3,
    "runs": 7
   },
   "layoutChecks": {
    "ok": true,
    "violations": []
   }
  },
  {
   "number": "103",
   "name": "Meeting room 2",
   "heads": [
    {
     "index": 0,
     "at": [
      19.5,
      2,
      2.7
     ],
     "area": 12,
     "S": 3,
     "L": 4,
     "minFlow": 0.0008149166666666667,
     "inDesignArea": true,
     "flow": 0.001300954436637613,
     "pressure": 95202.13759914879,
     "required": 48263.301052176
    },
    {
     "index": 1,
     "at": [
      22.5,
      2,
      2.7
     ],
     "area": 12,
     "S": 3,
     "L": 4,
     "minFlow": 0.0008149166666666667,
     "inDesignArea": true,
     "flow": 0.0010409112433873147,
     "pressure": 60946.66218431961,
     "required": 48263.301052176
    },
    {
     "index": 2,
     "at": [
      19.5,
      6,
      2.7
     ],
     "area": 12,
     "S": 3,
     "L": 4,
     "minFlow": 0.0008149166666666667,
     "inDesignArea": true,
     "flow": 0.001161596895625926,
     "pressure": 75898.53832093817,
     "required": 48263.301052176
    },
    {
     "index": 3,
     "at": [
      22.5,
      6,
      2.7
     ],
     "area": 12,
     "S": 3,
     "L": 4,
     "minFlow": 0.0008149166666666667,
     "inDesignArea": true,
     "flow": 0.0009262905812581563,
     "pressure": 48263.30105217604,
     "required": 48263.301052176
    }
   ],
   "designArea": {
    "heads": [
     0,
     1,
     2,
     3
    ],
    "count": 4,
    "area": 48,
    "designArea": 139.35456000000002,
    "seed": 0,
    "candidates": 1
   },
   "hydraulics": {
    "sourcePressure": 152390.1390912229,
    "sourceFlow": 0.00442975315690901,
    "hoseStream": 0.00630901964,
    "demandFlow": 0.01073877279690901,
    "governingHead": 3,
    "iterations": 4,
    "supply": {
     "static": 550000,
     "residual": 420000,
     "flow": 0.025,
     "available": 522771.70506870287,
     "margin": 370381.56597748,
     "ok": true
    }
   },
   "pipes": [
    {
     "chain": 0,
     "parent": -1,
     "head": null,
     "diameter": 0.032,
     "length": 1.683,
     "dz": 0,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 0,
     "equivalentLength": 2.643,
     "flow": 0.00442975315690901,
     "velocity": 5.5079461843671655,
     "friction": 32555.313701623334
    },
    {
     "chain": 1,
     "parent": 0,
     "head": null,
     "diameter": 0.025,
     "length": 0.501,
     "dz": -0.134,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 1.751,
     "flow": 0.002462551332263539,
     "velocity": 5.016668379485115,
     "friction": 24194.518418402407
    },
    {
     "chain": 2,
     "parent": 1,
     "head": 0,
     "diameter": 0.025,
     "length": 0.066,
     "dz": -0.066,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5659999999999998,
     "flow": 0.001300954436637613,
     "velocity": 2.650282615401063,
     "friction": 2398.9162718339503
    },
    {
     "chain": 3,
     "parent": 1,
     "head": 2,
     "diameter": 0.025,
     "length": 4.066,
     "dz": -0.066,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.316,
     "flow": 0.001161596895625926,
     "velocity": 2.3663857640840518,
     "friction": 21702.515550044576
    },
    {
     "chain": 4,
     "parent": 0,
     "head": null,
     "diameter": 0.025,
     "length": 3.501,
     "dz": -0.134,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.5009999999999994,
     "flow": 0.001967201824645471,
     "velocity": 4.007550648982049,
     "friction": 59261.636195606574
    },
    {
     "chain": 5,
     "parent": 4,
     "head": 1,
     "diameter": 0.025,
     "length": 0.066,
     "dz": -0.066,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5659999999999998,
     "flow": 0.0010409112433873147,
     "velocity": 2.1205269722242828,
     "friction": 1587.2739094589604
    },
    {
     "chain": 6,
     "parent": 4,
     "head": 3,
     "diameter": 0.025,
     "length": 4.066,
     "dz": -0.066,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.316,
     "flow": 0.0009262905812581563,
     "velocity": 1.8870236767577664,
     "friction": 14270.635041602534
    }
   ],
   "sizing": {
    "routedDiameter": 0.032,
    "passes": 1,
    "upsized": 0,
    "minMargin": 0,
    "notes": [],
    "sizes": [
     0.025,
     0.032
    ]
   },
   "routing": {
    "length": 13.949,
    "bends": 6,
    "tees": 3,
    "runs": 7
   },
   "layoutChecks": {
    "ok": true,
    "violations": []
   }
  },
  {
   "number": "104",
   "name": "Open office east",
   "heads": [
    {
     "index": 0,
     "at": [
      2,
      10,
      2.7
     ],
     "area": 17.52,
     "S": 4,
     "L": 4.38,
     "minFlow": 0.0011897783333333334,
     "inDesignArea": true,
     "flow": 0.0022167306297830214,
     "pressure": 276406.5760322726,
     "required": 79625.9521389063
    },
    {
     "index": 1,
     "at": [
      6,
      10,
      2.7
     ],
     "area": 16,
     "S": 4,
     "L": 4,
     "minFlow": 0.0010865555555555557,
     "inDesignArea": true,
     "flow": 0.0019214263492650229,
     "pressure": 207668.205880304,
     "required": 66408.91736111113
    },
    {
     "index": 2,
     "at": [
      10,
      10,
      2.7
     ],
     "area": 16,
     "S": 4,
     "L": 4,
     "minFlow": 0.0010865555555555557,
     "inDesignArea": true,
     "flow": 0.0013997504152912885,
     "pressure": 110210.69391232566,
     "required": 66408.91736111113
    },
    {
     "index": 3,
     "at": [
      5.9,
      14,
      2.7
     ],
     "area": 16.4,
     "S": 4.1,
     "L": 4,
     "minFlow": 0.0011137194444444446,
     "inDesignArea": true,
     "moved": {
      "from": [
       6,
       14
      ],
      "by": 41
     },
     "flow": 0.0013559070013758605,
     "pressure": 103414.71354637248,
     "required": 69770.86880251739
    },
    {
     "index": 4,
     "at": [
      10,
      14,
      2.7
     ],
     "area": 16.4,
     "S": 4.1,
     "L": 4,
     "minFlow": 0.0011137194444444446,
     "inDesignArea": true,
     "flow": 0.0012512123304979634,
     "pressure": 88061.19164943672,
     "required": 69770.86880251739
    },
    {
     "index": 5,
     "at": [
      2,
      14.38,
      2.7
     ],
     "area": 17.52,
     "S": 4,
     "L": 4.38,
     "minFlow": 0.0011897783333333334,
     "inDesignArea": true,
     "moved": {
      "from": [
       2,
       14
      ],
      "by": 35
     },
     "flow": 0.0011897783333334009,
     "pressure": 79625.95213890623,
     "required": 79625.9521389063
    }
   ],
   "designArea": {
    "heads": [
     0,
     1,
     2,
     3,
     4,
     5
    ],
    "count": 6,
    "area": 99.84,
    "designArea": 139.35456000000002,
    "seed": 0,
    "candidates": 1
   },
   "hydraulics": {
    "sourcePressure": 312611.2477689685,
    "sourceFlow": 0.009334805059546558,
    "hoseStream": 0.00630901964,
    "demandFlow": 0.01564382469954656,
    "governingHead": 5,
    "iterations": 4,
    "supply": {
     "static": 550000,
     "residual": 420000,
     "flow": 0.025,
     "available": 495387.9125990087,
     "margin": 182776.6648300402,
     "ok": true
    }
   },
   "pipes": [
    {
     "chain": 0,
     "parent": -1,
     "head": null,
     "diameter": 0.05,
     "length": 2.675,
     "dz": -0.125,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 0,
     "equivalentLength": 5.675000000000001,
     "flow": 0.009334805059546558,
     "velocity": 4.754177177683421,
     "friction": 31626.3868052836
    },
    {
     "chain": 1,
     "parent": 0,
     "head": 0,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0022167306297830214,
     "velocity": 4.515886556584679,
     "friction": 6539.031831197919
    },
    {
     "chain": 2,
     "parent": 0,
     "head": null,
     "diameter": 0.04,
     "length": 3.774,
     "dz": 0,
     "elbows": 0,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.1739999999999995,
     "flow": 0.007118074429763537,
     "velocity": 5.664383653964454,
     "friction": 61742.09085950343
    },
    {
     "chain": 3,
     "parent": 2,
     "head": null,
     "diameter": 0.04,
     "length": 0.25,
     "dz": 0.124,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 3.8500000000000005,
     "flow": 0.005196648080498513,
     "velocity": 4.135361147601739,
     "friction": 21499.06663335605
    },
    {
     "chain": 4,
     "parent": 3,
     "head": null,
     "diameter": 0.025,
     "length": 4.224,
     "dz": -0.124,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 5.474,
     "flow": 0.002650962745789252,
     "velocity": 5.400496959293735,
     "friction": 86702.89138908731
    },
    {
     "chain": 5,
     "parent": 4,
     "head": 2,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0013997504152912885,
     "velocity": 2.851548130413336,
     "friction": 2790.865069198059
    },
    {
     "chain": 6,
     "parent": 4,
     "head": 4,
     "diameter": 0.025,
     "length": 4.075,
     "dz": -0.075,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.324999999999999,
     "flow": 0.0012512123304979634,
     "velocity": 2.5489488288803983,
     "friction": 24940.367332087004
    },
    {
     "chain": 7,
     "parent": 3,
     "head": null,
     "diameter": 0.025,
     "length": 4.124,
     "dz": -0.124,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.3740000000000006,
     "flow": 0.0025456853347092614,
     "velocity": 5.18602757856672,
     "friction": 93658.60322577461
    },
    {
     "chain": 8,
     "parent": 7,
     "head": 3,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0013559070013758605,
     "velocity": 2.762231061016032,
     "friction": 2631.13359846393
    },
    {
     "chain": 9,
     "parent": 7,
     "head": 5,
     "diameter": 0.025,
     "length": 4.355,
     "dz": -0.075,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 7.355,
     "flow": 0.0011897783333334009,
     "velocity": 2.423796517550688,
     "friction": 26419.89500593017
    },
    {
     "chain": 10,
     "parent": 2,
     "head": 1,
     "diameter": 0.025,
     "length": 0.301,
     "dz": -0.075,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 1.5509999999999997,
     "flow": 0.0019214263492650229,
     "velocity": 3.9142976162885494,
     "friction": 13535.31112366306
    }
   ],
   "sizing": {
    "routedDiameter": 0.05,
    "passes": 2,
    "upsized": 4,
    "minMargin": 0,
    "notes": [
     "pass 1: the sizing reached DN50, over the routed DN40; routed again"
    ],
    "sizes": [
     0.025,
     0.04,
     0.05
    ]
   },
   "routing": {
    "length": 24.003,
    "bends": 9,
    "tees": 5,
    "runs": 11
   },
   "layoutChecks": {
    "ok": true,
    "violations": []
   }
  },
  {
   "number": "105",
   "name": "Break room",
   "heads": [
    {
     "index": 0,
     "at": [
      14,
      10,
      2.7
     ],
     "area": 17.52,
     "S": 4,
     "L": 4.38,
     "minFlow": 0.0011897783333333334,
     "inDesignArea": true,
     "flow": 0.002346074198310474,
     "pressure": 309603.60809869197,
     "required": 79625.9521389063
    },
    {
     "index": 1,
     "at": [
      18,
      10,
      2.7
     ],
     "area": 16,
     "S": 4,
     "L": 4,
     "minFlow": 0.0010865555555555557,
     "inDesignArea": true,
     "flow": 0.002042509950621472,
     "pressure": 234666.3880342133,
     "required": 66408.91736111113
    },
    {
     "index": 2,
     "at": [
      22,
      10,
      2.7
     ],
     "area": 16,
     "S": 4,
     "L": 4,
     "minFlow": 0.0010865555555555557,
     "inDesignArea": true,
     "flow": 0.0015026279696463878,
     "pressure": 127006.35835278116,
     "required": 66408.91736111113
    },
    {
     "index": 3,
     "at": [
      17.9,
      14,
      2.7
     ],
     "area": 16.4,
     "S": 4.1,
     "L": 4,
     "minFlow": 0.0011137194444444446,
     "inDesignArea": true,
     "moved": {
      "from": [
       18,
       14
      ],
      "by": 25
     },
     "flow": 0.0013559070013775903,
     "pressure": 103414.71354644271,
     "required": 69770.86880251739
    },
    {
     "index": 4,
     "at": [
      22,
      14,
      2.7
     ],
     "area": 16.4,
     "S": 4.1,
     "L": 4,
     "minFlow": 0.0011137194444444446,
     "inDesignArea": true,
     "flow": 0.0013445724224470735,
     "pressure": 101692.96870507218,
     "required": 69770.86880251739
    },
    {
     "index": 5,
     "at": [
      14,
      14.38,
      2.7
     ],
     "area": 17.52,
     "S": 4,
     "L": 4.38,
     "minFlow": 0.0011897783333333334,
     "inDesignArea": true,
     "moved": {
      "from": [
       14,
       14
      ],
      "by": 19
     },
     "flow": 0.0011897783333352787,
     "pressure": 79625.95213890547,
     "required": 79625.9521389063
    }
   ],
   "designArea": {
    "heads": [
     0,
     1,
     2,
     3,
     4,
     5
    ],
    "count": 6,
    "area": 99.84,
    "designArea": 139.35456000000002,
    "seed": 0,
    "candidates": 1
   },
   "hydraulics": {
    "sourcePressure": 349392.04877067165,
    "sourceFlow": 0.009781469875738275,
    "hoseStream": 0.00630901964,
    "demandFlow": 0.016090489515738274,
    "governingHead": 5,
    "iterations": 4,
    "supply": {
     "static": 550000,
     "residual": 420000,
     "flow": 0.025,
     "available": 492468.26635118807,
     "margin": 143076.21758051642,
     "ok": true
    }
   },
   "pipes": [
    {
     "chain": 0,
     "parent": -1,
     "head": null,
     "diameter": 0.05,
     "length": 2.675,
     "dz": -0.125,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 0,
     "equivalentLength": 5.675000000000001,
     "flow": 0.009781469875738275,
     "velocity": 4.9816617005702835,
     "friction": 34486.020602867524
    },
    {
     "chain": 1,
     "parent": 0,
     "head": 0,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.002346074198310474,
     "velocity": 4.779383110674783,
     "friction": 7263.166968897761
    },
    {
     "chain": 2,
     "parent": 0,
     "head": null,
     "diameter": 0.04,
     "length": 3.874,
     "dz": 0,
     "elbows": 0,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.273999999999999,
     "flow": 0.007435395677427801,
     "velocity": 5.916899879533731,
     "friction": 68020.3700671581
    },
    {
     "chain": 3,
     "parent": 2,
     "head": null,
     "diameter": 0.04,
     "length": 0.376,
     "dz": 0.124,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 3.9760000000000026,
     "flow": 0.0053928857268063304,
     "velocity": 4.2915221047547805,
     "friction": 23780.36862885326
    },
    {
     "chain": 4,
     "parent": 3,
     "head": null,
     "diameter": 0.025,
     "length": 4.35,
     "dz": -0.124,
     "elbows": 3,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 8.100000000000003,
     "flow": 0.002545685334712869,
     "velocity": 5.18602757857407,
     "friction": 119020.18922666546
    },
    {
     "chain": 5,
     "parent": 4,
     "head": 3,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0013559070013775903,
     "velocity": 2.762231061019556,
     "friction": 2631.1335984701464
    },
    {
     "chain": 6,
     "parent": 4,
     "head": 5,
     "diameter": 0.025,
     "length": 4.355,
     "dz": -0.075,
     "elbows": 2,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 7.354999999999999,
     "flow": 0.0011897783333352787,
     "velocity": 2.4237965175545133,
     "friction": 26419.895006007395
    },
    {
     "chain": 7,
     "parent": 3,
     "head": null,
     "diameter": 0.025,
     "length": 3.998,
     "dz": -0.124,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 5.247999999999999,
     "flow": 0.0028472003920934612,
     "velocity": 5.800269009598169,
     "friction": 94877.07816038872
    },
    {
     "chain": 8,
     "parent": 7,
     "head": 2,
     "diameter": 0.025,
     "length": 0.075,
     "dz": -0.075,
     "elbows": 0,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 0.5749999999999997,
     "flow": 0.0015026279696463878,
     "velocity": 3.0611285631662217,
     "friction": 3182.599858408463
    },
    {
     "chain": 9,
     "parent": 7,
     "head": 4,
     "diameter": 0.025,
     "length": 4.075,
     "dz": -0.075,
     "elbows": 1,
     "teeRun": 0,
     "teeBranch": 1,
     "equivalentLength": 6.324999999999999,
     "flow": 0.0013445724224470735,
     "velocity": 2.7391404464319464,
     "friction": 28495.98950611745
    },
    {
     "chain": 10,
     "parent": 2,
     "head": 1,
     "diameter": 0.025,
     "length": 0.201,
     "dz": -0.075,
     "elbows": 1,
     "teeRun": 1,
     "teeBranch": 0,
     "equivalentLength": 1.451000000000001,
     "flow": 0.002042509950621472,
     "velocity": 4.160967103434116,
     "friction": 14180.016966218298
    }
   ],
   "sizing": {
    "routedDiameter": 0.05,
    "passes": 2,
    "upsized": 4,
    "minMargin": 0,
    "notes": [
     "pass 1: the sizing reached DN50, over the routed DN40; routed again"
    ],
    "sizes": [
     0.025,
     0.04,
     0.05
    ]
   },
   "routing": {
    "length": 24.129,
    "bends": 11,
    "tees": 5,
    "runs": 11
   },
   "layoutChecks": {
    "ok": true,
    "violations": []
   }
  }
 ],
 "parameters": [
  {
   "name": "maxArea",
   "value": 20.903184000000003,
   "unit": "m2",
   "us": "225 ft2",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.4.2.1, Table 10.2.4.2.1(a)",
    "summary": "maximum protection area per sprinkler",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "maxSpacing",
   "value": 4.572,
   "unit": "m",
   "us": "15 ft",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.5.2, Table 10.2.4.2.1(a)",
    "summary": "maximum distance between sprinklers",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "maxWallDistance",
   "value": 2.286,
   "unit": "m",
   "us": "7.5 ft (half the spacing)",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.5.3",
    "summary": "maximum distance from a wall: half the allowable spacing",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "minWallDistance",
   "value": 0.1016,
   "unit": "m",
   "us": "4 in",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.5.4.1",
    "summary": "minimum distance from a wall",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "minSpacing",
   "value": 1.8288000000000002,
   "unit": "m",
   "us": "6 ft",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.5.4.2",
    "summary": "minimum distance between sprinklers",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "density",
   "value": 0.00006790972222222223,
   "unit": "m3/s per m2",
   "us": "0.10 gpm/ft2 (4.1 mm/min)",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "19.3.3.1.1, Figure 19.3.3.1.1",
    "summary": "design density, light hazard curve",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "designArea",
   "value": 139.35456000000002,
   "unit": "m2",
   "us": "1500 ft2 (139 m2)",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "19.3.3.1.1, Figure 19.3.3.1.1",
    "summary": "design (remote) area, light hazard curve",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "hoseStream",
   "value": 0.00630901964,
   "unit": "m3/s",
   "us": "100 gpm, inside and outside hose combined",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "19.3.3.1.2, Table 19.3.3.1.2",
    "summary": "hose stream allowance, light hazard",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "minPressure",
   "value": 48263.301052176,
   "unit": "Pa",
   "us": "7 psi (0.48 bar)",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "28.2.4.10.1",
    "summary": "minimum operating pressure of any sprinkler",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "obstructionFactor",
   "value": 3,
   "unit": "-",
   "us": "3 x the obstruction's width",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.7.2.1.3 (the \"three times rule\")",
    "summary": "clear distance from an obstruction near the deflector, as a multiple of its largest dimension",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "obstructionMaxClear",
   "value": 0.6095999999999999,
   "unit": "m",
   "us": "24 in",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.7.2.1.3",
    "summary": "cap on the clear distance the three times rule asks for",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "wideObstruction",
   "value": 1.2192,
   "unit": "m",
   "us": "4 ft",
   "source": {
    "standard": "NFPA 13 (2019 edition numbering)",
    "section": "10.2.7.2.3",
    "summary": "an obstruction wider than this needs sprinklers beneath it",
    "verified": false,
    "note": "Verify against the current edition adopted by the authority having jurisdiction."
   },
   "overridden": false
  },
  {
   "name": "kFactor",
   "value": 80,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "C",
   "value": 120,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "deflector",
   "value": 0.05,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "minDiameter",
   "value": 0.025,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "maxVelocity",
   "value": 6,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "elbowLD",
   "value": 30,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "teeRunLD",
   "value": 20,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "teeBranchLD",
   "value": 60,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "temperature",
   "value": 10,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "minMargin",
   "value": 0,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "headDiameter",
   "value": 0.05,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "headHeight",
   "value": 0.06,
   "source": "design default (not NFPA 13)",
   "overridden": false
  },
  {
   "name": "fixtureClear",
   "value": 0.15,
   "source": "design default (not NFPA 13)",
   "overridden": false
  }
 ],
 "limits": [
  "Tree systems only: gridded and looped systems are out of scope.",
  "Rectilinear rooms with one flat ceiling; no soffits, sloped ceilings or concealed combustible spaces.",
  "Obstructions are boxes: one that crosses a bay cuts it (the beam rule, simplified); any other keeps heads at min(3 x its width, 0.6 m); depth below the deflector is not considered.",
  "The design area is the nearest heads to each head; the standard's rectangle along the branch lines is not modelled.",
  "The supply curve is taken at the source point; velocity pressure is ignored.",
  "Parameter values are recalled from public summaries (verified: false) and must be checked against the adopted edition."
 ]
}
