Mathematical modeling of vacuum breakdowns