Simulation of responses of community structure to species interactions driven by phenotypic change