MODELING AND SIMULATION FOR COLLECTIVE DYNAMICS