Emergency generator for use with medical equipment