abstract |
A computer program for operating a generator (485) of an internal combustion engine (110), comprising computer code that, when executed on a computer, performs the steps of: Determining a required value of an amount of fuel to be injected into the internal combustion engine (110), Checking whether regeneration of an after-treatment apparatus (282, 285) coupled to the internal combustion engine (110) has been activated, Determining a desired value of a parameter indicative of a voltage output of the generator based on the required value of fuel quantity when regeneration has been activated, and - operating the generator (485) to generate a voltage output value corresponding to the determined desired value of the parameter. |