A tough question indeed. The literature IMHO only covers some limited aspects and partial views to the whole system. Then there is the paywall problem for scientific literature. Honestly I don't know where to start.
EDITED: A suggested starting point https://eatforum.org/