<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sruvey 123 - Hydrant Flow Testing in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802643#M11180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2018 02:10:37 GMT</pubDate>
    <dc:creator>DouglasWenning</dc:creator>
    <dc:date>2018-02-01T02:10:37Z</dc:date>
    <item>
      <title>Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802638#M11175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&amp;nbsp; I am new to Survey 123.&amp;nbsp; I would like to create a survey using the Collector app and Survey 123 for testing fire hydrant flows.&amp;nbsp; I would like to use Collector to select the hydrant, have it open Survey 123 so the inspector can add some information about the hydrant and the flow data (Static, Residual, and Pitot flow data) and then have the capacity calculated automatically by Survey 123.&amp;nbsp; This seems achievable but I am struggling getting the formulas to calculate the capacity and I fear it is something simple in the calculation that I am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;HydGPM: Theoretical Discharge through Circular Orifices Formula&lt;/H3&gt;&lt;P&gt;Computes a flow-rate in GPM given a psi and coefficient of the flow device.&lt;BR /&gt; &lt;STRONG&gt;Q = 29.84 x √P x D² x C or 29.84 x [(√Pitot) x (Diameter²) x (Coefficient)]&lt;/STRONG&gt;&lt;BR /&gt; Q = flow-rate in GPM (Field = HydGRPM)&lt;BR /&gt; P = velocity pressure in psi (&lt;STRONG&gt;Pitot&lt;/STRONG&gt; - measured at the hydrant in the field)&lt;/P&gt;&lt;P&gt;D = orifice diameter in inches (&lt;STRONG&gt;Diameter&lt;/STRONG&gt; = 2.5 inches)&lt;BR /&gt; C = coefficient of flow device (&lt;STRONG&gt;Coefficient&lt;/STRONG&gt; = 0.9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;HydGPM_20: Equation for Determining Rated Capacity&lt;/H3&gt;&lt;P&gt;Computes the flow-rate available at a specified residual&lt;BR /&gt; pressure (a.k.a. Rated Capacity). The example below enables&lt;BR /&gt; you to find the predicted flow-rate at 0 psi residual pressure.&lt;BR /&gt; Use this when fire flow testing hydrants.&lt;BR /&gt; &lt;STRONG&gt;QR(20) = QF x (HR&lt;SUP&gt;0.54&lt;/SUP&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;/ HF&lt;SUP&gt;0.54&lt;/SUP&gt;) or QF x [(Static -20)&lt;SUP&gt;0.54&lt;/SUP&gt;&lt;/STRONG&gt;&lt;STRONG&gt; / (Static - Residual)&lt;SUP&gt;0.54&lt;/SUP&gt;&lt;/STRONG&gt;]&lt;BR /&gt; QR(20) = Flow-rate predicted at the desired residual pressure in GPM&lt;BR /&gt; QF(20) = Total test flow-rate measured during test in GPM (QF = &lt;STRONG&gt;HydGPM&lt;/STRONG&gt; calculated)&lt;BR /&gt; HR = Pressure drop from static pressure to desired residual pressure (&lt;STRONG&gt;Static&lt;/STRONG&gt; – 20 psi) (&lt;STRONG&gt;Static&lt;/STRONG&gt; measured in the field)&lt;BR /&gt; HF = Actual pressure drop measured during the test(&lt;STRONG&gt;Static&lt;/STRONG&gt; – Actual &lt;STRONG&gt;Residual&lt;/STRONG&gt;) (&lt;STRONG&gt;Static&lt;/STRONG&gt; and &lt;STRONG&gt;Residual&lt;/STRONG&gt; measured in the field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize this is a big ask but I would truly appreciate any help with this.&amp;nbsp; I have attached several screen shots.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Doug Wenning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 21:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802638#M11175</guid>
      <dc:creator>DouglasWenning</dc:creator>
      <dc:date>2018-01-29T21:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802639#M11176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Taking a quick look at your screenshots, I notice the first line in ScreenCap2 is missing a set of brackets for the sqrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be sqrt(${Pitot})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have the opening bracket before the sqrt text not after. See example here:&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/09/06/new-mathematical-functions-make-your-form-smarter"&gt;https://community.esri.com/groups/survey123/blog/2016/09/06/new-mathematical-functions-make-your-form-smarter&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the brackets are fixed up, try and validate your survey again. Missing brackets or brackets in the wrong place in calculations will cause validation and pyxform errors that don't make sense or point directly to the problem in survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 04:23:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802639#M11176</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-30T04:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802640#M11177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.  Your suggestion seem to remove the error but no results were returned on my survey. Those results are supposed to carry through to the following calculations as well. I’m not sure what is going on with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802640#M11177</guid>
      <dc:creator>DouglasWenning</dc:creator>
      <dc:date>2018-01-30T19:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802641#M11178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to send me a copy of your survey xlsx file? Please attach to&amp;nbsp;this post or is sensitive please send via private message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 22:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802641#M11178</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-31T22:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802642#M11179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Philip,&lt;/P&gt;&lt;P&gt;I appreciate your help. Please see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 02:04:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802642#M11179</guid>
      <dc:creator>DouglasWenning</dc:creator>
      <dc:date>2018-02-01T02:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802643#M11180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 02:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802643#M11180</guid>
      <dc:creator>DouglasWenning</dc:creator>
      <dc:date>2018-02-01T02:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802644#M11181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried to load the file you sent me in Connect, however it gets errors as there is a calculation in a row that does not have a field type, name, label etc. Was this a copy and paste mistake? Can you fix up the file and send again how it should be, so I can see where the calculations are not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/395444_pastedImage_1.png" style="width: 620px; height: 109px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 02:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802644#M11181</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-01T02:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802645#M11182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 03:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802645#M11182</guid>
      <dc:creator>DouglasWenning</dc:creator>
      <dc:date>2018-02-01T03:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802646#M11183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime I had looked back at your original screenshots and worked out the calculation at bottom of survey was suppose to be the first one, so moved it back to where it should be. I have had a more detailed look at your survey and calculations and there are&amp;nbsp;4&amp;nbsp;things to note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You still have incorrect brackets on your pow calculations.&amp;nbsp;There should be a set of brackets around the first variable as you are using a minus in there also: pow((XX-XX),XX).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Once you fix the above, you also have extra sets of brackets in all calculations that are not needed, and an extra single opening bracket that needs to be removed because of the incorrect pow format. It should look something like follows to keep it simple and work correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="width: 625px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 618px;"&gt;29.83*(${Coefficient}*(${Diameter}*${Diameter})*sqrt(${Pitot}))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 618px;"&gt;${HydGPM}*(pow((${Stat}-20),0.54) div pow((${Residual}-20),0.54))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 618px;"&gt;${HydGPM}*(pow((${Stat}-10),0.54) div pow((${Residual}-10),0.54))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 618px;"&gt;${HydGPM}*(pow((${Stat}-0),0.54) div pow((${Residual}-0),0.54))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You are using calculate question types for these calculations. The calculation question type is a string type by default (will be created in feature service as esri field type string) and also will be stored in the app and treated as a string. In this case you need to cast the calculations as integer, or set the bind type and esri field bind type to be integer or decimal if you want to treat it as a true numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. C&lt;SPAN&gt;alculate question types are hidden on the survey form display. If you want to see them and display to user, then a better option is to set them as integer or decimal question type (the calculation&amp;nbsp;will still work the same) and then make them read only so they can not be edited. Settings them as integer or decimal type will also solve issue 3 above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 05:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802646#M11183</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-01T05:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802647#M11184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOU ARE AWESOME!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802647#M11184</guid>
      <dc:creator>DouglasWenning</dc:creator>
      <dc:date>2018-02-01T14:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sruvey 123 - Hydrant Flow Testing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802648#M11185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your welcome. Glad to hear it helped.&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 22:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sruvey-123-hydrant-flow-testing/m-p/802648#M11185</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-01T22:03:03Z</dc:date>
    </item>
  </channel>
</rss>

