a model of a mechanical device