voltage equation of dc generator