Structural simulation of tree growth and response