Sawtooth period simulations of TCV discharges