Nand flash simulation model