Electrical fire causes refinery shutdown