    conditions are then calculated using the following equations:

    $$Tth = Ttmfp_{In}*\textit{Tth_o_}T_0$$
    $$Pth = Ptmfp_{In}*\textit{Tth_o_}T_0^\frac{\gamma}{\gamma-1}$$

    Other flow conditions are then determined, under the assumption that there
    was no pressure loss across the valve. The velocity is determined by the
    following, in which <i>g</i> is the acceleration due to gravity (32.17 [(ft*lbm)/(lbf*sec^2)]),
    and <i>Jc</i> is Joule's constant (778.17 [ft*lbm/BTU]).

    $$Vth = \s