A system and an approach for determining various flows in an internal combustion engine, such as an amount of recirculation exhaust gas flow through a controlled valve and a fresh air mass flow to an intake of an engine. Also, among the sensors accommodated in the system, is an inexpensive but slow-responding lambda sensor in the exhaust stream.