I had an insane idea to create an unlimited amount of energy but dont know if it would work.
It won't. There's no such thing as unlimited energy.
However it looks more like you're proposing a
functionally unlimited source of energy.
QUOTE
If you ran one large cable from the north pole to the south pole and grounded them properly, would you essentially turn the entire world into a dynamo? You would have a large conducter spinning around a huge iron core through the earths magnetic field. I know it would be the largest construction project ever and some would think its nuts but unlimited power would solve most of the problems on this planet. Even if the planet heated up as much as it could the power created would provide everything from clean drinking water to heat and cooling.
Well, I see a few problems with the idea...
1. The earth's magnetic field is not particularly strong, it ranges from 0.3 to 0.6 gauss.
2. Doing anything to deplete the earth's magnetic field (which this would) is likely not a good idea, as it protects us from a great deal of solar radiation.
3. The cable would have to not be grounded, but connected to a series of batteries, capacitors or power conditioners in order to work.
4. The cable would have to spin around the earth. At distances at which this becomes possible, I don't think the magnetic field of the earth is strong enough to produce much current.
5. Building such a device would be a logistical nightmare.
You want a functionally unlimited source of energy? Develop extremely durable and highly efficient photovoltaic and thermovoltaic materials which are fairly inexpensive to produce, then use them to repave all or most of the roads and re-roof all or most of the buildings in the developed and developing world.