You can see the details and references on my web page at: http://www.todddunnmicroyachts.com/tortuga/repower.html
I have programs that I wrote to do all the calculations.