Traceabillty of mixed raw material batches
If your tank is constantly mixed, you'd at best have to calculate input v output daily as well as be able to calculate when (if?) the tank is ever actually homogeneous throughout.
E.G. you add 1000 kg of "new" ground nut, that takes ~5 minutes to pump into the tank, at the same time you pump out 2000 kg of product from the tank, did any of the new product go directly into the 2000 kg of output? is your pump out time the same as pump in time seconds/kg?
At what speed are the tank paddles capable of mixing the tank completely?
The manufacturer of the tank should be able to provide you with those specifications and your maintenance department should know the flow rate of your product
Once you've figured out all of that, you should be able to calculate an acceptable position +/- 10%, then you can confidently show your regulator/auditor how you got to that point
The solution typically devolves to defining a "Lot". And the associated Recall criteria.
This is also analogous to the well-known, continuously fed, silo scenario which preciously discussed on this Forum. With added complications.
A large number of theoretical analyses exist for silo systems based on Scampi-type logics and often, from memory necessitating a specific periodic "reset" moment.
My guess is some empirical time-based "Lots" are going to have to be introduced/experimented.