To improve the purification action of a catalytic converter that is being heated but has not yet reached a desired operating temperature, the internal combustion engine is driven by an electric machine to convey a flow of heating medium through a catalytic converter for heating purposes before the internal combustion engine is started.