The science
A cooling batch crystallizer starts saturated and is cooled; solubility falls, so the dissolved solute C exceeds the solubility C*(T) and the supersaturation ratio S = C/C*(T) drives two competing processes.
C*(T) = a0 + a1 T solubility (linear, generic)
G(S) = kg (S-1)^g crystal growth rate, um/s (g = 1.5)
B(S) = kb (S-1)^b nucleation, crystals/(kg s) (b = 3)
dC/dt = -3 kv rho G mu2/1000 solute taken up by growth
mu_k = sum n_i L_i^k moments of the size distribution
Because b is larger than g, high supersaturation makes a shower of tiny crystals (fines) instead of larger ones. The inline PAT probe (FBRM/ATR-style) reads S with noise; the controller multiplies the cooling rate by clamp(1 - Kp (S - Starget), 0, 1.6), pausing cooling while S is too high and letting existing crystals eat the supersaturation.
Method: growth is size-independent, so every crystal born when the accumulated growth was G_i has size L0 + Gamma(t) - G_i and the moments follow exactly from running sums of n_i G_i^j. Honest simplifications: well-mixed vessel, no breakage, agglomeration or size-dependent growth, constant physical properties, a single linear solubility line, illustrative kinetic constants (not fitted to a real compound), crystals drawn mass-weighted and enlarged, not to scale.
Independent checks (shown above): solute mass balance by two routes, step-size convergence (2 s vs 0.25 s), the equilibrium yield limit from the solubility curve, and the third moment by explicit summation.