Prediction draws on both simulation and theory. I ask how simulation is defined, and what the roles of simulation and theory are, respectively. Simulation is flexible in structure and resources. Often simulation and theory are combined in prediction. The function of simulation consists of representing a situation that is relevantly like the target situation with regards to the feature predicted.