In HOMER, a generator is a device that consumes fuel to produce electric (and sometimes thermal) energy. Generators can be dispatched, meaning the system can turn them on as necessary. Microturbines and fuel cells are generators, as are diesel- and gasoline-fueled reciprocating-engine generators.