Modeling metabolic processes in the brain in vivo