Modelling the transient behaviour of fission gas