Calculate and output crop water consumption in the model

If I want to calculate and output crop water consumption in the model, which file should I modify the code in?