Calculate the number of larvae surviving from day to day, given by: $$\overline{L_{[t-1]}} * (1-\mu_{aq}) * F(L)$$. F(L), the density dependence is calculated as $$F(L[t])=\Bigg(\frac{\alpha}{\alpha+\sum{\overline{L[t]}}}\Bigg)^{1/T_l}$$. See parameterizeMGDrivE for how these parameters are derived. Pupation has no parameters, so the final day of larvae naturally enter the pupal state.

oneDay_larvaDM_deterministic_Patch()