Vehicle-to-grid power fundamentals: Calculating capacity and net revenue