Cool. Im guessing the system is probably a bit more complex than you realize, but certainly doable.
Anyone read about how the GM Hummer is actually a cleaner vehicle than a Toyota Prius? Yeah, it is true when you look at the big picture. The Factory which makes its batteries is located on what is now a barren wasteland. A massive one at that, and its in Canada (unspoiled for the most part). What I am trying to say is, always look at the "bigger picture" to make sure what you do is really as effective as first proposed.
I would like to see you do it as my JAllen Folding@Home Farm is estimated at 150 bucks monthly in electrical use! Every little bit helps.