﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.1.8763.0"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>28e7f1fb-5fa4-459f-b74f-a5bb86a60bef</id>
      <revision>104</revision>
    </identity>
    <metadata lang="eng">
      <author>usamakhan</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="0" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.1.8763.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8763.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.8763.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.8763.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.2.8990.42268" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="0" width="623" height="27" color="#000000" fontSize="12">
      <text lang="eng" fontFamily="Ubuntu" fontSize="12">
        <content>
          <p style="font-weight: bold;">Investigating NaOH outlet concentration in case of Demi Water injection failure...</p>
        </content>
      </text>
    </region>
    <region left="9" top="45" width="167" height="71" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">Load.kAmp</e>
          <e type="operand">9</e>
          <e type="operand">12</e>
          <e type="operand">15</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
          <e type="operand" style="unit">kA</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="117" width="619" height="77" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Faraday's law, 178 elements, 98% cell efficiency</p>
          </content>
        </description>
        <input>
          <e type="operand">NaOH.100%</e>
          <e type="operand">178</e>
          <e type="operand">0.98</e>
          <e type="operator" args="2">*</e>
          <e type="operand">40</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">g</e>
          <e type="operand" style="unit">mol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">96485.4</e>
          <e type="operand" style="unit">C</e>
          <e type="operand" style="unit">mol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">Load.kAmp</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">hr</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">2343.0927</e>
          <e type="operand">3124.1236</e>
          <e type="operand">3905.1546</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="225" width="507" height="44" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>60% NLL for NaOH tank, 90% for head tank volume &amp; volume for connecting  piping</p>
          </content>
        </description>
        <input>
          <e type="operand">ΣVolume.Equipment</e>
          <e type="operand">0.6</e>
          <e type="operand">18</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">0.9</e>
          <e type="operand">3</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">14.5</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="270" top="288" width="198" height="56" color="#000000" fontSize="12">
      <math optimize="2">
        <input>
          <e type="operand">NaOH.Feed_Flow</e>
          <e type="operand">54</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">hr</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="513" top="288" width="181" height="33" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>After water injection</p>
          </content>
        </description>
        <input>
          <e type="operand">NaOH.Feed_Conc</e>
          <e type="operand">30</e>
          <e type="operand" style="unit">%</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="306" width="241" height="33" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">NaOH.Equipment_Conc</e>
          <e type="operand">31.6</e>
          <e type="operand" style="unit">%</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="378" width="524" height="71" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">NaOH.Production_MFlow</e>
          <e type="operand">NaOH.100%</e>
          <e type="operand">NaOH.Equipment_Conc</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">hr</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">7414.8504</e>
          <e type="operand">9886.4672</e>
          <e type="operand">12358.0841</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="450" width="178" height="56" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng" width="17">
          <content>
            <p>Insert accurate density for accurate result; density at standard 25C<br />https://www.handymath.com/cgi-bin/naohtble3.cgi?tmptr=25&amp;spcfgrv=&amp;conc=31.6&amp;submit=Calculate</p>
          </content>
        </description>
        <input>
          <e type="operand">ρ.NaOH</e>
          <e type="operand">1341.56</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="549" width="502" height="71" color="#000000" fontSize="12">
      <math>
        <description active="false" position="Top" lang="eng">
          <content>
            <p></p>
          </content>
        </description>
        <input>
          <e type="operand">NaOH.Production_VFlow</e>
          <e type="operand">NaOH.Production_MFlow</e>
          <e type="operand">ρ.NaOH</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">hr</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">5.527</e>
          <e type="operand">7.3694</e>
          <e type="operand">9.2117</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="621" width="753" height="46" color="#000000" fontSize="12">
      <text lang="eng" fontFamily="Ubuntu" fontSize="12">
        <content>
          <p style="font-weight: bold;">Some water is lost to H2 escaping ELZ &amp; some water is added to caustic via water transport from <br />anolyte to catholyte across membrane. </p>
        </content>
      </text>
    </region>
    <region left="9" top="693" width="684" height="71" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">ResidenceTime.Equipment</e>
          <e type="operand">ΣVolume.Equipment</e>
          <e type="operand">NaOH.Feed_Flow</e>
          <e type="operand">NaOH.Production_VFlow</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">min</e>
        </contract>
        <result action="numeric">
          <e type="operand">14.6152</e>
          <e type="operand">14.1765</e>
          <e type="operand">13.7633</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="774" width="430" height="52" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>178 elements each element cathode capacity is 73L </p>
          </content>
        </description>
        <input>
          <e type="operand">ResidenceTime.ELZ</e>
          <e type="operand">178</e>
          <e type="operand">73</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">L</e>
          <e type="operator" args="2">*</e>
          <e type="operand">NaOH.Feed_Flow</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">min</e>
        </contract>
        <result action="numeric">
          <e type="operand">14.4378</e>
        </result>
      </math>
    </region>
    <region left="9" top="873" width="547" height="71" color="#000000" fontSize="12">
      <math decimalPlaces="2">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>So approximately  within ~14.5min (single cycle through ELZ) equipment concentration  &amp; ELZ exit concentration  will be equal</p>
          </content>
        </description>
        <input>
          <e type="operand">Cycles_of_Concentration</e>
          <e type="operand">ResidenceTime.Equipment</e>
          <e type="operand">ResidenceTime.ELZ</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.01</e>
          <e type="operand">0.98</e>
          <e type="operand">0.95</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="1026" width="267" height="112" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Time counter after demi water injection is stopped</p>
          </content>
        </description>
        <input>
          <e type="operand">time</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="operand">2</e>
          <e type="function" args="3">range</e>
          <e type="operand" style="unit">min</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <contract>
          <e type="operand" style="unit">min</e>
        </contract>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">3</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="1179" width="638" height="295" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operand">Load.kAmp</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">time</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">NaOH.Out_Conc</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">NaOH.Equipment_Conc</e>
          <e type="operator" args="2">:</e>
          <e type="operand">NaOH.in</e>
          <e type="operand">ρ.NaOH</e>
          <e type="operand">NaOH.Out_Conc</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">NaOH.Feed_Flow</e>
          <e type="operator" args="2">*</e>
          <e type="operand">ResidenceTime.ELZ</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">H2O.in</e>
          <e type="operand">ρ.NaOH</e>
          <e type="operand">1</e>
          <e type="operand">NaOH.Out_Conc</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">NaOH.Feed_Flow</e>
          <e type="operator" args="2">*</e>
          <e type="operand">ResidenceTime.ELZ</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">NaOH.Out_Conc</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">NaOH.in</e>
          <e type="operand">NaOH.100%</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">time</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">NaOH.in</e>
          <e type="operand">NaOH.100%</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">time</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">H2O.in</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="operand">x</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">x</e>
          <e type="function" args="2">roots</e>
          <e type="operator" args="2">:</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">result</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">NaOH.Out_Conc</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">for</e>
        </input>
      </math>
    </region>
    <region left="531" top="1449" width="208" height="328" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
        </input>
        <contract>
          <e type="operand" style="unit">%</e>
        </contract>
        <result action="numeric">
          <e type="operand">31.7529</e>
          <e type="operand">31.9051</e>
          <e type="operand">32.0566</e>
          <e type="operand">32.2075</e>
          <e type="operand">32.3577</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
          <e type="operand">31.8037</e>
          <e type="operand">32.0062</e>
          <e type="operand">32.2075</e>
          <e type="operand">32.4076</e>
          <e type="operand">32.6065</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
          <e type="operand">31.8544</e>
          <e type="operand">32.107</e>
          <e type="operand">32.3577</e>
          <e type="operand">32.6065</e>
          <e type="operand">32.8535</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="9" top="1485" width="510" height="332" color="#000000" bgColor="#ffffff" fontSize="8">
      <xyplot width="500" height="324" points="100" name="XYPlot">
        <chartstyle backcolor="White" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-0.012" xmax="5.988" xtick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="31.00617" ymax="33.00617" ytick="0.1" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="" titlefont="Nimbus Sans, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Nimbus Sans, 10pt" labelfontcolor="Black" tickfont="Nimbus Sans, 8pt" tickfontcolor="Black" xlabel="time (min)" ylabel="NaOH mass%" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Nimbus Sans, 8pt" legendposition="SouthEast" textcolor="Black" />
        <traces>
          <trace seriesname="9kA" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="2" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="12kA" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="SkyBlue" linethickness="2" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="15kA" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Green" linethickness="2" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="32% Limit" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="2" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">time</e>
          <e type="operand">60</e>
          <e type="operator" args="2">/</e>
          <e type="operand">result</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="2">augment</e>
          <e type="operand">time</e>
          <e type="operand">60</e>
          <e type="operator" args="2">/</e>
          <e type="operand">result</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="2">augment</e>
          <e type="operand">time</e>
          <e type="operand">60</e>
          <e type="operator" args="2">/</e>
          <e type="operand">result</e>
          <e type="operand">3</e>
          <e type="function" args="2">el</e>
          <e type="operand">100</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="2">augment</e>
          <e type="operand">y</e>
          <e type="operand">32</e>
          <e type="operator" args="2">:</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="387" top="1845" width="389" height="84" color="#000000" fontSize="12">
      <text lang="eng" fontFamily="Ubuntu" fontSize="12">
        <content>
          <p style="font-weight: bold;">If initial concentration  was 31.6% at disturbance: <br />32% limit is crossed after ~2.6min @9kA<br />32% limit is crossed after ~1.8min @12kA<br />32% limit is crossed after ~1.6min @15kA</p>
        </content>
      </text>
    </region>
  </regions>
</worksheet>