Light dynamics: production ecology, mixing effects and modelling