1. In an electronic device, a method of simulating a system comprising a plurality of chemical reactions, comprising the steps of: simulating a first chemical reaction at a first reaction time using a model of the chemical system; and logging the first reaction time of the first chemical reaction in a history log.