A computer-based model is a computer program that is designed to simulate what might or what did happen in a situation. They are used in many ways including in astronomy, economics and sciences such as physics and biology. Computer models are used in fields such as earthquake performance simulation and making models of buildings.