Distribution of renewable energy through the energy internet: A routing algorithm for energy routers