If you're making portals and they work on wormhole physics then don't make a infinite loop because that wouldn't make infinite power, just a black hole at the bottom portal and a theoretical negative black hole at the top because of conservation of matter