Pi Shurlok's OpenECU M250 electronic control unit (ECU) for diesel exhaust aftertreatment control strategies contains mathematical models of main exhaust components such as diesel oxidation catalyst and diesel particulate filter. Each model allows the control system to behave as if it had inputs from many sensors deep within the exhaust component, when actually there are only two sensors placed at the inlet and outlet. The model predicts parameters, such as temperature and pressure, at multiple points along the length of each exhaust component. A model-based control strategy approach enables a single control system to be used for several applications without the need for expensive, time-consuming calibration exercises. It is the combination of the 32-bit processing power of the OpenECU M250 hardware, as well as software programming techniques, that have enabled the use of these model-based control strategies in a cost-effective embedded control environment.