Patent ID: 7873502

Claim:
In an electronic device, a method of simulating a system comprising a plurality of chemical reactions, the system including an initial state, the method comprising: providing a history log for persistently storing reaction information for a plurality of executed reactions, the reaction information comprising: an identification of one of the plurality of executed reactions, and a simulation time at which the executed reaction is executed during a simulation of the system; simulating a model of the system using the electronic device, the simulating comprising: executing a first one of the plurality of chemical reactions at a first simulation time, and, executing a second one of the plurality of chemical reactions at a second simulation time; building the history log, the building comprising: logging the first one of the plurality of reactions and the first simulation time in the history log, logging the second one of the plurality of reactions and the second simulation time in the history log, and persistently storing at least the first one of the plurality of reactions, the first simulation time, the second one of the plurality of reactions, and the second simulation time in the history log, the persistently storing making information in the history log available after the system is simulated; and outputting the history log using the electronic device, the outputting including displaying, storing, or transmitting the history log, the outputted history log allowing the simulation to be replayed using the first one of the plurality of reactions and the second one of the plurality of reactions, where the first one of the plurality of reactions and the second one of the plurality of reactions execute in the replayed simulation in an order in which the first one of the plurality of reactions and the second one of the plurality of reactions occurred in the simulation.