A method and apparatus are disclosed for preventing damage to an alternator
of a genset resulting from high currents within the alternator. The method
includes calculating, at a processor, a first quantity related to a
current flowing through the alternator during a first time period, and
comparing, at the processor, the first quantity with a first threshold.
The method further includes calculating, at the processor, a second
quantity related to the current flowing through the alternator during at
least one of the first time period and a second time period, and
comparing, at the processor, the second quantity with a second threshold.
The method additionally includes indicating a current overload condition
if at least one of the first quantity exceeds the first threshold or the
second quantity exceeds the second threshold.