Simulation of temperature-, water- and nitrogen dynamics using the model CANDY