Simulation framework