On-board voltage regulation for all-electric DC ships