The Flow Temperature is calculated as follows:
The Ambient Temperature Estimate is calculated as follows:
\begin{align*} & \text{Flow Smoothened } F_s = \frac {(0.2 F + 1.2F_{t-1} + 1F_{t-2} + 0.8F_{t-3} + 0.6F_{t-4} + 0.3F_{t-5} + 0.1F_{t-6}) } {4.2} \\ \\ & \text{where F = Flow Temperature} \\ \\ & \text{if } \Big(F_s - z \big( F_s - 0.5(F_{s_{t-3}} + F_{s_{t-4}} ) \big) \Big) < \text{ Ambient Raw Value} \\ & \text{then} \\ & \hspace{1cm} \text{Flow Corrected } F_c = \text{Ambient Raw Value} \\ & \text{else} \\ & \hspace{1cm} \text{Flow Corrected } F_c = \Big(F_s - z * \big( F_s - 0.5(F_{s_{t-3}} + F_{s_{t-4}} ) \big) \Big) \\ \\ & \text{where z = 0.1} \\ \\ & \textbf{Ambient Temperature Estimate} = \textbf{Ambient Raw Value} * \Bigg( \frac{\textbf{Ambient Raw Value}}{\textbf{Flow Corrected } F_c} \Bigg) ^{1.2} \end{align*} |