Effective microscopic theory of quantum dot superlattice solar cells