Fringing Effects in an AC MHD Generator