Dividing the watt-hours of a generator by the watts of the devices you plug into it can tell you (even before you buy) how much runtime you’ll get.