Entropy theory of distributed energy for internet of things