<!-- Template for inputting fuel utilisation calculation -->

<br>
<h1>Calculation of fuel utilisation correction of cell resistance</h1>


<div class="content-container fit-content">
<form method="post" action="/cgi-bin/celltest/utilities.cgi" enctype="multipart/form-data" name="fu">
[% INCLUDE print_hidden.tt %]
<input type="hidden" name="action" value="calc_fu">

<table class="fu_calc"><tbody>
<tr><th colspan="10">Anode gas composition:</th></tr>
<tr><th></th><th align="right">H<sub><small>2</small></sub> : </th><td><input type="text" name="h2" value="[% data.h2 %]" class="textfield"></td><th>L/hour</th><th align="right">CH<sub><small>4</small></sub> : </th><td><input type="text" name="ch4" [% UNLESS data.use_ch4 %]readonly=readonly title="Carbon calculations not possible as ch4_args.pl not installed" style="background-color:e0e0e0;"[% END %] value="[% data.ch4 %]" class="textfield"></td><th>L/hour</th><th align="right">O<sub><small>2</small></sub> : </th><td><input type="text" name="o2" value="[% data.o2 %]" class="textfield"></td><th>L/hour</th></tr>
<tr><th></th><th align="right">CO : </th><td><input type="text" name="co" [% UNLESS data.use_ch4 %]redonly=readonly title="Carbon calculations not possible as ch4_args.pl not installed" style="background-color:e0e0e0;"[% END %] value="[% data.co %]" class="textfield"></td><th>L/hour</th><th align="right">CO<sub><small>2</small></sub> : </th><td><input type="text" name="co2" [% UNLESS data.use_ch4 %]readonly=readonly title="Carbon calculations not possible as ch4_args.pl not installed" style="background-color:e0e0e0;"[% END %] value="[% data.co2 %]" class="textfield"></td><th>L/hour</th><th align="right">N<sub><small>2</small></sub> : </th><td><input type="text" name="n2" value="[% data.n2 %]" class="textfield"></td><th>L/hour</th></tr>
<tr><th></th><th align="right">NH<sub><small>3</small></sub> : </th><td><input type="text" name="nh3" value="[% data.nh3 %]" class="textfield"></td><th>L/hour</th></tr><tr><th></th><th>Water enabled</th><td><label><input type="checkbox" name="enabled" value="1" [% IF data.enabled %]checked="checked"[% END %] onchange="change_water('enabled','water')"></label></td><td></td><th align="right">Water temp</th><td><input type="text" name="water" value="[% data.water %]" class="textfield"></td><th>C</th></tr>
<tr><th colspan="10">Cathode gas composition:</th></tr>
<tr><th></th><th align="right">Air : </th><td><input type="text" name="air" value="[% data.air %]" class="textfield"></td><th>L/hour</th><th align="right">O<sub><small>2</small></sub> cathode : </th><td><input type="text" name="o2_cathode" value="[% data.o2_cathode %]" class="textfield"></td><th>L/hour</th><th align="right">N<sub><small>2</small></sub> cathode : </th><td><input type="text" name="n2_cathode" value="[% data.n2_cathode %]" class="textfield"></td><th>L/hour</th></tr>

<tr><th colspan="10">Other parameters</th></tr>
<tr><th></th><th allign="right">Current : </th><td><input type="text" name="current" value="[% data.current%]" class="textfield"></td><th>A</th><th allign="right">Cell area : </th><td><input type="text" name="cell area" value="[% data.cell_area %]" class="textfield"></td><th>cm<sup><small>2</small></sup></th><th allign="right">Segments : </th><td><input type="text" name="segments" value="[% data.segments %]" class="textfield"></td><th></th></tr>
<tr><th></th><th allign="right">Temperature : </th><td><input type="text" name="temperature" value="[% data.temp %]" class="textfield"></td><th>C</th><th allign="right">PO<sub><small>2</small></sub> in : </th><td><input type="text" name="pO2 in" value="[% data.pO2in %]" class="textfield"></td><th>mV</th><th allign="right">PO<sub><small>2</small></sub> temp : </th><td><input type="text" name="pO2 temp" value="[% data.po2_temp %]" class="textfield"></td><th>C</th></tr>
<tr><th></th><th allign="right">Cell voltage : </th><td><input type="text" name="U" value="[% data.U %]" class="textfield"></td><th>mV</th><th allign="right">Open circuit voltage : </th><td><input type="text" name="emf" value="[% data.emf %]" class="textfield"></td><th>mV</th><th>Use measured OCV:</th><td><label><input type="checkbox" name="useemf" value="1" [% IF data.useemf %]checked="checked"[% END %] onchange="change_water('useemf','emf')"></label></td></tr>
<tr><td colspan="10" height="10"></td></tr>
<tr><td colspan="8"></td><td colspan="2"><button style="width:100%;">Calculate</button></td></tr></tbody>
</table>
</form>
</div>


<style>

.fu_calc {
   text-align:left;
}

.fu_calc td, .fu_calc th {
   padding:5px;
}

.textfield {
   max-width:70px;
}
</style>

<!-- End Template for inputting fuel utilisation calculation -->