A method for operating an internal combustion engine of a motor vehicle, in which the internal combustion engine has an exhaust gas tract, through which exhaust gas from the internal combustion engine can flow, and an exhaust gas aftertreatment device which is arranged in the exhaust gas tract and by way of which the exhaust gas undergoes aftertreatment, the method comprising:
- calculating at least one raw emissions value by way of an electronic computing device using a first computing model which is stored in a data storage medium of the electronic computing device, which raw emissions value characterizes raw emissions of the internal combustion engine;
- calculating at least one final emissions value by way of the electronic computing device in a manner dependent on the raw emissions value and using a second computing model which is stored in the data storage medium, which final emissions value characterizes emissions which result from the raw emissions and the aftertreatment of the exhaust gas, leave the exhaust gas tract, and are output to a surrounding area of the motor vehicle;
- and
- operating the internal combustion engine in a manner dependent on the final emissions value.