This work presents a model of a prepared piano, for advanced sound synthesis simulation. The strings, acting as primary resonators, are modelled in some detail, and so are the hammers and the string-hammer interaction. The resonating body, the soundboard, is assumed to be of rectangular shape. Virtual microphones are placed across the soundboard and along the strings, as coupling with an acoustic enviroment is neglected in the model. Moreover, the strings can be prepared by means of objects such as nails and dampers. This model is intended to be a useful and efficient tool for synthesising piano sounds, with extensive control on the instrument design.