The ACU sensor (Stink Sensor) is at the front of the car under the front panel is clipped in front of the radiator, its a small black square box. Inside is a small sensor (FIGARO TGS 822) that detects traffic fumes when it smells fumes it closes the flap to stop fresh air being drawn into the vent system, a small foam sits inside the housing in front of the sensor that acts as a filter. If it fails it sets a code you will see when the car is scanned. A BMW replacement costs approx £76. The sensor inside is a push fit into the body of the sensor unit and can be bought from electronic parts suppliers for circa £17.
https://www.rapidonline.com/Catalogue/Search?Query=Figaro%20TGS822
The old sensor will most likely be broken when its pulled out of the housing but the replacement simply plugs in just remember which way the old one was fitted in the housing so the pin positions end up in the correct holes.
https://www.rapidonline.com/Catalogue/Search?Query=Figaro%20TGS822
The old sensor will most likely be broken when its pulled out of the housing but the replacement simply plugs in just remember which way the old one was fitted in the housing so the pin positions end up in the correct holes.