Dynamic approach to selectivity in heterogeneous partial oxidation