Optical and thermal simulation chain for LED package