Generalized lamp model for light flicker studies