How Long Can a Generator Run?