\begin{alignedalign*}
& \text{Flow TemperatureSmoothened Estimate}(t)} F_s = \frac{\sum_{i = t - 5}^{t}{\text{Flow Temperature}(i)}}{12}
\\
\\
\\
\text{Ambient Temperature Internal}(t) {(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 Sensor Raw Value}(t)
* (\frac {\\
& \text{Ambientelse}
Sensor\\
Raw Value}(t)} {& \hspace{1cm} \text{Flow TemperatureCorrected Estimate}(t)})^{1.2}
\\} 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}(t) = \textbf{Ambient Raw Value} * \Bigg( \frac{\sum_textbf{Ambient i = t-3}^{t}
{\text{Ambient Temperature Internal}(i)}}{4}
\end{aligned}Raw Value}}{\textbf{Flow Corrected } F_c} \Bigg) ^{1.2}
\end{align*}
|